; Define your Customer Rules to control Objects.P.State depending on JobResults.
; Task: Delete not Used Examples, Edit Rules as required.
; #Doc1: to change State of other Process.Groupes add def at the end of the Rule.
; #Doc1: |-> Example:[P01.Stat=M.Start] [P02.Stat=M.Start] [PRf.Stat=Rf.Start]
; #Doc2: to reset status to previous state when result code is empty use def [P.Stat={PreState}]
; #Doc2: |-> Example: [RuleID=PreState] [O.Type=*] [J.ResCode=] [J.ResMsg=*] [J.ResWarn=*] [P.Stat={PreState}]
; Date of Template : 24.08.2012
; ---- Rules: Standard
[RuleID=Default]  [P.Stat=D]
[RuleID=OK]       [O.Type=*]       [J.ResCode=0]  [J.ResMsg=*] [J.ResWarn=0] [P.Stat=D.OK]
[RuleID=Err]      [O.Type=*]       [J.ResCode<>0] [J.ResMsg=*] [J.ResWarn=*] [P.Stat=D.ERR]
[RuleID=Warn]     [O.Type=*]       [J.ResCode=*]  [J.ResMsg=*] [J.ResWarn=1] [P.Stat=D.WRN]
; ---- Rules: Refile: AP Basis
[RuleID=Default]  [P.Stat=D]
[RuleID=OK]       [O.Type=MASTER]  [J.ResCode=0]  [J.ResMsg=*] [J.ResWarn=0] [P.Stat=D.RfBa.OK]
[RuleID=OK]       [O.Type<>MASTER] [J.ResCode=0]  [J.ResMsg=*] [J.ResWarn=0] [P.Stat=D.Rf.OK]
[RuleID=Err]      [O.Type=*]       [J.ResCode<>0] [J.ResMsg=*] [J.ResWarn=*] [P.Stat=D.RfBa.ERR]
[RuleID=Warn]     [O.Type=*]       [J.ResCode=*]  [J.ResMsg=*] [J.ResWarn=1] [P.Stat=D.RfBa.WRN]
; ---- Rules: Refile: AP MCS
[RuleID=Default]  [P.Stat=D]
[RuleID=OK]       [O.Type=*]       [J.ResCode=0]  [J.ResMsg=*] [J.ResWarn=0] [P.Stat=D.Rf.OK]
[RuleID=Err]      [O.Type=*]       [J.ResCode<>0] [J.ResMsg=*] [J.ResWarn=*] [P.Stat=D.RfMc.ERR]
[RuleID=Warn]     [O.Type=*]       [J.ResCode=*]  [J.ResMsg=*] [J.ResWarn=1] [P.Stat=D.RfMc.WRN]
