Skip to content

KVSFCYJobSalesSynchronization#

Events#

OnBeforeDeleteSalesLine(Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeDeleteSalesLine(var SalesLine: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesSynchronization", 'OnBeforeDeleteSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeDeleteSalesLine(var SalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnAfterGetSalesLine(Record Sales Line, Integer, Integer, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetSalesLine(var SalesLine: Record "Sales Line"; JobContractEntryNo: Integer; DocType: Integer; DocNo: Code[20]; var ModifyPossible: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesSynchronization", 'OnAfterGetSalesLine', '', false, false)]
local procedure DoSomethingOnAfterGetSalesLine(var SalesLine: Record "Sales Line"; JobContractEntryNo: Integer; DocType: Integer; DocNo: Code[20]; var ModifyPossible: Boolean)
begin
end;

OnAfterSynchronizeBeforeExit(Record Job Planning Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSynchronizeBeforeExit(var JobPlanningLine: Record "Job Planning Line"; var ReturnValue: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesSynchronization", 'OnAfterSynchronizeBeforeExit', '', false, false)]
local procedure DoSomethingOnAfterSynchronizeBeforeExit(var JobPlanningLine: Record "Job Planning Line"; var ReturnValue: Boolean)
begin
end;

OnAfterValidateFieldOnJobPlanningLine(Record Job Planning Line, Record Job Planning Line, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnAfterValidateFieldOnJobPlanningLine(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; CurrFieldNo: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesSynchronization", 'OnAfterValidateFieldOnJobPlanningLine', '', false, false)]
local procedure DoSomethingOnAfterValidateFieldOnJobPlanningLine(var JobPlanningLine: Record "Job Planning Line"; var xJobPlanningLine: Record "Job Planning Line"; CurrFieldNo: Integer)
begin
end;

OnBeforeDeleteJobPlanningLineOnBeforeError(Record Sales Line, Record Job Planning Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeDeleteJobPlanningLineOnBeforeError(var SalesLine: Record "Sales Line"; var JobPlanningLine: Record "Job Planning Line"; RunTrigger: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesSynchronization", 'OnBeforeDeleteJobPlanningLineOnBeforeError', '', false, false)]
local procedure DoSomethingOnBeforeDeleteJobPlanningLineOnBeforeError(var SalesLine: Record "Sales Line"; var JobPlanningLine: Record "Job Planning Line"; RunTrigger: Boolean)
begin
end;