Method Community

 

Insert error on journal entry

Last post 07-09-2009 3:29 PM by Anonymous. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-09-2009 8:24 AM

    Insert error on journal entry

     Hello,

    I have copied and pasted this post from the Method General Q&A to the MethodAPI Q&A section. Going forward, please ensure that any Method API related questions be placed in this category. Thanks in advance!

     I am getting a insert error when I submit a journal entry via the methodAPI. The journalentry insert works Ok, but when I try to do the journalentryline I get an insert error. I have tried to just limit the number of flds in the journalentryline to just the Account and  JournalEntryRecordID but still get a insert error.

    Does anyone have an example of a JE done by the methodAPI or have any sugguestions on what to try next.

    Thanks

  • 07-09-2009 3:29 PM In reply to

    Re: Insert error on journal entry

     The Account is a dropdown field and so it must find the appropriate record id of the value you are trying to insert for the account name before the insertion of the journal entry line item takes place.

    Can you post the code you have when you are creating the arrInserFieldsArray and arrInsertValuesArray. 

    Thanks,

    Peter

Page 1 of 1 (2 items)