Skip to main content

 

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?

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?


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


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


{
    "OrderType": {
        "value": "O1"
    },
    "CustomerID": {
        "value": "O0001"
    },
    "LocationID": {
        "value": "Main"
    },
    "Commissions": {
        "DefaultSalesperson": {
            "value": "0000"
        }
    },
    "CustomerOrder": {
        "value": "2824504304"
    },
    "Description": {
        "value": "Reguler"
    },
    "Note": "",
    "Details": r
        {
            "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"
            }
        }
    ]
}


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


Thank you for the update :)


Reply