Skip to content

Build

Return's Build transaction journals

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

Attribute Details

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

AttributeTypeNotes
UIDGUID (36)Unique guid identifier created for the Build adjustment journal. ONLY required for updating an existing Build 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
DateDateTimeTransaction date entry, format YYYY-MM-DD HH:MM:SS { 'Date': '2013-12-04 13:33:02' }
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 Build adjustment line.
Lines.QuantityDecimal (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.UIDGuid (36)Foreign Key : Unique identifier for item in the form of a guid, Note: same as the UID above.
Lines.Item.NumberString (30)Number assigned to the item.
Lines.Item.NameString (30)Name assigned to the item.
Lines.Item.URIStringUniform resource identifier associated with the item object.
Lines.AccountobjectThe following set of information pulls through the details for an account
Lines.Account.UIDGUID (36)Foreign Key : Unique guid identifier belonging to the account for the item adjustment
Lines.Account.NameString (60)Account name belonging to the account record
Lines.Account.DisplayIDString (6)Account code format includes separator ie 1-1100 { 'DisplayID': '5-1100' }
Lines.Account.URIStringUniform 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.NumberString (30)Number assigned to the job
Lines.Job.NameString (30)Name assigned to the job
Lines.Job.URIStringUniform 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.
Lines.Location.UIDGuid (36)Foreign Key : Unique identifier for location in the form of a guid.
Lines.Location.IdentifierString (10)Identifier assigned to the location.
Lines.Location.NameString (30)Name assigned to the location.
Lines.Location.URIStringUniform resource identifier associated with the location object.
Lines.RowVersionStringONLY 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.NameString (30)Name of the category
Category.DisplayIDString (15)Display id for the category
Category.URIStringUniform resource identifier associated with the category object
URIStringUniform resource identifier encompasses all types of names and addresses that refer to objects on the web
RowVersionStringNumber 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 Build adjustment journal. NOT required when creating a new Build adjustment journal.

Example json GET response

Example

json
{
  "UID": "04d3bfff-9b10-4582-815a-e331f259d0fe",
  "InventoryJournalNumber": "IJ000028",
  "Date": "2022-09-15T00:00:00",
  "Memo": "magnis ut risus eleifend dui",
  "RowID": "820092",
  "Quantity": null,
  "UnitCost": null,
  "Amount": "-28.350000",
  "Job": "null",
  "RowVersion": "-6730279998407573504",
  "URI": "{cf_uri}/Inventory/Build/04d3bfff-9b10-4582-815a-e331f259d0fe"
}

The {cf_uri} is provided by the businessId parameter as described here.