Revenue recognition schedules track revenue deferred from Accounts Receivable or Order Entry sales transactions.
The system generates revenue recognition schedules for applicable posted sales transactions containing items with associated revenue recognition templates.
Revenue Recognition Schedules
Get Revenue Recognition Schedule Object Definition
lookup
List all the fields and relationships for the revenue recognition schedule object:
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
DOCENTRYKEY
Optional
string
RECORDNO for the SODOCUMENTENTRY with the revenue recognition schedule to list
STATUS
Optional
string
Status of the revenue recognition schedule. Use N for Not Started, P for In Progress, C for Completed, H for On Hold, D for Terminated, or X for Partially Terminated.
REVRECTEMPLATEID
Optional
string
ID of revenue recognition template
RECMETHOD
Optional
string
Revenue recognition method. Use E for Straight line, S for Straight-line, prorate exact days, P for Straight-line, percent allocation, F for Straight-line, percent allocation, end of period, X for Exact days per period, prorate days, D for Exact days per period, prorate days, end of period, T for Percent Completed, M for Milestone, or C for Custom.
Comma-separated list of RECORDNO of the revenue recognition schedule 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.
RECORDNO of the revenue recognition schedule to reallocate
revrecstartdate
Required
object
Start date for the schedule
revrecenddate
Required
object
End date for the schedule
unpostall
Optional
boolean
Applicable only for Order Entry revenue recognition schedules. Specifies whether to unpost all posted entries so that the entire revenue recognition schedule can be reallocated to the given period. Use true to enable this, false otherwise.
revrecstartdate/revrecenddate
Name
Required
Type
Description
year
Required
string
Year yyyy
month
Required
string
Month mm
day
Required
string
Day dd
Revenue Recognition Schedule Entries
Get Revenue Recognition Schedule Entry Object Definition
lookup
List all the fields and relationships for the revenue recognition schedule entry object:
List the revenue recognition schedule for the SODOCUMENTENTRY whose RECORDNO is 21:
<readByQuery><object>REVRECSCHEDULEENTRY</object><fields>*</fields><query>DOCENTRYKEY = 21</query><!--From the originating SODOCUMENT--><pagesize>100</pagesize></readByQuery>
Parameters
Name
Required
Type
Description
object
Required
string
Use REVRECSCHEDULEENTRY
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
DOCENTRYKEY
Optional
string
RECORDNO for the SODOCUMENTENTRY with the revenue recognition schedule entries to list
Comma-separated list of RECORDNO of the revenue recognition schedule entry 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:
xml (default)
json
csv
Post Revenue Recognition Schedule Entries (Legacy)