KVSPSAJobTransferLine#
Procedures#
FromDocumentLineToJobJournalLine(Record Job Journal Line, Record KVSPSAJob Document Header, Record KVSPSAPostedJobDocumentHeader, Record KVSPSAJob Document Line) :#
Summary: This procedure transfers fields from multi tables to a job journal line.
procedure FromDocumentLineToJobJournalLine(var JobJournalLine: Record "Job Journal Line"; JobDocumentHeader: Record "KVSPSAJob Document Header"; PostedJobDocumentHeader: Record "KVSPSAPostedJobDocumentHeader"; JobDocumentLine: Record "KVSPSAJob Document Line"):
Parameters:
JobJournalLine
: Record used for assigned value.JobDocumentHeader
: Record used for assigning value.PostedJobDocumentHeader
: Record used for assigning value.JobDocumentLine
: Record used for assigning value.
FromGenJnlLineToJnlLine(Record Gen. Journal Line, Record Job Journal Line) :#
Summary: This procedure transfers fields from a general journal line to a job journal line.
procedure FromGenJnlLineToJnlLine(GenJournalLine: Record "Gen. Journal Line"; var JobJournalLine: Record "Job Journal Line"):
Parameters:
GenJournalLine
: Record used for assigning value.JobJournalLine
: Record used for assigned value.
FromJobLedgerEntryToJobJournalLine(Record Job Ledger Entry, Record Job Journal Line) :#
Summary: This procedure transfers fields from a job ledger entry to a job journal line.
procedure FromJobLedgerEntryToJobJournalLine(JobLedgerEntry: Record "Job Ledger Entry"; var JobJournalLine: Record "Job Journal Line"):
Parameters:
JobLedgerEntry
: Record used for assigning value.JobJournalLine
: Record used for assigned value.
FromJobTimeLedgerEntryToJobJournalLine(Record Job Journal Line, Record KVSPSAJobTimeLedgerEntry, Record KVSPSAJobPSPLine) :#
Summary: This procedure transfers fields from a Job Time Ledger Entry and Job PSP line to a Job Journal Line.
procedure FromJobTimeLedgerEntryToJobJournalLine(var JobJournalLine: Record "Job Journal Line"; JobTimeLedgerEntry: Record "KVSPSAJobTimeLedgerEntry"; var JobPSPLine: Record "KVSPSAJobPSPLine"):
Parameters:
JobJournalLine
: Record used for assigned value.JobTimeLedgerEntry
: Record used for assigning value.JobPSPLine
: Record used for assigning value.
FromPurchRcptLineToJnlLine(Record Purch. Rcpt. Header, Record Purch. Rcpt. Line, Code[10], Record Job Journal Line) :#
Summary: This procedure transfers fields from a purchase receipt header and line to a job journal line.
procedure FromPurchRcptLineToJnlLine(PurchRcptHeader: Record "Purch. Rcpt. Header"; PurchRcptLine: Record "Purch. Rcpt. Line"; SourceCode: Code[10]; var JobJournalLine: Record "Job Journal Line"):
Parameters:
PurchRcptHeader
: Record used for assigning value.PurchRcptLine
: Record used for assigning value.SourceCode
: Code used for assigning value.JobJournalLine
: Record used for assigned value.
FromSalesLineToJobJournalLine(Record Job Journal Line, Record Sales Header, Record Sales Line, Code[20], Code[35]) :#
Summary: This procedure transfers fields from a sales header and line to a job journal line.
procedure FromSalesLineToJobJournalLine(var JobJournalLine: Record "Job Journal Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; DocumentNo: Code[20]; ExternalDocumentNo: Code[35]):
Parameters:
JobJournalLine
: Record used for assigned value.SalesHeader
: Record used for assigning value.SalesLine
: Record used for assigning value.DocumentNo
: Code used for assigning value.ExternalDocumentNo
: Code used for assigning value.
FromTimeSheetToJobJournalLine(Record Time Sheet Line, Record Time Sheet Detail, Record Job Journal Line) :#
Summary: This procedure transfers fields from a time sheet line and detail to a job journal line.
procedure FromTimeSheetToJobJournalLine(TimeSheetLine: Record "Time Sheet Line"; TimeSheetDetail: Record "Time Sheet Detail"; var JobJournalLine: Record "Job Journal Line"):
Parameters:
TimeSheetLine
: Record used for assigning value.TimeSheetDetail
: Record used for assigning value.JobJournalLine
: Record used for assigned value.
FromZDELineToJobJournalLine(Record KVSPSAZDE-Line, Record KVSPSAZDE-Header, Record Job Journal Line) :#
Summary: This procedure transfers fields from a ZDE header and line to a job journal line.
procedure FromZDELineToJobJournalLine(ZDELine: Record "KVSPSAZDE-Line"; ZDEHeader: Record "KVSPSAZDE-Header"; var JobJournalLine: Record "Job Journal Line"):
Parameters:
ZDELine
: Record used for assigning value.ZDEHeader
: Record used for assigning value.JobJournalLine
: Record used for assigned value.
CopyNonDedVATFromGenJnlLineToJobJnlLine(Record Job Journal Line, Record Gen. Journal Line) :#
procedure CopyNonDedVATFromGenJnlLineToJobJnlLine(var JobJnlLine: Record "Job Journal Line"; GenJnlLine: Record "Gen. Journal Line"):
UseNonDeductibleVATAmountForJobCost() : Boolean#
procedure UseNonDeductibleVATAmountForJobCost(): Boolean
GetGenJnlLineToJobCurrencyFactor(Record Gen. Journal Line) : Decimal#
procedure GetGenJnlLineToJobCurrencyFactor(GenJnlLine: Record "Gen. Journal Line"): Decimal
Events#
KVSPSAOnAfterCalcUnitCostLCYInOnFromPurchaseLineToJnlLine(Record Job Journal Line, Record Purchase Header, Record Purchase Line, Record Item, Decimal, Decimal) :#
Summary: Event fired after calculating unit cost in LCY when transferring from purchase line to job journal line. Allows extensions to perform additional processing after unit cost calculations. This event enables custom logic to be applied after unit cost calculations during the purchase-to-job transfer process, including handling non-deductible VAT amounts.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCalcUnitCostLCYInOnFromPurchaseLineToJnlLine(var JobJournalLine: Record "Job Journal Line"; PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; Item: Record "Item"; NonDeductibleVATAmtPerUnitLCY: Decimal; NonDeductibleVATAmtPerUnit: Decimal):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCalcUnitCostLCYInOnFromPurchaseLineToJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCalcUnitCostLCYInOnFromPurchaseLineToJnlLine(var JobJournalLine: Record "Job Journal Line"; PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; Item: Record "Item"; NonDeductibleVATAmtPerUnitLCY: Decimal; NonDeductibleVATAmtPerUnit: Decimal)
begin
end;
Parameters:
JobJournalLine
: The job journal line with calculated unit cost. Can be modified by extensions.PurchaseHeader
: The source purchase header providing context for the cost calculation.PurchaseLine
: The source purchase line from which the unit cost was calculated.Item
: The item record associated with the purchase line for cost calculation context.NonDeductibleVATAmtPerUnitLCY
: The non-deductible VAT amount per unit in local currency.NonDeductibleVATAmtPerUnit
: The non-deductible VAT amount per unit in original currency.
KVSPSAOnAfterCopyFieldsFromDocumentLineToJobJnlLine(Record Job Journal Line, Record KVSPSAJob Document Header, Record KVSPSAPostedJobDocumentHeader, Record KVSPSAJob Document Line) :#
Summary: Event fired after copying fields from job document line to job journal line. Allows extensions to perform additional field transfers or custom processing. This event enables extensions to implement custom field mapping logic when transferring data from job document lines to job journal lines during job document processing.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromDocumentLineToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; JobDocumentHeader: Record "KVSPSAJob Document Header"; PostedJobDocumentHeader: Record "KVSPSAPostedJobDocumentHeader"; JobDocumentLine: Record "KVSPSAJob Document Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromDocumentLineToJobJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromDocumentLineToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; JobDocumentHeader: Record "KVSPSAJob Document Header"; PostedJobDocumentHeader: Record "KVSPSAPostedJobDocumentHeader"; JobDocumentLine: Record "KVSPSAJob Document Line")
begin
end;
Parameters:
JobJournalLine
: The job journal line that received copied fields. Can be modified by extensions.JobDocumentHeader
: The source job document header providing context for the field copying.PostedJobDocumentHeader
: The posted job document header associated with the transfer.JobDocumentLine
: The source job document line from which fields were copied.
KVSPSAOnAfterCopyFieldsFromGenJnlLineToJnlLine(Record Job, Record Gen. Journal Line, Record Job Journal Line) :#
Summary: Event fired after copying fields from general journal line to job journal line. Allows extensions to perform additional field transfers or custom processing. This event enables extensions to implement custom field mapping logic when transferring data from general journal lines to job journal lines during journal processing workflows.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromGenJnlLineToJnlLine(Job: Record "Job"; GenJournalLine: Record "Gen. Journal Line"; var JobJournalLine: Record "Job Journal Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromGenJnlLineToJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromGenJnlLineToJnlLine(Job: Record "Job"; GenJournalLine: Record "Gen. Journal Line"; var JobJournalLine: Record "Job Journal Line")
begin
end;
Parameters:
Job
: The job record providing context for the field copying operation.GenJournalLine
: The source general journal line from which fields were copied.JobJournalLine
: The job journal line that received copied fields. Can be modified by extensions.
KVSPSAOnAfterCopyFieldsFromJobLedgerEntryToJobJnlLine(Record Job Journal Line, Record Job Ledger Entry) :#
Summary: Event fired after copying fields from job ledger entry to job journal line. Allows extensions to perform additional field transfers or custom processing. This event enables extensions to implement custom field mapping logic when transferring data from job ledger entries to job journal lines during job entry processing.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromJobLedgerEntryToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; JobLedgerEntry: Record "Job Ledger Entry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromJobLedgerEntryToJobJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromJobLedgerEntryToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; JobLedgerEntry: Record "Job Ledger Entry")
begin
end;
Parameters:
JobJournalLine
: The job journal line that received copied fields. Can be modified by extensions.JobLedgerEntry
: The source job ledger entry from which fields were copied.
KVSPSAOnAfterCopyFieldsFromJobTimeLedgerEntryToJobJnlLine(Record Job Journal Line, Record KVSPSAJobTimeLedgerEntry, Record KVSPSAJobPSPLine, Record KVSPSA Job Budget Line) :#
Summary: Event fired after copying fields from job time ledger entry to job journal line. Allows extensions to perform additional field transfers or custom processing. This event enables extensions to implement custom field mapping logic when transferring data from job time ledger entries to job journal lines, with access to PSP and budget line context.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromJobTimeLedgerEntryToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; JobTimeLedgerEntry: Record "KVSPSAJobTimeLedgerEntry"; JobPSPLine: Record "KVSPSAJobPSPLine"; JobBudgetLine: Record "KVSPSA Job Budget Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromJobTimeLedgerEntryToJobJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromJobTimeLedgerEntryToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; JobTimeLedgerEntry: Record "KVSPSAJobTimeLedgerEntry"; JobPSPLine: Record "KVSPSAJobPSPLine"; JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;
Parameters:
JobJournalLine
: The job journal line that received copied fields. Can be modified by extensions.JobTimeLedgerEntry
: The source job time ledger entry from which fields were copied.JobPSPLine
: The related job PSP line providing project structure context.JobBudgetLine
: The related job budget line providing budget context.
KVSPSAOnAfterCopyFieldsFromPurchaseLineToJnlLine(Record Purchase Header, Record Purch. Inv. Header, Record Purch. Cr. Memo Hdr., Record Purchase Line, Code[10], Record Job Journal Line, Record Purch. Rcpt. Header, Record Return Shipment Header) :#
Summary: Event fired after copying fields from purchase line to job journal line. Allows extensions to perform additional field transfers or custom processing. This event enables extensions to implement custom field mapping logic when transferring data from purchase lines to job journal lines during purchase document processing, including invoice, order, return order, and credit memo scenarios.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromPurchaseLineToJnlLine(PurchaseHeader: Record "Purchase Header"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; PurchaseLine: Record "Purchase Line"; SourceCode: Code[10]; var JobJournalLine: Record "Job Journal Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; ReturnShipmentHeader: Record "Return Shipment Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromPurchaseLineToJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromPurchaseLineToJnlLine(PurchaseHeader: Record "Purchase Header"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; PurchaseLine: Record "Purchase Line"; SourceCode: Code[10]; var JobJournalLine: Record "Job Journal Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; ReturnShipmentHeader: Record "Return Shipment Header")
begin
end;
Parameters:
PurchaseHeader
: The source purchase header providing context for the field copying operation.PurchInvHeader
: The purchase invoice header if the document is an invoice.PurchCrMemoHdr
: The purchase credit memo header if the document is a credit memo.PurchaseLine
: The source purchase line from which fields were copied.SourceCode
: The source code used for the journal line creation.JobJournalLine
: The job journal line that received copied fields. Can be modified by extensions.PurchRcptHeader
: The purchase receipt header if the document involves a receipt.ReturnShipmentHeader
: The return shipment header if the document involves a return shipment.
KVSPSAOnAfterCopyFieldsFromPurchRcptLineToJnlLine(Record Job Journal Line, Record Purch. Rcpt. Header, Record Purch. Rcpt. Line, Code[10]) :#
Summary: Event fired after copying fields from purchase receipt line to job journal line. Allows extensions to perform additional field transfers or custom processing. This event enables extensions to implement custom field mapping logic when transferring data from purchase receipt lines to job journal lines during receipt processing.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromPurchRcptLineToJnlLine(var JobJournalLine: Record "Job Journal Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; PurchRcptLine: Record "Purch. Rcpt. Line"; SourceCode: Code[10]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromPurchRcptLineToJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromPurchRcptLineToJnlLine(var JobJournalLine: Record "Job Journal Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; PurchRcptLine: Record "Purch. Rcpt. Line"; SourceCode: Code[10])
begin
end;
Parameters:
JobJournalLine
: The job journal line that received copied fields. Can be modified by extensions.PurchRcptHeader
: The purchase receipt header providing context for the field copying operation.PurchRcptLine
: The source purchase receipt line from which fields were copied.SourceCode
: The source code used for the journal line creation.
KVSPSAOnAfterCopyFieldsFromSalesLineToJobJnlLine(Record Job Journal Line, Record Sales Header, Record Sales Line, Code[20], Code[35]) :#
Summary: This event is triggered after copying fields from the Sales Line to the Job Journal Line. It can be used to modify the Job Journal Line after copying fields from the Sales Line.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromSalesLineToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; DocumentNo: Code[20]; ExternalDocumentNo: Code[35]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromSalesLineToJobJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromSalesLineToJobJnlLine(var JobJournalLine: Record "Job Journal Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; DocumentNo: Code[20]; ExternalDocumentNo: Code[35])
begin
end;
Parameters:
JobJournalLine
:SalesHeader
:SalesLine
:DocumentNo
:ExternalDocumentNo
:
KVSPSAOnAfterCopyFieldsFromTimeSheetToJobJnlLine(Record Time Sheet Line, Record Time Sheet Detail, Record Job Journal Line) :#
Summary: Event fired after copying fields from time sheet to job journal line. Allows extensions to perform additional field transfers or custom processing. This event enables extensions to implement custom field mapping logic when transferring data from time sheet entries to job journal lines during time tracking processing.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromTimeSheetToJobJnlLine(TimeSheetLine: Record "Time Sheet Line"; TimeSheetDetail: Record "Time Sheet Detail"; var JobJournalLine: Record "Job Journal Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromTimeSheetToJobJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromTimeSheetToJobJnlLine(TimeSheetLine: Record "Time Sheet Line"; TimeSheetDetail: Record "Time Sheet Detail"; var JobJournalLine: Record "Job Journal Line")
begin
end;
Parameters:
TimeSheetLine
: The source time sheet line from which fields were copied.TimeSheetDetail
: The time sheet detail providing additional context for the field copying operation.JobJournalLine
: The job journal line that received copied fields. Can be modified by extensions.
KVSPSAOnAfterCopyFieldsFromZDELineToJobJnlLine(Record KVSPSAZDE-Line, Record KVSPSAZDE-Header, Record Job Journal Line) :#
Summary: Event fired after copying fields from ZDE (Zeit-Daten-Erfassung/Time Data Entry) line to job journal line. Allows extensions to perform additional field transfers or custom processing. This event enables extensions to implement custom field mapping logic when transferring data from ZDE time tracking lines to job journal lines during time entry processing.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyFieldsFromZDELineToJobJnlLine(ZDELine: Record "KVSPSAZDE-Line"; ZDEHeader: Record "KVSPSAZDE-Header"; var JobJournalLine: Record "Job Journal Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterCopyFieldsFromZDELineToJobJnlLine', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCopyFieldsFromZDELineToJobJnlLine(ZDELine: Record "KVSPSAZDE-Line"; ZDEHeader: Record "KVSPSAZDE-Header"; var JobJournalLine: Record "Job Journal Line")
begin
end;
Parameters:
ZDELine
: The source ZDE line from which fields were copied.ZDEHeader
: The ZDE header providing context for the field copying operation.JobJournalLine
: The job journal line that received copied fields. Can be modified by extensions.
KVSPSAOnAfterFoundActivePsplineInCopyFieldsFromJnlLineToLedgEntry(Record KVSPSAJobPSPLine, Record KVSPSA Job Budget Line, Record Job Journal Line, Record Job Ledger Entry) :#
Summary: Event fired after finding an active PSP line when copying fields from job journal line to ledger entry. Allows extensions to perform additional processing with the found PSP and budget line context. This event enables extensions to implement custom logic when active PSP lines are found during job journal to ledger entry transfer, providing access to both PSP and budget line information.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFoundActivePsplineInCopyFieldsFromJnlLineToLedgEntry(var JobPSPLine: Record "KVSPSAJobPSPLine"; var JobBudgetLine: Record "KVSPSA Job Budget Line"; var JobJournalLine: Record "Job Journal Line"; var JobLedgerEntry: Record "Job Ledger Entry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnAfterFoundActivePsplineInCopyFieldsFromJnlLineToLedgEntry', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFoundActivePsplineInCopyFieldsFromJnlLineToLedgEntry(var JobPSPLine: Record "KVSPSAJobPSPLine"; var JobBudgetLine: Record "KVSPSA Job Budget Line"; var JobJournalLine: Record "Job Journal Line"; var JobLedgerEntry: Record "Job Ledger Entry")
begin
end;
Parameters:
JobPSPLine
: The active job PSP line that was found. Can be modified by extensions.JobBudgetLine
: The related job budget line associated with the PSP line. Can be modified by extensions.JobJournalLine
: The job journal line being processed. Can be modified by extensions.JobLedgerEntry
: The job ledger entry being created. Can be modified by extensions.
KVSPSAOnBeforeCopyTempParamJobLedgerEntryInOnAfterFromJnlLineToLedgEntry(Record Job, Record Job Ledger Entry, Record Job Journal Line) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This event is obsolete adn not used anymore. It will be delete with BC27', '25.5')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCopyTempParamJobLedgerEntryInOnAfterFromJnlLineToLedgEntry(Job: Record "Job"; JobLedgerEntry: Record "Job Ledger Entry"; var JobJournalLine: Record "Job Journal Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnBeforeCopyTempParamJobLedgerEntryInOnAfterFromJnlLineToLedgEntry', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCopyTempParamJobLedgerEntryInOnAfterFromJnlLineToLedgEntry(Job: Record "Job"; JobLedgerEntry: Record "Job Ledger Entry"; var JobJournalLine: Record "Job Journal Line")
begin
end;
KVSPSAOnBeforeFindJobAccountInOnAfterFromJnlLineToLedgEntry(Record Job Ledger Entry, Code[10]) :#
Summary: Event fired before finding job account when processing job journal line to ledger entry transfer. Allows extensions to customize job account lookup logic. This event enables extensions to implement custom job account determination logic or modify the job type before the standard job account finding process during ledger entry creation.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFindJobAccountInOnAfterFromJnlLineToLedgEntry(var TempJobLedgerEntry: Record "Job Ledger Entry" temporary; var JobType: Code[10]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobTransferLine", 'KVSPSAOnBeforeFindJobAccountInOnAfterFromJnlLineToLedgEntry', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFindJobAccountInOnAfterFromJnlLineToLedgEntry(var TempJobLedgerEntry: Record "Job Ledger Entry" temporary; var JobType: Code[10])
begin
end;
Parameters:
TempJobLedgerEntry
: The temporary job ledger entry being processed for account finding. Can be modified by extensions.JobType
: The job type code used for account determination. Can be modified by extensions.