KVSTRDSubcontrPriceCalcMgt#
Procedures#
ShowSubcontractorPrices(Record Work Center) :#
Summary: Opens the page KVSTRDSubcontractPrices to show subcontractor prices for the given work center.
procedure ShowSubcontractorPrices(WorkCenter: Record "Work Center"):
Parameters:
WorkCenter: The "Work Center" record that should be used for filtering.
ShowSubcontractorPrices(Record Item) :#
Summary: Opens the page KVSTRDSubcontractPrices to show subcontractor prices for the given item
procedure ShowSubcontractorPrices(Item: Record "Item"):
Parameters:
Item: The Item record that should be used for filtering.
ShowSubcontractorPrices(Record Vendor) :#
Summary: Opens the page KVSTRDSubcontractPrices to show subcontractor prices for the given vendor
procedure ShowSubcontractorPrices(Vendor: Record "Vendor"):
Parameters:
Vendor: The Vendor record that should be used for filtering.
ShowSubcontractorPrices(Record Standard Task) :#
Summary: Opens the page KVSTRDSubcontractPrices to show subcontractor prices for the given standard task
procedure ShowSubcontractorPrices(StandardTask: Record "Standard Task"):
Parameters:
StandardTask: The "Standard Task" record that should be used for filtering.
Events#
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;
KVSTRDOnFoundPlanningRtngLineSubcontrPrice(Record Planning Routing Line, Record Requisition Line, Record Work Center, Record KVSTRDSubcontractPrice) :#
Summary: This event is raised when a subcontractor price is found for a planning routing line.
[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;
Parameters:
PlanningRoutingLine: The Planning Routing Line record for which the subcontractor price was found.RequisitionLine: The Requisition Line record associated with the planning routing line.WorkCenter: The Work Center record associated with the planning routing line.TempSubcontractPrice: The temporary record containing the found subcontractor price.
KVSTRDOnFoundProdOrderRtngLineSubcontrPrice(Record Prod. Order Routing Line, Record Prod. Order Line, Record Work Center, Record KVSTRDSubcontractPrice) :#
Summary: This event is raised when a subcontractor price is found for a production order routing line.
[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;
Parameters:
ProdOrderRoutingLine: The Production Order Routing Line record for which the subcontractor price was found.ProdOrderLine: The Production Order Line record associated with the production order routing line.WorkCenter: The Work Center record associated with the production order routing line.TempSubcontractPrice: The temporary record containing the found subcontractor price.
KVSTRDOnFoundReqLineSubcontrPrice(Record Requisition Line, Record KVSTRDSubcontractPrice) :#
Summary: This event is raised when a subcontractor price is found for a requisition line.
[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;
Parameters:
RequisitionLine: The Requisition Line record for which the subcontractor price was found.TempSubcontractPrice: The temporary record containing the found subcontractor price.