Adjustment
Return, update, create and delete inventory adjustment journals
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Inventory/Adjustment |
Attribute Details
Paging: default page size is set to 400 with a maximum of 1000 results.
| Attribute | Type | Notes |
|---|---|---|
UID | GUID (36) | Unique guid identifier created for an inventory adjustment journal. ONLY required for updating an existing inventory adjustment journal. NOT required when creating a new inventory adjustment journal. |
InventoryJournalNumber | String (13) | Inventory journal number, if left null when posting a number will automatically be assigned and incremented based upon last recorded |
Date | DateTime | Transaction date entry, format YYYY-MM-DD HH:MM:SS { 'Date': '2013-12-04 13:33:02' } |
IsYearEndAdjustment | Boolean | True indicates the transaction is a YearEndAdjustment False indicates the transaction is not a YearEndAdjustment |
Memo | String (255) | Memo text assigned to the inventory journal adjustment. |
Lines | array | An array of line item information |
Lines.RowID | Integer | Sequence of the entry within the inventory journal set. REQUIRED only when passing the RowVersion for updating an existing inventory adjustment line. |
Lines.Quantity | Decimal (13.6) | The quantity of items to be adjusted. |
Lines.UnitCost | Decimal (13.6) | Unit cost assigned to the item/items, if left blank on POST will default to AverageCost. |
Lines.Amount | Decimal (13.6) | Dollar amount assigned to the item (Quantity * UnitCost = Amount). |
Lines.Item | object | The following set of information pulls through details for an Item |
Lines.Item.UID | Guid (36) | Foreign Key : Unique identifier for item in the form of a guid, Note: same as the UID above. |
Lines.Item.Number | String (30) | Number assigned to the item. |
Lines.Item.Name | String (30) | Name assigned to the item. |
Lines.Item.URI | String | Uniform resource identifier associated with the item object. |
Lines.Account | object | The following set of information pulls through the details for an account |
Lines.Account.UID | GUID (36) | Foreign Key : Unique guid identifier belonging to the account for the item adjustment |
Lines.Account.Name | String (60) | Account name belonging to the account record |
Lines.Account.DisplayID | String (6) | Account code format includes separator ie 1-1100 { 'DisplayID': '5-1100' } |
Lines.Account.URI | String | Uniform resource identifier associated with the account object |
Lines.Job | object | The following set of information pulls through details for jobs |
Lines.Job.UID | GUID (36) | Foreign Key : Unique guid identifier belonging to the job for this line of the inventory journal entry |
Lines.Job.Number | String (30) | Number assigned to the job |
Lines.Job.Name | String (30) | Name assigned to the job |
Lines.Job.URI | String | Uniform resource identifier associated with the job object |
Lines.Memo | String (1000) | Memo text describing the transaction line, |
Lines.Location | object | The following set of information pulls through details for the item associated location./li> |
Lines.Location.UID | Guid (36) | Foreign Key : Unique identifier for location in the form of a guid. |
Lines.Location.Identifier | String (10) | Identifier assigned to the location. |
Lines.Location.Name | String (30) | Name assigned to the location. |
Lines.Location.URI | String | Uniform resource identifier associated with the location object. |
Lines.RowVersion | String | ONLY required on PUT for updating an existing inventory adjustment line. NOT required when creating a new inventory adjustment journal. |
Category | object | The following outlines category information for the inventory adjustment journal. |
Category.UID | GUID (36) | Foreign Key : Unique guid identifier belonging to the category assigned to the inventory journal. |
Category.Name | String (30) | Name of the category |
Category.DisplayID | String (15) | Display id for the category |
Category.URI | String | Uniform resource identifier associated with the category object |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web |
RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing inventory adjustment journal. NOT required when creating a new inventory adjustment journal. |
Example json GET response
Example
{
"UID": "10f623a6-1638-4970-afd5-0394191bf015",
"InventoryJournalNumber": "IJ000001",
"Date": "2013-12-10T19:00:59.043",
"IsYearEndAdjustment": "false",
"Memo": "IJ Item 120",
"RowID": "69",
"Quantity": null,
"UnitCost": null,
"Amount": "226.96",
"Job": "null"
}The {cf_uri} is provided by the businessId parameter as described here.