Skip to content

KVSTRDFreightCostMgt#

Procedures#

FindFreightCostLine(Record Sales Header, Record KVSTRDFreightCostLine) : Boolean#

procedure FindFreightCostLine(SalesHeader: Record "Sales Header"; var FreightCostLine: Record "KVSTRDFreightCostLine"): Boolean

GetSalesAmount(Record Sales Header) : Decimal#

procedure GetSalesAmount(SalesHeader: Record "Sales Header"): Decimal

GetSalesWeight(Record Sales Header) : Decimal#

procedure GetSalesWeight(SalesHeader: Record "Sales Header"): Decimal

Events#

KVSTRDOnBeforeGetSalesAmount(Record Sales Header, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeGetSalesAmount(var SalesHeader: Record "Sales Header"; var SalesAmount: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDFreightCostMgt", 'KVSTRDOnBeforeGetSalesAmount', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeGetSalesAmount(var SalesHeader: Record "Sales Header"; var SalesAmount: Decimal; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeGetSalesWeight(Record Sales Header, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeGetSalesWeight(var SalesHeader: Record "Sales Header"; var SalesWeight: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDFreightCostMgt", 'KVSTRDOnBeforeGetSalesWeight', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeGetSalesWeight(var SalesHeader: Record "Sales Header"; var SalesWeight: Decimal; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeFindFreightCostLine(Record Sales Header, Record KVSTRDFreightCostLine, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeFindFreightCostLine(var SalesHeader: Record "Sales Header"; var FreightCostLine: Record "KVSTRDFreightCostLine"; var IsHandled: Boolean; var Found: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDFreightCostMgt", 'KVSTRDOnBeforeFindFreightCostLine', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeFindFreightCostLine(var SalesHeader: Record "Sales Header"; var FreightCostLine: Record "KVSTRDFreightCostLine"; var IsHandled: Boolean; var Found: Boolean)
begin
end;

KVSTRDOnBeforeCloseFreightCostPrices(Record KVSTRDFreightCostLine, Record KVSTRDFreightCostLine, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeCloseFreightCostPrices(var FreightCostLine: Record "KVSTRDFreightCostLine"; var xRecFreightCostLine: Record "KVSTRDFreightCostLine"; IsRename: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDFreightCostMgt", 'KVSTRDOnBeforeCloseFreightCostPrices', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeCloseFreightCostPrices(var FreightCostLine: Record "KVSTRDFreightCostLine"; var xRecFreightCostLine: Record "KVSTRDFreightCostLine"; IsRename: Boolean; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeHasFreightCostCode(Record Sales Header, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeHasFreightCostCode(var SalesHeader: Record "Sales Header"; var ReturnValue: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDFreightCostMgt", 'KVSTRDOnBeforeHasFreightCostCode', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeHasFreightCostCode(var SalesHeader: Record "Sales Header"; var ReturnValue: Boolean; var IsHandled: Boolean)
begin
end;