Sales Order Line field change event  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Sales Order Line field change event

Postby Professional » Fri Feb 21, 2020 3:20 pm

Hi,

Similar to this post viewtopic.php?f=26&t=934&p=3454&hilit=custom+field+change#p3452 I have a requirement, but in Sales Order line entry, to identify an entry made manually in the DiscountPercentage and not where it is changed because of a price change and then to set the UserDefinedFloat1 field to 1.

Is the change event the best for this and what would the code be?

Thanks,
Jeff
Professional
Occasional Contributor
Occasional Contributor
 
Posts: 19
Joined: Mon Dec 08, 2008 3:45 pm

Re: Sales Order Line field change event  Topic is solved

Postby Mike.Sheen » Fri Feb 21, 2020 3:41 pm

Professional wrote:Is the change event the best for this and what would the code be?


Yes, that'll work.

Attached is a sample plugin which does this.
Attachments
Plugin User Modified Sales Order Line field.xml
(27.4 KiB) Downloaded 52 times
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755

Re: Sales Order Line field change event

Postby Professional » Fri Feb 21, 2020 3:53 pm

Thanks Mike.

Perfect, much appreciated
Professional
Occasional Contributor
Occasional Contributor
 
Posts: 19
Joined: Mon Dec 08, 2008 3:45 pm


Return to Technical and or Programming

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron