Cashbook Debtor/Creditor in code?  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Cashbook Debtor/Creditor in code?

Postby neil.interactit » Wed Jun 10, 2015 4:59 pm

Hi,

Simple question (I hope) ... I can't find the Cashbook transaction (line item) Debtor/Creditor field ...

In a cashBook.JournalSet.SaveStart proc I am looking in journalSet.Lines, unsuccessfully.

Can you point in the right direction?

Cheers,
Neil.
neil.interactit
Kohai
Kohai
 
Posts: 232
Joined: Wed Dec 03, 2014 2:36 pm
Topics Solved: 6

Re: Cashbook Debtor/Creditor in code?  Topic is solved

Postby Scott.Pearce » Wed Jun 10, 2015 6:01 pm

The Debtor/Creditor field is at cashBook.CashBookTransactions(recID).DebtorCreditorAccountID. It may be blank for any given line. For other lines it will be a CreditorID. For others it will be a DebtorID. The cashBook.CashBookTransactions(recID).TransactionType property indicates what sort of id you will find (debtor/creditor/blank - blank meaning gl account transaction, look in cashBook.CashBookTransactions(recID).OffsetLedgerID).
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: Cashbook Debtor/Creditor in code?

Postby neil.interactit » Thu Jun 11, 2015 5:57 pm

All good, many thanks Scott.
neil.interactit
Kohai
Kohai
 
Posts: 232
Joined: Wed Dec 03, 2014 2:36 pm
Topics Solved: 6


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron