Skip to content

KVSPSAPostPaymentDiscountToJob#

Events#

KVSPSAOnAfterTransferRelevantPostingFieldsInSalesLineFields(Enum KVSPSAPostPmntDiscToJobDocType, Record Sales Invoice Line, Record Purch. Inv. Line, Record Purch. Cr. Memo Line, Record Job Ledger Entry) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterTransferRelevantPostingFieldsInSalesLineFields(DocumentType: Enum "KVSPSAPostPmntDiscToJobDocType"; var SalesInvoiceLine: Record "Sales Invoice Line"; PurchInvLine: Record "Purch. Inv. Line"; PurchCrMemoLine: Record "Purch. Cr. Memo Line"; JobLedgerEntry: Record "Job Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAPostPaymentDiscountToJob", 'KVSPSAOnAfterTransferRelevantPostingFieldsInSalesLineFields', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterTransferRelevantPostingFieldsInSalesLineFields(DocumentType: Enum "KVSPSAPostPmntDiscToJobDocType"; var SalesInvoiceLine: Record "Sales Invoice Line"; PurchInvLine: Record "Purch. Inv. Line"; PurchCrMemoLine: Record "Purch. Cr. Memo Line"; JobLedgerEntry: Record "Job Ledger Entry")
begin
end;

KVSPSAOnBeforeModifyTempGenJournalLine(Record Gen. Journal Line, Record Gen. Journal Line, Record Sales Invoice Header, Record Sales Invoice Line, Enum KVSPSAPostPmntDiscToJobDocType) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeModifyTempGenJournalLine(GenJournalLine: Record "Gen. Journal Line"; var TempGenJournalLine: Record "Gen. Journal Line" temporary; var TempSalesInvoiceHeader: Record "Sales Invoice Header" temporary; var TempSalesInvoiceLine: Record "Sales Invoice Line" temporary; DocumentType: Enum "KVSPSAPostPmntDiscToJobDocType"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAPostPaymentDiscountToJob", 'KVSPSAOnBeforeModifyTempGenJournalLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeModifyTempGenJournalLine(GenJournalLine: Record "Gen. Journal Line"; var TempGenJournalLine: Record "Gen. Journal Line" temporary; var TempSalesInvoiceHeader: Record "Sales Invoice Header" temporary; var TempSalesInvoiceLine: Record "Sales Invoice Line" temporary; DocumentType: Enum "KVSPSAPostPmntDiscToJobDocType")
begin
end;