Jump to content

Create GLJOURNAL via API


 Share

Recommended Posts

I am trying to create journals, though I know it's not documented anywhere.  While the API Call creates the journal, it does not capture the book type and this comes in empty into the UI.  Has anyone else successfully done this call before?  I tried specifying both REPORTINGMETHOD and BOOKID without luck.

        <create>
            <gljournal>                        
                <SYMBOL>ARJ2</SYMBOL>
                <STATUS>active</STATUS>
                <TITLE>Accounts Receivable Journal</TITLE>
                <START_DATE></START_DATE>
                <LAST_DATE></LAST_DATE>
                <ADJ>false</ADJ>
                <REPORTINGMETHOD>Accrual</REPORTINGMETHOD>
                <BOOKID>ACCRUAL</BOOKID>
                <BILLABLE></BILLABLE>
            </gljournal>
        </create>

 

Link to comment
Share on other sites

@Lindsay Klatzkin

Try this instead:
 

<create_journal>
      <symbol>ARJ2</symbol>
      <title>Accounts Receivable Journal</title>
      <bookkey>ACCRUAL</bookkey>
</create_journal>


 

Here is the DTD:
 

<!ELEMENT create_journal (symbol, title, status?, externalid?, bookkey?)>
<!ATTLIST create_journal
    ignoreduplicates (true | false) "false"
>

 

Edited by Sterio, Louis
  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...