jiwa Timeout expired

Discussions relating to plugin development, and the Jiwa API.

Re: jiwa Timeout expired

Postby redpoint » Tue Jun 16, 2020 10:06 am

Hello Mike,

I think fixed the above issue, I have one more issue. We are trying to pass shipping cost from woocommerce to Jiwa. I have a partnumber which we call Freigh with a default price $15.

But somehome, I cannot override that price. Can you please tell me what is the issue?

Here is Jason example:

{"DebtorID":"XXXXXXXXX","InitiatedDate":"2017-09-20","OrderNo":"174777","SOReference":"Test order","Lines":[{"PartNo":"BRE55D23RMF","QuantityOrdered":5, "PriceExGst": 123.11},{"CommentLine":"true","CommentText":"This is a comment line"}],
"Payments":[{"PaymentRef":"S454873-J5","AmountPaid":50.00}]}
redpoint
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Tue Feb 25, 2020 3:17 pm

Re: jiwa Timeout expired

Postby Mike.Sheen » Tue Jun 16, 2020 12:53 pm

Instead of providing the field PriceExGST in the DTO, provide DiscountedPrice.

PriceExGST is more like the list price, but DiscountedPrice is what you actually are selling for. Omitting DiscountedPrice will cause the system to work the price out for you, based on all the pricing scheme rules.
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: jiwa Timeout expired

Postby redpoint » Thu Jun 18, 2020 10:58 am

Great Mike, thanks its solved the issue.

I am having another issue, I am using the same Jason and having this ZRounding partno which automatically adding every time sales occurred.

Error Screenshot: http://prntscr.com/t1qs2d

Can you please hep me with this?

Thanks
redpoint
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Tue Feb 25, 2020 3:17 pm

Re: jiwa Timeout expired

Postby Scott.Pearce » Thu Jun 18, 2020 3:28 pm

That would occur if you add the lines normally through Jiwa, so it's not an API issue per-se. Out of the box Jiwa has a plugin called "Sales Orders - Round Cash Sales to Nearest 5c" which will add a non-inventory item called "ZRounding" to he sales order to ensure that the total of the order is a multiple of 5 cents. I suspect this plugin is enabled.
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

Previous

Return to Technical and or Programming

Who is online

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

cron