
Remove the Recurrence Button from the Batch Processing Dialog
When you implement a class by using the batch processing system, call the Args.parmEnum method, and pass the NoYes::Yes system enumeration value to remove the Recurrence button.
The NoYes system enumeration determines whether the recurrence button is removed from the batch processing dialog. The default value is NoYes::No.
In the following code example, the InventTransferMultiShip class is implemented. The BatchDialog::main method creates Batch processing dialog.
static void noRecurrenceButton(Args _args)
{
Args a;
InventTransferMultiShip inventTransferMultiShip;
;
a = new Args();
inventTransferMultiShip = InventTransferMultiShip::construct();
a.caller(inventTransferMultiShip);
a.parmEnum(NoYes::Yes);
BatchDialog::main(a);
}