Skip to main content
Solved

Error API Insert Sales Order with drop-ship

  • 17 November 2022
  • 6 replies
  • 135 views

Forum|alt.badge.img
  • 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?

Best answer by abdi

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

View original
Did this topic help you find an answer to your question?

6 replies

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 680 replies
  • November 17, 2022

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?


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 51 replies
  • November 17, 2022

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


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 680 replies
  • November 17, 2022

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


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 51 replies
  • November 17, 2022

{
    "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"
            }
        }
    ]
}


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 51 replies
  • Answer
  • November 17, 2022

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


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 680 replies
  • November 17, 2022

Thank you for the update :)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings