Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Field Total Amount Excl. VAT is readonly! Error during creation of SalesOrder Lines

$
0
0
Hi,
I am creating a sales order through a C# console application. When is try to create/update the salesorder lines of type "Item" then exception occurs {"Field Total Amount Excl. VAT is readonly!"} .

The code block is
salesOrder.SalesLines[0].Type = Type5.Item;
salesOrder.SalesLines[0].No = "70063";
salesOrder.SalesLines[0].Quantity = 1;

salesOrderService.Update(ref salesOrder); //Throws exception
g5v9vsaayku0.jpg


Any type of help/suggestion would be really appreciative.

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>