Solved

Purchase Receipt via Rest API

  • 17 June 2021
  • 1 reply
  • 40 views

Hi Guys, i am trying to process a purchase receipt of a purchase order but i keep getting this error below. Can you kindly help? I have followed the Acumatica example found here : https://help-2021r1.acumatica.com/(W(61))/Help?ScreenId=ShowWiki&pageid=81e5ec25-09f7-421a-8f80-01b6b71d38c9

 

EndPoint: baseURL/entity/Default/18.200.001/PurchaseReceipt

Request

{

  "VendorID": {"value": "DIG001"},

  "Location": {"value": "MAIN"},

  "Details": [

    {

      "POOrderNbr": {"value": "PODP003483"},

      "POOrderType": {"value": "Normal"}

    }

  ]

}

Error:

        "innerException": {

            "message": "An error has occurred.",

            "exceptionMessage": "PO line number, PO type, and PO number must be filled in for the system to add the purchase order to the details.",

icon

Best answer by andrewm80 18 June 2021, 09:38

RESOLVED

This is the request that worked for me

{

     "CreateBill": {

    "value": "true"

  },

  "VendorID": {

    "value": "3GM001"

  },

  "Location": {

    "value": "MAIN"

  },

  "Details": [

    {

      "POOrderNbr": {

        "value": "PODP003474"

      },

      "POOrderType": {

        "value": "Normal"

      },      "POLineNbr": {

        "value": 1

      }

    }

  ]

}

View original

1 reply

RESOLVED

This is the request that worked for me

{

     "CreateBill": {

    "value": "true"

  },

  "VendorID": {

    "value": "3GM001"

  },

  "Location": {

    "value": "MAIN"

  },

  "Details": [

    {

      "POOrderNbr": {

        "value": "PODP003474"

      },

      "POOrderType": {

        "value": "Normal"

      },      "POLineNbr": {

        "value": 1

      }

    }

  ]

}

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2020  Acumatica, Inc. All rights reserved