Skip to content

KVSFCYManufacturingCalcMgmt#

Procedures#

ProdOrderLineVerifyChangeCond(Record Prod. Order Line, Record Prod. Order Line, Boolean) :#

procedure ProdOrderLineVerifyChangeCond(var newProdOrderLineVar: Record "Prod. Order Line"; var oldProdOrderLineVar: Record "Prod. Order Line"; useOldProdOrderLinePar: Boolean): 

ProdOrderCompVerifyChangeCond(Record Prod. Order Component, Record Prod. Order Component, Boolean) :#

procedure ProdOrderCompVerifyChangeCond(var newProdOrderCompVar: Record "Prod. Order Component"; var oldProdOrderCompVar: Record "Prod. Order Component"; useOldProdOrderCompPar: Boolean): 

ProdOrderCompValidateUnitCost(Record Prod. Order Component) :#

procedure ProdOrderCompValidateUnitCost(var prodOrderCompVar: Record "Prod. Order Component"): 

CalcPORtngLineExpCalcQtyBase(Record Prod. Order Routing Line, Record Prod. Order Line) : Decimal#

procedure CalcPORtngLineExpCalcQtyBase(prodOrderRtngLinePar: Record "Prod. Order Routing Line"; prodOrderLinePar: Record "Prod. Order Line"): Decimal

ShowCalcConditions4POComp(Record Prod. Order Component) :#

procedure ShowCalcConditions4POComp(var prodOrderCompVar: Record "Prod. Order Component"): 

ShowCalcConditions4PORtngLine(Record Prod. Order Routing Line) :#

procedure ShowCalcConditions4PORtngLine(var prodOrderRtngLineVar: Record "Prod. Order Routing Line"): 

ShowCalcConditions4POLineOppCo(Record KVSFCYProdLineOpportunityCost) :#

procedure ShowCalcConditions4POLineOppCo(var prodLineOppCostVar: Record "KVSFCYProdLineOpportunityCost"): 

ShowCalcConditionsNA4POLine(Record Prod. Order Line) :#

procedure ShowCalcConditionsNA4POLine(var prodOrderLineVar: Record "Prod. Order Line"): 

SalesLineCalculateEDOrder(Record Sales Line, Record Sales Header) :#

procedure SalesLineCalculateEDOrder(var salesLineVar: Record "Sales Line"; salesHeaderPar: Record "Sales Header"): 

ShowCalcTrackings4EDMonLiBuf(Record KVSFCYEDMonitoringLineBuffer) :#

procedure ShowCalcTrackings4EDMonLiBuf(edMonitLineBufferPar: Record "KVSFCYEDMonitoringLineBuffer"): 

ShowCalcTrackings4CalcWkshED(Record KVSFCYCalculationWorksheet) :#

procedure ShowCalcTrackings4CalcWkshED(calcWorkSheetPar: Record "KVSFCYCalculationWorksheet"): 

ShowCalcTrackings4SalesLine(Record Sales Line) :#

procedure ShowCalcTrackings4SalesLine(salesLinePar: Record "Sales Line"): 

RecalcPOLineCosts4POLine(Record Prod. Order Line, Option, Boolean) : Boolean#

procedure RecalcPOLineCosts4POLine(var prodOrderLineVar: Record "Prod. Order Line"; actionPOLinePar: Option; recalcCostsInHigherLevelsPar: Boolean): Boolean

GetSuppliedByPOLine4POComp(Record Prod. Order Component, Record Prod. Order Line) : Boolean#

procedure GetSuppliedByPOLine4POComp(prodOrderCompPar: Record "Prod. Order Component"; var prodOrderLineVar: Record "Prod. Order Line"): Boolean

JobPlanningLineCalculateEDOrder(Record Job Planning Line) :#

procedure JobPlanningLineCalculateEDOrder(var JobPlanningLineVar: Record "Job Planning Line"): 

ShowCalcTrackings4JobPlanningLine(Record Job Planning Line) :#

procedure ShowCalcTrackings4JobPlanningLine(jobPlanningLinePar: Record "Job Planning Line"): 

Events#

OnAfterProdOrderCompVerifyChangeCond(Record Prod. Order Component, Record Prod. Order Component, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterProdOrderCompVerifyChangeCond(var NewProdOrderComp: Record "Prod. Order Component"; var OldProdOrderComp: Record "Prod. Order Component"; UseOldProdOrderComp: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnAfterProdOrderCompVerifyChangeCond', '', false, false)]
local procedure DoSomethingOnAfterProdOrderCompVerifyChangeCond(var NewProdOrderComp: Record "Prod. Order Component"; var OldProdOrderComp: Record "Prod. Order Component"; UseOldProdOrderComp: Boolean)
begin
end;

OnBeforeSalesLineCalculateEDOrder(Record Sales Line, Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSalesLineCalculateEDOrder(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnBeforeSalesLineCalculateEDOrder', '', false, false)]
local procedure DoSomethingOnBeforeSalesLineCalculateEDOrder(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnSalesLineCalculateEDOrderMasterPOFoundBeforeValidateQty(Record Production Order, Record Sales Line, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnSalesLineCalculateEDOrderMasterPOFoundBeforeValidateQty(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line"; var Qty: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnSalesLineCalculateEDOrderMasterPOFoundBeforeValidateQty', '', false, false)]
local procedure DoSomethingOnSalesLineCalculateEDOrderMasterPOFoundBeforeValidateQty(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line"; var Qty: Decimal)
begin
end;

OnSalesLineCalculateEDOrderMasterPOFoundBeforeModify(Record Production Order, Record Sales Line, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnSalesLineCalculateEDOrderMasterPOFoundBeforeModify(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnSalesLineCalculateEDOrderMasterPOFoundBeforeModify', '', false, false)]
local procedure DoSomethingOnSalesLineCalculateEDOrderMasterPOFoundBeforeModify(var ProdOrder: Record "Production Order"; var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header")
begin
end;

OnSalesLineCalculateEDOrderMasterPONotFoundBeforeCreateProdOrder(Record Sales Line, Code[20], Option, Enum Production Order Status) :#

[IntegrationEvent(false, false)]
local procedure OnSalesLineCalculateEDOrderMasterPONotFoundBeforeCreateProdOrder(var SalesLine: Record "Sales Line"; var NewJobNo: Code[20]; var NewOrderType: Option; var NewProdOrderStatus: Enum "Production Order Status"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnSalesLineCalculateEDOrderMasterPONotFoundBeforeCreateProdOrder', '', false, false)]
local procedure DoSomethingOnSalesLineCalculateEDOrderMasterPONotFoundBeforeCreateProdOrder(var SalesLine: Record "Sales Line"; var NewJobNo: Code[20]; var NewOrderType: Option; var NewProdOrderStatus: Enum "Production Order Status")
begin
end;

OnSalesLineCalculateEDOrderBeforeCreateCalculation(Record Production Order, Record Prod. Order Line, Record Sales Header, Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSalesLineCalculateEDOrderBeforeCreateCalculation(var ProdOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnSalesLineCalculateEDOrderBeforeCreateCalculation', '', false, false)]
local procedure DoSomethingOnSalesLineCalculateEDOrderBeforeCreateCalculation(var ProdOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnAfterSalesLineCalculateEDOrder(Record Production Order, Record Prod. Order Line, Record Sales Header, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSalesLineCalculateEDOrder(var ProdOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnAfterSalesLineCalculateEDOrder', '', false, false)]
local procedure DoSomethingOnAfterSalesLineCalculateEDOrder(var ProdOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line")
begin
end;

OnManualCalcTrckSalesLinePOLineBeforeCalcTrackLine(Record Prod. Order Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnManualCalcTrckSalesLinePOLineBeforeCalcTrackLine(var ProdOrderLine: Record "Prod. Order Line"; SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnManualCalcTrckSalesLinePOLineBeforeCalcTrackLine', '', false, false)]
local procedure DoSomethingOnManualCalcTrckSalesLinePOLineBeforeCalcTrackLine(var ProdOrderLine: Record "Prod. Order Line"; SalesLine: Record "Sales Line")
begin
end;

OnAfterAddProdOrderComp2ProdOrderLine(Record Prod. Order Line, Record Prod. Order Line, Record Prod. Order Component, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterAddProdOrderComp2ProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; FromProdOrderLine: Record "Prod. Order Line"; ProdOrderComp: Record "Prod. Order Component"; NormalCompontent: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnAfterAddProdOrderComp2ProdOrderLine', '', false, false)]
local procedure DoSomethingOnAfterAddProdOrderComp2ProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; FromProdOrderLine: Record "Prod. Order Line"; ProdOrderComp: Record "Prod. Order Component"; NormalCompontent: Boolean)
begin
end;

OnAfterAddProdRtngLine2ProdOrderLine(Record Prod. Order Line, Record Prod. Order Routing Line, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterAddProdRtngLine2ProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; CalculationQty: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnAfterAddProdRtngLine2ProdOrderLine', '', false, false)]
local procedure DoSomethingOnAfterAddProdRtngLine2ProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; CalculationQty: Decimal)
begin
end;

OnAfterInitPOLineCostsFields(Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterInitPOLineCostsFields(var ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnAfterInitPOLineCostsFields', '', false, false)]
local procedure DoSomethingOnAfterInitPOLineCostsFields(var ProdOrderLine: Record "Prod. Order Line")
begin
end;

OnAfterComparePOLinesCostFields(Record Prod. Order Line, Record Prod. Order Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterComparePOLinesCostFields(var ProdOrderLine1: Record "Prod. Order Line"; var ProdOrderLine2: Record "Prod. Order Line"; var DiffExist: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYManufacturingCalcMgmt", 'OnAfterComparePOLinesCostFields', '', false, false)]
local procedure DoSomethingOnAfterComparePOLinesCostFields(var ProdOrderLine1: Record "Prod. Order Line"; var ProdOrderLine2: Record "Prod. Order Line"; var DiffExist: Boolean)
begin
end;