Difference between revisions of "OS4X plugin os4xplugin create internal job"
Jump to navigation
Jump to search
(New page: == Zweck == Erzeugt aus dem übergebenen Auftrag einen neuen Auftrag, wobei Absender und Adressat vertauscht werden. Um ohne unnötigen Overhead bei der Erzeugung interner Aufträge (also ...) |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | [[Category:Plugins]] | |
| − | |||
| − | |||
| + | == 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: |
| − | *0: | + | |
| − | *1: XML | + | [[File:Bildschirmfoto 2026-01-08 um 14.24.00.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 == | ||
| + | *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 | ||
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:
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.confnot found; Config in database not readable; License not valid; XML file invalid

