Skip to content

KVSSOSSalesOrderStatusCalcMgt#

Procedures#

UpdateSingleSalesOrderStatuses(Record Sales Header) :#

procedure UpdateSingleSalesOrderStatuses(SalesHeader: Record "Sales Header"): 

InsertTempAvailCalcReq(Code[20], Code[10], Code[10]) :#

Summary: Insert a combination of item/variant/location to be insert to temporary KVSSOSAvailCalcRequestBuffer

procedure InsertTempAvailCalcReq(ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]): 

Parameters:

  • ItemNo:
  • VariantCode:
  • LocationCode:

SetHideValidationDialog(Boolean) :#

procedure SetHideValidationDialog(NewHideDialog: Boolean): 

Events#

OnBeforeCalcAvailabilities(Record KVSSOSSalesHeaderNoBuffer, Record KVSSOSAvailCalcRequestBuffer, Record KVSSOSAvailabilityResultBuffer, Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcAvailabilities(var TempSalesHeaderNo: Record "KVSSOSSalesHeaderNoBuffer" temporary; var TempAvailCalcReq: Record "KVSSOSAvailCalcRequestBuffer" temporary; var TempAvailResult: Record "KVSSOSAvailabilityResultBuffer" temporary; IncludeBlanketOrders: Boolean; IncludePlanningSuggestions: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSSOSSalesOrderStatusCalcMgt", 'OnBeforeCalcAvailabilities', '', false, false)]
local procedure DoSomethingOnBeforeCalcAvailabilities(var TempSalesHeaderNo: Record "KVSSOSSalesHeaderNoBuffer" temporary; var TempAvailCalcReq: Record "KVSSOSAvailCalcRequestBuffer" temporary; var TempAvailResult: Record "KVSSOSAvailabilityResultBuffer" temporary; IncludeBlanketOrders: Boolean; IncludePlanningSuggestions: Boolean; var Handled: Boolean)
begin
end;

OnBeforeIsWhseShptRequired(Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeIsWhseShptRequired(SalesLine: Record "Sales Line"; var WhseShptIsRequired: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSSOSSalesOrderStatusCalcMgt", 'OnBeforeIsWhseShptRequired', '', false, false)]
local procedure DoSomethingOnBeforeIsWhseShptRequired(SalesLine: Record "Sales Line"; var WhseShptIsRequired: Boolean; var Handled: Boolean)
begin
end;

OnBeforeIsPickRequired(Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeIsPickRequired(SalesLine: Record "Sales Line"; var PickIsRequired: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSSOSSalesOrderStatusCalcMgt", 'OnBeforeIsPickRequired', '', false, false)]
local procedure DoSomethingOnBeforeIsPickRequired(SalesLine: Record "Sales Line"; var PickIsRequired: Boolean; var Handled: Boolean)
begin
end;

OnBeforeModifySalesHeaderStatusInCalcSalesHeaderAndLinesStatuses(Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeModifySalesHeaderStatusInCalcSalesHeaderAndLinesStatuses(var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSSOSSalesOrderStatusCalcMgt", 'OnBeforeModifySalesHeaderStatusInCalcSalesHeaderAndLinesStatuses', '', false, false)]
local procedure DoSomethingOnBeforeModifySalesHeaderStatusInCalcSalesHeaderAndLinesStatuses(var SalesHeader: Record "Sales Header")
begin
end;

OnBeforeInsertTempAvailCalcReqSalesLine(Record Sales Line, Boolean) :#

[IntegrationEvent(true, false)]
local procedure OnBeforeInsertTempAvailCalcReqSalesLine(SalesLine: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSSOSSalesOrderStatusCalcMgt", 'OnBeforeInsertTempAvailCalcReqSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeInsertTempAvailCalcReqSalesLine(SalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;