Difference between revisions of "OS4X plugin os4xplugin create internal job"

From OS4X
Jump to navigation Jump to search
 
Line 10: Line 10:
  
 
[[File:Bildschirmfoto 2026-01-08 um 14.24.58.png]]
 
[[File:Bildschirmfoto 2026-01-08 um 14.24.58.png]]
 +
 +
The referenced job number can be obtained via the XPath "<code>/OS4X_job/internal_jobreference</code>". When restarting the plugin, the previous value will be overwritten.
  
 
== Return codes ==
 
== Return codes ==
 
*0: everything OK
 
*0: everything OK
 
*1: Number of parameters != 1; Config file <code>/etc/os4x.conf</code> not found; Config in database not readable; License not valid; XML file invalid
 
*1: Number of parameters != 1; Config file <code>/etc/os4x.conf</code> not found; Config in database not readable; License not valid; XML file invalid

Latest revision as of 13:29, 8 January 2026


Purpose

Creates a new order from the transferred order, whereby the sender and addressee are swapped. This plugin is very suitable for avoiding unnecessary overhead when generating internal orders (i.e. those that will not leave the system). The plugin group of the new recipient (i.e. the old sender) is executed again with the order files.

The created job is saved as a reference in the database (which makes it possible to be searched for in OS4X Webaccess), also a link is displayed in OS4X Webaccess:

Bildschirmfoto 2026-01-08 um 14.24.00.png

Bildschirmfoto 2026-01-08 um 14.24.58.png

The referenced job number can be obtained via the XPath "/OS4X_job/internal_jobreference". When restarting the plugin, the previous value will be overwritten.

Return codes

  • 0: everything OK
  • 1: Number of parameters != 1; Config file /etc/os4x.conf not found; Config in database not readable; License not valid; XML file invalid