Skip to content

KVSTRDSubcontrPriceCalcMgt#

Procedures#

ShowSubcontractorPrices(Record Work Center) :#

procedure ShowSubcontractorPrices(WorkCenter: Record "Work Center"): 

ShowSubcontractorPrices(Record Item) :#

procedure ShowSubcontractorPrices(Item: Record "Item"): 

ShowSubcontractorPrices(Record Vendor) :#

procedure ShowSubcontractorPrices(Vendor: Record "Vendor"): 

ShowSubcontractorPrices(Record Standard Task) :#

procedure ShowSubcontractorPrices(StandardTask: Record "Standard Task"): 

Events#

KVSTRDOnFoundPlanningRtngLineSubcontrPrice(Record Planning Routing Line, Record Requisition Line, Record Work Center, Record KVSTRDSubcontractPrice) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnFoundPlanningRtngLineSubcontrPrice(var PlanningRoutingLine: Record "Planning Routing Line"; RequisitionLine: Record "Requisition Line"; WorkCenter: Record "Work Center"; TempSubcontractPrice: Record "KVSTRDSubcontractPrice" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDSubcontrPriceCalcMgt", 'KVSTRDOnFoundPlanningRtngLineSubcontrPrice', '', false, false)]
local procedure DoSomethingKVSTRDOnFoundPlanningRtngLineSubcontrPrice(var PlanningRoutingLine: Record "Planning Routing Line"; RequisitionLine: Record "Requisition Line"; WorkCenter: Record "Work Center"; TempSubcontractPrice: Record "KVSTRDSubcontractPrice" temporary)
begin
end;

KVSTRDOnFoundProdOrderRtngLineSubcontrPrice(Record Prod. Order Routing Line, Record Prod. Order Line, Record Work Center, Record KVSTRDSubcontractPrice) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnFoundProdOrderRtngLineSubcontrPrice(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; ProdOrderLine: Record "Prod. Order Line"; WorkCenter: Record "Work Center"; TempSubcontractPrice: Record "KVSTRDSubcontractPrice" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDSubcontrPriceCalcMgt", 'KVSTRDOnFoundProdOrderRtngLineSubcontrPrice', '', false, false)]
local procedure DoSomethingKVSTRDOnFoundProdOrderRtngLineSubcontrPrice(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; ProdOrderLine: Record "Prod. Order Line"; WorkCenter: Record "Work Center"; TempSubcontractPrice: Record "KVSTRDSubcontractPrice" temporary)
begin
end;

KVSTRDOnFoundReqLineSubcontrPrice(Record Requisition Line, Record KVSTRDSubcontractPrice) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnFoundReqLineSubcontrPrice(var RequisitionLine: Record "Requisition Line"; TempSubcontractPrice: Record "KVSTRDSubcontractPrice" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDSubcontrPriceCalcMgt", 'KVSTRDOnFoundReqLineSubcontrPrice', '', false, false)]
local procedure DoSomethingKVSTRDOnFoundReqLineSubcontrPrice(var RequisitionLine: Record "Requisition Line"; TempSubcontractPrice: Record "KVSTRDSubcontractPrice" temporary)
begin
end;

KVSTRDOnBeforeFindRoutingLineSubcontractorPrice(Record Item, Record Work Center, Decimal, Decimal, Decimal, Decimal, Decimal, Enum Unit Cost Calculation Type, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeFindRoutingLineSubcontractorPrice(Item: Record "Item"; WorkCenter: Record "Work Center"; MfgItemQtyBase: Decimal; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum "Unit Cost Calculation Type"; SkipSettingCostParameters: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDSubcontrPriceCalcMgt", 'KVSTRDOnBeforeFindRoutingLineSubcontractorPrice', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeFindRoutingLineSubcontractorPrice(Item: Record "Item"; WorkCenter: Record "Work Center"; MfgItemQtyBase: Decimal; var DirUnitCost: Decimal; var IndirCostPct: Decimal; var OvhdRate: Decimal; var UnitCost: Decimal; var UnitCostCalculation: Enum "Unit Cost Calculation Type"; SkipSettingCostParameters: Boolean; var isHandled: Boolean)
begin
end;