OS4X plugin os4xplugin set recipient by engdat light

From OS4X
Jump to navigation Jump to search


Purpose

Sets the addressee of the order in the transferred XML based on the virtual file name and the address code contained therein. As soon as several hits have been found for the same address code, the last database entry is used.

Requirements

  • File /etc/os4x.conf or configuration file referenced by environment variable $OS4X_CFGFILE. The temporary directory and the license file are obtained via the database that is configured here.

Configuration

-

Return codes

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