Page 1 of 1

Creditor Purchases/ Purchases / Ledger Number

PostPosted: Wed Mar 30, 2022 7:23 pm
by Ernst
The client wants to allocate Creditor purchases to Vehicle and rep codes, so we have loaded these up to the Job Cost codes for them. They also use it in Journals, cash book payments etc.

But when they choose a Job Cost code on the Creditor Purchases/ Purchases, it blanks out the option to choose the ledger, so they cannot allocate the cost to Fuel/ Vehicle rego etc.

Is it possible in a plugin to make this Ledger column always changeable, even if a Job code is chosen.

We tried it on the demo and it does the same thing. Thx for help.

Re: Creditor Purchases/ Purchases / Ledger Number

PostPosted: Wed Apr 06, 2022 8:24 am
by Ernst
Any idea on this?

Re: Creditor Purchases/ Purchases / Ledger Number  Topic is solved

PostPosted: Sat Apr 09, 2022 7:12 pm
by SBarnes
I think your biggest problem is the displayline and displaylines functions are private to the form so for starters and these lock the columns.

You would have to get in behind any event that causes them to be called which be in a fair few places, looking in AddHandlers for the form looks to be about at least 10 events.

But even if you can make that happen I'm not sure that you wouldn't also break the business logic itself in how it is expecting choosing the job number to be chosen to control the outcome at the line level itself.

This one might be a bridge too far in terms of customisations but Scott or Mike would have to confirm that.

Re: Creditor Purchases/ Purchases / Ledger Number

PostPosted: Tue Apr 19, 2022 3:32 pm
by Ernst
Thanks Stuart.. We have got a quote from JIWA to do this, just waiting for clients confirmation to go ahead.