Hi
I am inserting the sales header and sales line using the APi in postman. But in my case, it only inserts the single record of the sales line in one time and when i try to insert multiple sales lines it gives the Bad Error Request so, i need help how can i insert multiple lines using APi in postman?
i exposed the sales order page as an APi.
Sales Line Body:
{
"Web_Document_No": "116771",
"Web_Document_Type": "Order",
"Line_No": 30000,
"Type": "Item",
"Web_Item_No": "10034",
"Unit_Price": 3000,
"Quantity": 4,
"Discount": 0
}
i also tried this but i did't work:
[
{
"Web_Document_No": "116771",
"Web_Document_Type": "Order",
"Line_No": 30000,
"Type": "Item",
"Web_Item_No": "10034",
"Unit_Price": 3000,
"Quantity": 4,
"Discount": 0
},
{
"Web_Document_No": "116771",
"Web_Document_Type": "Order",
"Line_No": 30000,
"Type": "Item",
"Web_Item_No": "10034",
"Unit_Price": 3000,
"Quantity": 4,
"Discount": 0
}
]