KVSPSAJobShipmentLineReserve#
Events#
KVSPSAOnBeforeJobJournalLineTestFieldsOnTransferJobShpLineToJobJnlLine(Record KVSPSAJob Document Line, Record Job Journal Line, Decimal, Boolean) :#
Summary: If SkipTestFields is set to true, the TestFields No., Variant and Location Code for Job Journal Line in TransferJobShpLineToJobJnlLine will not be executed
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeJobJournalLineTestFieldsOnTransferJobShpLineToJobJnlLine(var JobDocumentLine: Record "KVSPSAJob Document Line"; var JobJournalLine: Record "Job Journal Line"; var TransferQty: Decimal; var SkipTestFields: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobShipmentLineReserve", 'KVSPSAOnBeforeJobJournalLineTestFieldsOnTransferJobShpLineToJobJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeJobJournalLineTestFieldsOnTransferJobShpLineToJobJnlLine(var JobDocumentLine: Record "KVSPSAJob Document Line"; var JobJournalLine: Record "Job Journal Line"; var TransferQty: Decimal; var SkipTestFields: Boolean)
begin
end;
Parameters:
JobDocumentLine
: The Source Job Document Line of the Job Journal Line and where the Reservation Entries related to.JobJournalLine
: The Job Journal Line that is created from the Project Document Line and to which the Reservation Entries should be transferred.TransferQty
: A decimal Value to spedify the Quantity to Transfer.SkipTestFields
: A boolean value indicating whether the event should skip TestFields. Set this parameter to true to skip TestField calls of original procedure for JobJournalLine.
KVSPSAOnBeforeOldReservationEntryTestFieldsOnTransferJobShpLineToJobJnlLine(Record KVSPSAJob Document Line, Record Job Journal Line, Record Reservation Entry, Boolean) :#
Summary: If SkipTestFields is set to true, the TestFields No., Variant and Location Code for Reservation Entry in TransferJobShpLineToJobJnlLine will not be executed
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeOldReservationEntryTestFieldsOnTransferJobShpLineToJobJnlLine(var JobDocumentLine: Record "KVSPSAJob Document Line"; var JobJournalLine: Record "Job Journal Line"; var OldReservationEntry: Record "Reservation Entry"; var SkipTestFields: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobShipmentLineReserve", 'KVSPSAOnBeforeOldReservationEntryTestFieldsOnTransferJobShpLineToJobJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeOldReservationEntryTestFieldsOnTransferJobShpLineToJobJnlLine(var JobDocumentLine: Record "KVSPSAJob Document Line"; var JobJournalLine: Record "Job Journal Line"; var OldReservationEntry: Record "Reservation Entry"; var SkipTestFields: Boolean)
begin
end;
Parameters:
JobDocumentLine
: The Source Job Document Line of the Job Journal Line and where the Reservation Entries related to.JobJournalLine
: The Job Journal Line that is created from the Project Document Line and to which the Reservation Entries should be transferred.OldReservationEntry
: The Old Reservation Entry of the Project Document Line.SkipTestFields
: A boolean value indicating whether the event should skip TestFields. Set this parameter to true to skip TestField calls of original procedure for OldReservationEntry.
KVSPSAOnAfterFilterReservFor(Record Reservation Entry, Record KVSPSAJob Document Line) :#
Summary: This event can be used to change the Filter for the Reservation Entry in FilterReservFor
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFilterReservFor(var FilterReservationEntry: Record "Reservation Entry"; JobDocumentLine: Record "KVSPSAJob Document Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobShipmentLineReserve", 'KVSPSAOnAfterFilterReservFor', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFilterReservFor(var FilterReservationEntry: Record "Reservation Entry"; JobDocumentLine: Record "KVSPSAJob Document Line")
begin
end;
Parameters:
FilterReservationEntry
: Record used for setting filters for Reservation Entries.JobDocumentLine
: The Job Document Line for which the Reservation Entries are being filtered.