Problem with DebtorNotePATCHRequest  Topic is solved

Discussions relating to the REST API of Jiwa 7.

Problem with DebtorNotePATCHRequest

Postby SBarnes » Tue Nov 20, 2018 2:39 pm

Hi Guys

There is a problem with DebtorNotePATCHRequest in that ignores setting the LastModifiedByStaffID to a value. The code to deserialise the Note DTO completely ignores the property.

Would there be a way to get around this with a plugin that hooked onto the On Deserialise end, I just need to know how to hook onto the event, somehow and I can code up the rest and post it back as work around?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1617
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Problem with DebtorNotePATCHRequest  Topic is solved

Postby SBarnes » Tue Nov 20, 2018 5:33 pm

The attached plugin will overcome this issue. I also tried to fix the last saved date time as well but for some reason I kept getting database concurrency issues.
Attachments
Plugin Deserialise Debtor Note fix Last Modified.xml
(34.13 KiB) Downloaded 82 times
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1617
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Problem with DebtorNotePATCHRequest

Postby Scott.Pearce » Wed Nov 21, 2018 8:47 am

Please log this as a bug at service.jiwa.com.au so we can fix it in the code for the next release.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 742
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 221

Re: Problem with DebtorNotePATCHRequest

Postby Mike.Sheen » Tue Mar 26, 2019 3:45 pm

This was logged as DEV-6949 and was included in 7.2 SR1.
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


Return to REST API

Who is online

Users browsing this forum: No registered users and 1 guest

cron