Skip to content

KVSPSASalesDocJobBudChanging#

Procedures#

SynchronizeSalesLineToJob(Record Sales Line, Enum KVSPSASyncSalesToJobProcType, Integer) :#

Summary: This procedure call MainFunction with provided ProcessingType and CurrFieldNo.

procedure SynchronizeSalesLineToJob(SalesLine: Record "Sales Line"; ProcessingType: Enum "KVSPSASyncSalesToJobProcType"; CurrFieldNo: Integer): 

Parameters:

  • SalesLine: Record used for synchronization.
  • ProcessingType: Enum used for determining the type of processing to be done.
  • CurrFieldNo: Integer used for identifying the current field number.

SynchronizeSalesLineToJob(Record Sales Line, Enum KVSPSASyncSalesToJobProcType) :#

Summary: This procedure overloads SynchronizeSalesLineToJob with default CurrFieldNo.

procedure SynchronizeSalesLineToJob(SalesLine: Record "Sales Line"; ProcessingType: Enum "KVSPSASyncSalesToJobProcType"): 

Parameters:

  • SalesLine: Record used for synchronization.
  • ProcessingType: Enum used for determining the type of processing to be done.

Events#

KVSPSAOnBeforeSynchronizeSalesLineToJob(Record Sales Line, Enum KVSPSASyncSalesToJobProcType, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSynchronizeSalesLineToJob(SalesLine: Record "Sales Line"; SyncSalesToJobProcType: Enum "KVSPSASyncSalesToJobProcType"; CurrFieldNo: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocJobBudChanging", 'KVSPSAOnBeforeSynchronizeSalesLineToJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSynchronizeSalesLineToJob(SalesLine: Record "Sales Line"; SyncSalesToJobProcType: Enum "KVSPSASyncSalesToJobProcType"; CurrFieldNo: Integer; var IsHandled: Boolean)
begin
end;