A set of the common properties for all payables documents in Microsoft Dynamics GP.
Property |
Type |
Length |
Default |
Description |
---|---|---|---|---|
Key |
N/A |
Empty |
The payables document key object that uniquely identifies a payables document. |
|
VendorDocument |
string |
20 |
Empty |
The document number of the vendor's document. |
DocumentAmount |
N/A |
If value is not provided, it will be set to sum of (PurchasesAmount + FreightAmount + MiscellaneousAmount + TaxAmount - TradeDiscountAmount) |
The sum of this document's amounts. |
|
Date |
dateTime |
N/A |
If not provided, defaults to the system date. |
The date of the payables document. |
GeneralLedgerPosting |
dateTime |
N/A |
If not provided, defaults to the system date. |
The general ledger posting date of the document. |
PurchasesAmount |
N/A |
0 |
The total purchases amount for the payables document. |
|
Description |
string |
30 |
Empty |
A description of the payables document. |
TradeDiscountAmount |
N/A |
0 |
The trade discount amount for the payables document. |
|
TaxAmount |
N/A |
If value is not provided, it will be set to sum of tax detail lines. |
The total tax amount for the payables document. |
|
FreightAmount |
N/A |
0 |
The total freight amount for the payables document. |
|
Amount1099 |
N/A |
0 |
The 1099 amount for the payables document. |
|
MiscellaneousAmount |
N/A |
0 |
The total miscellaneous amount for the payables document. |
|
PONumber |
string |
20 |
Empty |
The purchase order number for the payables document. |
ExchangeRate |
decimal |
N/A |
0 |
The exchange rate of the payables document. Set this value only for multi-currency transactions. If there is triangulation and both rates are fixed, this is the originating to Euro fixed rate. Otherwise this is the variable rate. |
ExchangeDate |
dateTime |
N/A |
If not provided, it will be set to the payables document date. |
The exchange date associated with the exchange rate provided. |
Type |
N/A |
Automatically set, based on the type of payables document being created. |
Identifies the type of payables document. This property is read-only. |
|
TransactionState |
N/A |
N/A |
Indicates whether the payables document was retrieved from the work table, open table or the history table. This property is read-only. |
|
VendorName |
string |
64 |
N/A |
The name of the vendor. This property is read-only. |
ChargeAmount |
N/A |
N/A |
The amount charged to the vendor's account for this document. This property is read-only. |
|
ModifiedBy |
string |
N/A |
N/A |
The user who last modified the payables document. This property is read-only. |
ModifiedDate |
dateTime |
N/A |
N/A |
The date the payables document was last modified. The value is in Coordinated Universal Time (UTC). This property is read-only. |
PostedBy |
string |
N/A |
N/A |
The user who posted the payables document. This property is read-only. |
PostedDate |
dateTime |
N/A |
N/A |
The date the payables document was posted. This property is read-only. |
TaxDate |
dateTime |
N/A |
N/A |
The tax date on the payables document. This property is read-only. |
AuditTrailCode |
string |
N/A |
N/A |
The internally-assigned audit trail code that gets assigned when the transaction is posted. This property is read-only. |
IsVoided |
boolean |
N/A |
N/A |
Indicates whether the payables document has been voided. This property is read-only. |
IsIntercompany |
boolean |
N/A |
N/A |
Indicates whether the payables document is an intercompany transaction. This property is read-only. |
HasIntercompany |
boolean |
N/A |
N/A |
Indicates whether there are intercompany distributions. This property is read-only. |
BatchKey |
N/A |
N/A |
The batch key object that uniquely identifies the batch used for the payables document. |
|
VendorKey |
N/A |
N/A |
The vendor key object that uniquely identifies the vendor used for the payables document. |
|
AddressKey |
N/A |
N/A |
The address key object that uniquely identifies the address of the vendor used for the payables document. This property is read-only. |
|
RemitToAddressKey |
N/A |
N/A |
The address key object that uniquely identifies the remit to address of the vendor used for the payables document. This property is read-only. |
|
TaxScheduleKey |
N/A |
N/A |
The tax schedule key object that uniquely identifies the tax schedule used for the payables document. This property is read-only. |
|
ShippingMethodKey |
N/A |
N/A |
The shipping method key object that uniquely identifies the shipping method used for the payables document. This property is read-only. |
|
PurchaseTaxScheduleKey |
N/A |
N/A |
The tax schedule key object that uniquely identifies the purchase tax schedule used for the payables document. This property is read-only. |
|
FreightTaxScheduleKey |
N/A |
N/A |
The tax schedule key object that uniquely identifies the freight tax schedule used for the payables document. This property is read-only. |
|
MiscellaneousTax |
N/A |
N/A |
The tax schedule key object that uniquely identifies the miscellaneous tax schedule used for the payables document. This property is read-only. |
|
CurrencyKey |
N/A |
N/A |
The currency key object that uniquely identifies the ISO Code used for the payables document. This property is read-only. |
|
Distributions |
N/A |
N/A |
A collection of distributions for a payables document. This property is read-only. |
|
Taxes |
N/A |
N/A |
A collection of tax details for a payables document. This property is read-only. |