GLTransaction
Description
A general ledger transaction in Microsoft Dynamics GP.
Properties
Property | Type | Length | Default | Description |
|---|---|---|---|---|
Key | N/A | N/A | The GL transaction key object that uniquely identifies the GL transaction. | |
BatchKey | N/A | N/A | The batch key object that uniquely identifies the batch. | |
CurrencyKey | N/A | N/A | The currency key object that uniquely identifies the currency used for the transaction. | |
Lines | N/A | N/A | A collection of GL transaction lines. | |
Reference | string | NA | Empty | A reference for the transaction. References are required and can be any combination of alphanumeric symbols to help identify the transaction. |
SourceDocumentKey | N/A | N/A | The source document key object that uniquely identifies the source document. | |
ExchangeRate | decimal | N/A | 0 | The exchange rate of the general ledger. 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, will be set to transaction date. | The exchange date associated with the exchange rate provided. |
LedgerType | N/A | N/A | Specifies the ledger type for the transaction. | |
AuditTrailCode | string | N/A | N/A | The internally assigned audit trail code that gets saved on the record at the time the transaction is posted. This property is read-only. |
Intercompany | N/A | N/A | The company and journal ID that originated the GL transaction. This property is read-only. | |
IsVoided | boolean | N/A | N/A | Indicates whether the transaction is voided. This property is read-only. |
ModifiedBy | string | N/A | N/A | The user who last modified the transaction. This property is read-only. |
ModifiedDate | dateTime | N/A | N/A | The date the transaction was last modified. The value is in Coordinated Universal Time (UTC). This property is read-only. |
OriginatingDocument | N/A | N/A | The originating document. This property is read-only. | |
PostedBy | string | N/A | N/A | Identifies the user who posted the transaction. This property is read-only. |
TransactionState | N/A | N/A | Indicates whether the transaction was retrieved from the work table, open table or the history table. This property is read-only. |