BoM Quantity - gets reset

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

Re: BoM Quantity - gets reset

Postby Riyaz » Fri May 08, 2020 5:12 pm

Thanks Scott
Riyaz
Kohai
Kohai
 
Posts: 254
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: BoM Quantity - gets reset

Postby Scott.Pearce » Fri May 08, 2020 5:21 pm

OK, I've attached a modified plugin which will hopefully get you going.

The important take away for you should be DO NOT TALK TO THE UI FOR BUSINESS LOGIC OPERATIONS! The UI is dumb and just displays what the underlying business logic object (in this case billMaintenanceForm.BillMaintenance) tells it to. Therefore, if you want to change the behaviour of the business logic (ie. it's data values, calculations, etc.) then do this in the business logic object (or by intercepting it's events). You should only be talking to the UI for display related modifications such as font colour, or number of decimal places to display in a cell, etc.

The bug I found in the Manufacturing code was regarding the fact that we cannot tell which custom field value changed, only that one of them for a given line changed. Not the end of the world, just inefficient because now we perform our calculations event when we don't necessarily need to. I'll log the bug and update this thread with the bug no.

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: BoM Quantity - gets reset

Postby Riyaz » Mon May 11, 2020 4:29 pm

Thanks Scott, all good, appreciate it
Riyaz
Kohai
Kohai
 
Posts: 254
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Previous

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 3 guests