Skip to main content
AP

APPayment

PX.Objects.AP
Field NameTypeDisplay NameForeign Key
DocType
char(3)Type-
Description:Type of the document. Possible values are: "CHK" - Payment, "ADR" - Debit Adjustment, "PPM" - Prepayment, "REF" - Refund, "VCK" - Voided Payment
RefNbrDefault Navigation
nvarchar(15)Reference Nbr.APRegister
Description:No description available
AdjCntr
int-
Description:No description available
AdjDate
datetime2Application Date-
Description:The date when the payment is applied. Defaults to the current business date.
AdjFinPeriodIDDefault Navigation
char(6)Application Period-
Description:No description available
AdjTranPeriodID
char(6)-
Description:The financial period of payment application. Unlike the AdjFinPeriodID, the value of this field is determined solely by the AdjDate field and can't be overriden.
AmountToWordsNonexistent in DB
nvarchar(255)-
Description:Returns the word representation of the amount of the document. (English only)
APAccountIDDefault Navigation
intAP AccountAccount
Description:No description available
ApplAmtNonexistent in DB
decimal-
Description:The amount to be applied on the application date. (Presented in the base currency of the company, see Company.BaseCuryID)
Approved
bit-
Description:No description available
APSubIDDefault Navigation
intAP SubaccountSub
Description:This property was copied from the APRegister class. It is overriden only for correct order of the fields in _ClassFields list of PXCache class. The order of the fields is important for proper Restriction Groups operation. Corresponds to the Sub.SubID field.
BatchNbrDefault Navigation
nvarchar(15)Batch Nbr.Batch
Description:No description available
BatchPaymentRefNbrNonexistent in DB
nvarchar(MAX)-
Description:No description available
BillCntr
int-
Description:The counter of the related bills. Note that this field is used internally for numbering purposes and its value may not reflect the actual count of the bills.
BranchIDDefault Navigation
intBranchBranch
Description:No description available
CanHaveBalanceNonexistent in DB
bitCan Have Balance-
Description:Read-only field indicating whether the document can have balance. "true" for Debit Adjustments, Prepayments, Cash Purchases and Voided Payments. "false" for other documents.
CashAccountIDDefault Navigation
intCash AccountCashAccount
Description:No description available
CATranID
bigintCATran
Description:Identifier of the related transaction in Cash Management module. Corresponds to the CATran.CATranID field.
ChargeAmt
decimal(19, 4)-
Description:No description available
ChargeCntr
int-
Description:The counter of the related charge entries. Note that this field is used internally for numbering purposes and its value may not reflect the actual count of the charges.
ClearDate
datetime2Clear Date-
Description:The date when the check was cleared.
Cleared
bitCleared-
Description:When set to "true" indicates that the check was cleared in the process of reconciliation.
ClosedDate
datetime2Closed Date-
Description:No description available
ClosedFinPeriodID
char(6)Closed Period-
Description:No description available
ClosedTranPeriodID
char(6)Closed Master Period-
Description:No description available
CreatedByIDDefault Navigation
uniqueidentifierCreated ByUsers
Description:No description available
CreatedByScreenID
char(8)-
Description:No description available
CreatedDateTime
datetimeCreated On-
Description:No description available
CuryApplAmtNonexistent in DB
decimalApplication Amount-
Description:The amount to be applied on the application date. (Presented in the currency of the document, see CuryID)
CuryChargeAmt
decimal(19, 4)Finance Charges-
Description:No description available
CuryDiscBal
decimal(19, 4)Cash Discount Balance-
Description:No description available
CuryDiscountedDocTotalNonexistent in DB
decimalDiscounted Doc. Total-
Description:No description available
CuryDiscountedPriceNonexistent in DB
decimalTax on Discounted Price-
Description:No description available
CuryDiscountedTaxableTotalNonexistent in DB
decimalDiscounted Taxable Total-
Description:No description available
CuryDiscTaken
decimal(19, 4)-
Description:No description available
CuryDiscTot
decimal(19, 4)Discount Total-
Description:No description available
CuryDocBal
decimal(19, 4)Balance-
Description:No description available
CuryDocDiscNonexistent in DBObsolete
decimalDocument Discount-
Description:No description available
CuryIDDefault Navigation
nvarchar(5)CurrencyCurrency
Description:No description available
CuryInfoID
bigintCurrencyInfo
Description:No description available
CuryInitDocBal
decimal(19, 4)Unapplied Balance-
Description:No description available
CuryLineRetainageTotal
decimal(19, 4)-
Description:No description available
CuryOrigDiscAmt
decimal(19, 4)Cash Discount-
Description:No description available
CuryOrigDocAmt
decimal(19, 4)Payment Amount-
Description:The total payment amount that should be applied to the documents. (Presented in the currency of the document, see CuryID)
CuryOrigDocAmtWithRetainageTotalNonexistent in DB
decimalTotal Amount-
Description:No description available
CuryOrigTaxDiscAmt
decimal(19, 4)-
Description:No description available
CuryOrigWhTaxAmt
decimal(19, 4)With. Tax-
Description:No description available
CuryPOApplAmtNonexistent in DB
decimalApplied to Order-
Description:The total prepayment amount that should be applied to the PO Orders. (Presented in the currency of the document, see CuryID)
CuryPOFullApplAmtNonexistent in DB
decimal-
Description:The total prepayment amount (released and not, request and not documents) that should be applied to the PO Orders. (Presented in the currency of the document, see CuryID)
CuryPOUnreleasedApplAmtNonexistent in DB
decimal-
Description:The total prepayment amount (unreleased documents) that should be applied to the PO Orders. (Presented in the currency of the document, see CuryID)
CuryRetainagePaidTotalNonexistent in DB
decimalPaid Retainage-
Description:No description available
CuryRetainageReleased
decimal(19, 4)Released Retainage-
Description:No description available
CuryRetainageTotal
decimal(19, 4)Original Retainage-
Description:No description available
CuryRetainageUnpaidTotalNonexistent in DB
decimalUnpaid Retainage-
Description:No description available
CuryRetainageUnreleasedAmt
decimal(19, 4)Unreleased Retainage-
Description:No description available
CuryRetainedDiscTotal
decimal(19, 4)Discount on Retainage-
Description:No description available
CuryRetainedTaxTotal
decimal(19, 4)Tax on Retainage-
Description:No description available
CuryRoundDiff
decimal(19, 4)Rounding Diff.-
Description:No description available
CuryTaxRoundDiff
decimal(19, 4)Rounding Diff.-
Description:No description available
CuryTaxWheld
decimal(19, 4)-
Description:No description available
CuryUnappliedBalNonexistent in DB
decimalUnapplied Balance-
Description:The balance that has not been applied. This will be a nonzero value if the payment amount is not equal to a document’s total amount. Checks shall always have a zero unapplied balance. (Presented in the currency of the document, see CuryID)
CuryWhTaxBal
decimal(19, 4)-
Description:No description available
DefRetainagePct
decimal(9, 6)Default Retainage Percent-
Description:No description available
DepositAfter
datetime2Deposit After-
Description:Informational date specified on the document, which is the source of the deposit. Normally defaults to AdjDate for payments with DepositAsBatch set to "true".
DepositAsBatch
bitBatch Deposit-
Description:When set to "true" indicates that the payment can be included in a deposit.
DepositDateNonexistent in DB
datetimeBatch Deposit Date-
Description:The date of deposit. Corresponds to the CADeposit.TranDate field
Deposited
bitDeposited-
Description:When equal to "true" indicates that the payment was deposited.
DepositNbrDefault Navigation
nvarchar(15)Batch Deposit Nbr.CADeposit
Description:The reference number of the deposit document. Corresponds to the CADeposit.RefNbr field
DepositType
char(3)DepositType-
Description:The type of the deposit document. Corresponds to the CADeposit.TranType field
DiscBal
decimal(19, 4)-
Description:No description available
DiscountedDocTotalNonexistent in DB
decimal-
Description:No description available
DiscountedPriceNonexistent in DB
decimal-
Description:No description available
DiscountedTaxableTotalNonexistent in DB
decimal-
Description:No description available
DiscTaken
decimal(19, 4)-
Description:No description available
DiscTot
decimal(19, 4)-
Description:No description available
DisplayCuryInitDocBal
decimalMigrated Balance-
Description:No description available
DocBal
decimal(19, 4)-
Description:No description available
DocClassNonexistent in DB
nchar(1)-
Description:No description available
DocDate
datetime2Payment Date-
Description:The date of the payment document.
DocDesc
nvarchar(512)Description-
Description:No description available
DocDiscNonexistent in DBObsolete
decimal-
Description:No description available
DontApprove
bit-
Description:No description available
DrCrNonexistent in DB
nchar(1)-
Description:Read-only field indicating whether the document is of debit or credit type. The value of this field is based solely on the DocType field. Possible values are ""D"" (for Refund and Voided Cash Purchase) and ""C"" (for Payment, Voided Payment, Debit Adjustment, Prepayment and Cash Purchase).
EmployeeIDDefault Navigation
intOwnerContact
Description:No description available
EmployeeWorkgroupIDDefault Navigation
intWorkgroup IDEPCompanyTree
Description:No description available
ExternalOrganizationID
nvarchar(50)External Organization ID-
Description:No description available
ExternalPaymentBatchNbr
nvarchar(10)Batch Number-
Description:No description available
ExternalPaymentCanceled
bit-
Description:No description available
ExternalPaymentCardNbr
nvarchar(20)Card Number-
Description:No description available
ExternalPaymentCheckNbr
nvarchar(20)Check Number-
Description:No description available
ExternalPaymentDisbursementType
nvarchar(25)Disbursement Method-
Description:No description available
ExternalPaymentID
nvarchar(50)External Payment ID-
Description:No description available
ExternalPaymentIsVoidable
bit-
Description:No description available
ExternalPaymentSentDate
datetimeSent Date-
Description:No description available
ExternalPaymentStatus
nvarchar(50)Processing Status-
Description:No description available
ExternalPaymentTraceNbr
nvarchar(10)Trace Number-
Description:No description available
ExternalPaymentUpdateTime
datetimeUpdate Date-
Description:No description available
ExtRefNbr
nvarchar(40)Payment Ref.-
Description:A payment reference number, which can be a system-generated number or an external reference number (such as a wire transfer number or a bank check number) entered manually. Irrelevant for Debit Adjustments.
FinPeriodIDDefault Navigation
char(6)Payment Period-
Description:No description available
HasMultipleProjects
bit-
Description:No description available
HasPPDTaxes
bit-
Description:No description available
HiddenKeyNonexistent in DB
nvarchar(MAX)-
Description:No description available
Hold API
bitHold-
Description:No description available
ImpRefNbr
nvarchar(15)-
Description:No description available
InitDocBal
decimal(19, 4)-
Description:No description available
IsExpectedPPVValid
bit-
Description:No description available
IsMigratedRecord
bit-
Description:No description available
IsPrintingProcessNonexistent in DB
bit-
Description:Indicates that this check under printing processing to prevent update CashAccountCheck table by AP.PaymentRefAttribute />
IsRequestPrepaymentNonexistent in DB
bit-
Description:No description available
IsRetainageDocument
bitRetainage Document-
Description:No description available
IsRetainageReversing
bitRetainage Reversing-
Description:No description available
IsTaxPosted
bitTax has been posted to the external tax provider-
Description:No description available
IsTaxSaved
bitTax has been saved in the external tax provider-
Description:No description available
IsTaxValid
bitTax Is Up to Date-
Description:No description available
JointPayeeID
int-
Description:No description available
LastModifiedByIDDefault Navigation
uniqueidentifierLast Modified ByUsers
Description:No description available
LastModifiedByScreenID
char(8)-
Description:No description available
LastModifiedDateTime API
datetimeLast Modified On-
Description:No description available
LineCntr
int-
Description:No description available
LineRetainageTotal
decimal(19, 4)-
Description:No description available
NonTaxable
bitNon-Taxable-
Description:No description available
NoteID
uniqueidentifier-
Description:No description available
OpenDoc
bitOpen-
Description:No description available
OrigDiscAmt
decimal(19, 4)-
Description:No description available
OrigDocAmt
decimal(19, 4)Amount-
Description:No description available
OrigDocAmtWithRetainageTotalNonexistent in DB
decimalTotal Amount-
Description:No description available
OrigDocDate
datetime2-
Description:No description available
OrigDocType
char(3)Orig. Doc. Type-
Description:No description available
OrigModule
char(2)Source-
Description:No description available
OrigRefNbr
nvarchar(15)Orig. Ref. Nbr.-
Description:No description available
OrigTaxDiscAmt
decimal(19, 4)-
Description:No description available
OrigWhTaxAmt
decimal(19, 4)-
Description:No description available
OwnerIDDefault NavigationNonexistent in DB
intApproverContact
Description:No description available
PaymentCannotbeVoidedMessageNonexistent in DB
nvarchar(128)PaymentCannotbeVoidedMessage-
Description:No description available
PaymentMethodIDDefault Navigation
nvarchar(10)Payment MethodPaymentMethod
Description:No description available
PaymentsByLinesAllowed
bitPay by Line-
Description:No description available
PendingPayment
bit-
Description:No description available
PendingPPD
bit-
Description:No description available
PendingProcessing
bit-
Description:No description available
POApplAmtNonexistent in DB
decimal-
Description:The total prepayment amount that should be applied to the PO Orders.
POFullApplAmtNonexistent in DB
decimal-
Description:The total prepayment amount (released and not, request and not documents) that should be applied to the PO Orders.
POUnreleasedApplAmtNonexistent in DB
decimal-
Description:The total prepayment amount (unreleased documents) that should be applied to the PO Orders.
PrebookBatchNbrDefault Navigation
nvarchar(15)Pre-Releasing Batch Nbr.Batch
Description:No description available
Prebooked
bitPrebooked-
Description:No description available
PrepaymentAccountIDDefault Navigation
intPrepayment AccountAccount
Description:No description available
PrepaymentSubIDDefault Navigation
intPrepayment SubaccountSub
Description:No description available
PrintCheck
bitPrint Check-
Description:No description available
PrintDocTypeNonexistent in DB
nchar(3)Type-
Description:No description available
Printed
bit-
Description:No description available
ProjectIDDefault Navigation
intProjectPMProject
Description:No description available
RefNoteID
uniqueidentifier-
Description:No description available
Rejected
bit-
Description:No description available
Released
bitReleased-
Description:No description available
ReleasedOrPrebookedNonexistent in DB
bit-
Description:No description available
ReleasedToVerifyNonexistent in DB
bit-
Description:No description available
RemitAddressID
intAddress
Description:No description available
RemitContactIDDefault Navigation
intRemittance ContactContact
Description:No description available
RetainageAcctIDDefault Navigation
intRetainage Payable AccountAccount
Description:No description available
RetainageApply
bitApply Retainage-
Description:No description available
RetainagePaidTotalNonexistent in DB
decimal-
Description:No description available
RetainageReleased
decimal(19, 4)Released Retainage-
Description:No description available
RetainageSubIDDefault Navigation
intRetainage Payable Sub.Sub
Description:No description available
RetainageTotal
decimal(19, 4)Original Retainage-
Description:No description available
RetainageUnpaidTotalNonexistent in DB
decimal-
Description:No description available
RetainageUnreleasedAmt
decimal(19, 4)Unreleased Retainage-
Description:No description available
RetainedDiscTotal
decimal(19, 4)-
Description:No description available
RetainedTaxTotal
decimal(19, 4)-
Description:No description available
RGOLAmt
decimal(19, 4)-
Description:No description available
RoundDiff
decimal(19, 4)-
Description:No description available
Scheduled
bit-
Description:No description available
ScheduleID
nvarchar(15)-
Description:No description available
SelectedNonexistent in DB
bitSelected-
Description:No description available
Status API
char(1)Status-
Description:No description available
StubCntr
int-
Description:The counter of the related pay stubs. Note that this field is used internally for numbering purposes and its value may not reflect the actual count of the pay stubs.
TaxCalcMode
char(1)Tax Calculation Mode-
Description:No description available
TaxCostINAdjRefNbrDefault Navigation
nvarchar(15)Adjustment Nbr.INRegister
Description:No description available
TaxRoundDiff
decimal(19, 4)-
Description:No description available
TaxWheld
decimal(19, 4)-
Description:No description available
TranPeriodID
char(6)-
Description:The financial period of the document corresponding to the payment date. Unlike the FinPeriodID, the value of this field is determined solely by the AdjDate field and can't be overriden.
tstamp
timestamp-
Description:No description available
UnappliedBalNonexistent in DB
decimal-
Description:The balance that has not been applied. This will be a nonzero value if the payment amount is not equal to a document’s total amount. Checks shall always have a zero unapplied balance. (Presented in the base currency of the company, see Company.BaseCuryID)
VendorIDDefault Navigation
intVendorVendor
Description:No description available
VendorLocationIDDefault Navigation
intLocationLocation
Description:No description available
VoidApplNonexistent in DB
bitVoid Application-
Description:When "true" indicates that the document is Voided Payment. Setting this field to "true" will change the type of the document to Voided Payment (""VCK"").
VoidBatchNbrDefault Navigation
nvarchar(15)Void Batch Nbr.Batch
Description:No description available
Voided
bitVoided-
Description:When set to "true" indicates that the document was voided. In this case VoidBatchNbr field will hold the number of the voiding Batch.
WhTaxBal
decimal(19, 4)-
Description:No description available
WorkgroupIDDefault NavigationNonexistent in DB
intApproval Workgroup IDEPCompanyTree
Description:No description available