Automatically Allocate Lot No.'s for a Sales Lines

jigsawjigsaw Member Posts: 7
Hi,

Nav 4 sp3

I am using Item tracking and require Lot No.'s to be specified at the time a PO is received.

When doing a sales, I need the ability to automatically allocate Lot No.'s rather than requiring the user to manually select them.

The warehouse guys will then pick the correct Lots

This will save a heap of time for the users.

I would be happy to implement a button on the sales forms which the user selects after all lines have been entered.

Anyone done this kind of thing before?

Comments

  • ara3nara3n Member Posts: 9,256
    I have not done it, but the way I would do it is to autoreserve function on sales line.
    then change them to tracking lines.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • jigsawjigsaw Member Posts: 7
    Would you mind giving me an example or further description of the process/steps
  • matteo_scaleramatteo_scalera Member Posts: 13
    Hi, I have the same problem,
    I need to do automatically the following operations for many times

    set one lot no. on a purchase order line
    allocate the same lot on one ore more order lines
    finally post purchase receipt and sales ship of that orders.
    I'm having a lot (!) of problems. So if you know some trick that can help me, please submit it.
    Best regards,
    Matteo
  • ecclecticecclectic Member Posts: 176
    on your item card. set reserve to always. this will automatically reserve the item on ur sales line if its available (not already reserved)- it will at the same time assign a lot no. (think it doesnt work with sp1)

    Generally speaking, u just need to be careful with reservation as it sometimes messes up.
  • matteo_scaleramatteo_scalera Member Posts: 13
    Yes I like it, and it works if no other lot is available but the one I have just received.
    Otherwise the system select lot in FIFO order, correct ?.
  • mukshamuksha Member Posts: 274
    If we select always reservation on the item card it will solve the purpose but it is recommended only when every item is specific to particular sales order. Sometimes it is very difficult. For the best solution you have to touch the code on receiving the items first setrange the item and qty. to be received and assign a new lot No. to each item qty. then it should go to the posting codeunit. You can write a code in new code unit and then call the posting codeunit after assigning the Lot Nos.
    Mukesh Sharma
Sign In or Register to comment.