...
- QueryString: Find all accounting periods matching specified string in accounting period code or name
- AccountingPeriodIdentity: If specified, the identified accounting period will be returned. And QueryString will be ignored.
Request Format
...
title | PwsGetAccountingPeriodList Request |
---|
...
This request has seven flag filters that decide which accounting periods to be included. five of the flags applies to operations that are company based and they are
- IncludeFullyClosedFlag
- IncludeOpenForApTransactionsFlag
- IncludeOpenForArTransactionsFlag
- IncludeOpenForCostFlag
- IncludeOpenForGlTransactionsFlag
- IncludeOpenForTimeFlag
If CompanyIdentity is omitted, these five filters are ignored. And another one IncludeFullyClosedFlag only applies to time/Cost adjustment operation which is not company based.
Request Format
Panel | ||
---|---|---|
| ||
|
...
Element | Data Type | Required? | Default | Description | Sample Data | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | ||||||||||||||||||||||
SessionTicket | String | Yes | Click here for more information. | ATtU220EvBSE2+GCN9U58g== | |||||||||||||||||||||
AccountingPeriodIdentity | No | The unique keys used to identify accounting period to be retrieved. Click here for more information. | |||||||||||||||||||||||
IncludeFullyClosedFlag | Boolean | No | false | If set to 'true', a CompanyIdentity is omitted, this flag only applies to the time/cost adjustment operation. Otherwise if set to 'true', accounting periods that are closed for all operations for the specified company are included in the response. The operations include time entry, cost entry, time/cost adjustment, GL transactions, AP transactions and AR transactions. ??? | false | ||||||||||||||||||||
IncludeOpenForAdjustmentsFlag | Boolean | No | false | If set to 'true', the accounting period that is open time/cost adjustment is included in the response. This filter is not company based. | false | ||||||||||||||||||||
IncludeOpenForApTransactionsFlag | Boolean | No | IncludeOpenForArTransactionsFlag | Boolean | No | IncludeOpenForCostFlag | Boolean | No | IncludeOpenForGlTransactionsFlag | Boolean | No | IncludeOpenForTimeFlag | Boolean | No | MaxRowsToReturn | Int32 | No | QueryString | String | No | CompanyIdentity | NoIf a CompanyIdentity is omitted, this flag is ignored. Otherwise if set to 'true', accounting periods that are open for AP transactions is included in the response. | false | ||
IncludeOpenForArTransactionsFlag | Boolean | No | If a CompanyIdentity is omitted, this flag is ignored. Otherwise if set to 'true', accounting periods that are open for AR transactions is included in the response. | false | |||||||||||||||||||||
IncludeOpenForCostFlag | Boolean | No | If a CompanyIdentity is omitted, this flag is ignored. Otherwise if set to 'true', accounting periods that are open for cost entry is included in the response. | false | |||||||||||||||||||||
IncludeOpenForGlTransactionsFlag | Boolean | No | If a CompanyIdentity is omitted, this flag is ignored. Otherwise if set to 'true', accounting periods that are open for GL transactions is included in the response. | false | |||||||||||||||||||||
IncludeOpenForTimeFlag | Boolean | No | If a CompanyIdentity is omitted, this flag is ignored. Otherwise if set to 'true', accounting periods that are open for time entry is included in the response. | false | |||||||||||||||||||||
MaxRowsToReturn | Int32 | No | The maximum number of accounting periods to be retrieved. This flag is disregarded if an accounting period is specified in AccountingPeriodIdentity. | 5 | |||||||||||||||||||||
QueryString | String | No | A search string to narrow down the results. An accounting period will be included in the results if the search string matches the accounting period's code or name. This value is disregarded if an accounting period is specified in AccountingPeriodIdentity. | Rev | |||||||||||||||||||||
CompanyIdentity | No | The identity of the company whose accounting periods are being retrieved. Click here for more information. |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsGetAccountingPeriodList> <pws:serviceRequest> <req:SessionTicket>ATtU220EvBSE2+GCN9U58g==</req:SessionTicket> <req:IncludeFullyClosedFlag>true</req:IncludeFullyClosedFlag> <req:IncludeOpenForAdjustmentsFlag>true</req:IncludeOpenForAdjustmentsFlag> <req:IncludeOpenForApTransactionsFlag>true</req:IncludeOpenForApTransactionsFlag> <req:IncludeOpenForArTransactionsFlag>true</req:IncludeOpenForArTransactionsFlag> <req:IncludeOpenForCostFlag>true</req:IncludeOpenForCostFlag> <req:IncludeOpenForGlTransactionsFlag>true</req:IncludeOpenForGlTransactionsFlag> <req:IncludeOpenForTimeFlag>true</req:IncludeOpenForTimeFlag> <req:MaxRowsToReturn>3</req:MaxRowsToReturn> <req:QueryString></req:QueryString> </pws:serviceRequest> </pws:PwsGetAccountingPeriodList> </soapenv:Body> </soapenv:Envelope> |
...