on 05-14-2015 9:41 PM
Hi Fnds,
Needs Default the Char's value.
1) I had written and assigned the procedure Dependency as below in the Char's value level . but, it didn't work.
$SET_DEFAULT($SELF, BABY_PRODUCT, 'No') if $SELF_SALES_ORDER_DATE > 20151405 ( FROM TODAY).
Here, My char is - BABY_PRODUCT.
Note:
I Can not write the procedure Dependency @ Configurable profile level , since the materials are 6000+.
I can not default ( Tick mark) in the char's value level. since, the Open orders are huge.
Please do needful.
How you are deriving value for SALES_ORDER_DATE? is it a referance characterstic for sales order dates? and does it picking crrect date?
also i can see a _ in your syntex, replace it with . as shown below
$SET_DEFAULT($SELF, BABY_PRODUCT, 'No') if $SELF_SALES_ORDER_DATE > 20151405
Change it like
$SET_DEFAULT(($SELF, BABY_PRODUCT, 'No') if $SELF.SALES_ORDER_DATE > '20151405')
or
$SET_DEFAULT($SELF, BABY_PRODUCT, 'No') if ($SELF.SALES_ORDER_DATE > '20151405')
It may work, check syntex error and try to see which object is causing error.
Also , I didnt understand why you want to restrict it at a single date, as the date 20151405 will be invalid tomorrow?
It will be better if you provide more details on business requirement and you may get more favourable replies.
Please check and reply.
Thanks
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ritesh,
Thanks for your information!!
I tried as per your info and assigned in Char's Value level.
$SET_DEFAULT(($SELF, BABY_PRODUCT, 'No') if $SELF.SALES_ORDER_DATE specified)
or
$SET_DEFAULT($SELF, BABY_PRODUCT, 'No') if ($SELF.SALES_ORDER_DATE specified)
But, it did not work. Please let me know if any other . - thank you so much for your time.
Hi Senthil,
I tried as you provided the help; But, it didnt work.
Please share if any - thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venky,
You can try with the below procedure.
$SELF.BABY_PRODUCT ='No' if $SELF_SALES_ORDER_DATE > 20151405
Assign this to the characteristic BABY_PRODUCT.
Regards,
Senthilkumar SD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.