Solved

Error API Insert Sales Order with drop-ship

  • 17 November 2022
  • 6 replies
  • 112 views

Userlevel 3
Badge
  • Jr Varsity III
  • 51 replies

 

Response error :

Inserting  'Sales Order Line' record raised at least one error. Please review the errors.; Inserting  'Sales Order Line' record raised at least one error. Please review the errors.; POLinkActive: The sales order line has no active link to a line of a purchase order.
 

I tried staging it went well, I tried it live this problem occurred.
how to fix this error?

icon

Best answer by abdi 17 November 2022, 10:56

View original

6 replies

Userlevel 7
Badge +11

Thank you for the update :)

Userlevel 3
Badge

the problem is solved, the problem is in the warehouse, thanks for the help

Userlevel 3
Badge

{
    "OrderType": {
        "value": "O1"
    },
    "CustomerID": {
        "value": "O0001"
    },
    "LocationID": {
        "value": "Main"
    },
    "Commissions": {
        "DefaultSalesperson": {
            "value": "0000"
        }
    },
    "CustomerOrder": {
        "value": "2824504304"
    },
    "Description": {
        "value": "Reguler"
    },
    "Note": "",
    "Details": [
        {
            "Note": "Ekspedition",
            "InventoryID": {
                "value": "FKRTC00STH"
            },
            "OrderQty": {
                "value": "1"
            },
            "UOM": {
                "value": "PIECE"
            },
            "UnitPrice": {
                "value": "257657.6577"
            },
            "WarehouseID": {
                "value": "WH33-TPD"
            },
            "MarkForPO": {
                "value": true
            },
            "POSource": {
                "value": "Drop-Ship"
            }
        }
    ]
}

Userlevel 7
Badge +11

Can you please share your JSON request? I will try from my side once.

Userlevel 3
Badge

Hi @jinin yes, I have tried it directly on the screen and there is a warning in the PO Linked section, on staging and on live it runs smoothly.
This case occurs when using the Create SO API

Userlevel 7
Badge +11

Hi @abdi 

Did you try to create a sales order on screen with the same data? May be a data issue. Can you check once?

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 — 2024  Acumatica, Inc. All rights reserved