KVSADVAdvancePlanMgtBase
Procedures
CalcAdvancePlanningEntryStatus(Record KVSADVAdvance Planning Entry, Enum KVSADVPlanningEntryStatus, Text[30]) :
Summary: Calculates the status and style expression for an advance planning entry.
procedure CalcAdvancePlanningEntryStatus(AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var PlanningEntryStatus: Enum "KVSADVPlanningEntryStatus"; var StyleExpr: Text[30]):
Parameters:
AdvancePlanningEntry: The advance planning entry to evaluate.PlanningEntryStatus: The calculated planning entry status.StyleExpr: The calculated page style expression.
GetUnpostedAdvanceInvoiceBlocksPaymentForCumulativeAdvanceChainErrorMessage() : Text
Summary: Gets the error message used when an existing unposted advance invoice blocks payment in a cumulative advance chain.
procedure GetUnpostedAdvanceInvoiceBlocksPaymentForCumulativeAdvanceChainErrorMessage(): Text
Returns: The error message text.
GetUnpostedAdvanceInvoiceExistsForCumulativeAdvanceChainErrorMessage() : Text
Summary: Gets the error message used when an unposted advance invoice already exists in a cumulative advance chain.
procedure GetUnpostedAdvanceInvoiceExistsForCumulativeAdvanceChainErrorMessage(): Text
Returns: The error message text.
Events
OnAfterUpdateAdvancePaymentPlanAfterPosting(Record KVSADVAdvance Planning Entry, Boolean) :
Summary: Raised after an advance payment plan entry has been updated after posting.
[IntegrationEvent(false, false)]
local procedure OnAfterUpdateAdvancePaymentPlanAfterPosting(var AdvPmtPlan: Record "KVSADVAdvance Planning Entry"; IsClosingInvoice: Boolean):
Parameters:
AdvPmtPlan: The updated advance planning entry.IsClosingInvoice: Specifies whether the posted invoice is a closing invoice.
OnBeforeCalcAdvancePlanningEntryStatuswithIsHandled(Record KVSADVAdvance Planning Entry, Enum KVSADVPlanningEntryStatus, Text[30], Boolean) :
Summary: Raised before calculating the advance planning entry status.
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcAdvancePlanningEntryStatuswithIsHandled(AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var PlanningEntryStatus: Enum "KVSADVPlanningEntryStatus"; var StyleExpr: Text[30]; var IsHandled: Boolean):
Parameters:
AdvancePlanningEntry: The advance planning entry to evaluate.PlanningEntryStatus: The planning entry status to return when handled.StyleExpr: The style expression to return when handled.IsHandled: Specifies whether the status calculation has been handled by a subscriber.
OnAfterCalcAmountsForAdvancePlanningEntryStatuswithIsHandled(Record KVSADVAdvance Planning Entry, Enum KVSADVPlanningEntryStatus, Text[30], Decimal, Decimal, Decimal, Decimal, Boolean, Decimal) :
Summary: Raised after status amounts have been calculated for an advance planning entry.
[IntegrationEvent(false, false)]
local procedure OnAfterCalcAmountsForAdvancePlanningEntryStatuswithIsHandled(AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; var PlanningEntryStatu: Enum "KVSADVPlanningEntryStatus"; var StyleExpr: Text[30]; AmountClosInvoiced: Decimal; AmountCredit: Decimal; AmountPaid: Decimal; Amount: Decimal; var IsHandled: Boolean; AmountCreditWithClosingCreditMemoAmount: Decimal):
Parameters:
AdvancePlanningEntry: The advance planning entry to evaluate.PlanningEntryStatu: The planning entry status to update.StyleExpr: The style expression to update.AmountClosInvoiced: The amount that has been closing invoiced.AmountCredit: The credit memo amount.AmountPaid: The paid amount.Amount: The original invoice amount.IsHandled: Specifies whether the status calculation has been handled by a subscriber.AmountCreditWithClosingCreditMemoAmount: The credit memo amount including closing credit memo amounts.
OnAfterCalcNetAmountsCreditForAdvancePlanningEntryByCustLedgerEntry(Record KVSADVAdvance Planning Entry, Record Cust. Ledger Entry, Decimal) :
Summary: Raised after the net credit amount has been calculated from a customer ledger entry.
[IntegrationEvent(false, false)]
local procedure OnAfterCalcNetAmountsCreditForAdvancePlanningEntryByCustLedgerEntry(AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; CustLedgerEntry: Record "Cust. Ledger Entry"; var NetAmountCredit: Decimal):
Parameters:
AdvancePlanningEntry: The advance planning entry to evaluate.CustLedgerEntry: The customer ledger entry used for the calculation.NetAmountCredit: The calculated net credit amount.
OnAfterCalcNetAmountsCreditForAdvancePlanningEntryByVendorLedgerEntry(Record KVSADVAdvance Planning Entry, Record Vendor Ledger Entry, Decimal) :
Summary: Raised after the net credit amount has been calculated from a vendor ledger entry.
[IntegrationEvent(false, false)]
local procedure OnAfterCalcNetAmountsCreditForAdvancePlanningEntryByVendorLedgerEntry(AdvancePlanningEntry: Record "KVSADVAdvance Planning Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; var NetAmountCredit: Decimal):
Parameters:
AdvancePlanningEntry: The advance planning entry to evaluate.VendorLedgerEntry: The vendor ledger entry used for the calculation.NetAmountCredit: The calculated net credit amount.