Properties
Property | Value |
Object Type | Codeunit |
Object Subtype | Normal |
Object ID | 23044922 |
Accessibility Level | Public |
Events
OnAfterFilterLookupProductionOrders()
OnAfterFilterLookupProductionOrders event executes inside getProdOrderList procedure in Warehouse Insight’s Production Management Codeunit after a listing of production orders are filtered with status, location, assigned user, and order number if applicable. Developers can customize and/or extend the default process for the production order lookup by subscribing to this event.
Syntax
OnAfterFilterLookupProductionOrders(var precProductionOrder: Record “Production Order”, var pbOnlyAssignedDocs: Boolean, var pcodUser: Code[50], var psFilter: Text)
Parameters
Parameter | Type | Description |
precProductionOrder | Record “Production Order” | Record variable with all fields from production order table. |
pbOnlyAssignedDocs | Boolean | Boolean variable of assigned docs for permission check. |
pcodUser | Code[50] | Code variable of user. |
psFilter | Text | Text variable of filter input information. |
OnBeforePostConsumption()
OnBeforePostConsumption event executes inside postConsumption procedure in Warehouse Insight’s Production Management Codeunit before the default process begins to post consumption entries. Developers can customize and/or extend the default process for the consumption post by subscribing to this event.
Syntax
OnBeforePostConsumption(var pcodProductionOrderNumber: Code[20], var precItemJournalLine: Record “Item Journal Line”, var ptrecEventParams: Record “IWX Event Param” temporary)
Parameters
Parameter | Type | Description |
pcodProductionOrderNumber | Code[20] | Code variable of production order number. |
precItemJournalLine | Record “Item Journal Line” | Record variable with all fields from item journal line table. |
ptrecEventParams | Record “IWX Event Param” | The event context with all variables from the scanner. |
OnBeforePostOutput()
OnBeforePostOutput event executes inside CreateProdOutputEntry procedure in Warehouse Insight’s Production Management Codeunit before the default process begins to post product output entries after checking of existing output journal line and determining the already output quantity. Developers can customize and/or extend the default process for the product out entries post by subscribing to this event.
Syntax
OnBeforePostOutput(var precItemJournalLine: Record “Item Journal Line”, var precProdOrderLine: Record “Prod. Order Line”)
Parameters
Parameter | Type | Description |
precItemJournalLine | Record “Item Journal Line” | Record variable with all fields from item journal line table. |
precProdOrderLine | Record “Prod. Order Line” | Record variable with all fields from product order line table.
|