project QadFinancials > class BDInvoice > business logic query DInvoiceStageByID


Parameters


iiDInvoiceStageIDinteger


query condition


  each DInvoiceStage where
DInvoiceStage.DInvoiceStage_ID = iiDInvoiceStageID


query resultset tqDInvoiceStageByID


field namedata typedb fielddescription
tiDInvoice_IDintegerDInvoiceStage.DInvoice_IDLink to DInvoice
tiDInvoiceStage_IDintegerDInvoiceStage.DInvoiceStage_IDRecord ID
tdDInvoiceStageAmountTCdecimalDInvoiceStage.DInvoiceStageAmountTCTC Amount. CInvoiceStageAmountTC Staged payments credit terms details of the invoice. The amount to pay in TC for this stage.
tdDInvoiceStageAmtAppliedTCdecimalDInvoiceStage.DInvoiceStageAmtAppliedTCTC Applied Amount. CInvoiceStageAmtAppliedTC Staged payments credit terms details of the invoice. The amount paid in TC for this stage.
ttDInvoiceStageDiscDatedateDInvoiceStage.DInvoiceStageDiscDateCInvoiceDiscDate Payment discount due date. When the invoice is paid before this date a payment discount can be given.
tdDInvoiceStageDiscPercdecimalDInvoiceStage.DInvoiceStageDiscPercCInvoiceDiscPerc Payment discount percent. When the invoice is paid before the discount due date, this is the discount percentage that can be given.
ttDInvoiceStageDueDatedateDInvoiceStage.DInvoiceStageDueDateDue Date. The date when this stage should end.


Internal usage


QadFinancials
method BBankEntry.CalculateBankStateStageAlloc
method BBankImportLine.GetInvoiceStagesByBankImpLineXref
method BDDocument.Calculate
method BDPaymentSelection.CalculateDPaySelLine
method BDPaymentSelection.GetDDocumentInfo