procedure GetJnlTemplateAndBatchName(var TemplateName: Code[10], var BatchName: Code[10])
Parameters
Name
Type
Description
TemplateName
Code[10]
BatchName
Code[10]
Events
OnAfterCalculateQtyToPostForProdOrder
[IntegrationEvent(False,False)]
local procedure OnAfterCalculateQtyToPostForProdOrder(ProdOrderLine: Record "Prod. Order Line", ProdOrderRoutingLine: Record "Prod. Order Routing Line", var QtyToPost: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterDataHasChanged(var ItemJournalLine: Record "Item Journal Line", ProdOrderLineNo: Integer, var HasChanged: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterIsLastOperation(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsLastOperation: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterSetTemplateAndBatchName(var ItemJournalTemplate: Record "Item Journal Template", var User: Text)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertConsumptionJnlLine(var ItemJournalLine: Record "Item Journal Line", ProdOrderComp: Record "Prod. Order Component", ProdOrderLine: Record "Prod. Order Line", Level: Integer)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertOutputJnlLine(var ItemJournalLine: Record "Item Journal Line", ProdOrderRtngLine: Record "Prod. Order Routing Line", ProdOrderLine: Record "Prod. Order Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeRecursiveInsertOutputJnlLine(ProdOrderRoutingLine: Record "Prod. Order Routing Line", ProdOrderLine: Record "Prod. Order Line", var DoRecursion: Boolean, var AdditionalProdOrderLine: Record "Prod. Order Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeRunProductionJnl(ToTemplateName: Code[10], ToBatchName: Code[10], ProdOrder: Record "Production Order", ActualLineNo: Integer, var PostingDate: Date, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCreateJnlLinesOnAfterFindProdOrderRtngLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsHandled: Boolean, var ItemJnlLine: Record "Item Journal Line", var NextLineNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnCreateJnlLinesOnAfterProdOrderRtngLineSetFilters(var ProdOrderRtngLine: Record "Prod. Order Routing Line")
[IntegrationEvent(False,False)]
local procedure OnInsertConsumptionJnlLineOnBeforeCheck(ProdOrderComponent: Record "Prod. Order Component", ProdOrderLine: Record "Prod. Order Line", Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertConsumptionItemJnlLineOnAfterCalcShouldAdjustQty(ProdOrderComp: Record "Prod. Order Component", Location: Record Location, var NeededQty: Decimal, var ShouldAdjustQty: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertConsumptionJnlLineOnAfterItemJnlLineInit(var ItemJournalLine: Record "Item Journal Line", ItemJournalTemplate: Record "Item Journal Template", ItemJournalBatch: Record "Item Journal Batch")
[IntegrationEvent(False,False)]
local procedure OnInsertConsumptionItemJnlLineOnAfterCopyItemTracking(var ItemJournalLine: Record "Item Journal Line", ItemTrackingCode: Code[10], var NextLineNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertOutputItemJnlLine(ProdOrderRtngLine: Record "Prod. Order Routing Line", ProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteJnlLines(TemplateName: Code[10], BatchName: Code[10], ProdOrderNo: Code[20], ProdOrderLineNo: Integer, var IsHandled: Boolean)
Parameters
Name
Type
Description
TemplateName
Code[10]
BatchName
Code[10]
ProdOrderNo
Code[20]
ProdOrderLineNo
Integer
IsHandled
Boolean
OnBeforeSetTemplateAndBatchName
[IntegrationEvent(False,False)]
local procedure OnBeforeSetTemplateAndBatchName(var ToTemplateName: Code[10], var ToBatchName: Code[10], var IsHandled: Boolean, var PageID: Integer, var PageTemplate: Option)
[IntegrationEvent(False,False)]
local procedure OnInsertConsumptionItemJnlLineOnBeforeValidateQuantity(var ItemJnlLine: Record "Item Journal Line", ProdOrderComp: Record "Prod. Order Component", NeededQty: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertOutputItemJnlLineOnBeforeSubcontractingWorkCenterUsed(var ItemJnlLine: Record "Item Journal Line", ProdOrderLine: Record "Prod. Order Line")
[IntegrationEvent(False,False)]
local procedure OnInsertOutputItemJnlLineOnAfterCopyItemTracking(var ItemJnlLine: Record "Item Journal Line", ProdOrderRtngLine: Record "Prod. Order Routing Line", var NextLineNo: Integer)
[IntegrationEvent(False,False)]
local procedure OnInsertOutputItemJnlLineOnAfterItemJnlLineInit(var ItemJnlLine: Record "Item Journal Line", ProdOrderLine: Record "Prod. Order Line", ItemJournalTemplate: Record "Item Journal Template", ItemJournalBatch: Record "Item Journal Batch")
[IntegrationEvent(False,False)]
local procedure OnCreateJnlLinesOnBeforeInsertComponents(var ProdOrderRtngLine: Record "Prod. Order Routing Line", ProdOrder: Record "Production Order", ProdOrderLine: Record "Prod. Order Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeRoutingLinkValid(ProdOrderComponent: Record "Prod. Order Component", ProdOrderLine: Record "Prod. Order Line", var Result: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnInsertOutputItemJnlLineOnAfterAssignTimes(var ItemJournalLine: Record "Item Journal Line", ProdOrderLine: Record "Prod. Order Line", ProdOrderRoutingLine: Record "Prod. Order Routing Line", var QtyToPost: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeInsertComponents(ProdOrderLine: Record "Prod. Order Line", CheckRoutingLink: Boolean, Level: Integer, var IsHandled: Boolean)