Skip to content

KVSFCYEngineeringDesignLib#

Procedures#

GetActualItemVersion(Code[20], Code[10], Date, Record KVSFCYItemVersion) : Boolean#

procedure GetActualItemVersion(itemNoPar: Code[20]; variantCodePar: Code[10]; datePar: Date; var itemVersionVar: Record "KVSFCYItemVersion"): Boolean

ShowReservationStructureForEDLine(Record KVSFCYEDMonitoringLineBuffer) :#

procedure ShowReservationStructureForEDLine(var edOrderLineVar: Record "KVSFCYEDMonitoringLineBuffer"): 

InitEDPartTypeRefbyPOLine(Record Prod. Order Line) :#

procedure InitEDPartTypeRefbyPOLine(var ProdOrderLineVar: Record "Prod. Order Line"): 

InitEDPartTypeRefbyComponent(Record Prod. Order Component) :#

procedure InitEDPartTypeRefbyComponent(var ProdOrderComponentVar: Record "Prod. Order Component"): 

HandleSeparateOrder(Record KVSFCYEDMonitoringLineBuffer) :#

procedure HandleSeparateOrder(var tempEDMonitoringBufferLineVar: Record "KVSFCYEDMonitoringLineBuffer" temporary): 

CreateNewSeparateOrderRelation(Record KVSFCYEDMonitoringLineBuffer) :#

procedure CreateNewSeparateOrderRelation(var tempEDMonitoringBufferLineVar: Record "KVSFCYEDMonitoringLineBuffer" temporary): 

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

procedure GetQtyProgress(ProdOrderRoutingLinePar: Record "Prod. Order Routing Line"; var QtyProgressVar: Decimal): 

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

procedure GetPostedRtngQty(ProdOrderRoutingLinePar: Record "Prod. Order Routing Line"; var ExpectedCapNeedVar: Decimal; var ActualUsedCapVar: Decimal; var RemainingCapVar: Decimal; var ProgressCapVar: Decimal): 

GetProdOrderTimesInDurationPrecision(Record Production Order, Enum KVSFCYDurationPrecision, Decimal, Decimal, Decimal, Decimal) :#

procedure GetProdOrderTimesInDurationPrecision(prodOrderPar: Record "Production Order"; durationPrecisionPar: Enum "KVSFCYDurationPrecision"; var neededTimeVar: Decimal; var usedTimeVar: Decimal; var outstandingTimeVar: Decimal; var usedTimePerCentVar: Decimal): 

SetDurationPrecision(Enum KVSFCYDurationPrecision) :#

procedure SetDurationPrecision(durationPrecisionPar: Enum "KVSFCYDurationPrecision"): 

SetSuppressAskingForProcessing(Boolean) :#

procedure SetSuppressAskingForProcessing(NewSuppressAskingForProcessing: Boolean): 

SetProdOrderStatusForSubProdOrders(Enum Production Order Status) :#

procedure SetProdOrderStatusForSubProdOrders(NewProductionOrderStatus: Enum "Production Order Status"): 

Events#

OnBeforeModifyCreateNewProdOrderHeaderInSeparateOrderHandling(Record Prod. Order Line, Record Production Order) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeModifyCreateNewProdOrderHeaderInSeparateOrderHandling(originProdOrderLinePar: Record "Prod. Order Line"; var newProdOrderHeaderVar: Record "Production Order"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEngineeringDesignLib", 'OnBeforeModifyCreateNewProdOrderHeaderInSeparateOrderHandling', '', false, false)]
local procedure DoSomethingOnBeforeModifyCreateNewProdOrderHeaderInSeparateOrderHandling(originProdOrderLinePar: Record "Prod. Order Line"; var newProdOrderHeaderVar: Record "Production Order")
begin
end;

OnAfterModifyCreateNewProdOrderHeaderInSeparateOrderHandling(Record Prod. Order Line, Record Production Order) :#

[IntegrationEvent(false, false)]
local procedure OnAfterModifyCreateNewProdOrderHeaderInSeparateOrderHandling(originProdOrderLinePar: Record "Prod. Order Line"; var newProdOrderHeaderVar: Record "Production Order"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEngineeringDesignLib", 'OnAfterModifyCreateNewProdOrderHeaderInSeparateOrderHandling', '', false, false)]
local procedure DoSomethingOnAfterModifyCreateNewProdOrderHeaderInSeparateOrderHandling(originProdOrderLinePar: Record "Prod. Order Line"; var newProdOrderHeaderVar: Record "Production Order")
begin
end;

OnTransferProdOrderLineAfterInsertNewProdLine(Record Prod. Order Line, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnTransferProdOrderLineAfterInsertNewProdLine(OriginProdOrderLine: Record "Prod. Order Line"; NewProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEngineeringDesignLib", 'OnTransferProdOrderLineAfterInsertNewProdLine', '', false, false)]
local procedure DoSomethingOnTransferProdOrderLineAfterInsertNewProdLine(OriginProdOrderLine: Record "Prod. Order Line"; NewProdOrderLine: Record "Prod. Order Line")
begin
end;

OnTransferProdOrderLineBeforeDeleteOriginProdLine(Record Prod. Order Line, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnTransferProdOrderLineBeforeDeleteOriginProdLine(OriginProdOrderLine: Record "Prod. Order Line"; NewProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEngineeringDesignLib", 'OnTransferProdOrderLineBeforeDeleteOriginProdLine', '', false, false)]
local procedure DoSomethingOnTransferProdOrderLineBeforeDeleteOriginProdLine(OriginProdOrderLine: Record "Prod. Order Line"; NewProdOrderLine: Record "Prod. Order Line")
begin
end;