...
The service request contains:
GetNextGlTransactionRequest |
|
|
|
|
---|---|---|---|---|
Name | Data Type | Required? | Default Value | Discussion |
CompanyNumber | string(20) | no |
| If not supplied then matches all companies. |
MaxPeriodCode | string(20) | no |
| If not supplied then matches all periods. |
ForceTransDateWithinPeriodFlag | boolean | no | false | If true then alter transaction dates when needed to fall within the accounting period. |
...
The following data is returned:
GetNextGlTransactionResponse |
|
| |
---|---|---|---|
Name | Data Type | Discussion | |
GlTransactionNumber | int | If -1 then there is no pending transaction to return. | |
TransactionDate | date |
| |
AccountingPeriodCode | string(20) |
| |
CompanyNumber | string(20) |
| |
CurrencyCode | string(4) |
| |
GlTransactionLines | array of GlTransactionLine | see below |
For each GL transaction, one or more GlTransactionLine is returned (one per GL account affected by the transaction).
GlTransactionLine |
| |
---|---|---|
Name | Data Type | Discussion |
GlCostCenterNumber | string(159) |
|
GlAccountNumber | string(20) |
|
DebitAmount | money | Debit is positive. Credit is negative. |