KVSFCYCreateEDOrderLine#
Procedures#
Recalculate(Record Prod. Order Line, Boolean) :#
procedure Recalculate(var prodOrderLineVar: Record "Prod. Order Line"; MultilevelPar: Boolean):
CreateProdOrderLine(Record Prod. Order Component, Boolean) :#
procedure CreateProdOrderLine(var prodOrderCompVar: Record "Prod. Order Component"; MultilevelPar: Boolean):
ReplanProdOrderTime(Record Production Order, Option, Boolean) :#
procedure ReplanProdOrderTime(var prodOrderVar: Record "Production Order"; directionPar: Option; replanConProdOrders: Boolean):
ReplanExtProdOrderLines(Record Production Order, Integer) :#
procedure ReplanExtProdOrderLines(prodOrderPar: Record "Production Order"; levelPar: Integer):
CheckReplenSysAndManuPolic(Record Prod. Order Line, Record Prod. Order Component) : Boolean#
procedure CheckReplenSysAndManuPolic(var prodOrderLineVar: Record "Prod. Order Line"; var prodOrderCompVar: Record "Prod. Order Component"): Boolean
ComplianceManufacturingPolicy(Record Stockkeeping Unit, Record Stockkeeping Unit, Boolean) :#
procedure ComplianceManufacturingPolicy(var sKUVar: Record "Stockkeeping Unit"; var componentSKUVar: Record "Stockkeeping Unit"; eDJobNoFilledPar: Boolean):
SetProdOrderLinesToPlan(Record Prod. Order Line) :#
procedure SetProdOrderLinesToPlan(prodOrderLinePar: Record "Prod. Order Line"):
ClearProdOrderLinesToPlan() :#
procedure ClearProdOrderLinesToPlan():
CheckMultiLevelStructure(Boolean, Boolean) :#
procedure CheckMultiLevelStructure(withDialogPar: Boolean; MultilevelPar: Boolean):
Events#
OnBeforeAssignLocationCode(Record Prod. Order Component, Record Production BOM Line, Record Stockkeeping Unit, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeAssignLocationCode(var prodOrderComp: Record "Prod. Order Component"; var ProductionBOMLine: Record "Production BOM Line"; var SKU: Record "Stockkeeping Unit"; var isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnBeforeAssignLocationCode', '', false, false)]
local procedure DoSomethingOnBeforeAssignLocationCode(var prodOrderComp: Record "Prod. Order Component"; var ProductionBOMLine: Record "Production BOM Line"; var SKU: Record "Stockkeeping Unit"; var isHandled: Boolean)
begin
end;
OnBeforeRecalculate(Record Prod. Order Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeRecalculate(var ProdOrderLine: Record "Prod. Order Line"; Multilevel: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnBeforeRecalculate', '', false, false)]
local procedure DoSomethingOnBeforeRecalculate(var ProdOrderLine: Record "Prod. Order Line"; Multilevel: Boolean)
begin
end;
OnAfterRecalculate(Record Prod. Order Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterRecalculate(var ProdOrderLine: Record "Prod. Order Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnAfterRecalculate', '', false, false)]
local procedure DoSomethingOnAfterRecalculate(var ProdOrderLine: Record "Prod. Order Line")
begin
end;
OnCreateProdOrderLineBeforeInsert(Record Prod. Order Line, Record Prod. Order Component, Record Production Order) :#
[IntegrationEvent(false, false)]
local procedure OnCreateProdOrderLineBeforeInsert(var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderComp: Record "Prod. Order Component"; ProdOrder: Record "Production Order"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnCreateProdOrderLineBeforeInsert', '', false, false)]
local procedure DoSomethingOnCreateProdOrderLineBeforeInsert(var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderComp: Record "Prod. Order Component"; ProdOrder: Record "Production Order")
begin
end;
OnTransferBOMAfterSetFilter(Record Production BOM Line, Record Prod. Order Line, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnTransferBOMAfterSetFilter(var ProductionBOMLine: Record "Production BOM Line"; ProdOrderLine: Record "Prod. Order Line"; Level: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnTransferBOMAfterSetFilter', '', false, false)]
local procedure DoSomethingOnTransferBOMAfterSetFilter(var ProductionBOMLine: Record "Production BOM Line"; ProdOrderLine: Record "Prod. Order Line"; Level: Integer)
begin
end;
OnTransferBOMBeforeBOMLine(Record Production BOM Line, Record Prod. Order Line, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnTransferBOMBeforeBOMLine(var ProductionBOMLine: Record "Production BOM Line"; ProdOrderLine: Record "Prod. Order Line"; Level: Integer; var isHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnTransferBOMBeforeBOMLine', '', false, false)]
local procedure DoSomethingOnTransferBOMBeforeBOMLine(var ProductionBOMLine: Record "Production BOM Line"; ProdOrderLine: Record "Prod. Order Line"; Level: Integer; var isHandled: Boolean)
begin
end;
OnTransferBOMBeforeValidateItemNo(Record Prod. Order Component, Record Production BOM Line, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnTransferBOMBeforeValidateItemNo(var ProdOrderComp: Record "Prod. Order Component"; var ProductionBOMLine: Record "Production BOM Line"; Level: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnTransferBOMBeforeValidateItemNo', '', false, false)]
local procedure DoSomethingOnTransferBOMBeforeValidateItemNo(var ProdOrderComp: Record "Prod. Order Component"; var ProductionBOMLine: Record "Production BOM Line"; Level: Integer)
begin
end;
OnTransferBOMBeforeProdOrderCompInsert(Record Prod. Order Component, Record Prod. Order Line, Record Production BOM Line, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnTransferBOMBeforeProdOrderCompInsert(var ProdOrderComp: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; var ProductionBOMLine: Record "Production BOM Line"; Level: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnTransferBOMBeforeProdOrderCompInsert', '', false, false)]
local procedure DoSomethingOnTransferBOMBeforeProdOrderCompInsert(var ProdOrderComp: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; var ProductionBOMLine: Record "Production BOM Line"; Level: Integer)
begin
end;
OnTransferBOMBeforeQuantityPerValidate(Record Prod. Order Component, Record Prod. Order Line, Record Production BOM Line, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnTransferBOMBeforeQuantityPerValidate(ProdOrderComp: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; var ProductionBOMLine: Record "Production BOM Line"; Level: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnTransferBOMBeforeQuantityPerValidate', '', false, false)]
local procedure DoSomethingOnTransferBOMBeforeQuantityPerValidate(ProdOrderComp: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; var ProductionBOMLine: Record "Production BOM Line"; Level: Integer)
begin
end;
OnBeforeCalcProdOrderCompDueDate(Record Prod. Order Component, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcProdOrderCompDueDate(var ProdOrderComp: Record "Prod. Order Component"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnBeforeCalcProdOrderCompDueDate', '', false, false)]
local procedure DoSomethingOnBeforeCalcProdOrderCompDueDate(var ProdOrderComp: Record "Prod. Order Component"; var IsHandled: Boolean)
begin
end;
OnChangeProdOrderLineBeforeQtyChanged(Record Prod. Order Line, Decimal, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnChangeProdOrderLineBeforeQtyChanged(var ProdOrderLine: Record "Prod. Order Line"; var NewQuantity: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnChangeProdOrderLineBeforeQtyChanged', '', false, false)]
local procedure DoSomethingOnChangeProdOrderLineBeforeQtyChanged(var ProdOrderLine: Record "Prod. Order Line"; var NewQuantity: Decimal; var IsHandled: Boolean)
begin
end;
OnBeforeChangeProdOrderLineToZero(Record Prod. Order Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeChangeProdOrderLineToZero(var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnBeforeChangeProdOrderLineToZero', '', false, false)]
local procedure DoSomethingOnBeforeChangeProdOrderLineToZero(var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)
begin
end;
OnChangeProdOrderLineToZeroAfterChangeQtyToZero(Record Prod. Order Line) :#
[IntegrationEvent(false, false)]
local procedure OnChangeProdOrderLineToZeroAfterChangeQtyToZero(var ProdOrderLine: Record "Prod. Order Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnChangeProdOrderLineToZeroAfterChangeQtyToZero', '', false, false)]
local procedure DoSomethingOnChangeProdOrderLineToZeroAfterChangeQtyToZero(var ProdOrderLine: Record "Prod. Order Line")
begin
end;
OnProofLineQuantityBeforeValidateQuantityPer(Record Prod. Order Component) :#
[IntegrationEvent(false, false)]
local procedure OnProofLineQuantityBeforeValidateQuantityPer(var ProdOrderComp: Record "Prod. Order Component"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnProofLineQuantityBeforeValidateQuantityPer', '', false, false)]
local procedure DoSomethingOnProofLineQuantityBeforeValidateQuantityPer(var ProdOrderComp: Record "Prod. Order Component")
begin
end;
OnBeforeDeleteProdOrderLine(Record Prod. Order Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeDeleteProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnBeforeDeleteProdOrderLine', '', false, false)]
local procedure DoSomethingOnBeforeDeleteProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)
begin
end;
OnReplanProdOrderTimeBackwardBeforeProdOrderComp(Record Prod. Order Component) :#
[IntegrationEvent(false, false)]
local procedure OnReplanProdOrderTimeBackwardBeforeProdOrderComp(var ProdOrderComponent: Record "Prod. Order Component"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnReplanProdOrderTimeBackwardBeforeProdOrderComp', '', false, false)]
local procedure DoSomethingOnReplanProdOrderTimeBackwardBeforeProdOrderComp(var ProdOrderComponent: Record "Prod. Order Component")
begin
end;
OnEDPosLinkOKBeforeCheckEDPosition(Record Prod. Order Component, Record Prod. Order Line, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnEDPosLinkOKBeforeCheckEDPosition(var ProdOrderComponent: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; var Result: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnEDPosLinkOKBeforeCheckEDPosition', '', false, false)]
local procedure DoSomethingOnEDPosLinkOKBeforeCheckEDPosition(var ProdOrderComponent: Record "Prod. Order Component"; ProdOrderLine: Record "Prod. Order Line"; var Result: Boolean; var IsHandled: Boolean)
begin
end;
OnBeforeValidateItemNo(Record Prod. Order Line, Record Prod. Order Component) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeValidateItemNo(var ProdOrderLine: Record "Prod. Order Line"; ProdOrderComponent: Record "Prod. Order Component"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnBeforeValidateItemNo', '', false, false)]
local procedure DoSomethingOnBeforeValidateItemNo(var ProdOrderLine: Record "Prod. Order Line"; ProdOrderComponent: Record "Prod. Order Component")
begin
end;
OnAfterCreateProdOrderLine(Record Prod. Order Line, Record Prod. Order Component) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; ProdOrderComponent: Record "Prod. Order Component"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnAfterCreateProdOrderLine', '', false, false)]
local procedure DoSomethingOnAfterCreateProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; ProdOrderComponent: Record "Prod. Order Component")
begin
end;
OnAfterModifyProdOrderLine(Record Prod. Order Line, Record Prod. Order Component) :#
[IntegrationEvent(false, false)]
local procedure OnAfterModifyProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderComponent: Record "Prod. Order Component"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCreateEDOrderLine", 'OnAfterModifyProdOrderLine', '', false, false)]
local procedure DoSomethingOnAfterModifyProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderComponent: Record "Prod. Order Component")
begin
end;