on 2012 Aug 14 9:22 AM
Hello,
I am working on CRM 7.0 Ehp1. I have a requirement to create date management for service request. I have to create custom duration, date types and date rule for this. Based on the status of service request i have to calculate date and time in date rules. Can some one help me how to write logic of date rules.
Thanks,
Nizam
Request clarification before answering.
AA=BB date type+CC duration
<?xml version="1.0"?>
<TimeRule>
<TimeRuleSource>
<ruleline>
<AssignTimeExp>
<VarTimeExp name="RESULT" position='F'/>
<MoveTimeExp direction="+">
<VarTimeExp name="BB date type" position='F'/>
<VarDuraExp name="CCduration" />
</MoveTimeExp>
</AssignTimeExp>
</ruleline>
</TimeRuleSource>
</TimeRule>
AA=BBdate type+CCduration+DDduration
<?xml version="1.0"?>
<TimeRule>
<TimeRuleSource>
<ruleline>
<AssignTimeExp>
<VarTimeExp name="RESULT" position='F'/>
<MoveTimeExp direction="+">
<MoveTimeExp direction="+">
<VarTimeExp name="BBdate type" position='F'/>
<VarDuraExp name="CCduration"/>
</MoveTimeExp>
<VarDuraExp name="DDduration"/>
</MoveTimeExp>
</AssignTimeExp>
</ruleline>
</TimeRuleSource>
</TimeRule>
AA=BBdate type+CCduration-DDduration+EEduration
<?xml version="1.0"?>
<TimeRule>
<TimeRuleSource>
<ruleline>
<AssignTimeExp>
<VarTimeExp name="RESULT" position='F'/>
<MoveTimeExp direction="+">
<MoveTimeExp direction="-">
<MoveTimeExp direction="+">
<VarTimeExp name="BBdate type" position='F'/>
<VarDuraExp name="CCduration"/>
</MoveTimeExp>
<VarDuraExp name="DDduration"/>
</MoveTimeExp>
<VarDuraExp name="EEduration"/>
</MoveTimeExp>
</AssignTimeExp>
</ruleline>
</TimeRuleSource>
</TimeRule>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.