ONYX - Utilisation - Eclatement XML Pivot/en
Différence entre versions
(Page créée avec « =Ideas for developments= ») |
(Page créée avec « *Manage the split part towards a command (map_lp for sending to queues for example) *Manage the load balancing part by splitting to several different directories *Manage t... ») |
||
Ligne 32 : | Ligne 32 : | ||
=Ideas for developments= | =Ideas for developments= | ||
− | * | + | *Manage the split part towards a command (map_lp for sending to queues for example) |
− | * | + | *Manage the load balancing part by splitting to several different directories |
− | * | + | *Manage the possibility of splitting several values |
Version actuelle datée du 3 janvier 2025 à 13:39
Sommaire
Introduction
The purpose of the program is to split a Pivot XML file into one file by <doc> tag of the input Pivot XML file. This step is, for example, essential for the EINVOICING electronic invoicing connector
In the current version, splitting can be done only in a directory. Therefore the use of a scanfolder will be necessary for processing these.
Prerequisites
- The Connect key must be activated on the Efalia Compose server
- Know XML feeds
Examples
Splitting with naming with the value of a field
"C:/MAPPING/M-Processing Server/Applications/maprunrpt" -rptname:SPLITPIVOT -param:DB.data_file="C:\work\out_pivot.xml" -param:DB.outfile_folder_path="C:\out" - param:DB.outfile_name="invoice_BT-1.xml"
The command will create as many files as there are <doc> tags present in the input file out_pivot.xml. The files will be named invoice_xxx.xml with xxx the value of the BT-1 field for the current <doc>.
Splitting with automatic naming
"C:/MAPPING/M-Processing Server/Applications/maprunrpt" -rptname:SPLITPIVOT -param:DB.data_file="C:\work\out_pivot.xml" -param:DB.outfile_folder_path="C:\out.xml " -param:DB.outfile_name="invoice.xml"
The command will create as many files as there are <doc> tags present in the input file out_pivot.xml. The files will be named invoice_xxx.xml with xxx as an increment (increment given by the <doc> number in the input file)
Ideas for developments
- Manage the split part towards a command (map_lp for sending to queues for example)
- Manage the load balancing part by splitting to several different directories
- Manage the possibility of splitting several values