Hi,
I am successfully using webservices to create SalesQuotes and SalesOrders and the SalesLines.
(learned from Freddy Blog
)
Now I also want to create ServiceOrders with ServiceWorksheets.
I managed to create a ServiceOrder with a ServiceItem, but for these I
have the problem to create the ServiceWorksheet correctly.
I am using Perl to create the XML and send the request.
ServiceWorksheet
READ { Document_No => '1234', Document_Type => 'Order'}
UPDATE
ServInvLines => {
Service_Item_Worksheet_Line [
{ Description => 'abcd',
Type => '_blank_',
Service_Item_Line_No => '10000'
}]
Error: Service_Item_Line_No is readonly
Without Service_Item_Line_No the line is created in the table but without the reference
to the ServceItem. So the line is not assigned to the ServiceItem.
So, how can/must I submit the Service_Item_Line_No?
Or is there a problem with the Rights? A NAV Developer told me that the Field in the database is NOT readonly.
Btw: I have only access to NAV via Webservices.
Anyone who can help?