Just to elaborate: The cause of the error is that you are passing the value '0000000000' into the first field of the primary key. The first field of the primary key of the sales header table is the Document Type field, which is an option type field. Navision can't resolve the code type value '0000000000' into the option field, which internally is represented by an integer value, and will consequently throw the error that you are experiencing.
Other than that, listen to Mark, he knows what he is talking about
Comments
So there should be something like
Other than that, listen to Mark, he knows what he is talking about
RIS Plus, LLC