It fails at the below line before it gets to the insert line as its expecting a BCD I think?
//SET THE QUANTITY
SUCCEEDED_AT( PUT_FIELD (oeordd, quantity, OEORDD, QTYORDERED, TRUE) );
One other thing in regards to the strToBcd looking at the debug information Quantity is looking like it is empty once it goes through the strToBcd function? Not sure if this is correct? Could this error be due to QTYORDERED being empty?
//SET AN ITEM QUANTITY
char item_quantity = "5";
//SET...
I am working with:
Accpac Version 5.5A
MS SQL Server 2005
5.5A SDK
C using XAPI
Thanks for the response. Good to know that LINENUM and ORDUNIQ are taken care of by the views, unfortunatly still does not solve the issue. I have removed from my code and still same error??
When I record a macro...
Hi I hope someone can help with a problem I am having with inserting items into an order header.
If I don't add any items the order inserts fine but when I try to insert an item into the order it fails with 1180 error number "Invalid revision API state or call".
I am quite sure I have all the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.