sims's Profile
Rookie
7
Points

Questions
1

Answers
2

  • Rookie Asked on August 15, 2024 in SuiteTalk.

    To wrap this up, here’s how we got this working:

    • set a default bin for all items (if not, just include inventory detail as noted earlier)
    • in the POST entity, include an item for each open line that’s not yet fully received
    • do not include an item for any closed/fully-received line (that causes an error)
    • line to receive on:  {“orderLine”: 1, “quantity”: 10}
    • line to skip:  {“orderLine”: 1, “itemReceive”: false}
    • use the API to get the PO to find the orderLines — they don’t necessarily match “line number” shown in the UI
    • 1736 views
    • 2 answers
    • 0 votes
  • Rookie Asked on August 13, 2024 in SuiteTalk.

    Seems that “inventorydetail” is not applied if the item has a default bin in the PO location.

    For example, when the item has a default bin, then the following works:

    POST services/rest/record/v1/purchaseOrder/7150513/!transform/itemReceipt {
    “tranDate”: “2024-08-12”,
    “item”: {
    “items”: [{
    “orderLine”: 1,
             “quantity”: 10}]}}
     
    However if the item does not have a default bin, then specifying inventorydetail works:
     
    POST services/rest/record/v1/purchaseOrder/7150513/!transform/itemReceipt {
    “tranDate”: “2024-08-12”,
    “item”: {
    “items”: [{
    “orderLine”: 1,
    “itemReceive”: true,
    “quantity”: 10,
    “inventorydetail”: {
    “inventoryassignment”: {
    “items”: [{
    “binnumber”: 9,
    “quantity”: 10}]}}}]}}
     
     
    This seems like a bug.  I’ve opened a ticket with NS.
    • 1736 views
    • 2 answers
    • 0 votes