Gerhard-ZA
Gerhard-ZA

Reputation: 51

Acumatica Web Services - Adding Crossreference alternate ID to Stock Item

We are trying to add new Alternate Id to a current Stock Item, when pushing the service body we receive the point back without any error. However, it does not add the additional Cross Reference Item.

{
  "InventoryID": {
    "value": "APR000195XXX"
  },
  "CrossReferences": [
    {
      "AlternateID": {
        "value": "19405"
      },
      "AlternateType": {
        "value": "Global"
      },
      "Description": {
        "value": "XXXPUL0001"
      },
      "Subitem": {
        "value": "000000"
      },
      "VendorOrCustomer": {},
      "custom": {},
      "files": []
    }
  ]
}

Upvotes: 0

Views: 164

Answers (2)

Gerhard-ZA
Gerhard-ZA

Reputation: 51

the issue came down to screen rights on roles that were not set

Upvotes: 1

Yuriy Zaletskyy
Yuriy Zaletskyy

Reputation: 5151

If you want add line Cross-Reference to existing stock Item your request should work. Just check that you use correct type - "PUT" and correct endpoint:

enter image description here

Upvotes: 0

Related Questions