Development > Utilities > Dictionary > Copies > Dictionary 

This function is used to carry out a mass copy of all the dictionary elements from one folder to another. These dictionary elements can be defined by check boxes, name ranges and by date (elements updated more recently than a given date).

It is also possible to filter only the elements to copy from a particular module, by using a specified activity code.

Finally, the transfer of an element can accompany the copying of associated processes, and the validation phase of the dictionary on the elements copied to the target folder can also be launched.

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Presentation

Firstly the source folder must be defined followed by the target folder. By default, the current folder is proposed, but it is possible to give the name of another accessible folder, using the syntax detailed in the annex documentation.

The elements corresponding to the data to be copied are then entered in the form :

Finally define if the elements should be defined in the target folder after the copy.

This operation, which can have a long duration, displays a log file when it finishes.

Close

 

Fields

The following fields are present on this tab :

Block number 1

  • Source folder (field DOSORG)

This field is used to define the folder from which the record is going be copied. The possible syntaxes are described in the dedicated appendix.

  • Destination folder (field DOSDES)

This field used to define the folder in which the record is going be copied. The possible syntaxes are described in the dedicated appendix.

Object to process

  • Tables (field TABLE)

If the checkbox is ticked, the corresponding elements are taken into account in the process.

  • Views (field VUE)

 

  • Screens (field ECRAN)

 

  • Data type (field TYPDON)

 

  • Actions (field ACTION)

 

  • Functions (field FONCTION)

 

  • Objects (field OBJET)

 

  • Windows (field FENETRE)

 

  • Inquiries (field CONSULT)

 

  • Miscellaneous table set-up (field TABDIV)

 

  • Messages (field MESSAGE)

 

  • Scripts (field TRAIT)

 

  • Reports (field ETAT)

 

  • Classes (field ACLA)

 

  • Representations (field ASW)

 

Block number 3

These fields are used to give the start and end range for the codes to be processed.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • From (field MESDEB)

 

  • To (field MESFIN)

 

  • From (field TRTDEB)

 

  • To (field TRTFIN)

 

 

 

 

 

 

 

Table Installed modules

  • No. (field NUMLIG)

Current line of the grid

  • Module (field MODULE)

This grid gives the list of modules from which the elements to be copied can be selected.

  • Copy (field COPMOD)

If this field is equal to Yes, the elements for the selected modules are also copied.

Block number 4

  • Associated scripts (field COPTRT)

Used to specify that the processes associated with the copied elements (screens, actions, objects, inquiries) are also copied.

This flag also cause the copy of the Crystal Reports reports associated with the dictionary elements for the reports when these are copied.

  • Dictionary validation (field VALDIC)

Used to trigger the validation of the elements (tables, views, screens, windows, objects, inquiries, functions) in the destination folder after the copy. This validation is only possible if the current server associated with the folder is the same as the server for the destination folder. If this is not the case, an error message will indicate this fact in the log file for the copy.

Block number 5

  • Since (field DATDEB)

If this date is entered, only the data where the last modification or creation date is later than or equal to it are viewed in the inquiry.

If an activity code is entered here, only the elements marked with the activity code in question are copied.

Close

 

Functions accessed by right click on the grid

Yes to all the rest

When there is an grid with multiple choice entries with a choice of response Yes / Noon each line, this function is used to respond Yes to all the lines from this line.

No to all the rest

When there is an grid with multiple choice entries with a choice of response Yes / Noon each line, this function is used to respond No to all the lines from this line.

 

Fermer

 

Batch tasks

This function can be executed in batch mode, but no dedicated standard task is delivered to execute it.

Error messages

At the launch of the function

In addition to the generic error messages, the following messages can appear during the entry :

server : machine not accessible

The server with the name server does not respond (either because it is not accessible via the network or the service daemon adxd has not been launched).

In the log file

This function creates an execution log file, file in which the following errors may be found :

Validation impossible on remote machine

The Validation box has been checked, but the server on which the destination folder is found does not correspond to the server on which the folder from the copy is launched is found.

Abbreviation exists already

The table that is to be copied has the same abbreviation as another table in the destination folder.

It view already exists with the same name

The table that is to be copied has the same name as another view in the destination folder.

It table already exists with the same name

The view that is to be copied has the same name as a table in the destination folder.

Tables used

SEEREFERTTO Refer to documentation Implementation