While updating the table from code I am getting the error "Transaction does not contain a required signature" because e-sign is activated for my table.
We can use 2 ways.
Way 1 : Use skipDatabaseLog method before update/insert.
mYTable.skipDatabaseLog(true); // It will not populate the dialog.
Way 2 : It will populate the dialog
I have created the below method and I have called before update method.
public static boolean callEsignProcedure(DatabaseLogType _databaseLogType, Common _common)
{
Info info = new Info();
return info.collectESignature(_databaseLogType, _common);
}
// In my code
if (MyTable::callEsignProcedure(DatabaseLogType::Update, mYTable))
{
mYTable.update();
}
To activate E-sign from UI check Below Link:
Keep Daxing!!
No comments:
Post a Comment