Re: Invoice Item type copied into GL Account type?

2017-02-10 Thread Jacopo Cappellato
On Fri, Feb 10, 2017 at 9:04 AM, Paul Foxworthy wrote: > Hi all, > > As you might guess if you've been looking at Jira and the dev list lately, > I've been working on purchases and sales generating GL transactions. > > Please have a look at the createAcctgTransForPurchaseInvoice method in > appli

Re: Invoice Item type copied into GL Account type?

2017-02-10 Thread Christian Geisert
Paul, I too stumbled over this some time ago, changed it to a glAccountTypeId and was surprised that the glAccountId wasn't found anymore. Yes, it's irritating and should be changed.. And I agree with Taher to convert this to Groovy (all Minilang ;) Let's start with tests. Christian Am 10.02.2

Re: Invoice Item type copied into GL Account type?

2017-02-10 Thread Taher Alkhateeb
Looks very wrong to me. Two different type sets should not be just copied over. While we're at, it might be better to rewrite this in Java or Groovy On Feb 10, 2017 11:05 AM, "Paul Foxworthy" wrote: > Hi all, > > As you might guess if you've been looking at Jira and the dev list lately, > I've b

Invoice Item type copied into GL Account type?

2017-02-10 Thread Paul Foxworthy
Hi all, As you might guess if you've been looking at Jira and the dev list lately, I've been working on purchases and sales generating GL transactions. Please have a look at the createAcctgTransForPurchaseInvoice method in applications/accounting/minilang/ledger/GeneralLedgerServices.xml line 20