I'm trying to come up with a good way to assign serial numbers to every item on an order that requires them in one step. Currently you would have to go into Line --> Item Tracking Lines for every single line. This is a problem and takes too much time if you have a big order.
I'm thinking a link on the Order button, but I can't come up with a good way to do the code behind it. I want to build on what is already there, but almost all of the code is in Form 6510 - Item Tracking Lines.
I've looked at the code behind how this works, but I can't think of a way to do it for multiple items and then open the form. Or better yet not open the form at all and just pretend like I clicked on Functions --> Assign Serial from that form.
Has anyone else done this before? Do you have any suggestions or a best practice way to implement this? Any comments are helpful. Thanks.
0
Comments
We did a modification to track the Raw Material with the Lot Number of the Finished Goods. Manufacturing module was not in place and we assigned the lot number of the Finished Goods i.e. Positive adjustment in the Item Journal Line to all the negative adjustment line in the batch.
But assigning number in the serial order will be different
http://ssdynamics.co.in
That's if it uses sales line?? Not Sure, but the rest works 8)
http://www.BiloBeauty.com
http://www.autismspeaks.org
For a order of 10 items there can be 10 serial number..... :-k
http://ssdynamics.co.in
Then he'll have to figure a way in code of how the assigning can work "every time"!
http://www.BiloBeauty.com
http://www.autismspeaks.org
When you're at the item tracking line, click on Function --> Create Customized S/N. Then it'll assign the S/Ns you want.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
:-k
http://www.BiloBeauty.com
http://www.autismspeaks.org
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
So it's not about how you do it now, or reinventing anything. It's about coming up with a way to make the user's job quicker so that they can process more orders in a given amount of time. I think it's a legitimate mod request.
Anyway, it seems like most people are not familiar with serialized inventory, but if someone is and has any suggestions I'd love to hear them. This mod is a lot more complicated that I thought it would be. Thanks for the help everyone.
My Blog - nav.education
But there is easy way how to "assign" new lot/ser no. for some purchase/sales line. The base is these two functions:
from codeunit 99000830 Create Reserv. Entry. If you call these two functions, the codeunit will create the correct entry for you.
Than code for creating the tracking line for purchase lie can look like:
If you create some batch doing that for each line you need for each lot/ser no. you need to assign, and if you add all the tests and other code (e.g. for testing if some lot/ser no. is already assigned, received etc.) you are done.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
The nice thing about this method is that it work well with the normal user process. Once the reservation entries are created, if the user goes back to the item tracking lines they just appear because they are created on the fly based on the reservation entries.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.