Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qvc.Calendar: _f_DateIsFuture manteins last field name of calendar created #74

Closed
pljluca opened this issue Mar 9, 2018 · 1 comment

Comments

@pljluca
Copy link

pljluca commented Mar 9, 2018

Hi Rob,

I think there is an issue in Qvc.Calendar, the private variable _f_DateIsFuture used in

SET _qvctemp.vMaxModifier = 'Max({1<@(_f_DateIsFuture)={0},_Qvc.DummyField=@(_Qvc.Calendar.v.SelectedFieldList_$(_fieldPrefix))>}';	

manteins last field name of calendar created.

I tried to verify the issue with yours example Calendar.qvw in library. In the script I moved the "Future Dates Calendar" tab before "Fiscal" tab.
I looked the variables: _f_DateIsFuture and Future_vSetMTDModifier and I found to

_f_DateIsFuture >>> [ExtFields _Qvc.Calendar_DateIsFuture]

Future_vSetMTDModifier >>> [Future Date]=,[Future Day]=,[Future Weekday]=,[Future Year]=,[Future Month]=,[Future MonthName]=,[Future Quarter]=,[Future _DateSerial]=,[Future _MonthSerial]=,[Future _QuarterSerial]=,[Future _WeekSerial]=,[Future _Qvc.Calendar_DateIsFuture]=,[Future Week]=,[Future Year-Week]=,[Future Year-Month]=,[Future Year-Quarter]=,
[Future _MonthSerial] = {$(=Max({1<$(_f_DateIsFuture)={0},_Qvc.DummyField=$(Qvc.Calendar.v.SelectedFieldList_Future)>} [Future _MonthSerial]))},
[Future Day] = {"<=$(=Day(Max({1<$(_f_DateIsFuture)={0},_Qvc.DummyField=$(Qvc.Calendar.v.SelectedFieldList_Future)>} [Future _DateSerial])))"}

as you can see there is $(_f_DateIsFuture) in formula that will be replaced by [ExtFields _Qvc.Calendar_DateIsFuture]

Could this generate some problems? I think yes but I am not sure.
Please, could you check it?

Thanks a lot.
Luca

@RobWunderlich
Copy link
Owner

Fixed in release v11.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants