KVSPSASalesDocToJobMgt#
Procedures#
GetNewLineNo(RecordRef, Integer) : Integer#
procedure GetNewLineNo(RecordReference: RecordRef; FieldNo: Integer): Integer
Events#
KVSPSAOnIsSupportedDocumentTypeForPSPCreation(Enum Sales Document Type, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnIsSupportedDocumentTypeForPSPCreation(SalesDocumentType: Enum "Sales Document Type"; var IsSupported: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnIsSupportedDocumentTypeForPSPCreation', '', false, false)]
local procedure DoSomethingKVSPSAOnIsSupportedDocumentTypeForPSPCreation(SalesDocumentType: Enum "Sales Document Type"; var IsSupported: Boolean; var IsHandled: Boolean)
begin
end;
KVSPSAOnAfterCheckSalesDocument(Record Sales Header) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckSalesDocument(SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterCheckSalesDocument', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckSalesDocument(SalesHeader: Record "Sales Header")
begin
end;
KVSPSAOnAfterCopyJobPSPLineTemplateToSalesLine(Record Sales Line, Record KVSPSA Job PSP Line Template) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyJobPSPLineTemplateToSalesLine(var SalesLine: Record "Sales Line"; JobPSPLineTemplate: Record "KVSPSA Job PSP Line Template"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterCopyJobPSPLineTemplateToSalesLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyJobPSPLineTemplateToSalesLine(var SalesLine: Record "Sales Line"; JobPSPLineTemplate: Record "KVSPSA Job PSP Line Template")
begin
end;
KVSPSAOnAfterCreatePreparationLines(Record Sales Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCreatePreparationLines(var SalesLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterCreatePreparationLines', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCreatePreparationLines(var SalesLine: Record "Sales Line")
begin
end;
KVSPSAOnBeforeInsertSalesLineFromJobPSPLineTemplate(Record Sales Line, Record KVSPSA Job PSP Line Template) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeInsertSalesLineFromJobPSPLineTemplate(var SalesLine: Record "Sales Line"; JobPSPLineTemplate: Record "KVSPSA Job PSP Line Template"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeInsertSalesLineFromJobPSPLineTemplate', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeInsertSalesLineFromJobPSPLineTemplate(var SalesLine: Record "Sales Line"; JobPSPLineTemplate: Record "KVSPSA Job PSP Line Template")
begin
end;
KVSPSAOnCollectSalesLinesOnAfterSetFilterSalesLine(Record Sales Header, Record Sales Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCollectSalesLinesOnAfterSetFilterSalesLine(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCollectSalesLinesOnAfterSetFilterSalesLine', '', false, false)]
local procedure DoSomethingKVSPSAOnCollectSalesLinesOnAfterSetFilterSalesLine(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line")
begin
end;
KVSPSAOnCollectSalesLinesOnBeforeMarkSalesLine(Record Sales Line, Record Sales Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCollectSalesLinesOnBeforeMarkSalesLine(var SalesLine: Record "Sales Line"; var MarkedSalesLine: Record "Sales Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCollectSalesLinesOnBeforeMarkSalesLine', '', false, false)]
local procedure DoSomethingKVSPSAOnCollectSalesLinesOnBeforeMarkSalesLine(var SalesLine: Record "Sales Line"; var MarkedSalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;
KVSPSAOnAfterInitWBSLine(Record KVSPSAJobPSPLine, Record KVSPSAJobPSPHeader, Record KVSPSASalesLineWBSPrepare) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterInitWBSLine(var JobPSPLine: Record "KVSPSAJobPSPLine"; JobPSPHeader: Record "KVSPSAJobPSPHeader"; var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterInitWBSLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterInitWBSLine(var JobPSPLine: Record "KVSPSAJobPSPLine"; JobPSPHeader: Record "KVSPSAJobPSPHeader"; var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare")
begin
end;
KVSPSAOnAfterReleaseSalesHeader(Record Sales Header) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('Event not used anymore.', '23.0')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterReleaseSalesHeader(var SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterReleaseSalesHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterReleaseSalesHeader(var SalesHeader: Record "Sales Header")
begin
end;
KVSPSAOnAfterReopenSalesHeader(Record Sales Header) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('Event not used anymore.', '23.0')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterReopenSalesHeader(var SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterReopenSalesHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterReopenSalesHeader(var SalesHeader: Record "Sales Header")
begin
end;
KVSPSAOnAfterSetJobBudgetLineQuantity(Record KVSPSA Job Budget Line, Record Sales Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterSetJobBudgetLineQuantity(var JobBudgetLine: Record "KVSPSA Job Budget Line"; SalesLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterSetJobBudgetLineQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterSetJobBudgetLineQuantity(var JobBudgetLine: Record "KVSPSA Job Budget Line"; SalesLine: Record "Sales Line")
begin
end;
KVSPSAOnAfterSetJobWBSLineQuantity(Record KVSPSAJobPSPLine, Record Sales Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterSetJobWBSLineQuantity(var JobPSPLine: Record "KVSPSAJobPSPLine"; SalesLine: Record "Sales Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterSetJobWBSLineQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterSetJobWBSLineQuantity(var JobPSPLine: Record "KVSPSAJobPSPLine"; SalesLine: Record "Sales Line")
begin
end;
KVSPSAOnBeforeCreateBudgetLine(Record Sales Line, Record KVSPSASalesLineWBSPrepare, Record KVSPSAJobPSPLine, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCreateBudgetLine(SalesLine: Record "Sales Line"; var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var JobPSPLine: Record "KVSPSAJobPSPLine"; ConnectSalesLineToJobBudgetLine: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeCreateBudgetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCreateBudgetLine(SalesLine: Record "Sales Line"; var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var JobPSPLine: Record "KVSPSAJobPSPLine"; ConnectSalesLineToJobBudgetLine: Boolean; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeReleaseSalesHeader(Record Sales Header) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('Event not used anymore.', '23.0')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeReleaseSalesHeader(var SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeReleaseSalesHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeReleaseSalesHeader(var SalesHeader: Record "Sales Header")
begin
end;
KVSPSAOnBeforeReopenSalesHeader(Record Sales Header) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('Event not used anymore.', '23.0')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeReopenSalesHeader(var SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeReopenSalesHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeReopenSalesHeader(var SalesHeader: Record "Sales Header")
begin
end;
KVSPSAOnBeforeSetJobBudgetLineQuantity(Record KVSPSA Job Budget Line, Record Sales Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetJobBudgetLineQuantity(var JobBudgetLine: Record "KVSPSA Job Budget Line"; SalesLine: Record "Sales Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeSetJobBudgetLineQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetJobBudgetLineQuantity(var JobBudgetLine: Record "KVSPSA Job Budget Line"; SalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeSetJobWBSLineQuantity(Record KVSPSAJobPSPLine, Record Sales Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetJobWBSLineQuantity(var JobPSPLine: Record "KVSPSAJobPSPLine"; SalesLine: Record "Sales Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeSetJobWBSLineQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetJobWBSLineQuantity(var JobPSPLine: Record "KVSPSAJobPSPLine"; SalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeShowSuccessMessage(Record Sales Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeShowSuccessMessage(SalesHeader: Record "Sales Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeShowSuccessMessage', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeShowSuccessMessage(SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCheckGetWBSHeaderOnBeforeModifyCreatedWBSHeader(Record KVSPSAJobPSPHeader) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCheckGetWBSHeaderOnBeforeModifyCreatedWBSHeader(var JobPSPHeader: Record "KVSPSAJobPSPHeader"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCheckGetWBSHeaderOnBeforeModifyCreatedWBSHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnCheckGetWBSHeaderOnBeforeModifyCreatedWBSHeader(var JobPSPHeader: Record "KVSPSAJobPSPHeader")
begin
end;
KVSPSAOnCheckPrepareLinesAfterCheckPrepareLine(Record KVSPSASalesLineWBSPrepare) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCheckPrepareLinesAfterCheckPrepareLine(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCheckPrepareLinesAfterCheckPrepareLine', '', false, false)]
local procedure DoSomethingKVSPSAOnCheckPrepareLinesAfterCheckPrepareLine(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare")
begin
end;
KVSPSAOnConnectSalesHeaderWithJobNoOnBeforeModifySalesHeader(Record Sales Header, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnConnectSalesHeaderWithJobNoOnBeforeModifySalesHeader(var SalesHeader: Record "Sales Header"; JobNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnConnectSalesHeaderWithJobNoOnBeforeModifySalesHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnConnectSalesHeaderWithJobNoOnBeforeModifySalesHeader(var SalesHeader: Record "Sales Header"; JobNo: Code[20])
begin
end;
KVSPSAOnConnectSalesLineWithJobBudgetLineOnBeforeModifySalesLine(Record Sales Line, Record KVSPSAJobPSPLine, Record KVSPSA Job Budget Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnConnectSalesLineWithJobBudgetLineOnBeforeModifySalesLine(var SalesLine: Record "Sales Line"; JobPSPLine: Record "KVSPSAJobPSPLine"; JobBudgetLine: Record "KVSPSA Job Budget Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnConnectSalesLineWithJobBudgetLineOnBeforeModifySalesLine', '', false, false)]
local procedure DoSomethingKVSPSAOnConnectSalesLineWithJobBudgetLineOnBeforeModifySalesLine(var SalesLine: Record "Sales Line"; JobPSPLine: Record "KVSPSAJobPSPLine"; JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;
KVSPSAOnConnectSalesLineWithPSPLineOnBeforeModifySalesLine(Record Sales Line, Record KVSPSAJobPSPLine) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnConnectSalesLineWithPSPLineOnBeforeModifySalesLine(var SalesLine: Record "Sales Line"; JobPSPLine: Record "KVSPSAJobPSPLine"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnConnectSalesLineWithPSPLineOnBeforeModifySalesLine', '', false, false)]
local procedure DoSomethingKVSPSAOnConnectSalesLineWithPSPLineOnBeforeModifySalesLine(var SalesLine: Record "Sales Line"; JobPSPLine: Record "KVSPSAJobPSPLine")
begin
end;
KVSPSAOnCopySalesDocumentTextFromSalesHeaderToJobOnBeforeSearchForTexts(Record Sales Header, Enum KVSKBATextPosition, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopySalesDocumentTextFromSalesHeaderToJobOnBeforeSearchForTexts(SalesHeader: Record "Sales Header"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCopySalesDocumentTextFromSalesHeaderToJobOnBeforeSearchForTexts', '', false, false)]
local procedure DoSomethingKVSPSAOnCopySalesDocumentTextFromSalesHeaderToJobOnBeforeSearchForTexts(SalesHeader: Record "Sales Header"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCopySalesDocumentTextFromSalesHeaderToPSPLineOnBeforeDeleteExistingJobTexts(Record Sales Header, Enum KVSKBATextPosition, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopySalesDocumentTextFromSalesHeaderToPSPLineOnBeforeDeleteExistingJobTexts(SalesHeader: Record "Sales Header"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCopySalesDocumentTextFromSalesHeaderToPSPLineOnBeforeDeleteExistingJobTexts', '', false, false)]
local procedure DoSomethingKVSPSAOnCopySalesDocumentTextFromSalesHeaderToPSPLineOnBeforeDeleteExistingJobTexts(SalesHeader: Record "Sales Header"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCopySalesDocumentTextFromSalesLineToBudgetLineOnBeforeDeleteExistingJobTexts(Record Sales Line, Record KVSPSA Job Budget Line, Enum KVSKBATextPosition, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopySalesDocumentTextFromSalesLineToBudgetLineOnBeforeDeleteExistingJobTexts(SalesLine: Record "Sales Line"; JobBudgetLine: Record "KVSPSA Job Budget Line"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCopySalesDocumentTextFromSalesLineToBudgetLineOnBeforeDeleteExistingJobTexts', '', false, false)]
local procedure DoSomethingKVSPSAOnCopySalesDocumentTextFromSalesLineToBudgetLineOnBeforeDeleteExistingJobTexts(SalesLine: Record "Sales Line"; JobBudgetLine: Record "KVSPSA Job Budget Line"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCopySalesDocumentTextFromSalesLineToBudgetLineOnBeforeSearchForTexts(Record Sales Line, Record KVSPSA Job Budget Line, Enum KVSKBATextPosition, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopySalesDocumentTextFromSalesLineToBudgetLineOnBeforeSearchForTexts(SalesLine: Record "Sales Line"; JobBudgetLine: Record "KVSPSA Job Budget Line"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var Ishandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCopySalesDocumentTextFromSalesLineToBudgetLineOnBeforeSearchForTexts', '', false, false)]
local procedure DoSomethingKVSPSAOnCopySalesDocumentTextFromSalesLineToBudgetLineOnBeforeSearchForTexts(SalesLine: Record "Sales Line"; JobBudgetLine: Record "KVSPSA Job Budget Line"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var Ishandled: Boolean)
begin
end;
KVSPSAOnCopySalesDocumentTextFromSalesLineToPSPLineOnBeforeDeleteExistingJobTexts(Record Sales Line, Record KVSPSAJobPSPLine, Enum KVSKBATextPosition, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopySalesDocumentTextFromSalesLineToPSPLineOnBeforeDeleteExistingJobTexts(SalesLine: Record "Sales Line"; JobPSPLine: Record "KVSPSAJobPSPLine"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCopySalesDocumentTextFromSalesLineToPSPLineOnBeforeDeleteExistingJobTexts', '', false, false)]
local procedure DoSomethingKVSPSAOnCopySalesDocumentTextFromSalesLineToPSPLineOnBeforeDeleteExistingJobTexts(SalesLine: Record "Sales Line"; JobPSPLine: Record "KVSPSAJobPSPLine"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCopySalesDocumentTextFromSalesLineToPSPLineOnBeforeSearchForTexts(Record Sales Line, Record KVSPSAJobPSPLine, Enum KVSKBATextPosition, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCopySalesDocumentTextFromSalesLineToPSPLineOnBeforeSearchForTexts(SalesLine: Record "Sales Line"; JobPSPLine: Record "KVSPSAJobPSPLine"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var Ishandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCopySalesDocumentTextFromSalesLineToPSPLineOnBeforeSearchForTexts', '', false, false)]
local procedure DoSomethingKVSPSAOnCopySalesDocumentTextFromSalesLineToPSPLineOnBeforeSearchForTexts(SalesLine: Record "Sales Line"; JobPSPLine: Record "KVSPSAJobPSPLine"; KVSKBATextPosition: Enum "KVSKBATextPosition"; var Ishandled: Boolean)
begin
end;
KVSPSAOnCreateBudgetLineOnBeforeModifyPreparedJobBudgetLine(Record KVSPSASalesLineWBSPrepare, Record Sales Line, Record KVSPSA Job Budget Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCreateBudgetLineOnBeforeModifyPreparedJobBudgetLine(SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesLine: Record "Sales Line"; var KVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCreateBudgetLineOnBeforeModifyPreparedJobBudgetLine', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateBudgetLineOnBeforeModifyPreparedJobBudgetLine(SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesLine: Record "Sales Line"; var KVSPSAJobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;
KVSPSAOnCreateBudgetLineOnUnknownSalesLineType(Record KVSPSASalesLineWBSPrepare, Record KVSPSAJobPSPLine, Record Sales Line, Record KVSPSA Job Budget Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCreateBudgetLineOnUnknownSalesLineType(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; JobPSPLine: Record "KVSPSAJobPSPLine"; var SalesLine: Record "Sales Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCreateBudgetLineOnUnknownSalesLineType', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateBudgetLineOnUnknownSalesLineType(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; JobPSPLine: Record "KVSPSAJobPSPLine"; var SalesLine: Record "Sales Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCreateBudgetLineOnUnknownTargetResourceType(Record KVSPSASalesLineWBSPrepare, Record KVSPSAJobPSPLine, Record Sales Line, Record KVSPSA Job Budget Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCreateBudgetLineOnUnknownTargetResourceType(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; JobPSPLine: Record "KVSPSAJobPSPLine"; var SalesLine: Record "Sales Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCreateBudgetLineOnUnknownTargetResourceType', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateBudgetLineOnUnknownTargetResourceType(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; JobPSPLine: Record "KVSPSAJobPSPLine"; var SalesLine: Record "Sales Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCreateWBSFromPreparedLinesOnAfterSetFilters(Record Sales Header, Code[20], Record KVSPSASalesLineWBSPrepare) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCreateWBSFromPreparedLinesOnAfterSetFilters(SalesHeader: Record "Sales Header"; JobNo: Code[20]; var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCreateWBSFromPreparedLinesOnAfterSetFilters', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateWBSFromPreparedLinesOnAfterSetFilters(SalesHeader: Record "Sales Header"; JobNo: Code[20]; var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare")
begin
end;
KVSPSAOnCreateWBSOrBudgetLineOnUnknownTargetWBSLevel(Record KVSPSASalesLineWBSPrepare, Record KVSPSASalesLineWBSPrepare, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCreateWBSOrBudgetLineOnUnknownTargetWBSLevel(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var LastSalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCreateWBSOrBudgetLineOnUnknownTargetWBSLevel', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateWBSOrBudgetLineOnUnknownTargetWBSLevel(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var LastSalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var IsHandled: Boolean)
begin
end;
KVSPSAOnInitWBSLineOnUnknownSalesLineType(Record KVSPSAJobPSPLine, Record KVSPSASalesLineWBSPrepare, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnInitWBSLineOnUnknownSalesLineType(var JobPSPLine: Record "KVSPSAJobPSPLine"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnInitWBSLineOnUnknownSalesLineType', '', false, false)]
local procedure DoSomethingKVSPSAOnInitWBSLineOnUnknownSalesLineType(var JobPSPLine: Record "KVSPSAJobPSPLine"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var IsHandled: Boolean)
begin
end;
KVSPSAOnSetJobBudgetQuantitiesOnUnknownJobBudgetLineType(Record KVSPSA Job Budget Line, Decimal, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnSetJobBudgetQuantitiesOnUnknownJobBudgetLineType(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var QtyPerBase: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnSetJobBudgetQuantitiesOnUnknownJobBudgetLineType', '', false, false)]
local procedure DoSomethingKVSPSAOnSetJobBudgetQuantitiesOnUnknownJobBudgetLineType(var JobBudgetLine: Record "KVSPSA Job Budget Line"; var QtyPerBase: Decimal; var IsHandled: Boolean)
begin
end;
KVSPSAOnAfterFindExistingPriceListLine(Record Price List Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFindExistingPriceListLine(var PriceListLine: Record "Price List Line"; var FoundExistingLine: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterFindExistingPriceListLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFindExistingPriceListLine(var PriceListLine: Record "Price List Line"; var FoundExistingLine: Boolean)
begin
end;
KVSPSAOnAfterInitNewPriceListLine(Record Sales Line, Record KVSPSASalesLineWBSPrepare, Record Price List Header, Record Price List Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterInitNewPriceListLine(SalesLine: Record "Sales Line"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; PriceListHeader: Record "Price List Header"; var PriceListLine: Record "Price List Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnAfterInitNewPriceListLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterInitNewPriceListLine(SalesLine: Record "Sales Line"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; PriceListHeader: Record "Price List Header"; var PriceListLine: Record "Price List Line")
begin
end;
KVSPSAOnBeforeClosePriceList(Record Price List Header, Boolean) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('Use "KVSPSAOnBeforeClosePriceListAfterGetPriceListHeader" instead.', '23.1')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeClosePriceList(varPriceListHeader: Record "Price List Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeClosePriceList', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeClosePriceList(varPriceListHeader: Record "Price List Header"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeClosePriceListAfterGetPriceListHeader(Record Price List Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeClosePriceListAfterGetPriceListHeader(var PriceListHeader: Record "Price List Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeClosePriceListAfterGetPriceListHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeClosePriceListAfterGetPriceListHeader(var PriceListHeader: Record "Price List Header"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeCreateJobPriceForWBSPrepareLineSalesLineWBSPrepare(Record KVSPSASalesLineWBSPrepare, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCreateJobPriceForWBSPrepareLineSalesLineWBSPrepare(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeCreateJobPriceForWBSPrepareLineSalesLineWBSPrepare', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCreateJobPriceForWBSPrepareLineSalesLineWBSPrepare(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeOpenPriceList(Record Price List Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeOpenPriceList(var PriceListHeader: Record "Price List Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnBeforeOpenPriceList', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeOpenPriceList(var PriceListHeader: Record "Price List Header"; var IsHandled: Boolean)
begin
end;
KVSPSAOnCreateLineDiscountPriceListLineOnBeforeInsertNewPriceListLine(Record Sales Line, Record KVSPSASalesLineWBSPrepare, Record Sales Header, Record Price List Header, Record Price List Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCreateLineDiscountPriceListLineOnBeforeInsertNewPriceListLine(SalesLine: Record "Sales Line"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; PriceListHeader: Record "Price List Header"; var PriceListLine: Record "Price List Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCreateLineDiscountPriceListLineOnBeforeInsertNewPriceListLine', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateLineDiscountPriceListLineOnBeforeInsertNewPriceListLine(SalesLine: Record "Sales Line"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; PriceListHeader: Record "Price List Header"; var PriceListLine: Record "Price List Line")
begin
end;
KVSPSAOnCreateUnitPriceListLineOnBeforeFindExistingPriceListLine(Record Sales Line, Record KVSPSASalesLineWBSPrepare, Record Sales Header, Record Price List Header, Record Price List Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCreateUnitPriceListLineOnBeforeFindExistingPriceListLine(SalesLine: Record "Sales Line"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; PriceListHeader: Record "Price List Header"; var PriceListLine: Record "Price List Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCreateUnitPriceListLineOnBeforeFindExistingPriceListLine', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateUnitPriceListLineOnBeforeFindExistingPriceListLine(SalesLine: Record "Sales Line"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; PriceListHeader: Record "Price List Header"; var PriceListLine: Record "Price List Line")
begin
end;
KVSPSAOnCreateUnitPriceListLineOnBeforeInsertNewPriceListLine(Record Sales Line, Record KVSPSASalesLineWBSPrepare, Record Sales Header, Record Price List Header, Record Price List Line) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnCreateUnitPriceListLineOnBeforeInsertNewPriceListLine(SalesLine: Record "Sales Line"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; PriceListHeader: Record "Price List Header"; var PriceListLine: Record "Price List Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnCreateUnitPriceListLineOnBeforeInsertNewPriceListLine', '', false, false)]
local procedure DoSomethingKVSPSAOnCreateUnitPriceListLineOnBeforeInsertNewPriceListLine(SalesLine: Record "Sales Line"; SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesHeader: Record "Sales Header"; PriceListHeader: Record "Price List Header"; var PriceListLine: Record "Price List Line")
begin
end;
KVSPSAOnGetPriceListHeaderOnBeforeInsertNewPriceListHeader(Code[20], Code[10], Boolean, Record Price List Header) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnGetPriceListHeaderOnBeforeInsertNewPriceListHeader(JobNo: Code[20]; CurrencyCode: Code[10]; ForDiscount: Boolean; var PriceListHeader: Record "Price List Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnGetPriceListHeaderOnBeforeInsertNewPriceListHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnGetPriceListHeaderOnBeforeInsertNewPriceListHeader(JobNo: Code[20]; CurrencyCode: Code[10]; ForDiscount: Boolean; var PriceListHeader: Record "Price List Header")
begin
end;
KVSPSAOnGetPriceListHeaderOnBeforeModifyNewPriceListHeader(Code[20], Code[10], Boolean, Record Price List Header) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnGetPriceListHeaderOnBeforeModifyNewPriceListHeader(JobNo: Code[20]; CurrencyCode: Code[10]; ForDiscount: Boolean; var PriceListHeader: Record "Price List Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnGetPriceListHeaderOnBeforeModifyNewPriceListHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnGetPriceListHeaderOnBeforeModifyNewPriceListHeader(JobNo: Code[20]; CurrencyCode: Code[10]; ForDiscount: Boolean; var PriceListHeader: Record "Price List Header")
begin
end;
KVSPSAOnGetPriceListHeaderOnFindExistingPriceListHeader(Code[20], Code[10], Boolean, Record Price List Header) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnGetPriceListHeaderOnFindExistingPriceListHeader(JobNo: Code[20]; CurrencyCode: Code[10]; ForDiscount: Boolean; var PriceListHeader: Record "Price List Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnGetPriceListHeaderOnFindExistingPriceListHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnGetPriceListHeaderOnFindExistingPriceListHeader(JobNo: Code[20]; CurrencyCode: Code[10]; ForDiscount: Boolean; var PriceListHeader: Record "Price List Header")
begin
end;
KVSPSAOnUpdateSalesLineWBSPrepareAfterFoundTargetWorkPackage(Record KVSPSASalesLineWBSPrepare, Record Sales Line, Code[20], Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnUpdateSalesLineWBSPrepareAfterFoundTargetWorkPackage(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesLine: Record "Sales Line"; var TargetWorkPackageCode: Code[20]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSASalesDocToJobMgt", 'KVSPSAOnUpdateSalesLineWBSPrepareAfterFoundTargetWorkPackage', '', false, false)]
local procedure DoSomethingKVSPSAOnUpdateSalesLineWBSPrepareAfterFoundTargetWorkPackage(var SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; SalesLine: Record "Sales Line"; var TargetWorkPackageCode: Code[20]; var IsHandled: Boolean)
begin
end;