I am trying to update the OrdersEndDate for our Trade Promotions from 12/29/2017 to 12/29/2025.
Here is my code but i am getting a Operand Types are not compatible with the operator. Any guidance i would greatly appreciate it. My x++ skills are a work in progress.
static void AMF_RebateDateUpdate(Args _args)
{
jsTPMTradePromotion jsRebates;
while select forUpdate jsRebates where jsRebates.OrdersEndDate =="12/29/2017"
{
ttsBegin;
jsRebates.OrdersEndDate = '12/29/2025';
jsRebates.update();
ttsCommit;
}
print info('Completed');
pause;
}
*This post is locked for comments
I have the same question (0)