Skip to content

KVSFCYJobSalesManagement#

Procedures#

UpdateJobPlanningInvoiceLine(Record Sales Line, Record Sales Header, Record Sales Line, Record Sales Header, Option, Option) :#

procedure UpdateJobPlanningInvoiceLine(OldSalesLinePar: Record "Sales Line"; OldSalesHeaderPar: Record "Sales Header"; NewSalesLinePar: Record "Sales Line"; NewSalesHeaderPar: Record "Sales Header"; DocumentTypePar: Option; DetaildDocumentTypePar: Option): 
procedure UpdateJobPlanningUsageLink(SalesHeaderPar: Record "Sales Header"): 

Events#

OnAfterTestSalesHeader(Record Sales Header, Record Job) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTestSalesHeader(var SalesHeader: Record "Sales Header"; Job: Record "Job"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesManagement", 'OnAfterTestSalesHeader', '', false, false)]
local procedure DoSomethingOnAfterTestSalesHeader(var SalesHeader: Record "Sales Header"; Job: Record "Job")
begin
end;

OnAfterUpdateSalesHeader(Record Sales Header, Record Job, Record Location) :#

[IntegrationEvent(false, false)]
local procedure OnAfterUpdateSalesHeader(var SalesHeader: Record "Sales Header"; var Job: Record "Job"; var Location: Record "Location"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesManagement", 'OnAfterUpdateSalesHeader', '', false, false)]
local procedure DoSomethingOnAfterUpdateSalesHeader(var SalesHeader: Record "Sales Header"; var Job: Record "Job"; var Location: Record "Location")
begin
end;

OnBeforeTestSalesHeader(Record Sales Header, Record Job, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeTestSalesHeader(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesManagement", 'OnBeforeTestSalesHeader', '', false, false)]
local procedure DoSomethingOnBeforeTestSalesHeader(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean)
begin
end;

OnBeforeUpdateSalesHeader(Record Sales Header, Record Job, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateSalesHeader(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesManagement", 'OnBeforeUpdateSalesHeader', '', false, false)]
local procedure DoSomethingOnBeforeUpdateSalesHeader(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean)
begin
end;

OnBeforeUpdateSalesHeaderJobCreateInvoiceDuplicated(Record Sales Header, Record Job, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Event not triggered', '21.5')]
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateSalesHeaderJobCreateInvoiceDuplicated(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesManagement", 'OnBeforeUpdateSalesHeaderJobCreateInvoiceDuplicated', '', false, false)]
local procedure DoSomethingOnBeforeUpdateSalesHeaderJobCreateInvoiceDuplicated(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean)
begin
end;

OnInsertOrModifySalesDocTextFromProjectTextAfterInsertSalesDocText(Record KVSKBASalesDocumentText) :#

[IntegrationEvent(false, false)]
local procedure OnInsertOrModifySalesDocTextFromProjectTextAfterInsertSalesDocText(var SalesDocumentText: Record "KVSKBASalesDocumentText"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesManagement", 'OnInsertOrModifySalesDocTextFromProjectTextAfterInsertSalesDocText', '', false, false)]
local procedure DoSomethingOnInsertOrModifySalesDocTextFromProjectTextAfterInsertSalesDocText(var SalesDocumentText: Record "KVSKBASalesDocumentText")
begin
end;

OnBeforeTestAlternativeJobContractEntryNo(Record Sales Line, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeTestAlternativeJobContractEntryNo(SalesLine: Record "Sales Line"; CausedByFieldNo: Integer; IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYJobSalesManagement", 'OnBeforeTestAlternativeJobContractEntryNo', '', false, false)]
local procedure DoSomethingOnBeforeTestAlternativeJobContractEntryNo(SalesLine: Record "Sales Line"; CausedByFieldNo: Integer; IsHandled: Boolean)
begin
end;