Setup > Destinations > Print code 

A print code is a code that is used to launch the automatic reports within the software functions. A print is a generic term that can correspond :

In the management of the objects and functions, two internal codes are entered to trigger a print. These two codes are called Printand List; they correspond to the use of the functions of the same name in the File menu in the functions.

In a more general fashion, certain transactions automatically trigger a print within the document management. In this case, the print code is defined either by the general parameters or from within the parameterization of a transaction.

This table is used to associate a print code (called "internal code") with or more reports, requests, sql requests or exports. This association can be independent of the user connection language or depend on it.

When an internal code is called :

  • if no line corresponding to it is found in this table, the supervisor consider that it is a code for a report and will launch it. This is used, when an attempt is made simply to print a report from a function, to give its code as an internal code without having entered anything else.
  • if a single line corresponding to it is found, the supervisor uses the substitution and launches the corresponding print.
  • if several lines are possible, a window opens to give the choice to the user.

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Presentation

The entry of the print codes is made globally in the grid. Each line of the grid is used to associate an internal code for a print.

Close

 

Fields

The following fields are present on this tab :

Table

  • Internal code (field INTCOD)

Define the internal code that is referenced in the functions, the objects and certain parameterizations, to allow the triggering of a print.

  • Print type (field TYPCOD)

Define the print type used. As a function of this type, it is possible to select the different codes in the following fields.

  • Print code (field EXTCOD)

Used to enter the code for a print, that is to say, according to the value entered in the previous field, a Crystal Reportsreport , an import-export template, a request, or a SQL request.

  • Direct print (field IMPNOW)

If this indicator is set to Yes, the entry of the parameters is inhibited and the print is launched directly. This assumes that the default values exist. They can be in a contextual fashion via the corresponding function. If this function does not return the values in the launch context :

  • In the case of the reports, the default values entered in the report itself will be used.
  • In the case of import/export templates the default value defined via the Criteria button will be used.
  • In the case of the requests, the request will not be ranged if it is recalculated.

For the reports, the default printer will also be used if this indicator is set to Yes. This print can be entered by default in the report or in a contextual fashion.

The language code makes it possible to reserve a report to a particular language.

If the language is not defined, the report is available to all languages.

Close

 

Specific Buttons

Error messages

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

Use the deletion button

This message is displayed when, by the function right click / Delete on the grid, an attempt is made to delete the last line corresponding to a given internal code. This is only possible using the button . In fact, in this case, it is imperative to launch an integrity control that can lead to the refusal of the deletion and the display of one of the two messages displayed below.

Deletion impossible / Key used in the xxxxxx function

An attempt has been made to delete an internal code referenced in the xxxxxx function.

Deletion impossible / Key used in the xxxxxx object

An attempt has been made to delete an internal code referenced in the xxxxxx object.

Tables used

SEEREFERTTO Refer to documentation Implementation