KVSPSAREInvoiceSheet#
Procedures#
CreateAddDocHeading4(Text[100], Text[100], Text[100], Text[100]) :#
procedure CreateAddDocHeading4(FieldCaption1: Text[100]; FieldValue1: Text[100]; FieldCaption2: Text[100]; FieldValue2: Text[100]):
CreateDocumentLine(Integer, Text[250], Decimal, Decimal, Enum KVSKBADocumentLineType, Integer) :#
procedure CreateDocumentLine(var LineNo: Integer; LineTitle: Text[250]; Percentage: Decimal; Amount: Decimal; DocumentLineType: Enum "KVSKBADocumentLineType"; Indentation: Integer):
GetInvoiceTypeCaption(Record Purch. Inv. Header) : Text[100]#
procedure GetInvoiceTypeCaption(DocHeader: Record "Purch. Inv. Header"): Text[100]
GetDefaultInvoiceTypeCaption(Record Purch. Inv. Header) : Text[100]#
procedure GetDefaultInvoiceTypeCaption(DocHeader: Record "Purch. Inv. Header"): Text[100]
Events#
KVSPSAREOnUpdateRequestPageSettings(Enum KVSKBADocumentInitEventType, Boolean, Integer, Boolean, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnUpdateRequestPageSettings(InitEventType: Enum "KVSKBADocumentInitEventType"; RequestPageAlreadyOpen: Boolean; var NoOfCopies: Integer; var LogInteraction: Boolean; var PrintOnNotePaper: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnUpdateRequestPageSettings', '', false, false)]
local procedure DoSomethingKVSPSAREOnUpdateRequestPageSettings(InitEventType: Enum "KVSKBADocumentInitEventType"; RequestPageAlreadyOpen: Boolean; var NoOfCopies: Integer; var LogInteraction: Boolean; var PrintOnNotePaper: Boolean)
begin
end;
KVSPSAREOnBeforeGetInvoiceTypeCaption(Record Purch. Inv. Header, Text[100]) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeGetInvoiceTypeCaption(var DocumentHeader: Record "Purch. Inv. Header"; var Result: Text[100]):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeGetInvoiceTypeCaption', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeGetInvoiceTypeCaption(var DocumentHeader: Record "Purch. Inv. Header"; var Result: Text[100])
begin
end;
KVSPSAREOnBeforeCreateDocumentHeader(Record KVSKBADocumentHeaderBuffer, Boolean, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnBeforeCreateDocumentHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeCreateDocumentHeader', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeCreateDocumentHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnBeforeAddDocHeader(Record KVSKBADocumentHeaderBuffer, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnBeforeAddDocHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeAddDocHeader', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeAddDocHeader(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnBeforeCreateDocumentAddress(Record KVSKBADocumentHeaderBuffer, Boolean, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnBeforeCreateDocumentAddress(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeCreateDocumentAddress', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeCreateDocumentAddress(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnBeforeCreateDocumentHeading(Record KVSKBADocumentHeaderBuffer, Boolean, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnBeforeCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeCreateDocumentHeading', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var Handled: Boolean; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnAfterCreateDocumentHeading(Record KVSKBADocumentHeaderBuffer, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnAfterCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnAfterCreateDocumentHeading', '', false, false)]
local procedure DoSomethingKVSPSAREOnAfterCreateDocumentHeading(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnAfterCreateDocumentDetails(Record KVSKBADocumentHeaderBuffer, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnAfterCreateDocumentDetails(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnAfterCreateDocumentDetails', '', false, false)]
local procedure DoSomethingKVSPSAREOnAfterCreateDocumentDetails(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnBeforeAddDocumentLine(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeAddDocumentLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeAddDocumentLine', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeAddDocumentLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnAfterAddDocumentLine(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnAfterAddDocumentLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnAfterAddDocumentLine', '', false, false)]
local procedure DoSomethingKVSPSAREOnAfterAddDocumentLine(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnBeforeSetLanguageFormatAddress(Record Purch. Inv. Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeSetLanguageFormatAddress(DocHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeSetLanguageFormatAddress', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeSetLanguageFormatAddress(DocHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean)
begin
end;
KVSPSAREOnPreDataItemDocFooterText(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Boolean, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnPreDataItemDocFooterText(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var isHandled: Boolean; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnPreDataItemDocFooterText', '', false, false)]
local procedure DoSomethingKVSPSAREOnPreDataItemDocFooterText(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var isHandled: Boolean; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnPostDataItemDocFooterText(Record KVSKBADocumentHeaderBuffer, Record KVSKBADocumentLineBuffer, Record Purch. Inv. Header, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnPostDataItemDocFooterText(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnPostDataItemDocFooterText', '', false, false)]
local procedure DoSomethingKVSPSAREOnPostDataItemDocFooterText(var DocumentHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; var DocumentLineBuffer: Record "KVSKBADocumentLineBuffer" temporary; var DocumentHeader: Record "Purch. Inv. Header"; var MasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnBeforeGetResponsiblePersonDetailsOfJobTeam(Record Purch. Inv. Header, Text[100], Text[30], Text[100], Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnBeforeGetResponsiblePersonDetailsOfJobTeam(DocHeader: Record "Purch. Inv. Header"; var Name: Text[100]; var PhoneNo: Text[30]; var Email: Text[100]; var ResponsibleGot: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeGetResponsiblePersonDetailsOfJobTeam', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeGetResponsiblePersonDetailsOfJobTeam(DocHeader: Record "Purch. Inv. Header"; var Name: Text[100]; var PhoneNo: Text[30]; var Email: Text[100]; var ResponsibleGot: Boolean; var IsHandled: Boolean)
begin
end;
KVSPSAREOnBeforeCreateDocumentLineOverview(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Decimal, Decimal, Boolean) :#
Summary: This event publisher provides the sender. Use the function CreateAddDocHeading4 on the sender to implement own heading
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnBeforeCreateDocumentLineOverview(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; AmountExcludingVAT: Decimal; AmountIncludingVAT: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeCreateDocumentLineOverview', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeCreateDocumentLineOverview(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; AmountExcludingVAT: Decimal; AmountIncludingVAT: Decimal; var IsHandled: Boolean)
begin
end;
KVSPSAREOnBeforeCreateDocumentDetails(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Boolean, Codeunit KVSKBAMasterDoc) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnBeforeCreateDocumentDetails(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalIsHandled: Boolean; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnBeforeCreateDocumentDetails', '', false, false)]
local procedure DoSomethingKVSPSAREOnBeforeCreateDocumentDetails(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalIsHandled: Boolean; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc")
begin
end;
KVSPSAREOnCreateDocumentDetailsBeforeCreateBaseAmountLines(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDoc, Integer, Decimal, Decimal, Decimal, Decimal, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnCreateDocumentDetailsBeforeCreateBaseAmountLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; CumulatedInvoiceAmount: Decimal; InvoiceAmountActual: Decimal; InvoiceAmountShortage: Decimal; VATAmount: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsBeforeCreateBaseAmountLines', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsBeforeCreateBaseAmountLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; CumulatedInvoiceAmount: Decimal; InvoiceAmountActual: Decimal; InvoiceAmountShortage: Decimal; VATAmount: Decimal; var IsHandled: Boolean)
begin
end;
KVSPSAREOnCreateDocumentDetailsBeforeCreateApportionmentLines(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDoc, Integer, Record KVSPSAREAssignApportBuffer, Decimal, Decimal, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnCreateDocumentDetailsBeforeCreateApportionmentLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; var AssignApportionmentBuffer: Record "KVSPSAREAssignApportBuffer" temporary; TotalAmountApportionment: Decimal; InvoiceAmountActual: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsBeforeCreateApportionmentLines', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsBeforeCreateApportionmentLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; var AssignApportionmentBuffer: Record "KVSPSAREAssignApportBuffer" temporary; TotalAmountApportionment: Decimal; InvoiceAmountActual: Decimal; var IsHandled: Boolean)
begin
end;
KVSPSAREOnCreateDocumentDetailsBeforeCreateDepositLines(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDoc, Integer, Record KVSADVAdvancePlanDeposit, Decimal, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnCreateDocumentDetailsBeforeCreateDepositLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; var TempDepositBuffer: Record "KVSADVAdvancePlanDeposit" temporary; TotalAmountDeposit: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsBeforeCreateDepositLines', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsBeforeCreateDepositLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; var TempDepositBuffer: Record "KVSADVAdvancePlanDeposit" temporary; TotalAmountDeposit: Decimal; var IsHandled: Boolean)
begin
end;
KVSPSAREOnCreateDocumentDetailsBeforeCreatePaymentCorrectionAndFinalReductionLines(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDoc, Integer, Decimal, Decimal, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnCreateDocumentDetailsBeforeCreatePaymentCorrectionAndFinalReductionLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; PaymentCorrection: Decimal; FinalReductionAmount: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsBeforeCreatePaymentCorrectionAndFinalReductionLines', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsBeforeCreatePaymentCorrectionAndFinalReductionLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; PaymentCorrection: Decimal; FinalReductionAmount: Decimal; var IsHandled: Boolean)
begin
end;
KVSPSAREOnCreateDocumentDetailsOnAfterCalcValues(Record Purch. Inv. Header, Decimal, Decimal, Decimal, Record KVSPSAREAssignApportBuffer, Decimal, Record KVSADVAdvancePlanDeposit, Decimal, Decimal, Decimal, Decimal) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnCreateDocumentDetailsOnAfterCalcValues(DocHeader: Record "Purch. Inv. Header"; var CumulatedInvoiceAmount: Decimal; var InvoiceAmountActual: Decimal; var InvoiceAmountShortage: Decimal; var AssignApportionmentBuffer: Record "KVSPSAREAssignApportBuffer" temporary; var ApportionmentsBaseAmount: Decimal; var TempDepositBuffer: Record "KVSADVAdvancePlanDeposit" temporary; var FinalReductionAmount: Decimal; var PreviousPaymentAmount: Decimal; var PaymentCorrection: Decimal; var TotalApportionAmtForInvPayments: Decimal):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsOnAfterCalcValues', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsOnAfterCalcValues(DocHeader: Record "Purch. Inv. Header"; var CumulatedInvoiceAmount: Decimal; var InvoiceAmountActual: Decimal; var InvoiceAmountShortage: Decimal; var AssignApportionmentBuffer: Record "KVSPSAREAssignApportBuffer" temporary; var ApportionmentsBaseAmount: Decimal; var TempDepositBuffer: Record "KVSADVAdvancePlanDeposit" temporary; var FinalReductionAmount: Decimal; var PreviousPaymentAmount: Decimal; var PaymentCorrection: Decimal; var TotalApportionAmtForInvPayments: Decimal)
begin
end;
KVSPSAREOnCreateDocumentDetailsBeforeCreatePrevAdvanceForAdvanceInvoiceLines(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDoc, Integer, Decimal, Decimal, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnCreateDocumentDetailsBeforeCreatePrevAdvanceForAdvanceInvoiceLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; PreviousPaymentAmount: Decimal; TotalApportionAmtForInvPayments: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsBeforeCreatePrevAdvanceForAdvanceInvoiceLines', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsBeforeCreatePrevAdvanceForAdvanceInvoiceLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; PreviousPaymentAmount: Decimal; TotalApportionAmtForInvPayments: Decimal; var IsHandled: Boolean)
begin
end;
KVSPSAREOnCreateDocumentDetailsBeforeCreateTotalsWithoutPaymDiscount(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDoc, Integer, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnCreateDocumentDetailsBeforeCreateTotalsWithoutPaymDiscount(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsBeforeCreateTotalsWithoutPaymDiscount', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsBeforeCreateTotalsWithoutPaymDiscount(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; var IsHandled: Boolean)
begin
end;
KVSPSAREOnCreateDocumentDetailsBeforeCreateTotalsWithPaymDiscount(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDoc, Integer, Decimal, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnCreateDocumentDetailsBeforeCreateTotalsWithPaymDiscount(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; PaymDiscAmount: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsBeforeCreateTotalsWithPaymDiscount', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsBeforeCreateTotalsWithPaymDiscount(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; PaymDiscAmount: Decimal; var IsHandled: Boolean)
begin
end;
KVSPSAREOnCreateDocumentDetailsBeforeCreatePrevAdvanceForClosingInvoiceLines(Record Purch. Inv. Header, Record Purchase Header, Record Vendor Ledger Entry, Record KVSKBADocumentHeaderBuffer, Codeunit KVSKBAMasterDoc, Integer, Decimal, Decimal, Boolean) :#
[IntegrationEvent(true, false)]
local procedure KVSPSAREOnCreateDocumentDetailsBeforeCreatePrevAdvanceForClosingInvoiceLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; PreviousPaymentAmount: Decimal; PaymentAmountInclVAT: Decimal; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Report, Report::"KVSPSAREInvoiceSheet", 'KVSPSAREOnCreateDocumentDetailsBeforeCreatePrevAdvanceForClosingInvoiceLines', '', false, false)]
local procedure DoSomethingKVSPSAREOnCreateDocumentDetailsBeforeCreatePrevAdvanceForClosingInvoiceLines(DocHeader: Record "Purch. Inv. Header"; var TempPurchaseOrder: Record "Purchase Header" temporary; VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempDocHeaderBuffer: Record "KVSKBADocumentHeaderBuffer" temporary; GlobalMasterDoc: Codeunit "KVSKBAMasterDoc"; var LineNo: Integer; PreviousPaymentAmount: Decimal; PaymentAmountInclVAT: Decimal; var IsHandled: Boolean)
begin
end;
Protected Variables#
GlobalDoNotPrintExternalComments#
Type: Boolean
GlobalDoNotPrintPaymentDiscount#
Type: Boolean
GlobalLogInteraction#
Type: Boolean
GlobalPrintOnNotePaper#
Type: Boolean
GlobalNoOfCopies#
Type: Integer