Validation form with buffer active in x++ :
void init()
{
formInInit = true;
if (! element.args().caller() ||
!element.args().dataset())
throw
error(strfmt("@SYS22678",element.name()));
inventOnhandReserve = new
InventOnhandReserve(this);
if (element.args())
{
inventOnhandReserve.parmCallerRecord(element.args().record());
}
super();
element.updateDesign(InventDimFormDesignUpdate::Init);
formInInit = false;
// Created by Yaya, Agreeya, March 11, 2011
this.blockReserveNow();
//
}
0 comments:
Post a Comment