Changing Manufacturing Lot before Opening Registration Screen
By default, iDynamics Shopfloor will record the production output with the lot number entered in the manufacturing line field designated for this purpose:
To change this field, there are two tactics available:
- Changing the proposed output lot through a task in the job queue.
- Through customization that allows proposing this Lot before opening the production output screen based on the client's specific business rules.
Customizing the Manufacturing Lot
Before opening the screen to register a production output in iDynamics Shopfloor, the following event is triggered in the codeunit IDPCDP Manufacturing Mgt.:
local procedure OnBeforePostScreen(var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line")
The parameters of the event are as follows:
- ProdOrderLine: Allows querying and/or changing the proposed lot field used for manufacturing output IDPCDP Lot_No.
- ProdOrderRoutingLine: Provides information about the process and machine being executed.