qmExtension.setTableName("APP_QM_INSPECTION");
if (qmExtension.isValid())
{
qmExtension.getProperties();
qmExtension.setValue(extensionValue);
qmExtension.update();
}
else
{
qmExtension.create(inspectionExtensionID,"APP_QM_INSPECTION", extensionName, extensionValue);
}