Account Allocations
Account allocations let you automatically distribute amounts across multiple dimensions such as departments, locations, projects, or classes.
An account allocation definition is a template for allocations. After it’s created, you can generate the allocation as often as needed using the same definition to streamline the overall allocation process. For example, you can create an allocation definition that distributes expenses across revenue-earning departments, then run an allocation using that definition for the dates you want.
Note that intra-entity (not inter-entity) revenue and expense allocations are supported at this time.
Your company must have a subscription for Dynamic Allocations, and you need the appropriate permissions for account allocations. Usage information for account allocations is available in the Sage Intacct product help.
Transaction Allocations also let you distribute transaction amounts across multiple dimensions—such as departments, locations, projects, or classes. However, a transaction allocation is intended for use on single line item as a one-time action.
Account Allocation
Get Account Allocation Definition Object Definition
lookup
List all the fields and relationships for the account allocation definition object:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATION |
Query and List Account Allocation Definitions
query
List the record number and ID for each account allocation definition:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATION |
filter | Optional | object | Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL). |
select | Required | sequence | The names of the fields that you want included in the response, and an optional aggregate function such as count or sum . Returning all fields is not supported. |
orderby | Optional | object | Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> |
options | Optional | object | Query options:
|
pagesize | Optional | integer | Maximum number of matching objects to return in the response, between 1 and 2000 items (Default: 100 ) |
offset | Optional | integer | Point at which to start indexing into records (Default: 0 ) |
Query and List Account Allocation Definitions (Legacy)
readByQuery
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATION |
fields | Optional | string | Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value. |
query | Required | string | SQL-like query based on fields on the object. The following operators are supported: < , > , >= , <= , = , like , not like , in , not in , IS NOT NULL , IS NULL , AND , OR . Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli' ). Joins are not supported. |
pagesize | Optional | integer | Custom page size between 1 and 1000 items (Default: 100 ) |
query
Fields
Name | Required | Type | Description |
---|---|---|---|
STATUS | Optional | string | Status.
|
ACTIVITYDELTA | Optional | string | Activity delta.
|
Get Account Allocation Definition
read
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATION |
keys | Required | string | Comma-separated list of account allocation definition RECORDNO to get |
fields | Optional | string | Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value.For best performance and predictability, limit the number of fields. |
returnFormat | Optional | string | Data format for the response body:
|
Create Account Allocation Definition
Release | Changes |
---|---|
2022 Release 3 | Added "Per dimension value" allocation type for FOCUSEMPLOYEE and FOCUSPROJECT. |
2020 Release 3 | Added ALLOWALLOCATION, EXCH_RATE_TYPE_ID |
create
Distributes expenses for the month to the departments that generate revenue:
Parameters
Name | Required | Type | Description |
---|---|---|---|
GLACCTALLOCATION | Required | object | Object to create |
Provides basic information for the allocation and specifies how dimensions are to be handled in the allocation calculations.
Name | Required | Type | Description |
---|---|---|---|
ACCTALLOCATIONID | Required | string | Allocation ID. Must be 20 character or fewer. |
DESCRIPTION | Required | string | Description of the allocation definition |
STATUS | Optional | boolean | Status of the allocation definition.
|
METHODOLOGY | Optional | string | Description of methodology used for the allocation definition |
ACTIVITYDELTA | Optional | string | Activity Delta.
|
ALLOWALLOCATION | Optional | string | Specifies whether to allow allocations across entities.
|
FOCUSLOCATION | Optional | string | Dimensions treatment for Location. Specifies how the dimension is used in the allocation calculation.
|
FOCUSVENDOR | Optional | string | Dimensions treatment for Vendor. Specifies how the dimension is used in the allocation calculation.
|
FOCUSPROJECT | Optional | string | Dimensions treatment for Project. Specifies how the dimension is used in the allocation calculation.
|
FOCUSDEPARTMENT | Optional | string | Dimensions treatment for Department. Specifies how the dimension is used in the allocation calculation.
|
FOCUSCUSTOMER | Optional | string | Dimensions treatment for Customer. Specifies how the dimension is used in the allocation calculation.
|
FOCUSITEM | Optional | string | Dimensions treatment for Item. Specifies how the dimension is used in the allocation calculation.
|
FOCUSCLASS | Optional | string | Dimensions treatment for Class. Specifies how the dimension is used in the allocation calculation.
|
FOCUSEMPLOYEE | Optional | string | Dimensions treatment for Employee. Specifies how the dimension is used in the allocation calculation.
|
FOCUSWAREHOUSE | Optional | string | Dimensions treatment for Warehouse. Specifies how the dimension is used in the allocation calculation. Currently, only Not considered is allowed. |
FOCUSCONTRACT | Optional | string | Dimensions treatment for Contract. Specifies how the dimension is used in the allocation calculation. Currently, only Not considered is allowed. |
GLACCTALLOCATIONSOURCE | Required | object | Source pool for the allocation. |
GLACCTALLOCATIONBASIS | Required | object | Basis information that specifies how the allocation splits source amounts into each target. |
GLACCTALLOCATIONTARGET | Required | object | Allocation destination in the target entry. Specifies where the allocation will be recorded. The debit and credit accounts selected depend on your allocation setup. For example, expense allocations typically have the allocation as a debit. |
GLACCTALLOCATIONREVERSE | Required | object | Reversing source pool in the target entry |
GLACCTALLOCATION.GLACCTALLOCATIONSOURCE
If choosing dimensions for filtering from the source pool, remember your choices for dimension treatment. For example, if you specified that the Vendor dimension should not be considered, choosing a Vendor ID for the source does not impact the allocation calculations.
Name | Required | Type | Description |
---|---|---|---|
GLACCTGRP | Required | string | Account group for the source of the allocation. To use a single account, provide an account group with one account. |
PERCENT2ALLOCATE | Required | string | Percentage to allocate. |
REPORTINGBOOK | Required | string | Reporting Book. Accounting method to use.
|
GLACCTALLOCATIONSOURCEADJBOOKS | Optional | array of GLACCTALLOCATIONSOURCEADJBOOK | Alternate Book selections |
SOURCEINCLUDEREPORTINGBOOK | Optional | string | Use entries from.
|
TIMEPERIOD | Required | string | Source pool time period.
|
LOCNO | Optional | string | Entity/Location for dimension filtering from the source pool |
VENDORID | Optional | string | Vendor for dimension filtering from the source pool |
PROJECTID | Optional | string | Project for dimension filtering from the source pool |
DEPTNO | Optional | string | Department for dimension filtering from the source pool |
CUSTOMERID | Optional | string | Customer for dimension filtering from the source pool |
WAREHOUSE | Optional | string | Warehouse for dimension filtering from the source pool. |
CONTRACTID | Optional | string | Contract for dimension filtering from the source pool |
ITEMID | Optional | string | Item for dimension filtering from the source pool |
CLASSID | Optional | string | Class for dimension filtering from the source pool |
EMPLOYEEID | Optional | string | Employee for dimension filtering from the source pool |
GLACCTALLOCATION.GLACCTALLOCATIONSOURCE.GLACCTALLOCATIONSOURCEADJBOOK
Name | Required | Type | Description |
---|---|---|---|
ADJBOOKID | Optional | string | Book ID for the adjustment book.
|
GLACCTALLOCATION.GLACCTALLOCATIONBASIS
If choosing dimensions for filtering for the basis, remember your choices for dimension treatment. For example, if you specified that the Vendor dimension should not be considered, choosing a Vendor ID for the basis does not impact the allocation calculations.
Name | Required | Type | Description |
---|---|---|---|
ALLOCATIONMETHOD | Required | string | Allocation method.
|
GLACCTGRP | Required | string | Account group for the basis of the allocation. To use a single account, provide an account group with one account. |
ACCUMLUATION | Required | string | Accumulation. Use Activity . |
REPORTINGBOOK | Required | string | Reporting Book. Set this to ACCRUAL . |
GLACCTALLOCATIONBASISADJBOOKS | Optional | array of GLACCTALLOCATIONBASISADJBOOK | Alternate Book selections. |
BASISINCLUDEREPORTINGBOOK | Optional | string | Use entries from.
|
TIMEPERIOD | Required | string | Basis time period. You can use the same time period as the source pool, or you can select a different time period for your basis.
|
SKIPNEGATIVE | Optional | boolean | Drop negative basis lines from consideration.
|
LOCNO | Optional | string | Entity/Location for dimension filtering to narrow the scope for the basis methodology |
VENDORID | Optional | string | Vendor for dimension filtering to narrow the scope for the basis methodology |
PROJECTID | Optional | string | Project for dimension filtering to narrow the scope for the basis methodology |
DEPTNO | Optional | string | Department for dimension filtering to narrow the scope for the basis methodology |
CUSTOMERID | Optional | string | Customer for dimension filtering to narrow the scope for the basis methodology |
WAREHOUSEID | Optional | string | Warehouse for dimension filtering to narrow the scope for the basis methodology |
CONTRACTID | Optional | string | Contract for dimension filtering to narrow the scope for the basis methodology |
ITEMID | Optional | string | Item for dimension filtering to narrow the scope for the basis methodology |
CLASSID | Optional | string | Class for dimension filtering to narrow the scope for the basis methodology |
EMPLOYEEID | Optional | string | Employee for dimension filtering to narrow the scope for the basis methodology |
GLACCTALLOCATION.GLACCTALLOCATIONBASIS.GLACCTALLOCATIONBASISADJBOOK
Name | Required | Type | Description |
---|---|---|---|
ADJBOOKID | Optional | string | Book ID for the adjustment book. Use GAAPADJ , TAXADJ , or a user-defined book. |
GLACCTALLOCATION.GLACCTALLOCATIONTARGET
When choosing dimensions for filtering to the target, you can override dimension treatments. For example, if you specified that the Vendor dimension should not be considered, you can use the vendor override parameter to provide a vendor to be used in the allocation for the target.
Name | Required | Type | Description |
---|---|---|---|
GLACCOUNTNO | Required | string | Account that is the target destination of the allocation. |
JOURNALSYBMOL | Required | string | Journal for the allocation journal entries |
EXCH_RATE_TYPE_ID | Optional | string | Exchange rate type. Required if ALLOWALLOCATION is set to Across entities in the header. |
OVERRIDELOCATION | Optional | string | Dimension override for Entity/Location. Applies only if the dimension treatment for Location is set to Not considered . |
OVERRIDEVENDOR | Optional | string | Dimension override for Vendor. Applies only if the dimension treatment for Vendor is set to Not considered . |
OVERRIDEPROJECT | Optional | string | Dimension override for Project. Applies only if the dimension treatment for Project is set to Not considered . |
OVERRIDEDEPARTMENT | Optional | string | Dimension override for Department. Applies only if the dimension treatment for Department is set to Not considered . |
OVERRIDECUSTOMER | Optional | string | Dimension override for Customer. Applies only if the dimension treatment for Customer is set to Not considered . |
OVERRIDEWAREHOUSE | Optional | string | Dimension override for Warehouse. Applies only if the dimension treatment for Warehouse is set to Not considered . |
OVERRIDECONTRACT | Optional | string | Dimension override for Contract. Applies only if the dimension treatment for Contract is set to Not considered . |
OVERRIDEITEM | Optional | string | Dimension override for Item. Applies only if the dimension treatment for Item is set to Not considered . |
BILLABLE | Optional | boolean | Specifies that lines in the allocation target are billable. Applies only if Project is part of the allocation and Project billing is enabled for General Ledger. Use true for billable, false otherwise. (Default: false ) |
OVERRIDECLASS | Optional | string | Dimension override for Class. Applies only if the dimension treatment for Class is set to Not considered . |
OVERRIDEEMPLOYEE | Optional | string | Dimension override for Employee. Applies only if the dimension treatment for Employee is set to Not considered . |
GLACCTALLOCATION.GLACCTALLOCATIONREVERSE
Name | Required | Type | Description |
---|---|---|---|
GLACCOUNTNO | Optional | string | Account to use for the reversal pool for the account allocation. Required if not using the source account. |
USESOURCEACCOUNT | Optional | boolean | Use the source account for the reversal pool for the account allocation. Required if not providing an account. |
OVERRIDELOCATION | Optional | string | Dimension override for Entity/Location. |
OVERRIDEVENDOR | Optional | string | Dimension override for Vendor. |
OVERRIDEPROJECT | Optional | string | Dimension override for Project. |
OVERRIDEDEPARTMENT | Optional | string | Dimension override for Department. |
OVERRIDECUSTOMER | Optional | string | Dimension override for Customer. |
OVERRIDEWAREHOUSE | Optional | string | Dimension override for Warehouse. |
OVERRIDECONTRACT | Optional | string | Dimension override for Contract. |
OVERRIDEITEM | Optional | string | Dimension override for Item. |
OVERRIDECLASS | Optional | string | Dimension override for Class. |
OVERRIDEEMPLOYEE | Optional | string | Dimension override for Employee. |
Update Account Allocation Definition
Release | Changes |
---|---|
2022 Release 3 | Added "Per dimension value" allocation type for FOCUSEMPLOYEE and FOCUSPROJECT. |
2020 Release 3 | Added ALLOWALLOCATION, EXCH_RATE_TYPE_ID |
update
Change the account allocation such that negative basis lines are excluded:
Parameters
Name | Required | Type | Description |
---|---|---|---|
GLACCTALLOCATION | Required | object | Object to update |
Provides basic information for the allocation and specifies how dimensions are to be handled in the allocation calculations.
Name | Required | Type | Description |
---|---|---|---|
RECORDNO | Required | integer | Record number of account allocation to update. |
DESCRIPTION | Optional | string | Description of the allocation definition |
STATUS | Optional | boolean | Status of the allocation definition.
|
METHODOLOGY | Optional | string | Description of methodology used for the allocation definition |
ACTIVITYDELTA | Optional | string | Activity Delta.
|
ALLOWALLOCATION | Optional | string | Specifies whether to allow allocations across entities.
|
FOCUSLOCATION | Optional | string | Dimensions treatment for Location. Specifies how the dimension is used in the allocation calculation.
|
FOCUSVENDOR | Optional | string | Dimensions treatment for Vendor. Specifies how the dimension is used in the allocation calculation.
|
FOCUSPROJECT | Optional | string | Dimensions treatment for Project. Specifies how the dimension is used in the allocation calculation.
|
FOCUSDEPARTMENT | Optional | string | Dimensions treatment for Department. Specifies how the dimension is used in the allocation calculation.
|
FOCUSCUSTOMER | Optional | string | Dimensions treatment for Customer. Specifies how the dimension is used in the allocation calculation.
|
FOCUSITEM | Optional | string | Dimensions treatment for Item. Specifies how the dimension is used in the allocation calculation.
|
FOCUSCLASS | Optional | string | Dimensions treatment for Class. Specifies how the dimension is used in the allocation calculation.
|
FOCUSEMPLOYEE | Optional | string | Dimensions treatment for Employee. Specifies how the dimension is used in the allocation calculation.
|
FOCUSWAREHOUSE | Optional | string | Dimensions treatment for Warehouse. Specifies how the dimension is used in the allocation calculation. Currently, only Not considered is allowed. |
FOCUSCONTRACT | Optional | string | Dimensions treatment for Contract. Specifies how the dimension is used in the allocation calculation. Currently, only Not considered is allowed. |
GLACCTALLOCATIONSOURCE | Required | object | Source pool for the allocation |
GLACCTALLOCATIONBASIS | Required | object | Basis information that specifies how the allocation splits source amounts into each target |
GLACCTALLOCATIONTARGET | Required | object | Target entry that specifies where the allocation will be recorded. The debit and credit accounts selected depend on your allocation setup. For example, expense allocations typically have the allocation as a debit. |
GLACCTALLOCATIONREVERSE | Required | object | Reversing source pool |
GLACCTALLOCATION.GLACCTALLOCATIONSOURCE
If choosing dimensions for filtering from the source pool, remember your choices for dimension treatment. For example, if you specified that the Vendor dimension should not be considered, choosing a Vendor ID for the source does not impact the allocation calculations.
Name | Required | Type | Description |
---|---|---|---|
GLACCTGRP | Optional | string | Account group for the source of the allocation. To use a single account, provide an account group with one account. |
PERCENT2ALLOCATE | Optional | string | Percentage to allocate. |
REPORTINGBOOK | Optional | string | Reporting Book. Set this to ACCRUAL . |
GLACCTALLOCATIONSOURCEADJBOOKS | Optional | array of GLACCTALLOCATIONSOURCEADJBOOK | Alternate Book selections |
SOURCEINCLUDEREPORTINGBOOK | Optional | string | Use entries from.
|
TIMEPERIOD | Required | string | Source pool time period.
|
LOCNO | Optional | string | Entity/Location for dimension filtering from the source pool |
VENDORID | Optional | string | Vendor for dimension filtering from the source pool |
PROJECTID | Optional | string | Project for dimension filtering from the source pool |
DEPTNO | Optional | string | Department for dimension filtering from the source pool |
CUSTOMERID | Optional | string | Customer for dimension filtering from the source pool |
WAREHOUSE | Optional | string | Warehouse for dimension filtering from the source pool |
CONTRACTID | Optional | string | Contract for dimension filtering from the source pool |
ITEMID | Optional | string | Item for dimension filtering from the source pool |
CLASSID | Optional | string | Class for dimension filtering from the source pool |
EMPLOYEEID | Optional | string | Employee for dimension filtering from the source pool |
GLACCTALLOCATION.GLACCTALLOCATIONSOURCE.GLACCTALLOCATIONSOURCEADJBOOK
Name | Required | Type | Description |
---|---|---|---|
ADJBOOKID | Optional | string | Book ID for the adjustment book.
|
GLACCTALLOCATION.GLACCTALLOCATIONBASIS
If choosing dimensions for filtering for the basis, remember your choices for dimension treatment. For example, if you specified that the Vendor dimension should not be considered, choosing a Vendor ID for the basis does not impact the allocation calculations.
Name | Required | Type | Description |
---|---|---|---|
ALLOCATIONMETHOD | Required | string | Allocation method.
|
GLACCTGRP | Optional | string | Account group for the basis of the allocation. To use a single account, provide an account group with one account. |
ACCUMLUATION | Optional | string | Accumulation. Use Activity . |
REPORTINGBOOK | Optional | string | Reporting Book. Set this to ACCRUAL . |
GLACCTALLOCATIONBASISADJBOOKS | Optional | GLACCTALLOCATIONBASISADJBOOK[] | Alternate Book selections. |
BASISINCLUDEREPORTINGBOOK | Optional | string | Use entries from.
|
TIMEPERIOD | Required | string | Basis time period. You can use the same time period as the source pool, or you can select a different time period for your basis.
|
SKIPNEGATIVE | Optional | boolean | Drop negative basis lines from consideration.
|
LOCNO | Optional | string | Entity/Location for dimension filtering to narrow the scope for the basis methodology |
VENDORID | Optional | string | Vendor for dimension filtering to narrow the scope for the basis methodology |
PROJECTID | Optional | string | Project for dimension filtering to narrow the scope for the basis methodology |
DEPTNO | Optional | string | Department for dimension filtering to narrow the scope for the basis methodology |
CUSTOMERID | Optional | string | Customer for dimension filtering to narrow the scope for the basis methodology |
WAREHOUSEID | Optional | string | Warehouse for dimension filtering to narrow the scope for the basis methodology |
CONTRACTID | Optional | string | Contract for dimension filtering to narrow the scope for the basis methodology |
ITEMID | Optional | string | Item for dimension filtering to narrow the scope for the basis methodology |
CLASSID | Optional | string | Class for dimension filtering to narrow the scope for the basis methodology |
EMPLOYEEID | Optional | string | Employee for dimension filtering to narrow the scope for the basis methodology |
GLACCTALLOCATION.GLACCTALLOCATIONBASIS.GLACCTALLOCATIONBASISADJBOOK
Name | Required | Type | Description |
---|---|---|---|
ADJBOOKID | Optional | string | Book ID for the adjustment book. Use GAAPADJ , TAXADJ , or a user-defined book. |
GLACCTALLOCATION.GLACCTALLOCATIONTARGET
When choosing dimensions for filtering to the target, you can override dimension treatments. For example, if you specified that the Vendor dimension should not be considered, you can use the vendor override parameter to provide a vendor to be used in the allocation for the target.
Name | Required | Type | Description |
---|---|---|---|
GLACCOUNTNO | Optional | string | Account that is the target destination of the allocation. |
JOURNALSYBMOL | Optional | string | Journal for the allocation journal entries |
EXCH_RATE_TYPE_ID | Optional | string | Exchange rate type. Required if ALLOWALLOCATION is set to Across entities in the header. |
OVERRIDELOCATION | Optional | string | Dimension override for Entity/Location. Applies only if the dimension treatment for Location is set to Not considered . |
OVERRIDEVENDOR | Optional | string | Dimension override for Vendor. Applies only if the dimension treatment for Vendor is set to Not considered . |
OVERRIDEPROJECT | Optional | string | Dimension override for Project. Applies only if the dimension treatment for Project is set to Not considered . |
OVERRIDEDEPARTMENT | Optional | string | Dimension override for Department. Applies only if the dimension treatment for Department is set to Not considered . |
OVERRIDECUSTOMER | Optional | string | Dimension override for Customer. Applies only if the dimension treatment for Customer is set to Not considered . |
OVERRIDEWAREHOUSE | Optional | string | Dimension override for Warehouse. Applies only if the dimension treatment for Warehouse is set to Not considered . |
OVERRIDECONTRACT | Optional | string | Dimension override for Contract. Applies only if the dimension treatment for Contract is set to Not considered . |
OVERRIDEITEM | Optional | string | Dimension override for Item. Applies only if the dimension treatment for Item is set to Not considered . |
BILLABLE | Optional | boolean | Specifies that lines in the allocation target are billable. Applies only if Project is part of the allocation and Project billing is enabled for General Ledger. Use true for billable, false otherwise. (Default: false ) |
OVERRIDECLASS | Optional | string | Dimension override for Class. Applies only if the dimension treatment for Class is set to Not considered . |
OVERRIDEEMPLOYEE | Optional | string | Dimension override for Employee. Applies only if the dimension treatment for Employee is set to Not considered . |
GLACCTALLOCATION.GLACCTALLOCATIONREVERSE
Name | Required | Type | Description |
---|---|---|---|
GLACCOUNTNO | Optional | string | Account to use for the reversal pool for the account allocation. Required if not using the source account. |
USESOURCEACCOUNT | Optional | boolean | Use the source account for the reversal pool for the account allocation. Required if not providing an account. |
OVERRIDELOCATION | Optional | string | Dimension override for Entity/Location. |
OVERRIDEVENDOR | Optional | string | Dimension override for Vendor. |
OVERRIDEPROJECT | Optional | string | Dimension override for Project. |
OVERRIDEDEPARTMENT | Optional | string | Dimension override for Department. |
OVERRIDECUSTOMER | Optional | string | Dimension override for Customer. |
OVERRIDEWAREHOUSE | Optional | string | Dimension override for Warehouse. |
OVERRIDECONTRACT | Optional | string | Dimension override for Contract. |
OVERRIDEITEM | Optional | string | Dimension override for Item. |
OVERRIDECLASS | Optional | string | Dimension override for Class. |
OVERRIDEEMPLOYEE | Optional | string | Dimension override for Employee. |
Delete Account Allocation Definition
delete
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATION |
keys | Required | string | Comma-separated list of account allocation RECORDNO to delete |
Account Allocation Run
Get Account Allocation Run Object Definition
lookup
List all the fields and relationships for the account allocation run object:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATIONRUN |
Query and List Account Allocation Runs
query
List the record number, GL allocation, and posting date for each run:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATIONRUN |
filter | Optional | object | Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL). |
select | Required | sequence | The names of the fields that you want included in the response, and an optional aggregate function such as count or sum . Returning all fields is not supported. |
orderby | Optional | object | Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> |
options | Optional | object | Query options:
|
pagesize | Optional | integer | Maximum number of matching objects to return in the response, between 1 and 2000 items (Default: 100 ) |
offset | Optional | integer | Point at which to start indexing into records (Default: 0 ) |
Query and List Account Allocation Runs (Legacy)
readByQuery
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATIONRUN |
fields | Optional | string | Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value. |
query | Required | string | SQL-like query based on fields on the object. The following operators are supported: < , > , >= , <= , = , like , not like , in , not in , IS NOT NULL , IS NULL , AND , OR . Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli' ). Joins are not supported. |
pagesize | Optional | integer | Custom page size between 1 and 1000 items (Default: 100 ) |
Name | Required | Type | Description |
---|---|---|---|
STATE | Optional | string | State of the allocation run. Use Q for in queue, I for in progress, F for failed, or P for passed. |
Get Account Allocation Run
read
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use GLACCTALLOCATIONRUN |
keys | Required | string | Comma-separated list of account allocation run RECORDNO to get |
fields | Optional | string | Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value.For best performance and predictability, limit the number of fields. |
returnFormat | Optional | string | Data format for the response body:
|
Create Account Allocation Run
create
Parameters
Name | Required | Type | Description |
---|---|---|---|
GLACCTALLOCATIONRUN | Required | object | Object to create |
GLACCTALLOCATION
Name | Required | Type | Description |
---|---|---|---|
GLACCTALLOCATION | Optional | string | Account allocation ID. Required if not providing an account allocation group. |
GLACCTALLOCATIONGRP | Optional | string | Account allocation group name. Required if not providing an account allocation ID. |
ASOFDATE | Required | string | As of date for processing the account allocation |
GLPOSTINGDATE | Required | string | GL posting date |
Required | string | Your email address |