new OverwriteSystemFieldsPermission().assert();
XXXX.overwriteSystemfields(true);
XXXX.(fieldNum(pylLoanTable,ModifiedBy)) = COMVariant2Str(cells.item(row, 42).value());
XXXX.(fieldNum(pylLoanTable,CreatedBy)) = COMVariant2Str(cells.item(row, 65).value());
XXXX.(fieldNum(pylLoanTable,modifiedDateTime)) = DateTimeUtil::newDateTime(cells.item(row, 41).value().date(),timeNow());
XXXX.(fieldNum(pylLoanTable,createdDateTime)) = DateTimeUtil::newDateTime(cells.item(row, 64).value().date(),timeNow());
XXXX.insert();
CodeAccessPermission::revertAssert();
No comments:
Post a Comment