ZP_INQRULE - Intergraph Smart Materials - Version 10.2 - Administration & Configuration - Hexagon

Intergraph Smart Materials Classic Administration (10.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Administration & Configuration
Smart Materials/Smart Reference Data Version
10.2

This project default specifies the rule for the automatic generation of inquiry numbers.

If you want inquiry numbers to be generated automatically, you either must define a rule on P.10.35 Number Ranges and Rules, or you must set this project default.

For which discipline the value of this default is taken depends on the setting of project default ZP_REQ_DP.

If ZP_REQ_DP is set to Y, the discipline of the associated requisition(s) is used. Otherwise, the currently set discipline is used.

In addition to text, the following rule elements are available:

  • PROJECT

  • DISC

  • DISC_ABBREV

  • DEPT

  • R_CODE

  • ACCOUNT(n)

  • ZP_INQRANG

These objects must be delimited by the special character #. Text is to be entered without this special character.

The rule tokens DISC and DISC_ABBREV are replaced by the discipline code and the discipline abbreviation, respectively. The discipline for this replacement - the currently set discipline or the discipline of the associated engineering requisition(s) - depends on the setting of project default ZP_REQ_DP.

The rule element DEPT corresponds to the Department field on A.20.05 User.

The rule element 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 taken. If no requisition has been assigned so far, this rule element is ignored.

In the rule element ACCOUNT(n), n stands for any positive number. The token 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, not the account codes maintained via J.20.01. Account codes can only be maintained on J.20.01 if you are using the account code functionality, that is, when ZJ_USE_AC set to Y.

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 are ordered by name (code). The account code of the first requisition is a part of the inquiry number. Only requisitions with an account code are taken into account.

If you want the number ranges defined on P.10.35 Number Ranges and Rules to be a part of the inquiry number, you must set a value for ZP_INQRANG.

The automatic generation of an inquiry number is available on P.30.21 Prepare RFQ (Automatic Number button). If an inquiry is automatically created on the Requisition Workload screen using Create Inquiry button, this rule definition is also considered.

  • Module(s) affected by this setting: Requisition Workload, Inquiries Overview, P3001, P3021

  • Default value: ./.

  • List of Values: P1035 Number Rule