2. März 2021 14:29
'SalesOrder' => array(
'Sell_to_Customer_No' => '102425'
)
'SalesOrder' => array(
'Sell_to_Customer_No' => '102425',
'SalesLines' => array(
'Sales_Order_Line' => array(
array(
'Type' => 'Item',
'No' => 12345,
'Unit_of_Measure_Code' => 'TSD',
'Unit_Price' => 1,
'Quantity' => 10,
'Location_Code' => 'LAGERORT'
)
)
)
)
Fatal error: Uncaught SoapFault exception: [a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException] A transaction must be started before changes can be made to the database.
'SalesOrder' => array(
'Key' => KEY_DER_SALES_ORDER,
'SalesLines' => array(
'Sales_Order_Line' => array(
array(
'Document_No' => 'AB123456',
'Document_Type' => 'Order',
'Line_No' => 110000,
'Type' => 'Item',
'No' => 99999,
'Unit_of_Measure_Code' => 'TSD',
'Unit_Price' => 1,
'Quantity' => 10,
'Location_Code' => 'LAGERPLATZ123'
)
)
)
)
Uncaught SoapFault exception: [a:Microsoft.Dynamics.Nav.Service.WebMetadata.ServiceBrokerException] Field Line No. is readonly!
Uncaught SoapFault exception: [a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideDuplicateKeyException] The Sales Line already exists. Identification fields and values: Document Type='Order',Document No.='AB123456',Line No.='10000'
2. März 2021 15:08
2. März 2021 16:36
2. März 2021 17:46