Skip to content

Adjustment

Return, update, create and delete inventory adjustment journals

Released
Updated
URLSupports
/{cf_uri}/Inventory/Adjustment
GETPUTPOSTDELETE

Attribute Details

Paging: default page size is set to 400 with a maximum of 1000 results.

AttributeTypeNotes
UID
Required
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.
InventoryJournalNumberString (13)Inventory journal number, if left null when posting a number will automatically be assigned and incremented based upon last recorded
Date
Required
DateTimeTransaction date entry, format YYYY-MM-DD HH:MM:SS { 'Date': '2013-12-04 13:33:02' }
IsYearEndAdjustmentBooleanTrue indicates the transaction is a YearEndAdjustment False indicates the transaction is not a YearEndAdjustment
MemoString (255)Memo text assigned to the inventory journal adjustment.
LinesarrayAn array of line item information
Lines.RowIDIntegerSequence of the entry within the inventory journal set. REQUIRED only when passing the RowVersion for updating an existing inventory adjustment line.
Lines.Quantity
Required
Decimal (13.6)The quantity of items to be adjusted.
Lines.UnitCostDecimal (13.6)Unit cost assigned to the item/items, if left blank on POST will default to AverageCost.
Lines.AmountDecimal (13.6)Dollar amount assigned to the item (Quantity * UnitCost = Amount).
Lines.ItemobjectThe following set of information pulls through details for an Item
Lines.Item.UID
Required
Guid (36)Foreign Key : Unique identifier for item in the form of a guid, Note: same as the UID above.
Lines.Item.Number
Read-only
String (30)Number assigned to the item.
Lines.Item.Name
Read-only
String (30)Name assigned to the item.
Lines.Item.URI
Read-only
StringUniform resource identifier associated with the item object.
Lines.AccountobjectThe following set of information pulls through the details for an account
Lines.Account.UID
Required
GUID (36)Foreign Key : Unique guid identifier belonging to the account for the item adjustment
Lines.Account.Name
Read-only
String (60)Account name belonging to the account record
Lines.Account.DisplayID
Read-only
String (6)Account code format includes separator ie 1-1100 { 'DisplayID': '5-1100' }
Lines.Account.URI
Read-only
StringUniform resource identifier associated with the account object
Lines.JobobjectThe following set of information pulls through details for jobs
Lines.Job.UIDGUID (36)Foreign Key : Unique guid identifier belonging to the job for this line of the inventory journal entry
Lines.Job.Number
Read-only
String (30)Number assigned to the job
Lines.Job.Name
Read-only
String (30)Name assigned to the job
Lines.Job.URI
Read-only
StringUniform resource identifier associated with the job object
Lines.MemoString (1000)Memo text describing the transaction line,
Lines.LocationobjectThe following set of information pulls through details for the item associated location./li>
Lines.Location.UID
Required
Guid (36)Foreign Key : Unique identifier for location in the form of a guid.
Lines.Location.Identifier
Read-only
String (10)Identifier assigned to the location.
Lines.Location.Name
Read-only
String (30)Name assigned to the location.
Lines.Location.URI
Read-only
StringUniform resource identifier associated with the location object.
Lines.RowVersion
Required
StringONLY required on PUT for updating an existing inventory adjustment line. NOT required when creating a new inventory adjustment journal.
CategoryobjectThe following outlines category information for the inventory adjustment journal.
Category.UIDGUID (36)Foreign Key : Unique guid identifier belonging to the category assigned to the inventory journal.
Category.Name
Read-only
String (30)Name of the category
Category.DisplayID
Read-only
String (15)Display id for the category
Category.URI
Read-only
StringUniform resource identifier associated with the category object
URI
Read-only
StringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web
RowVersion
Required
StringNumber 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

json
{
  "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.