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

From OS4X
Jump to navigation Jump to search
Line 4: Line 4:
 
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).
 
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 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:
 +
 +
[[File:Bildschirmfoto 2026-01-08 um 14.24.00.png]]
 +
 +
[[File:Bildschirmfoto 2026-01-08 um 14.24.58.png]]
  
 
== 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

Revision as of 13:25, 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

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