Wednesday 8 November 2006

BOM Auto report as Finished

In Dynamics Ax there is a very nifty facility enabling you to almost do kitting that is to sell commercial Kits.

I have seen quite a few projects where the functionality has been re-developped rather than take the functionality that is there and use it.

The reason mostly is because people do not know the functionality is there, or that people rightly see that it does not function at the right time in the Supply chain cycle.

The functionality actually only works if you use a process whereby you create the invoice immediately.

That is because the code activated by the tick box on the item master is found in the InventUpd_Financial class, and this class as you can tell from its name is used when a Financial update is carried out i.e. an invoice is being created.

However it is very simple to move / copy the method involved UpdateReportFinished over to the InventUpd_Physical class and to add a call to this method from the UpdatePhysicalIssue method of this class.

For safety it is best to force a return (stop from executing) the method in the Financial class, otherwise you will double the Kitting process.

After moving this code over you now have a simple solution acheived in 5 minutes of coding that allows you to at picking list processing level destock your sales kit components, and also allows you to have stock of the kit until the invoice is produced, as well as allows you to de-stock (de-kit) the items back to the sub items when you do a negative update.

Now all you would need for a complete kitting solution done in a simple manner is to be able to print a Picking list of the kit items, which involves minor changes to the picking list report. And ideally to be able to reserve the kit components now that is a longer story which we will get back to.

/Sven

No comments: