Number Ranges and Rules - Intergraph Smart Materials - Version 2020 (10.0) - Training - Hexagon

Intergraph Smart Materials Classic Lab Tutorials (2020)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Training
Smart Materials/Smart Reference Data Version
2020 (10.0)

You can define number ranges and rules for the automatic creation of agreement numbers. On the P.50.01 Agreements screen, the Automatic Number button is available. If you click this button, an agreement number is created using a pre-defined rule. The rule that is used for the generation is specified by the project default ZP_PORULE.

Number ranges and rules are defined on the P.10.35 Number Ranges and Rules screen.

To define a number range on the Ranges tab, enter a name for the number range in the Number Range field. In the From and To fields, you specify the start and end value of the number range. When you have already created numbers with this number range, the most recent number value is displayed in the Current Value field. The Comment field can be used to add a range description or comment.

The Number Rules tab can be used to define the way in which a number (name) is generated by means of number rules.

To define a number rule, enter the rule name in the Number Rule field and the descriptions in the Short Desc and Description fields. The rule is defined in the Rule Definition field. For the rule definition, you can use any fixed text in combination with several predefined parameters. To add parameters to the rule definition, use the LOV to select the parameters from the list of available values. The parameters listed below can be used.

  • PROJECT

  • DISC

  • DISC_ABBREV

  • DEPT

  • R_CODE

  • PO_NUMBER

  • ACCOUNT(n)

  • ZP_INQRANG

  • ZP_PORANG

  • ZP_PCORANG

These parameters must be delimited by the special character #. Free text must be entered without this special character. If you select the parameters from the LOV, the delimiters will be set automatically.

The rule parameters DISC and DISC_ABBREV will be replaced by the discipline code and the discipline abbreviation, respectively. The replacement discipline can be either the login discipline or the discipline of the associated engineering requisition; the project default ZP_REQ_DP determines which discipline replaces the parameters.

The rule parameter DEPT corresponds to the Department field in A.20.05 User.

The rule parameter R_CODE will be replaced by the name (code, number) of the assigned engineering requisition. If more than one requisition has been assigned, the requisitions will be ordered by name and the name of the first requisition is used. If no requisition has been assigned so far, this rule element will be ignored.

The rule parameter PO_NUMBER is valid only in the context of change order requests. PO_NUMBER will be replaced by the name (code, number) of the agreement to which the created change order request will be assigned.

The n in the rule parameter ACCOUNT(n) stands for any positive number. The parameter ACCOUNT(n) will be replaced by the first n characters of the account code of the requisition on which the inquiry is based. Account code means the account code stored directly on a requisition. ACCOUNT(n) will be replaced by '' if no account code has been assigned to the requisition. If more than one requisition is associated with the inquiry, the requisitions will be ordered by name (code). The account code of the first requisition will be a part of the inquiry or order number. Only requisitions with an account code will be taken into account.

If the project defaults ZP_INQRANG, ZP_PORANG, or ZP_PCORANG are properly set, you can assign the number range to the rule.