Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: KE50
  • Order by date
  1. KE50

    Delphi and Accpac

    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 :-)
  2. KE50

    Delphi and Accpac

    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
  3. KE50

    Delphi and Accpac

    //Make relations for the connections (Compose) InvBatch.Compose(InvHeader); //Header VarClear(ViewArray); ViewArray := varArrayof([InvBatch, InvHeader, InvDetail, InvSchedule, InvOptFld]); InvHeader.Compose(CSGetOleVariant(ViewArray, 1)); //Detail VarClear(ViewArray); ViewArray...
  4. KE50

    Delphi and Accpac

    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...
  5. KE50

    Delphi and Accpac

    //Make relations for the connections (Compose) InvBatch.Compose(InvHeader); //Header VarClear(ViewArray); ViewArray := varArrayof([InvBatch, InvHeader, InvDetail, InvSchedule]); InvHeader.Compose(CSGetOleVariant(ViewArray, 1)); //Detail VarClear(ViewArray); ViewArray :=...
  6. KE50

    Delphi and Accpac

    Might it be anything to do with the compose done
  7. KE50

    Delphi and Accpac

    Changing the company parameters to another company and still the code fails at this point
  8. KE50

    Delphi and Accpac

    Adding an invoice manually for the customer goes on without an issue
  9. KE50

    Delphi and Accpac

    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
  10. KE50

    Delphi and Accpac

    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')...

Part and Inventory Search

Back
Top