KVSPSATotallingPosNumberingMgt#
Procedures#
FillTotallingAndPositionNumberingForJobDocument(Record KVSPSAJob Document Header, Boolean) :#
Summary: This procedure creates the totalling lines with Position No. belong to job document.
procedure FillTotallingAndPositionNumberingForJobDocument(var JobDocumentHeader: Record "KVSPSAJob Document Header"; PositionNumbering: Boolean):
Parameters:
JobDocumentHeader
: Job Document that wants to be filled with totalling line.PositionNumbering
: Indicates how Position No. should be applied.
FillTotallingAndPositionNumberingForPSPHeader(Record KVSPSAJobPSPHeader, Boolean) :#
Summary: This procedure creates the totalling lines with Position No. belong to job PSP header.
procedure FillTotallingAndPositionNumberingForPSPHeader(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; PositionNumbering: Boolean):
Parameters:
JobPSPHeader
: Job PSP Header that wants to be filled with totalling line.PositionNumbering
: Indicates how Position No. should be applied.
Events#
KVSPSAOnBeforeFillTotallingAndPositionNumberingForJobDocument(Record KVSPSAJob Document Header, Boolean, Boolean) :#
Summary: Event fired before filling totalling and position numbering for job document. Allows extensions to override or customize the position numbering logic for job documents. This event enables custom handling of totalling position creation and position numbering assignment for job document headers and their associated lines.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFillTotallingAndPositionNumberingForJobDocument(var JobDocumentHeader: Record "KVSPSAJob Document Header"; PositionNumbering: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATotallingPosNumberingMgt", 'KVSPSAOnBeforeFillTotallingAndPositionNumberingForJobDocument', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFillTotallingAndPositionNumberingForJobDocument(var JobDocumentHeader: Record "KVSPSAJob Document Header"; PositionNumbering: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
JobDocumentHeader
: The job document header being processed for position numbering (passed by reference for modification).PositionNumbering
: Boolean indicating whether position numbering should be applied to the document.IsHandled
: Boolean flag (passed by reference) indicating whether the event subscriber has handled the position numbering and standard logic should be bypassed.
KVSPSAOnBeforeFillTotallingAndPositionNumberingForPSPHeader(Record KVSPSAJobPSPHeader, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFillTotallingAndPositionNumberingForPSPHeader(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; PositionNumbering: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATotallingPosNumberingMgt", 'KVSPSAOnBeforeFillTotallingAndPositionNumberingForPSPHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFillTotallingAndPositionNumberingForPSPHeader(var JobPSPHeader: Record "KVSPSAJobPSPHeader"; PositionNumbering: Boolean; var IsHandled: Boolean)
begin
end;
KVSPSAOnFillTotallingAndPositionNumberingForPSPHeaderOnBeforeIncreaseTitleArray(Record KVSPSAJobPSPLine, Integer, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnFillTotallingAndPositionNumberingForPSPHeaderOnBeforeIncreaseTitleArray(var JobPSPLine: Record "KVSPSAJobPSPLine"; TitleArray: Integer; var i: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATotallingPosNumberingMgt", 'KVSPSAOnFillTotallingAndPositionNumberingForPSPHeaderOnBeforeIncreaseTitleArray', '', false, false)]
local procedure DoSomethingKVSPSAOnFillTotallingAndPositionNumberingForPSPHeaderOnBeforeIncreaseTitleArray(var JobPSPLine: Record "KVSPSAJobPSPLine"; TitleArray: Integer; var i: Integer; var IsHandled: Boolean)
begin
end;
KVSPSAOnFillTotallingAndPositionNumberingForPSPHeaderOnBeforeValidatePositionNoInPSPLine(Record KVSPSAJobPSPLine, Code[20], Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnFillTotallingAndPositionNumberingForPSPHeaderOnBeforeValidatePositionNoInPSPLine(var JobPSPLine: Record "KVSPSAJobPSPLine"; var PositionStructure: Code[20]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSATotallingPosNumberingMgt", 'KVSPSAOnFillTotallingAndPositionNumberingForPSPHeaderOnBeforeValidatePositionNoInPSPLine', '', false, false)]
local procedure DoSomethingKVSPSAOnFillTotallingAndPositionNumberingForPSPHeaderOnBeforeValidatePositionNoInPSPLine(var JobPSPLine: Record "KVSPSAJobPSPLine"; var PositionStructure: Code[20]; var IsHandled: Boolean)
begin
end;