On class BatchChangeStatus, comment the Return to allow changing status if AX doesn't allow to change .
static void main(Args args)
{
BatchChangeStatus changeStatus;
changeStatus = new BatchChangeStatus();
BatchChangeStatus::initFromForm(changeStatus,args);
if (! changeStatus.prompt())
// return; //20150429 allow to change status
changeStatus.run();
if (args.caller())
{
args.caller().doReselect();
}
}
No comments:
Post a Comment