Documentation >
MAC-PAC Reference Library >
Distribution >
Expert Configurator >
Key Concepts and Procedures >
Expert Configurator Rules >
Price Detail Rule
Price Detail Rule
A price detail rule results in the creation of a price detail record. Each record represents detailed component values of the final line price, when the price is configured. Price components are associated either with an option or with a user-defined price component description.
The price detail information can be printed on the standard reports as indicated by the print code, or you may create custom reports. The Price Detail File for sales orders is EC240AP, and for quote orders it is EC240AP2.
Note: If the parent part of a configured item is processed using the Price Detail Rule, then the Finalize Cost Rule determines the cost, not the cost generation process. This is because the a manufacturing order is not processed for a purchased part.
Identification
System Identifier: 15
Valid Rule Categories: Pricing Rules
Action Expression 1
Description: There are four parts to this expression:
|
|
|
2
|
Sequence number
|
User-defined number used to specify the order in which price elements will be printed on the reports. The same sequence number can be used more than once.
|
1
|
Print code
|
Indicates the standard reports where price detail information will be printed. Valid codes are defined on Reference File category Y33. Print Detail rules were designed to print only on distribution documents (for example sales orders, quotes, invoices, etc.).
|
1
|
Option flag
|
Indicates if the price detail is associated with an option. Valid values are Y (yes) and N (no).
|
up to 25
|
Option name or price description
|
If the price detail is associated with an option (option flag = Y), enter the option name.
(15 characters allowed)
If the price detail is not associated with an option (option flag = N), enter a description of the price detail. (25 characters allowed)
|
Expression Type: Non-Syntax
Length: 30
Interpreted Type: N/A
Note: Enter all segments of this expression one after the other, without any separators. For example, 01AYCOLOR may mean sequence 01; print code A; Yes, this price detail record is for an option; and option name COLOR.
Action Expression 2
Description: Value of the price component.
Expression Type: Syntax
Length: 320
Interpreted Type: Numeric
Note: Interpreted expression must result in a positive number.
Add a Price Detail Rule
1. Display the Rules Maintenance Function Select screen.
a. Select the Expert Configurator option from the System Application Menu.
b. Select the Pricing Rule Maintenance option from the Expert Configurator Application Menu to display the select screen.
2. Enter the Function Select information.
a. Assign a unique number to the rule.
b. Enter the action code for a price detail rule in the Action Code field. Action codes are defined in Reference File category Y03.
c. Enter 1 (addition) in the Maintenance Code field.
d. Press the Enter key to display the header screen.
3. Enter the header information. See the Standard Rules Header screen (EC100S03) in the Screens Section of this manual for more information.
4. Press the Enter key to display the detail screen.
5. Enter the detail information.
a. Enter the condition statement. (Optional)
The condition determines if the rule result is true or false. If the condition expression is interpreted as true, the action expressions are processed. Rules are released based on the result of the condition. If no condition is entered, the condition is interpreted as true.
b. Enter the value of the sequence/code/option/variable field.
The SEQ field is the first two characters of this field. These characters must be numeric. The SEQ field will be used to determine the print order of price element records on reports. The CODE field is the third character of this field and is one character long. This is the PRINT CODE as defined on Reference File category Y33. The PRINT CODE determines where price elements will be printed. The OPTION field is the fourth character of this field. The OPTION FLAG is used to determine if the value in the VARIABLE portion of this field is an option name from a screen generation rule or a user defined price element description. Valid values for the OPTION FLAG are Y and N. The VARIABLE field begins in the fifth position of this filed. If the OPTION FLAG is Y then only a 15 character option name can be entered. This option name must be found on a screen generation rule. If the OPTION FLAG is N then the user may use 25 characters to define the price element. The VARIABLE portion of this filed cannot be blank and the last character in this field must always be blank.
c. Enter the value of the price element.
The price element is interpreted by the Expert Configurator. This must be in correct syntax.
6. Press the Enter key to add this price detail rule to the Rule Master File.
Change a Price Detail Rule
1. Select the Pricing Rule Maintenance option from the Expert Configurator Application Menu to display the select screen.
2. On the Pricing Rule Maintenance Function Select screen:
a. Enter the price detail rule number in the Rule Number Field.
b. Enter a 2 in the Maintenance Code field to change the header information for the rule. Enter a 3 in the Maintenance Code field to change the detail information for the rule.
Reactivate or Deactivate a Price Detail Rule
1. Select the Pricing Rule Maintenance option form the Expert Configurator Menu to display the select screen.
2. On the Pricing Rule Maintenance Function Select screen:
a. Enter the price detail rule number in the Rule Number field. All rules released by this rule must be deactivated before this rule can be deactivated.
b. Enter a 4 in the Maintenance Code field to deactivate the rule. Enter a 5 in the Maintenance Code field to reactivate the rule.
3. Press the Enter key to deactivate or reactivate the price detail rule.
4. Press F3 to exit without deactivating or reactivating the rule.