BookmarkSubscribeRSS Feed
numann
Calcite | Level 5
 

Ask for help with building a rule of law in scenario administrator in VI

for example:
Rule 1: A customer has purchased a product several times, the law checks for each purchase whether at the time of purchase he was entitled to purchase
Rule 2: Check eligibility to purchase on a specific date according to a list of rules

Is it possible for Law 1 to apply Law 2 and pass a purchase date parameter to it?
 
 
 

 

1 REPLY 1
MBergeron
SAS Employee

I think we would need some more information to determine if you can set it up in Scenario Admin or if you need to do some ETL first.

 

Is it only 1 product you are performing verification on in the scenario?

Does each customer have only 1 date range?

 

Customer_Name | Valid_From   |   Valid_To

Customer XYZ     |  20190101   |   20190826

 

If the answers above are yes, you could have a valid from and to date captured per customer and setup a scenario to check that information.

 

However, if you have multiple products and multiple date ranges per customer that will likely require prepping the data to get a usable format.