OPALE - 10.0 - Utilisation - Merger deux spools - MAPMOVDATA/en

Différence entre versions

De MappingDoc
(Page créée avec « - the first spooled file compiles different invoices »)
(Mise à jour pour être en accord avec la nouvelle version de la source de la page)
 
(13 révisions intermédiaires par un autre utilisateur non affichées)
Ligne 1 : Ligne 1 :
This command allows you to copy the data of a spooled file onto the pages of another spooled file. It can be used starting with two spooled files coming from queries: one spooled file for the invoice header and another one with the items listed. MAPMOVDATA should be used after MAPSORTSPL. You will need to add the two spooled files to the same database, MAPMOVDATA will then change this database and add the first spooled file's data at the end of every page of the second spooled file whenever they have the same sorting criteria.
+
<languages />
 +
This command allows you to copy the data of a spooled file onto the pages of another spooled file. It can be used starting with two spooled files resulting from queries: one spooled file for the invoice header and another one with item details. MAPMOVDATA should be used after MAPSORTSPL. You will need to add the two spooled files to the same database, MAPMOVDATA will then edit this database and merge the data in the first file with the data in the other file according to a sorting criterion.
  
  
 
Example:
 
Example:
  
- the first spooled file compiles different invoices
+
- the first spooled file compiles different invoices and the purchased items
  
- le second spool est un fichier d'entête de plusieurs factures
+
- the second spooled file contains invoice headers
  
- on trie les deux spools avec '''MAPSORTSPL''' par numéro de facture
+
- both spooled files are sorted by invoice number using '''MAPSORTSPL'''
 
   
 
   
- '''MAPMOVDATA''' va mettre les articles de chaque facture à la fin des pages d'entête correspondantes
+
- '''MAPMOVDATA''' will add the purchased items underneath the corresponding headers.
  
- On déclenche l'impression des spools : commande '''MAPSORTSPL''' avec le paramètre '''MBROPT''' à '''*NONE'''
+
- To start printing the spooled files, use command '''MAPSORTSPL''' with parameter '''MBROPT''' set to '''*NONE'''
  
* Line Number : numéro de la ligne à partir de laquelle on copie
+
* Line Number: the number of the line from which you start copying
* Name of DataBase for sort : nom de la base de données (la même que pour les MAPSORTSPL)
+
* Name of DataBase for sort: name of the database (same one as for MAPSORTSPL)
* Spool file number to copy : numéro du spool à copier à la fin de l'autre (correspond au numéro d'ajout de la commande MAPSORTSPL)
+
* Spool file number to copy: number of the spooled file that will be copied at the end of the other one (matches the addition number of the MAPSORTSPL command)
* Spool file number to update : numéro du spool à modifier
+
* Spool file number to update: number of the spooled file that will be edited
* Length of the input spoolfile : longueur du PRTF
+
* Length of the input spoolfile: length of the PRTF
* Delete copy spool file : suppression des pages du spool copié
+
* Delete copy spool file: deletes the pages of the duplicated file

Version actuelle datée du 4 juin 2019 à 09:29

Autres langues :
English • ‎français

This command allows you to copy the data of a spooled file onto the pages of another spooled file. It can be used starting with two spooled files resulting from queries: one spooled file for the invoice header and another one with item details. MAPMOVDATA should be used after MAPSORTSPL. You will need to add the two spooled files to the same database, MAPMOVDATA will then edit this database and merge the data in the first file with the data in the other file according to a sorting criterion.


Example:

- the first spooled file compiles different invoices and the purchased items

- the second spooled file contains invoice headers

- both spooled files are sorted by invoice number using MAPSORTSPL

- MAPMOVDATA will add the purchased items underneath the corresponding headers.

- To start printing the spooled files, use command MAPSORTSPL with parameter MBROPT set to *NONE

  • Line Number: the number of the line from which you start copying
  • Name of DataBase for sort: name of the database (same one as for MAPSORTSPL)
  • Spool file number to copy: number of the spooled file that will be copied at the end of the other one (matches the addition number of the MAPSORTSPL command)
  • Spool file number to update: number of the spooled file that will be edited
  • Length of the input spoolfile: length of the PRTF
  • Delete copy spool file: deletes the pages of the duplicated file