dlwiii3
Member
Just a note to everyone and myself.
When calling F4311FSBeginDoc for Purchase Orders, the field szOrderSuffix must always be "000", even when making a change order.
The F4311EditLine is where you set szOrderSuffix to a non-000 number such as "001".
So if you are using header cHeaderActionCode = "C" and you're getting 0001 Record Invalid, make sure that you've set the header suffix to "000".
When calling F4311FSBeginDoc for Purchase Orders, the field szOrderSuffix must always be "000", even when making a change order.
The F4311EditLine is where you set szOrderSuffix to a non-000 number such as "001".
So if you are using header cHeaderActionCode = "C" and you're getting 0001 Record Invalid, make sure that you've set the header suffix to "000".