Hi all
I am new to building script logic code and wanted some pointers on my business requirement, so I can get started:
*XDIM_MEMBERSET REVACCT = RENEWAL_ACV, RNW_CHURN_RT,AVG_CNTRCT_LENGTH_RENEWALS
*FACTOR REVACCT = RNW_CHURN_RT, RENEWAL_ACV
*REC KNWN_FIRST_RNW_ACV, KNWN_FIRST_RNW_Bill_1, KNWN_FIRST_RNW_TCV
What I am trying to do in code above is multiply the values RNW_CHURN_RT by the value in RENEWAL_ACV, and then post that same value into the accounts after the *REC statement above - KNWN_FIRST_RNW_ACV, KNWN_FIRST_RNW_Bill_1, KNWN_FIRST_RNW_TCV.
But what if I have to post them to a different period based on the value in AVG_CNTRCT_LENGTH_RENEWALS.
For example, say that the value in AVG_CNTRCT_LENGTH_RENEWALS is 25, so I need to record the value that results from the FACTOR statement above in the month that the RENEWAL_ACV, RNW_CHURN_RT,AVG_CNTRCT_LENGTH_RENEWALS + 25 months.
So if RENEWAL_ACV, RNW_CHURN_RT,AVG_CNTRCT_LENGTH_RENEWALS were submitted in January 2013, then I would need to post the FACTOR result above into February 2015.
Please let me know what you think?
Thanks.