Print sales order when XML imported  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Print sales order when XML imported

Postby DannyC » Tue Sep 17, 2024 12:50 pm

I have a plugin which uses the Plugin Scheduler Service to watch a folder for new files to import.

In this case, the client wants to automatically print a picking sheet when the XML file gets imported.

I developed the attached plugin which worked OK in my dev and in their test Jiwa database. But when I deploy to live, doesn't fire the business logic code I've written.
I've even brough their live DB over into my system & tested here & it still doesn't work. I just can't fathom why the business logic code isn't running.

Would be grateful for some hints.
Attachments
Plugin File Watcher WebNinja.xml
(37.04 KiB) Downloaded 3 times
User avatar
DannyC
Senpai
Senpai
 
Posts: 647
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31

Re: Print sales order when XML imported

Postby SBarnes » Tue Sep 17, 2024 1:41 pm

Is it deployed under the same conditions as where you developed it, in other words is this possibly being caused by another plugin in the customers system.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1646
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 182

Re: Print sales order when XML imported  Topic is solved

Postby Scott.Pearce » Tue Sep 17, 2024 3:16 pm

There is no Business Logic reference (see the "Business Logic" tab of the plugin), therefore the code runs for no business logic object. You need to add a reference to "Sales order Entry" on the "Business Logic" tab.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 748
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 225

Re: Print sales order when XML imported

Postby DannyC » Tue Sep 17, 2024 4:19 pm

Scott.Pearce wrote:There is no Business Logic reference (see the "Business Logic" tab of the plugin), therefore the code runs for no business logic object. You need to add a reference to "Sales order Entry" on the "Business Logic" tab.


Flipping heck, I'm a duffer. I've done these plugins so many times its the obvious simple things that are often overlooked.

Thanks Scott, just needed another pair of eyes :geek:
User avatar
DannyC
Senpai
Senpai
 
Posts: 647
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 9 guests

cron