PayablesDocument


Description

A set of the common properties for all payables documents in Microsoft Dynamics GP.

Properties

Property

Type

Length

Default

Description

Key

PayablesDocumentKey

N/A

Empty

The payables document key object that uniquely identifies a payables document.

VendorDocument
Number

string

20

Empty

The document number of the vendor's document.

DocumentAmount

MoneyAmount

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
Date

dateTime

N/A

If not provided, defaults to the system date.

The general ledger posting date of the document.

PurchasesAmount

MoneyAmount

N/A

0

The total purchases amount for the payables document.

Description

string

30

Empty

A description of the payables document.

TradeDiscountAmount

MoneyAmount

N/A

0

The trade discount amount for the payables document.

TaxAmount

MoneyAmount

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

MoneyAmount

N/A

0

The total freight amount for the payables document.

Amount1099

MoneyAmount

N/A

0

The 1099 amount for the payables document.

MiscellaneousAmount

MoneyAmount

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

PayablesDocumentType

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

PayablesTransactionState

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

MoneyAmount

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
Transaction

boolean

N/A

N/A

Indicates whether the payables document is an intercompany transaction. This property is read-only.

HasIntercompany
Distributions

boolean

N/A

N/A

Indicates whether there are intercompany distributions. This property is read-only.

BatchKey

BatchKey

N/A

N/A

The batch key object that uniquely identifies the batch used for the payables document.

VendorKey

VendorKey

N/A

N/A

The vendor key object that uniquely identifies the vendor used for the payables document.

AddressKey

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

AddressKey

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

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

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

TaxScheduleKey

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

TaxScheduleKey

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
ScheduleKey

TaxScheduleKey

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

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

ArrayOfPayablesDistribution

N/A

N/A

A collection of distributions for a payables document. This property is read-only.

Taxes

ArrayOfPayablesTax

N/A

N/A

A collection of tax details for a payables document. This property is read-only.


Inherits from

BusinessObject


Documentation Feedback