Skip to content

KVSADVJobIntegrationSales#

Procedures#

GetAdvanceChainFilterStringForJob(Record Job) : Text#

procedure GetAdvanceChainFilterStringForJob(Job: Record "Job"): Text

FilterAllAdvanceChainsRelatedToJob(Code[20], Enum KVSADVSourceAccountTypeFilter, Boolean, Record KVSADVAdvanceChain) :#

procedure FilterAllAdvanceChainsRelatedToJob(JobNo: Code[20]; SourceAccountTypeFilter: Enum "KVSADVSourceAccountTypeFilter"; IncludeCompletedChains: Boolean; var FilteredAdvanceChains: Record "KVSADVAdvanceChain"): 

Events#

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

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceChainInDocumentLineByJob(var DocumentLine: Record "Sales Line"; xRecDocumentLine: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeUpdateAdvanceChainInDocumentLineByJob', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAdvanceChainInDocumentLineByJob(var DocumentLine: Record "Sales Line"; xRecDocumentLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnBeforeUpdateJobAdvanceChainNoAfterAdvPaymLevelChange(Record Job, Record Job, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateJobAdvanceChainNoAfterAdvPaymLevelChange(var Job: Record "Job"; var xRecJob: Record "Job"; CurrFieldNo: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeUpdateJobAdvanceChainNoAfterAdvPaymLevelChange', '', false, false)]
local procedure DoSomethingOnBeforeUpdateJobAdvanceChainNoAfterAdvPaymLevelChange(var Job: Record "Job"; var xRecJob: Record "Job"; CurrFieldNo: Integer; var IsHandled: Boolean)
begin
end;

OnAfterUpdateJobAdvanceChainNoAfterAdvPaymLevelChange(Record Job, Record Job, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterUpdateJobAdvanceChainNoAfterAdvPaymLevelChange(var Job: Record "Job"; var xRecJob: Record "Job"; CurrFieldNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnAfterUpdateJobAdvanceChainNoAfterAdvPaymLevelChange', '', false, false)]
local procedure DoSomethingOnAfterUpdateJobAdvanceChainNoAfterAdvPaymLevelChange(var Job: Record "Job"; var xRecJob: Record "Job"; CurrFieldNo: Integer)
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceChainInDocumentLineByJobTask(var DocumentLine: Record "Sales Line"; xRecDocumentLine: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeUpdateAdvanceChainInDocumentLineByJobTask', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAdvanceChainInDocumentLineByJobTask(var DocumentLine: Record "Sales Line"; xRecDocumentLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnCheckJobTaskModificationShouldTriggerAdvanceChainUpdate(Record Job Task, Record Job Task, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCheckJobTaskModificationShouldTriggerAdvanceChainUpdate(var JobTask: Record "Job Task"; xRecJobTask: Record "Job Task"; var SourceAccountChanged: Boolean; var SourceDocumentChanged: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnCheckJobTaskModificationShouldTriggerAdvanceChainUpdate', '', false, false)]
local procedure DoSomethingOnCheckJobTaskModificationShouldTriggerAdvanceChainUpdate(var JobTask: Record "Job Task"; xRecJobTask: Record "Job Task"; var SourceAccountChanged: Boolean; var SourceDocumentChanged: Boolean)
begin
end;

OnBeforeCheckDeleteOldAdvanceChainForJobStatusChangeToCompleted(Record Job, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDeleteOldAdvanceChainForJobStatusChangeToCompleted(var Job: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeCheckDeleteOldAdvanceChainForJobStatusChangeToCompleted', '', false, false)]
local procedure DoSomethingOnBeforeCheckDeleteOldAdvanceChainForJobStatusChangeToCompleted(var Job: Record "Job"; var IsHandled: Boolean)
begin
end;

OnAfterCheckDeleteOldAdvanceChainForJobStatusChangeToCompleted(Record Job) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCheckDeleteOldAdvanceChainForJobStatusChangeToCompleted(var Job: Record "Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnAfterCheckDeleteOldAdvanceChainForJobStatusChangeToCompleted', '', false, false)]
local procedure DoSomethingOnAfterCheckDeleteOldAdvanceChainForJobStatusChangeToCompleted(var Job: Record "Job")
begin
end;

OnBeforeJobTaskSupportsAdvanceChains(Record Job Task, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeJobTaskSupportsAdvanceChains(JobTask: Record "Job Task"; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeJobTaskSupportsAdvanceChains', '', false, false)]
local procedure DoSomethingOnBeforeJobTaskSupportsAdvanceChains(JobTask: Record "Job Task"; var Result: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeJobTaskArchiveSupportsAdvanceChains(Record Job Task Archive, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeJobTaskArchiveSupportsAdvanceChains(JobTaskArchive: Record "Job Task Archive"; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeJobTaskArchiveSupportsAdvanceChains', '', false, false)]
local procedure DoSomethingOnBeforeJobTaskArchiveSupportsAdvanceChains(JobTaskArchive: Record "Job Task Archive"; var Result: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeCheckForJobTaskAdvanceChainIntersection(Record Job Task, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckForJobTaskAdvanceChainIntersection(JobTask: Record "Job Task"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeCheckForJobTaskAdvanceChainIntersection', '', false, false)]
local procedure DoSomethingOnBeforeCheckForJobTaskAdvanceChainIntersection(JobTask: Record "Job Task"; var IsHandled: Boolean)
begin
end;

OnAfterFilterAllAdvanceChainsRelatedToJob(Code[20], Enum KVSADVSourceAccountTypeFilter, Boolean, Record KVSADVAdvanceChain) :#

[IntegrationEvent(false, false)]
local procedure OnAfterFilterAllAdvanceChainsRelatedToJob(JobNo: Code[20]; SourceAccountTypeFilter: Enum "KVSADVSourceAccountTypeFilter"; IncludeCompletedChains: Boolean; var FilteredAdvanceChains: Record "KVSADVAdvanceChain"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnAfterFilterAllAdvanceChainsRelatedToJob', '', false, false)]
local procedure DoSomethingOnAfterFilterAllAdvanceChainsRelatedToJob(JobNo: Code[20]; SourceAccountTypeFilter: Enum "KVSADVSourceAccountTypeFilter"; IncludeCompletedChains: Boolean; var FilteredAdvanceChains: Record "KVSADVAdvanceChain")
begin
end;

OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(Record Job, Record Job, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(var Job: Record "Job"; var xRecJob: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeUpdateAdvanceChainNoForDocumentHeaderModification', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAdvanceChainNoForDocumentHeaderModification(var Job: Record "Job"; var xRecJob: Record "Job"; var IsHandled: Boolean)
begin
end;

OnBeforeUpdateAdvanceChainNoForDocumentLineModification(Record Job Task, Record Job Task, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceChainNoForDocumentLineModification(var JobTask: Record "Job Task"; var xRecJobTask: Record "Job Task"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSADVJobIntegrationSales", 'OnBeforeUpdateAdvanceChainNoForDocumentLineModification', '', false, false)]
local procedure DoSomethingOnBeforeUpdateAdvanceChainNoForDocumentLineModification(var JobTask: Record "Job Task"; var xRecJobTask: Record "Job Task"; var IsHandled: Boolean)
begin
end;