Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autoselect the closest expiration lot/serial
04-14-2018, 03:24 AM (This post was last modified: 04-14-2018 03:25 AM by HDeriauFF.)
Post: #5
RE: Autoselect the closest expiration lot/serial
Well, after a lot of research and analysis, I did it: it's all about manipulating the cart's sessions values and arrays using the SerialItem class. The solution in itself is quite simple and does not require a lot of customization, everything fits in 40 lines of code
It handles all situations the same way ConfirmDispatchControlled_Invoice does.
Available quantities are automatically selected in all lots (I use the PO line during order entry to indicate which minimal expiration date is acceptable) rolling over through the next available lot if quantity needed exceeds the lot quantity, and indicates directly on ConfirmDispatch_Invoice which quantities have been picked in each lot, if complete or partial.
Everything of course is still editable accessing ConfirmDispatchControlled_Invoice.
Screenshot of the modified page (showing what we see when we land on the page, without any manual intervention)


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Autoselect the closest expiration lot/serial - HDeriauFF - 04-14-2018 03:24 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)