I have a requirement to number items placed on order.
These numbers roll into an actual tracking code.
The items on order come from an InfoPath repeating table.
----------------------------------------------------------------------------------------
Here is the difficult part.
The numbers are sequentially added through the business day.
So if I have an infopath form with two items submitted, I would have 1 and 2
If another form is submited with three items (on the same day), I would have 3, 4, and 5
and so on...
The numbers are then appended to a Jullian Date (which I have already calculated).
------------
The next day, the numbering starts over...
I have a button which saves the repeating table contents to a sharepoint list via C#
The problem is, I am not sure how to tackle numbering the items for order.
I would have to check the list for any prior orders for the current day and begin numbering from that point forward...
Anyone have any ideas?