MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Reference Library > Distribution > Expert Configurator > Key Concepts and Procedures > Exhibit C: Finalize Date Rule Example > Example

Example

 

The following is an example of how the rules could look in order to determine the promised ship date for the configured item:  BIKE-1000.  See the figure below for the rule tree showing rule numbers and rule types used in creating BIKE-1000.

 

 

RL001 10              CP

 

RL001 20          CP

 

RL001 30          V2

RL001 00          SG

RL001 40          V2

 

RL001 50          CP

 

RL001 60          CP

 

RL002 00          FD

 

 

          The Rule Tree Used in BIKE-100.

 

The rules are defined as follows:

Rule RL001 00 is the releasing rule.

 

WILLIAMS   PLT BEL           EXPERT CONFIGURATOR                       7/22/92

 DSP01               SALES ORDER SCREEN RULE MAINTENANCE                 DETAIL

                                                                               

Rule Number     RL001 00     SCREEN FOR COMMIT DATE                            

Part Number     BIKE-1000       TEST NEW EC RULES                 Version    RL

                                                                               

                                              P                                

 Sq Option          Description               C Opt Def  Default Value   Cat Typ

                                                                               

  1 COMMITDATE      Commit Date               1  7  0  N                      M

  2 PRICING         Perform Pricing           1  1     A Y                    R

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                                

                                                                              +

                                                                               

                                                                               

 F2=Command          F3=Exit             F4=Prompt           F7=Header         

 F9=Inquiry          F10=Function Select F15=Rekey Data                        

                                                                                

 

          The Releasing Rule (RL001 00).

 

Rule RL001 10 is a create parameter rule for a calendar code (Type = A).

 

WILLIAMS   PLT BEL           EXPERT CONFIGURATOR                       7/22/92

 DSP01                   SALES ORDER RULE MAINTENANCE                    DETAIL

                           CREATE EXTERNAL PARAMETER                           

Rule Number     RL001 10 Part Number      BIKE-1000       Action Code CP Vers RL

 Condition                                                                      

                                                                               

                                                                               

                                                                               

                                                                               

 PARAMETER FIELD TYPE                                                          

A                                                                               

                                                                               

                                                                               

                                                                               

 PARAMETER VALUE                                                               

I-WDCLCD                                                                       

                                                                                

                                                                               

                                                                               

                                                                               

                                                                               

 F2=Command          F3=Exit             F7=Header           F9=Inquiry        

 F10=Function Select F15=Rekey Data                                            

                                                                                

 

      The Create Parameter Rule for a Calendar Code Type = A (RL001 10).

 

Rule RL001 20 is a create parameter rule for a calendar date in YYMMDD format (Type = N).

 

WILLIAMS   PLT BEL           EXPERT CONFIGURATOR                       7/22/92

 DSP01                   SALES ORDER RULE MAINTENANCE                    DETAIL

                           CREATE EXTERNAL PARAMETER                           

Rule Number     RL001 20 Part Number      BIKE-1000       Action Code CP Vers RL

 Condition                                                                     

                                                                               

                                                                               

                                                                               

                                                                               

 PARAMETER FIELD TYPE                                                           

N                                                                              

                                                                               

                                                                               

                                                                               

 PARAMETER VALUE                                                               

O-COMMITDATE                                                                   

                                                                                

                                                                               

                                                                               

                                                                               

                                                                               

 F2=Command          F3=Exit             F7=Header           F9=Inquiry        

 F10=Function Select F15=Rekey Data                                             

                                                                               

 

      The Create Parameter Rule for a Calendar Date in YYMMDD Format

  Type = B (RL001 20).

 

Rule RL001 30 is a secondary variable rule that uses the external variable P-ECCLSP.

 

WILLIAMS   PLT BEL           EXPERT CONFIGURATOR                       7/22/92

 DSP01                   SALES ORDER RULE MAINTENANCE                    DETAIL

                               SECONDARY VARIABLE                              

Rule Number     RL001 30 Part Number      BIKE-1000       Action Code V2 Vers RL

 Condition                                                                     

                                                                               

                                                                               

                                                                               

                                                                                

 VARIABLE NAME                                                                 

COMMITDATE                                                                     

                                                                               

                                                                               

                                                                               

 VALUE                                                                         

P-ECCLSP                                                                        

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

 F2=Command          F3=Exit             F7=Header           F9=Inquiry        

 F10=Function Select F15=Rekey Data                                            

                                                                               

 

The Secondary Variable Rule that Uses the External Variable P-ECCLSP (RL001 30).

 

Rule RL001 40 is a secondary variable rule that uses the internal variable WDLTSD.

 

WILLIAMS   PLT BEL           EXPERT CONFIGURATOR                       7/22/92

 DSP01                   SALES ORDER RULE MAINTENANCE                    DETAIL

                               SECONDARY VARIABLE                              

Rule Number     RL001 40 Part Number      BIKE-1000       Action Code V2 Vers RL

 Condition                                                                     

                                                                               

                                                                               

                                                                               

                                                                                

 VARIABLE NAME                                                                 

COMMITDATE                                                                     

                                                                               

                                                                               

                                                                               

 VALUE                                                                          

(S-COMMITDATE,+,I-WDLTSD)                                                      

                                                                               

                                                                               

                                                                               

                                                                               

                                                                                

 F2=Command          F3=Exit             F7=Header           F9=Inquiry        

 F10=Function Select F15=Rekey Data                                            

                                                                               

 

The Secondary Variable Rule Using Internal Variable WDLTSD (RL001 40).

 

Rule RL001 50 is a create parameter rule for the calendar code (Type = A).

 

WILLIAMS   PLT BEL           EXPERT CONFIGURATOR                       7/22/92

 DSP01                   SALES ORDER RULE MAINTENANCE                    DETAIL

                           CREATE EXTERNAL PARAMETER                           

Rule Number     RL001 50 Part Number      BIKE-1000       Action Code CP Vers RL

 Condition                                                                     

                                                                               

                                                                               

                                                                                

                                                                               

 PARAMETER FIELD TYPE                                                          

A                                                                              

                                                                               

                                                                               

                                                                                

 PARAMETER VALUE                                                               

I-WDCLCD                                                                       

                                                                               

                                                                               

                                                                               

                                                                               

                                                                                

 F2=Command          F3=Exit             F7=Header           F9=Inquiry        

 F10=Function Select F15=Rekey Data                                            

                                                                               

 

    The Create Parameter Rule for a Calendar Code Type = A (RL001 50).

 

Rule RL001 60 is a create parameter rule for the shop date (Type = N).

 

WILLIAMS   PLT BEL           EXPERT CONFIGURATOR                       7/22/92

 DSP01                   SALES ORDER RULE MAINTENANCE                    DETAIL

                           CREATE EXTERNAL PARAMETER                           

Rule Number     RL001 60 Part Number      BIKE-1000       Action Code CP Vers RL

 Condition                                                                     

                                                                               

                                                                               

                                                                                

                                                                               

 PARAMETER FIELD TYPE                                                          

N                                                                              

                                                                               

                                                                               

                                                                                

 PARAMETER VALUE                                                               

S-COMMITDATE                                                                   

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

 F2=Command          F3=Exit             F7=Header           F9=Inquiry        

 F10=Function Select F15=Rekey Data                                            

                                                                               

 

      The Create Parameter Rule for the Shop Date Type = N (RL001 60).

 

Rule RL002 00 is the finalize date rule that used the external variable P-ESCPCL.

 

WILLIAMS   PLT BEL           EXPERT CONFIGURATOR                       7/22/92

 DSP01                   SALES ORDER RULE MAINTENANCE                    DETAIL

                             FINALIZE COMMIT DATE                              

Rule Number     RL002 00 Part Number      BIKE-1000       Action Code FD Vers RL

 Condition                                                                     

                                                                               

                                                                                

                                                                               

                                                                               

 COMMIT DATE                                                                   

P-ECSPCL                                                                       

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

 F2=Command          F3=Exit             F7=Header           F9=Inquiry        

 F10=Function Select F15=Rekey Data                                            

                                                                               

 

    The Finalize Date Rule Using External Variable P-ESCPCL (RL002 00).