Hello DjangMan,
Thanks for all the input, the error was the composition, the function for generating must not have been working. Ended up using the sample you provided above
Again Thanks :-)
Nice catch, but still it gives an error and the Accpac Session Error is blank if the customer account exists.
A check on the site showed this; thread631-1212433 i think it is of a similar issue but i cannot tell how it was resolved
Made the following changes;
1. Added the Invoice header optional field - View AR0402,
2. Added the Invoice detail optional field - View AR0401,
3. Added the try except and a function for returning the error message
But it still fails on the setting of IDCUST,
Incase the customer value being...
Thanks for the prompt reply DjangMan
Yeah am using late binding & the accpac version is 5.5
For the RVSPY, see attachmenthttp://www.mediafire.com/?9aafo1a34uveq8w
What could i be doing wrong with the code below;
//Create the header
InvHeader.RecordCreate(2);
InvHeader.Cancel;
InvHeader.Fields.Item('CNTBTCH').Value := InvBatch.Fields.Item('CNTBTCH').value;
InvHeader.Fields.Item('CNTITEM').PutWithoutVerification('1')...
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.