Table of Contents

KVSADVJobPostingBase

Procedures

InitAdvanceJobLedgerEntryFromGenJnlLine(Record KVSADVAdvanceJobLedgerEntry, Record Gen. Journal Line, Enum KVSADVSourceAccountType, Code[20], Option) :

procedure InitAdvanceJobLedgerEntryFromGenJnlLine(var NewAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; GenJnlLine: Record "Gen. Journal Line"; AccountType: Enum "KVSADVSourceAccountType"; CustVendNo: Code[20]; EntryType: Option): 

InsertAdvanceJobLedgerEntry(Record KVSADVAdvanceJobLedgerEntry) :

procedure InsertAdvanceJobLedgerEntry(var NewAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"): 

DoesDocumentHeaderRequireJobPostingAsAdvance(Enum KVSADVSourceAccountType, Variant) : Boolean

procedure DoesDocumentHeaderRequireJobPostingAsAdvance(AccountType: Enum "KVSADVSourceAccountType"; DocHeaderVariant: Variant): Boolean

Events

OnBeforeCheckAdvJobLedgerEntryMandatoryFieldsAreFilled(Record KVSADVAdvanceJobLedgerEntry) :

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckAdvJobLedgerEntryMandatoryFieldsAreFilled(AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"): 

OnAfterSetFiltersForPaymentRealizationAdvJobLedgerBySalesInvoiceLine(Record KVSADVAdvanceJobLedgerEntry, Record Sales Invoice Line) :

[IntegrationEvent(false, false)]
local procedure OnAfterSetFiltersForPaymentRealizationAdvJobLedgerBySalesInvoiceLine(var AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; SalesInvLine: Record "Sales Invoice Line"): 

OnAfterSetFiltersForPaymentRealizationAdvJobLedgerByPurchInvoiceLine(Record KVSADVAdvanceJobLedgerEntry, Record Purch. Inv. Line) :

[IntegrationEvent(false, false)]
local procedure OnAfterSetFiltersForPaymentRealizationAdvJobLedgerByPurchInvoiceLine(var AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; PurchInvLine: Record "Purch. Inv. Line"): 

OnCheckAdvLedgerEntriesPostedTowardsDifferentJobTaskLines(Record KVSADVAdvanceJobLedgerEntry, Record KVSADVAdvanceJobLedgerEntry, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnCheckAdvLedgerEntriesPostedTowardsDifferentJobTaskLines(FirstAdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; SecondAdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; var EntriesArePostedTowardsDifferentJobLines: Boolean): 

OnAfterInitPaymentAdvanceLedgerEntryFromInvoiceAdvanceLedgerEntry(Record KVSADVAdvanceJobLedgerEntry, Record KVSADVAdvanceJobLedgerEntry, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnAfterInitPaymentAdvanceLedgerEntryFromInvoiceAdvanceLedgerEntry(InvoiceAdvLedgEntry: Record "KVSADVAdvanceJobLedgerEntry"; var PaymentAdvLedgEntry: Record "KVSADVAdvanceJobLedgerEntry"; ReversalForInvoice: Boolean): 

OnAfterInitAdvanceJobLedgerEntryFromGenJnlLine(Record KVSADVAdvanceJobLedgerEntry, Record Gen. Journal Line, Enum KVSADVSourceAccountType, Code[20], Option) :

[IntegrationEvent(false, false)]
local procedure OnAfterInitAdvanceJobLedgerEntryFromGenJnlLine(var NewAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; GenJnlLine: Record "Gen. Journal Line"; AccountType: Enum "KVSADVSourceAccountType"; CustVendNo: Code[20]; EntryType: Option): 

OnBeforeInsertAdvanceJobLedgerEntry(Record KVSADVAdvanceJobLedgerEntry) :

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertAdvanceJobLedgerEntry(var NewAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"): 

OnAfterTransferFieldsFromJobToAdvLedgerEntry(Record KVSADVAdvanceJobLedgerEntry, Record Job) :

[IntegrationEvent(false, false)]
local procedure OnAfterTransferFieldsFromJobToAdvLedgerEntry(var NewAdvanceJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; Job: Record "Job"): 

OnBeforeCreateAdvanceJobLedgerEntryFromPayment(Record G/L Entry, Enum KVSADVSourceAccountType, Boolean, Code[20], Decimal, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateAdvanceJobLedgerEntryFromPayment(VATGLEntry: Record "G/L Entry"; AccountType: Enum "KVSADVSourceAccountType"; IsUnapply: Boolean; OriginalDocNo: Code[20]; CurrencyFactor: Decimal; var IsHandled: Boolean): 

OnBeforeCreatePaymentAdvJobLedgerEntryForInvoice(Record KVSADVAdvanceJobLedgerEntry, Decimal, Decimal, Decimal, Decimal, Record KVSADVAdvanceJobLedgerEntry, Record G/L Entry, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnBeforeCreatePaymentAdvJobLedgerEntryForInvoice(var NewAdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; PaymentAmountLCY: Decimal; PaymentAmountFCY: Decimal; AdvJobLedgerEntryAmountShareFactor: Decimal; AdvJobLedgerEntryTotalAmount: Decimal; var TempAdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry" temporary; VATGLEntry: Record "G/L Entry"; CurrencyFactor: Decimal): 

OnBeforeCreatePaymentAdvJobLedgerEntryForPayment(Record KVSADVAdvanceJobLedgerEntry, Decimal, Decimal, Decimal, Decimal, Record KVSADVAdvanceJobLedgerEntry, Record G/L Entry, Decimal) :

[IntegrationEvent(false, false)]
local procedure OnBeforeCreatePaymentAdvJobLedgerEntryForPayment(var NewAdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; PaymentAmountLCY: Decimal; PaymentAmountFCY: Decimal; AdvJobLedgerEntryAmountShareFactor: Decimal; AdvJobLedgerEntryTotalAmount: Decimal; var TempAdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry" temporary; VATGLEntry: Record "G/L Entry"; CurrencyFactor: Decimal): 

OnBeforeFindAdvInvoiceJobLedgerEntryForPaymentRealization(Record KVSADVAdvanceJobLedgerEntry, Enum KVSADVSourceAccountType, Code[20], Boolean, Boolean, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeFindAdvInvoiceJobLedgerEntryForPaymentRealization(var TempAdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry" temporary; AccountType: Enum "KVSADVSourceAccountType"; InvoiceDocNo: Code[20]; var ShowMessage: Boolean; var sResult: Boolean; var IsHandled: Boolean): 

OnAfterTransferFieldsFromPaymentGLEntryToAdvJobLedgerEntry(Record G/L Entry, Record KVSADVAdvanceJobLedgerEntry, Boolean, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnAfterTransferFieldsFromPaymentGLEntryToAdvJobLedgerEntry(GLEntry: Record "G/L Entry"; var AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; IncludeGLAccount: Boolean; IncludeDimensions: Boolean): 

OnBeforePostAdvExchRateToJob(Record Gen. Journal Line, Enum KVSADVSourceAccountType, Code[20], Boolean, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforePostAdvExchRateToJob(GenJournalLine: Record "Gen. Journal Line"; AccountType: Enum "KVSADVSourceAccountType"; AccountNo: Code[20]; ByClosingCreditMemo: Boolean; var IsHandled: Boolean): 

OnAfterInitAdvanceJobLedgerEntryForAdvExchRateToJob(Record KVSADVAdvanceJobLedgerEntry, Record Gen. Journal Line, Enum KVSADVSourceAccountType, Code[20], Boolean) :

[IntegrationEvent(false, false)]
local procedure OnAfterInitAdvanceJobLedgerEntryForAdvExchRateToJob(var AdvJobLedgerEntry: Record "KVSADVAdvanceJobLedgerEntry"; GenJournalLine: Record "Gen. Journal Line"; AccountType: Enum "KVSADVSourceAccountType"; AccountNo: Code[20]; ByClosingCreditMemo: Boolean): 

OnBeforeUpdateAdvanceJobLedgerEntryTransactionNo(Code[20], Date, Integer, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateAdvanceJobLedgerEntryTransactionNo(DocumentNo: Code[20]; PostingDate: Date; var TransactionNo: Integer; var IsHandled: Boolean):