diff --git a/migration/i2.0/oracle/201404171500_IDEMPIERE-709.sql b/migration/i2.0/oracle/201404171500_IDEMPIERE-709.sql new file mode 100644 index 0000000000..41d2c5938f --- /dev/null +++ b/migration/i2.0/oracle/201404171500_IDEMPIERE-709.sql @@ -0,0 +1,924 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +UPDATE a_asset_acct SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_acct MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_acct SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_acct MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_addition SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_addition MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_addition SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_addition MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_change SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_change MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_change SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_change MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_class SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_class MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_class SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_class MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_disposed SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_disposed MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_disposed SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_disposed MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_group_acct SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_group_acct MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_group_acct SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_group_acct MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_info_fin SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_info_fin MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_info_fin SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_info_fin MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_info_ins SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_info_ins MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_info_ins SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_info_ins MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_info_lic SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_info_lic MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_info_lic SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_info_lic MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_info_oth SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_info_oth MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_info_oth SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_info_oth MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_info_tax SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_info_tax MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_info_tax SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_info_tax MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_product SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_product MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_product SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_product MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_reval SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_reval MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_reval SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_reval MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_reval_entry SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_reval_entry MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_reval_entry SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_reval_entry MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_reval_index SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_reval_index MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_reval_index SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_reval_index MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_split SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_split MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_split SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_split MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_spread SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_spread MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_spread SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_spread MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_transfer SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_transfer MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_transfer SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_transfer MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_type SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_type MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_type SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_type MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_asset_use SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_asset_use MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_asset_use SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_asset_use MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_depreciation_build SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_build MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE a_depreciation_build SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_build MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE a_depreciation_convention SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_convention MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation_convention SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_convention MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_depreciation_entry SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_entry MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation_entry SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_entry MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_depreciation_exp SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_exp MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_depreciation_exp SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_exp MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation_forecast SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_forecast MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_depreciation_forecast SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_forecast MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation_method SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_method MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation_method SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_method MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_depreciation_table_detail SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_table_detail MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation_table_detail SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_table_detail MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_depreciation_table_header SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_table_header MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation_table_header SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_table_header MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_depreciation_workfile SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_depreciation_workfile MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_depreciation_workfile SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_depreciation_workfile MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_fundingmode SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_fundingmode MODIFY ( created DEFAULT SysDate ) ; +UPDATE a_fundingmode SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_fundingmode MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_fundingmode_acct SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE a_fundingmode_acct MODIFY ( updated DEFAULT SysDate ) ; +UPDATE a_fundingmode_acct SET created=SysDate WHERE created IS NULL; +ALTER TABLE a_fundingmode_acct MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_chart SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_chart MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_chart SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_chart MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_chartdatasource SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_chartdatasource MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_chartdatasource SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_chartdatasource MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_ctxhelp SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_ctxhelp MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_ctxhelp SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_ctxhelp MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_ctxhelpmsg SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_ctxhelpmsg MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_ctxhelpmsg SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_ctxhelpmsg MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_element SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_element MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_housekeeping SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_housekeeping MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_housekeeping SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_housekeeping MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_indexcolumn SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_indexcolumn MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_indexcolumn SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_indexcolumn MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_infowindow_access SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_infowindow_access MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_infowindow_access SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_infowindow_access MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_migrationscript SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_migrationscript MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_migrationscript SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_migrationscript MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_modelvalidator SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_modelvalidator MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_modelvalidator SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_modelvalidator MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_package_imp_inst SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_package_imp_inst MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE ad_package_imp_inst SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_package_imp_inst MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE ad_package_uuid_map SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_package_uuid_map MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_package_uuid_map SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_package_uuid_map MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_passwordrule SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_passwordrule MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE ad_passwordrule SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_passwordrule MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE ad_pinstance SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_pinstance MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE ad_pinstance_para SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_pinstance_para MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE ad_pinstance_para SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_pinstance_para MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE ad_recentitem SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_recentitem MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_recentitem SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_recentitem MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_relationtype SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_relationtype MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_relationtype SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_relationtype MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_replicationdocument SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_replicationdocument MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_replicationdocument SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_replicationdocument MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_role_included SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_role_included MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_role_included SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_role_included MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_rule SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_rule MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_rule SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_rule MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_schedule SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_schedule MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_schedule SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_schedule MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_searchdefinition SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_searchdefinition MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE ad_searchdefinition SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_searchdefinition MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_storageprovider SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_storageprovider MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_storageprovider SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_storageprovider MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_sysconfig SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_sysconfig MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_sysconfig SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_sysconfig MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_tab_customization SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_tab_customization MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_tab_customization SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_tab_customization MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_table_scriptvalidator SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_table_scriptvalidator MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_table_scriptvalidator SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_table_scriptvalidator MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_tableindex SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_tableindex MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_tableindex SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_tableindex MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_toolbarbutton SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_toolbarbutton MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_toolbarbutton SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_toolbarbutton MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_toolbarbuttonrestrict SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_toolbarbuttonrestrict MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_toolbarbuttonrestrict SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_toolbarbuttonrestrict MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_viewcolumn SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_viewcolumn MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_viewcolumn SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_viewcolumn MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_viewcomponent SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_viewcomponent MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_viewcomponent SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_viewcomponent MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_wizardprocess SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_wizardprocess MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_wizardprocess SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_wizardprocess MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ad_zoomcondition SET created=SysDate WHERE created IS NULL; +ALTER TABLE ad_zoomcondition MODIFY ( created DEFAULT SysDate ) ; +UPDATE ad_zoomcondition SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ad_zoomcondition MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_clientexception SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_clientexception MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_clientexception SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_clientexception MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_clientlevel SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_clientlevel MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_clientlevel SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_clientlevel MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_field SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_field MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_field SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_field MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_form SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_form MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_form SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_form MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_level SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_level MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_level SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_level MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_module SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_module MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_module SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_module MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_process SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_process MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_process SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_process MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_process_para SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_process_para MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_process_para SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_process_para MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_ref_list SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_ref_list MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE asp_ref_list SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_ref_list MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_tab SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_tab MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_tab SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_tab MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_task SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_task MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_task SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_task MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_window SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_window MODIFY ( created DEFAULT SysDate ) ; +UPDATE asp_window SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_window MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_workflow SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE asp_workflow MODIFY ( updated DEFAULT SysDate ) ; +UPDATE asp_workflow SET created=SysDate WHERE created IS NULL; +ALTER TABLE asp_workflow MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_1099box SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_1099box MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_1099box SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_1099box MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_addresstransaction SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_addresstransaction MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_addresstransaction SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_addresstransaction MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_addressvalidation SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_addressvalidation MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_addressvalidation SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_addressvalidation MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_addressvalidationcfg SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_addressvalidationcfg MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_addressvalidationcfg SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_addressvalidationcfg MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_bankaccount_processor SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_bankaccount_processor MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_bankaccount_processor SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_bankaccount_processor MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_bp_shippingacct SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_bp_shippingacct MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_bp_shippingacct SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_bp_shippingacct MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_cashplan SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_cashplan MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_cashplan SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_cashplan MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_cashplanline SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_cashplanline MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_cashplanline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_cashplanline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_chargetype SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_chargetype MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_chargetype SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_chargetype MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_chargetype_doctype SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_chargetype_doctype MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_chargetype_doctype SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_chargetype_doctype MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_contactactivity SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_contactactivity MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_contactactivity SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_contactactivity MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_depositbatch SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_depositbatch MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_depositbatch SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_depositbatch MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_depositbatchline SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_depositbatchline MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_depositbatchline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_depositbatchline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_onlinetrxhistory SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_onlinetrxhistory MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_onlinetrxhistory SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_onlinetrxhistory MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_opportunity SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_opportunity MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_opportunity SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_opportunity MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_orderlandedcost SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_orderlandedcost MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_orderlandedcost SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_orderlandedcost MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_orderlandedcostallocation SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_orderlandedcostallocation MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_orderlandedcostallocation SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_orderlandedcostallocation MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_orderpayschedule SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_orderpayschedule MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_orderpayschedule SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_orderpayschedule MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_paymenttransaction SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_paymenttransaction MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_paymenttransaction SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_paymenttransaction MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_pospayment SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_pospayment MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_pospayment SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_pospayment MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_postendertype SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_postendertype MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_postendertype SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_postendertype MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_salesstage SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_salesstage MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_salesstage SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_salesstage MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_taxbase SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_taxbase MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_taxbase SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_taxbase MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_taxdefinition SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_taxdefinition MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_taxdefinition SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_taxdefinition MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_taxgroup SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_taxgroup MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_taxgroup SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_taxgroup MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_taxprovider SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_taxprovider MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_taxprovider SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_taxprovider MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_taxprovidercfg SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_taxprovidercfg MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_taxprovidercfg SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_taxprovidercfg MODIFY ( created DEFAULT SysDate ) ; +UPDATE c_taxtype SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE c_taxtype MODIFY ( updated DEFAULT SysDate ) ; +UPDATE c_taxtype SET created=SysDate WHERE created IS NULL; +ALTER TABLE c_taxtype MODIFY ( created DEFAULT SysDate ) ; +UPDATE dd_networkdistribution SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE dd_networkdistribution MODIFY ( updated DEFAULT SysDate ) ; +UPDATE dd_networkdistribution SET created=SysDate WHERE created IS NULL; +ALTER TABLE dd_networkdistribution MODIFY ( created DEFAULT SysDate ) ; +UPDATE dd_networkdistributionline SET created=SysDate WHERE created IS NULL; +ALTER TABLE dd_networkdistributionline MODIFY ( created DEFAULT SysDate ) ; +UPDATE dd_networkdistributionline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE dd_networkdistributionline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE dd_order SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE dd_order MODIFY ( updated DEFAULT SysDate ) ; +UPDATE dd_order SET created=SysDate WHERE created IS NULL; +ALTER TABLE dd_order MODIFY ( created DEFAULT SysDate ) ; +UPDATE dd_orderline SET created=SysDate WHERE created IS NULL; +ALTER TABLE dd_orderline MODIFY ( created DEFAULT SysDate ) ; +UPDATE dd_orderline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE dd_orderline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE exp_format SET created=SysDate WHERE created IS NULL; +ALTER TABLE exp_format MODIFY ( created DEFAULT SysDate ) ; +UPDATE exp_format SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE exp_format MODIFY ( updated DEFAULT SysDate ) ; +UPDATE exp_formatline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE exp_formatline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE exp_formatline SET created=SysDate WHERE created IS NULL; +ALTER TABLE exp_formatline MODIFY ( created DEFAULT SysDate ) ; +UPDATE exp_processor SET created=SysDate WHERE created IS NULL; +ALTER TABLE exp_processor MODIFY ( created DEFAULT SysDate ) ; +UPDATE exp_processor SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE exp_processor MODIFY ( updated DEFAULT SysDate ) ; +UPDATE exp_processor_type SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE exp_processor_type MODIFY ( updated DEFAULT SysDate ) ; +UPDATE exp_processor_type SET created=SysDate WHERE created IS NULL; +ALTER TABLE exp_processor_type MODIFY ( created DEFAULT SysDate ) ; +UPDATE exp_processorparameter SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE exp_processorparameter MODIFY ( updated DEFAULT SysDate ) ; +UPDATE exp_processorparameter SET created=SysDate WHERE created IS NULL; +ALTER TABLE exp_processorparameter MODIFY ( created DEFAULT SysDate ) ; +UPDATE fact_acct_summary SET created=SysDate WHERE created IS NULL; +ALTER TABLE fact_acct_summary MODIFY ( created DEFAULT SysDate ) ; +UPDATE fact_acct_summary SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE fact_acct_summary MODIFY ( updated DEFAULT SysDate ) ; +UPDATE fact_reconciliation SET created=SysDate WHERE created IS NULL; +ALTER TABLE fact_reconciliation MODIFY ( created DEFAULT SysDate ) ; +UPDATE fact_reconciliation SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE fact_reconciliation MODIFY ( updated DEFAULT SysDate ) ; +UPDATE gl_journalgenerator SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE gl_journalgenerator MODIFY ( updated DEFAULT SysDate ) ; +UPDATE gl_journalgenerator SET created=SysDate WHERE created IS NULL; +ALTER TABLE gl_journalgenerator MODIFY ( created DEFAULT SysDate ) ; +UPDATE gl_journalgeneratorline SET created=SysDate WHERE created IS NULL; +ALTER TABLE gl_journalgeneratorline MODIFY ( created DEFAULT SysDate ) ; +UPDATE gl_journalgeneratorline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE gl_journalgeneratorline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE gl_journalgeneratorsource SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE gl_journalgeneratorsource MODIFY ( updated DEFAULT SysDate ) ; +UPDATE gl_journalgeneratorsource SET created=SysDate WHERE created IS NULL; +ALTER TABLE gl_journalgeneratorsource MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_attribute SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_attribute MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_attribute SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_attribute MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_concept SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_concept MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_concept SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_concept MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_concept_acct SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_concept_acct MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_concept_acct SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_concept_acct MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_concept_category SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_concept_category MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_concept_category SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_concept_category MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_contract SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_contract MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_contract SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_contract MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_department SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_department MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_department SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_department MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_employee SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_employee MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_employee SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_employee MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_job SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_job MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_job SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_job MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_list SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_list MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_list SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_list MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_listline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_listline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_listline SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_listline MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_listtype SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_listtype MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_listtype SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_listtype MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_listversion SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_listversion MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_listversion SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_listversion MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_movement SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_movement MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_movement SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_movement MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_payroll SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_payroll MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_payroll SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_payroll MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_payrollconcept SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_payrollconcept MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_payrollconcept SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_payrollconcept MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_period SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_period MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_period SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_period MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_process SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_process MODIFY ( created DEFAULT SysDate ) ; +UPDATE hr_process SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_process MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_year SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE hr_year MODIFY ( updated DEFAULT SysDate ) ; +UPDATE hr_year SET created=SysDate WHERE created IS NULL; +ALTER TABLE hr_year MODIFY ( created DEFAULT SysDate ) ; +UPDATE i_asset SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_asset MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_asset SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_asset MODIFY ( updated DEFAULT SysDate ) ; +UPDATE i_bankstatement SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_bankstatement MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_bankstatement SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_bankstatement MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_bpartner SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_bpartner MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_bpartner SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_bpartner MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_conversion_rate SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_conversion_rate MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_conversion_rate SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_conversion_rate MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_elementvalue SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_elementvalue MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_elementvalue SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_elementvalue MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_fajournal SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_fajournal MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_fajournal SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_fajournal MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_fixedasset SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_fixedasset MODIFY ( created DEFAULT SysDate ) ; +UPDATE i_fixedasset SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_fixedasset MODIFY ( updated DEFAULT SysDate ) ; +UPDATE i_gljournal SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_gljournal MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_gljournal SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_gljournal MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_hr_movement SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_hr_movement MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_hr_movement SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_hr_movement MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_inventory SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_inventory MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_inventory SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_inventory MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_invoice SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_invoice MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_invoice SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_invoice MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_movement SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_movement MODIFY ( created DEFAULT SysDate ) ; +UPDATE i_movement SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_movement MODIFY ( updated DEFAULT SysDate ) ; +UPDATE i_order SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_order MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_order SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_order MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_payment SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_payment MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_payment SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_payment MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_pricelist SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_pricelist MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_pricelist SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_pricelist MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_product SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_product MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE i_product SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_product MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_productplanning SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_productplanning MODIFY ( updated DEFAULT SysDate ) ; +UPDATE i_productplanning SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_productplanning MODIFY ( created DEFAULT SysDate ) ; +UPDATE i_reportline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE i_reportline MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE i_reportline SET created=SysDate WHERE created IS NULL; +ALTER TABLE i_reportline MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE imp_processor SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE imp_processor MODIFY ( updated DEFAULT SysDate ) ; +UPDATE imp_processor SET created=SysDate WHERE created IS NULL; +ALTER TABLE imp_processor MODIFY ( created DEFAULT SysDate ) ; +UPDATE imp_processor_type SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE imp_processor_type MODIFY ( updated DEFAULT SysDate ) ; +UPDATE imp_processor_type SET created=SysDate WHERE created IS NULL; +ALTER TABLE imp_processor_type MODIFY ( created DEFAULT SysDate ) ; +UPDATE imp_processorlog SET created=SysDate WHERE created IS NULL; +ALTER TABLE imp_processorlog MODIFY ( created DEFAULT SysDate ) ; +UPDATE imp_processorlog SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE imp_processorlog MODIFY ( updated DEFAULT SysDate ) ; +UPDATE imp_processorparameter SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE imp_processorparameter MODIFY ( updated DEFAULT SysDate ) ; +UPDATE imp_processorparameter SET created=SysDate WHERE created IS NULL; +ALTER TABLE imp_processorparameter MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_bp_price SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_bp_price MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_bp_price SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_bp_price MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_commodityshipment SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_commodityshipment MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_commodityshipment SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_commodityshipment MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_costhistory SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_costhistory MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_costhistory SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_costhistory MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_packagemps SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_packagemps MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_packagemps SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_packagemps MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_parttype SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_parttype MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_parttype SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_parttype MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_product_qualitytest SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_product_qualitytest MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_product_qualitytest SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_product_qualitytest MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_productpricevendorbreak SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_productpricevendorbreak MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_productpricevendorbreak SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_productpricevendorbreak MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_promotion SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_promotion MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_promotion SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_promotion MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_promotiondistribution SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_promotiondistribution MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_promotiondistribution SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_promotiondistribution MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_promotiongroup SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_promotiongroup MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_promotiongroup SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_promotiongroup MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_promotiongroupline SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_promotiongroupline MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_promotiongroupline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_promotiongroupline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_promotionline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_promotionline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_promotionline SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_promotionline MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_promotionprecondition SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_promotionprecondition MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_promotionprecondition SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_promotionprecondition MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_promotionreward SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_promotionreward MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_promotionreward SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_promotionreward MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_qualitytest SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_qualitytest MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_qualitytest SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_qualitytest MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_qualitytestresult SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_qualitytestresult MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_qualitytestresult SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_qualitytestresult MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_rmatax SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_rmatax MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_rmatax SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_rmatax MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shippercfg SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shippercfg MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shippercfg SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shippercfg MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shipperlabels SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shipperlabels MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shipperlabels SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shipperlabels MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shipperlabelscfg SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shipperlabelscfg MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shipperlabelscfg SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shipperlabelscfg MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shipperpackaging SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shipperpackaging MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shipperpackaging SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shipperpackaging MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shipperpackagingcfg SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shipperpackagingcfg MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shipperpackagingcfg SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shipperpackagingcfg MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shipperpickuptypes SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shipperpickuptypes MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shipperpickuptypes SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shipperpickuptypes MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shipperpickuptypescfg SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shipperpickuptypescfg MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shipperpickuptypescfg SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shipperpickuptypescfg MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shippingprocessor SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shippingprocessor MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shippingprocessor SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shippingprocessor MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shippingprocessorcfg SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shippingprocessorcfg MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shippingprocessorcfg SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shippingprocessorcfg MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shippingtransaction SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shippingtransaction MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_shippingtransaction SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shippingtransaction MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shippingtransactionline SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_shippingtransactionline MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_shippingtransactionline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_shippingtransactionline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_storageonhand SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_storageonhand MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_storageonhand SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_storageonhand MODIFY ( created DEFAULT SysDate ) ; +UPDATE m_storagereservation SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE m_storagereservation MODIFY ( updated DEFAULT SysDate ) ; +UPDATE m_storagereservation SET created=SysDate WHERE created IS NULL; +ALTER TABLE m_storagereservation MODIFY ( created DEFAULT SysDate ) ; +UPDATE pa_dashboardcontent SET created=SysDate WHERE created IS NULL; +ALTER TABLE pa_dashboardcontent MODIFY ( created DEFAULT SysDate ) ; +UPDATE pa_dashboardcontent SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pa_dashboardcontent MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pa_dashboardcontent_access SET created=SysDate WHERE created IS NULL; +ALTER TABLE pa_dashboardcontent_access MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE pa_dashboardcontent_access SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pa_dashboardcontent_access MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE pa_dashboardpreference SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pa_dashboardpreference MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pa_dashboardpreference SET created=SysDate WHERE created IS NULL; +ALTER TABLE pa_dashboardpreference MODIFY ( created DEFAULT SysDate ) ; +UPDATE pa_reportcube SET created=SysDate WHERE created IS NULL; +ALTER TABLE pa_reportcube MODIFY ( created DEFAULT SysDate ) ; +UPDATE pa_reportcube SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pa_reportcube MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_cost_collector SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_cost_collector MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_cost_collector SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_cost_collector MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_cost_collectorma SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_cost_collectorma MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_cost_collectorma SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_cost_collectorma MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_mrp SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_mrp MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_mrp SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_mrp MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_order_bom SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order_bom MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order_bom SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order_bom MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_order_bomline SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order_bomline MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order_bomline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order_bomline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_order_cost SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order_cost MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_order_cost SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order_cost MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order_node SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order_node MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_order_node SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order_node MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order_node_asset SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order_node_asset MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order_node_asset SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order_node_asset MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_order_node_product SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order_node_product MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_order_node_product SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order_node_product MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order_nodenext SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order_nodenext MODIFY ( created DEFAULT SysDate NOT NULL ) ; +UPDATE pp_order_nodenext SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order_nodenext MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE pp_order_workflow SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_order_workflow MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_order_workflow SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_order_workflow MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_product_bom SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_product_bom MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_product_bom SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_product_bom MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_product_bomline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_product_bomline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_product_bomline SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_product_bomline MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_product_planning SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_product_planning MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_product_planning SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_product_planning MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_wf_node_asset SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_wf_node_asset MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_wf_node_asset SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_wf_node_asset MODIFY ( updated DEFAULT SysDate ) ; +UPDATE pp_wf_node_product SET created=SysDate WHERE created IS NULL; +ALTER TABLE pp_wf_node_product MODIFY ( created DEFAULT SysDate ) ; +UPDATE pp_wf_node_product SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE pp_wf_node_product MODIFY ( updated DEFAULT SysDate ) ; +UPDATE qm_specification SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE qm_specification MODIFY ( updated DEFAULT SysDate ) ; +UPDATE qm_specification SET created=SysDate WHERE created IS NULL; +ALTER TABLE qm_specification MODIFY ( created DEFAULT SysDate ) ; +UPDATE qm_specificationline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE qm_specificationline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE qm_specificationline SET created=SysDate WHERE created IS NULL; +ALTER TABLE qm_specificationline MODIFY ( created DEFAULT SysDate ) ; +UPDATE t_1099extract SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE t_1099extract MODIFY ( updated DEFAULT SysDate ) ; +UPDATE t_1099extract SET created=SysDate WHERE created IS NULL; +ALTER TABLE t_1099extract MODIFY ( created DEFAULT SysDate ) ; +UPDATE t_bom_indented SET created=SysDate WHERE created IS NULL; +ALTER TABLE t_bom_indented MODIFY ( created DEFAULT SysDate ) ; +UPDATE t_bom_indented SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE t_bom_indented MODIFY ( updated DEFAULT SysDate ) ; +UPDATE t_bomline SET created=SysDate WHERE created IS NULL; +ALTER TABLE t_bomline MODIFY ( created DEFAULT SysDate ) ; +UPDATE t_bomline SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE t_bomline MODIFY ( updated DEFAULT SysDate ) ; +UPDATE t_cashflow SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE t_cashflow MODIFY ( updated DEFAULT SysDate ) ; +UPDATE t_cashflow SET created=SysDate WHERE created IS NULL; +ALTER TABLE t_cashflow MODIFY ( created DEFAULT SysDate ) ; +UPDATE t_mrp_crp SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE t_mrp_crp MODIFY ( updated DEFAULT SysDate ) ; +UPDATE t_mrp_crp SET created=SysDate WHERE created IS NULL; +ALTER TABLE t_mrp_crp MODIFY ( created DEFAULT SysDate ) ; +UPDATE t_reconciliation SET created=SysDate WHERE created IS NULL; +ALTER TABLE t_reconciliation MODIFY ( created DEFAULT SysDate ) ; +UPDATE t_reconciliation SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE t_reconciliation MODIFY ( updated DEFAULT SysDate ) ; +UPDATE t_replenish SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE t_replenish MODIFY ( updated DEFAULT SysDate NOT NULL ) ; +UPDATE t_trialbalance SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE t_trialbalance MODIFY ( updated DEFAULT SysDate ) ; +UPDATE t_trialbalance SET created=SysDate WHERE created IS NULL; +ALTER TABLE t_trialbalance MODIFY ( created DEFAULT SysDate ) ; +UPDATE u_posterminal SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE u_posterminal MODIFY ( updated DEFAULT SysDate ) ; +UPDATE u_posterminal SET created=SysDate WHERE created IS NULL; +ALTER TABLE u_posterminal MODIFY ( created DEFAULT SysDate ) ; +UPDATE ws_webservice SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ws_webservice MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ws_webservice SET created=SysDate WHERE created IS NULL; +ALTER TABLE ws_webservice MODIFY ( created DEFAULT SysDate ) ; +UPDATE ws_webservice_para SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ws_webservice_para MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ws_webservice_para SET created=SysDate WHERE created IS NULL; +ALTER TABLE ws_webservice_para MODIFY ( created DEFAULT SysDate ) ; +UPDATE ws_webservicefieldinput SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ws_webservicefieldinput MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ws_webservicefieldinput SET created=SysDate WHERE created IS NULL; +ALTER TABLE ws_webservicefieldinput MODIFY ( created DEFAULT SysDate ) ; +UPDATE ws_webservicefieldoutput SET created=SysDate WHERE created IS NULL; +ALTER TABLE ws_webservicefieldoutput MODIFY ( created DEFAULT SysDate ) ; +UPDATE ws_webservicefieldoutput SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ws_webservicefieldoutput MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ws_webservicemethod SET created=SysDate WHERE created IS NULL; +ALTER TABLE ws_webservicemethod MODIFY ( created DEFAULT SysDate ) ; +UPDATE ws_webservicemethod SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ws_webservicemethod MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ws_webservicetype SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ws_webservicetype MODIFY ( updated DEFAULT SysDate ) ; +UPDATE ws_webservicetype SET created=SysDate WHERE created IS NULL; +ALTER TABLE ws_webservicetype MODIFY ( created DEFAULT SysDate ) ; +UPDATE ws_webservicetypeaccess SET created=SysDate WHERE created IS NULL; +ALTER TABLE ws_webservicetypeaccess MODIFY ( created DEFAULT SysDate ) ; +UPDATE ws_webservicetypeaccess SET updated=SysDate WHERE updated IS NULL; +ALTER TABLE ws_webservicetypeaccess MODIFY ( updated DEFAULT SysDate ) ; + +UPDATE AD_Column SET DefaultValue='SYSDATE' WHERE DefaultValue is null AND ColumnName='Created'; + +UPDATE AD_Column SET DefaultValue='SYSDATE' WHERE DefaultValue is null AND ColumnName='Updated'; + +UPDATE AD_Column SET IsMandatory='Y' WHERE IsMandatory='N' AND ColumnName='Created'; + +UPDATE AD_Column SET IsMandatory='Y' WHERE IsMandatory='N' AND ColumnName='Updated'; + +SELECT register_migration_script('201404171500_IDEMPIERE-709.sql') FROM dual +; diff --git a/migration/i2.0/oracle/201404181241_IDEMPIERE-1904.sql b/migration/i2.0/oracle/201404181241_IDEMPIERE-1904.sql new file mode 100644 index 0000000000..1dde514ddc --- /dev/null +++ b/migration/i2.0/oracle/201404181241_IDEMPIERE-1904.sql @@ -0,0 +1,16 @@ +-- Apr 18, 2014 12:41:00 PM SGT +-- IDEMPIERE-1904 Incorrect document status when void a document with completed document status + +UPDATE C_AllocationHdr SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE C_Invoice SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE C_Payment SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE GL_Journal SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE GL_JournalBatch SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE HR_Process SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE M_InOut SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE M_Inventory SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE M_Movement SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE PP_Cost_Collector SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; + +SELECT register_migration_script('201404181241_IDEMPIERE-1904.sql') FROM dual +; \ No newline at end of file diff --git a/migration/i2.0/oracle/201404281824_IDEMPIERE-1920.sql b/migration/i2.0/oracle/201404281824_IDEMPIERE-1920.sql new file mode 100644 index 0000000000..e7154f0f3b --- /dev/null +++ b/migration/i2.0/oracle/201404281824_IDEMPIERE-1920.sql @@ -0,0 +1,19 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Apr 28, 2014 5:35:23 PM COT +-- Decrease AccessLevel For Security Related Processes +UPDATE AD_Process SET AccessLevel='6',Updated=TO_DATE('2014-04-28 17:35:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=50010 +; + +-- Apr 28, 2014 5:35:54 PM COT +UPDATE AD_Process SET AccessLevel='6',Updated=TO_DATE('2014-04-28 17:35:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200008 +; + +-- Apr 29, 2014 5:47:13 PM COT +UPDATE AD_Process SET Help='Copy role access records from one role to another. The existing access records for the destination role will be deleted. This process can be executed just by advanced roles.',Updated=TO_DATE('2014-04-29 17:47:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=50010 +; + +SELECT register_migration_script('201404281824_IDEMPIERE-1920.sql') FROM dual +; + diff --git a/migration/i2.0/postgresql/201404171500_IDEMPIERE-709.sql b/migration/i2.0/postgresql/201404171500_IDEMPIERE-709.sql new file mode 100644 index 0000000000..e8a16a7d14 --- /dev/null +++ b/migration/i2.0/postgresql/201404171500_IDEMPIERE-709.sql @@ -0,0 +1,466 @@ +UPDATE a_asset_acct SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_acct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_acct SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_acct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_addition SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_addition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_addition SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_addition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_change SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_change ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_change SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_change ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_class SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_class ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_class SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_class ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_disposed SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_disposed ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_disposed SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_disposed ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_group_acct SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_group_acct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_group_acct SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_group_acct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_info_fin SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_fin ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_info_fin SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_fin ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_info_ins SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_ins ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_info_ins SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_ins ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_info_lic SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_lic ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_info_lic SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_lic ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_info_oth SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_oth ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_info_oth SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_oth ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_info_tax SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_info_tax ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_info_tax SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_info_tax ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_product SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_product ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_product SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_product ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_reval SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_reval ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_reval SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_reval ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_reval_entry SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_reval_entry ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_reval_entry SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_reval_entry ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_reval_index SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_reval_index ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_reval_index SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_reval_index ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_split SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_split ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_split SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_split ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_spread SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_spread ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_spread SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_spread ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_transfer SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_transfer ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_transfer SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_transfer ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_type SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_type ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_type SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_type ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_asset_use SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_asset_use ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_asset_use SET created=Now() WHERE created IS NULL; ALTER TABLE a_asset_use ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_build SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_build ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_build SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_build ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_convention SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_convention ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_convention SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_convention ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_entry SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_entry ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_entry SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_entry ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_exp SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_exp ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_exp SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_exp ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_forecast SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_forecast ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_forecast SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_forecast ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_method SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_method ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_method SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_method ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_table_detail SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_table_detail ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_table_detail SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_table_detail ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_table_header SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_table_header ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_table_header SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_table_header ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_depreciation_workfile SET created=Now() WHERE created IS NULL; ALTER TABLE a_depreciation_workfile ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_depreciation_workfile SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_depreciation_workfile ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_fundingmode SET created=Now() WHERE created IS NULL; ALTER TABLE a_fundingmode ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE a_fundingmode SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_fundingmode ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_fundingmode_acct SET updated=Now() WHERE updated IS NULL; ALTER TABLE a_fundingmode_acct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE a_fundingmode_acct SET created=Now() WHERE created IS NULL; ALTER TABLE a_fundingmode_acct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_chart SET created=Now() WHERE created IS NULL; ALTER TABLE ad_chart ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_chart SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_chart ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_chartdatasource SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_chartdatasource ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_chartdatasource SET created=Now() WHERE created IS NULL; ALTER TABLE ad_chartdatasource ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_ctxhelp SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_ctxhelp ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_ctxhelp SET created=Now() WHERE created IS NULL; ALTER TABLE ad_ctxhelp ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_ctxhelpmsg SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_ctxhelpmsg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_ctxhelpmsg SET created=Now() WHERE created IS NULL; ALTER TABLE ad_ctxhelpmsg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_element SET created=Now() WHERE created IS NULL; ALTER TABLE ad_element ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_housekeeping SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_housekeeping ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_housekeeping SET created=Now() WHERE created IS NULL; ALTER TABLE ad_housekeeping ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_indexcolumn SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_indexcolumn ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_indexcolumn SET created=Now() WHERE created IS NULL; ALTER TABLE ad_indexcolumn ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_infowindow_access SET created=Now() WHERE created IS NULL; ALTER TABLE ad_infowindow_access ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_infowindow_access SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_infowindow_access ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_migrationscript SET created=Now() WHERE created IS NULL; ALTER TABLE ad_migrationscript ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_migrationscript SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_migrationscript ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_modelvalidator SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_modelvalidator ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_modelvalidator SET created=Now() WHERE created IS NULL; ALTER TABLE ad_modelvalidator ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_package_imp_inst SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_package_imp_inst ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_package_imp_inst SET created=Now() WHERE created IS NULL; ALTER TABLE ad_package_imp_inst ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_package_uuid_map SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_package_uuid_map ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_package_uuid_map SET created=Now() WHERE created IS NULL; ALTER TABLE ad_package_uuid_map ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_passwordrule SET created=Now() WHERE created IS NULL; ALTER TABLE ad_passwordrule ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_passwordrule SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_passwordrule ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_pinstance SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_pinstance ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_pinstance_para SET created=Now() WHERE created IS NULL; ALTER TABLE ad_pinstance_para ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_pinstance_para SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_pinstance_para ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_recentitem SET created=Now() WHERE created IS NULL; ALTER TABLE ad_recentitem ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_recentitem SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_recentitem ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_relationtype SET created=Now() WHERE created IS NULL; ALTER TABLE ad_relationtype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_relationtype SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_relationtype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_replicationdocument SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_replicationdocument ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_replicationdocument SET created=Now() WHERE created IS NULL; ALTER TABLE ad_replicationdocument ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_role_included SET created=Now() WHERE created IS NULL; ALTER TABLE ad_role_included ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_role_included SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_role_included ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_rule SET created=Now() WHERE created IS NULL; ALTER TABLE ad_rule ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_rule SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_rule ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_schedule SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_schedule ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_schedule SET created=Now() WHERE created IS NULL; ALTER TABLE ad_schedule ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_searchdefinition SET created=Now() WHERE created IS NULL; ALTER TABLE ad_searchdefinition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_searchdefinition SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_searchdefinition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_storageprovider SET created=Now() WHERE created IS NULL; ALTER TABLE ad_storageprovider ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_storageprovider SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_storageprovider ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_sysconfig SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_sysconfig ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_sysconfig SET created=Now() WHERE created IS NULL; ALTER TABLE ad_sysconfig ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_tab_customization SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_tab_customization ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_tab_customization SET created=Now() WHERE created IS NULL; ALTER TABLE ad_tab_customization ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_table_scriptvalidator SET created=Now() WHERE created IS NULL; ALTER TABLE ad_table_scriptvalidator ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_table_scriptvalidator SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_table_scriptvalidator ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_tableindex SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_tableindex ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_tableindex SET created=Now() WHERE created IS NULL; ALTER TABLE ad_tableindex ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_toolbarbutton SET created=Now() WHERE created IS NULL; ALTER TABLE ad_toolbarbutton ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_toolbarbutton SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_toolbarbutton ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_toolbarbuttonrestrict SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_toolbarbuttonrestrict ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_toolbarbuttonrestrict SET created=Now() WHERE created IS NULL; ALTER TABLE ad_toolbarbuttonrestrict ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_viewcolumn SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_viewcolumn ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_viewcolumn SET created=Now() WHERE created IS NULL; ALTER TABLE ad_viewcolumn ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_viewcomponent SET created=Now() WHERE created IS NULL; ALTER TABLE ad_viewcomponent ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_viewcomponent SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_viewcomponent ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_wizardprocess SET created=Now() WHERE created IS NULL; ALTER TABLE ad_wizardprocess ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_wizardprocess SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_wizardprocess ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ad_zoomcondition SET created=Now() WHERE created IS NULL; ALTER TABLE ad_zoomcondition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ad_zoomcondition SET updated=Now() WHERE updated IS NULL; ALTER TABLE ad_zoomcondition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_clientexception SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_clientexception ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_clientexception SET created=Now() WHERE created IS NULL; ALTER TABLE asp_clientexception ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_clientlevel SET created=Now() WHERE created IS NULL; ALTER TABLE asp_clientlevel ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_clientlevel SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_clientlevel ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_field SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_field ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_field SET created=Now() WHERE created IS NULL; ALTER TABLE asp_field ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_form SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_form ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_form SET created=Now() WHERE created IS NULL; ALTER TABLE asp_form ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_level SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_level ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_level SET created=Now() WHERE created IS NULL; ALTER TABLE asp_level ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_module SET created=Now() WHERE created IS NULL; ALTER TABLE asp_module ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_module SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_module ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_process SET created=Now() WHERE created IS NULL; ALTER TABLE asp_process ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_process SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_process ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_process_para SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_process_para ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_process_para SET created=Now() WHERE created IS NULL; ALTER TABLE asp_process_para ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_ref_list SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_ref_list ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_ref_list SET created=Now() WHERE created IS NULL; ALTER TABLE asp_ref_list ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_tab SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_tab ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_tab SET created=Now() WHERE created IS NULL; ALTER TABLE asp_tab ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_task SET created=Now() WHERE created IS NULL; ALTER TABLE asp_task ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_task SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_task ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_window SET created=Now() WHERE created IS NULL; ALTER TABLE asp_window ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE asp_window SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_window ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_workflow SET updated=Now() WHERE updated IS NULL; ALTER TABLE asp_workflow ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE asp_workflow SET created=Now() WHERE created IS NULL; ALTER TABLE asp_workflow ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_1099box SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_1099box ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_1099box SET created=Now() WHERE created IS NULL; ALTER TABLE c_1099box ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_addresstransaction SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_addresstransaction ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_addresstransaction SET created=Now() WHERE created IS NULL; ALTER TABLE c_addresstransaction ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_addressvalidation SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_addressvalidation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_addressvalidation SET created=Now() WHERE created IS NULL; ALTER TABLE c_addressvalidation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_addressvalidationcfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_addressvalidationcfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_addressvalidationcfg SET created=Now() WHERE created IS NULL; ALTER TABLE c_addressvalidationcfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_bankaccount_processor SET created=Now() WHERE created IS NULL; ALTER TABLE c_bankaccount_processor ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_bankaccount_processor SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_bankaccount_processor ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_bp_shippingacct SET created=Now() WHERE created IS NULL; ALTER TABLE c_bp_shippingacct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_bp_shippingacct SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_bp_shippingacct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_cashplan SET created=Now() WHERE created IS NULL; ALTER TABLE c_cashplan ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_cashplan SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_cashplan ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_cashplanline SET created=Now() WHERE created IS NULL; ALTER TABLE c_cashplanline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_cashplanline SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_cashplanline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_chargetype SET created=Now() WHERE created IS NULL; ALTER TABLE c_chargetype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_chargetype SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_chargetype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_chargetype_doctype SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_chargetype_doctype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_chargetype_doctype SET created=Now() WHERE created IS NULL; ALTER TABLE c_chargetype_doctype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_contactactivity SET created=Now() WHERE created IS NULL; ALTER TABLE c_contactactivity ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_contactactivity SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_contactactivity ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_depositbatch SET created=Now() WHERE created IS NULL; ALTER TABLE c_depositbatch ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_depositbatch SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_depositbatch ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_depositbatchline SET created=Now() WHERE created IS NULL; ALTER TABLE c_depositbatchline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_depositbatchline SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_depositbatchline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_onlinetrxhistory SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_onlinetrxhistory ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_onlinetrxhistory SET created=Now() WHERE created IS NULL; ALTER TABLE c_onlinetrxhistory ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_opportunity SET created=Now() WHERE created IS NULL; ALTER TABLE c_opportunity ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_opportunity SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_opportunity ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_orderlandedcost SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_orderlandedcost ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_orderlandedcost SET created=Now() WHERE created IS NULL; ALTER TABLE c_orderlandedcost ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_orderlandedcostallocation SET created=Now() WHERE created IS NULL; ALTER TABLE c_orderlandedcostallocation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_orderlandedcostallocation SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_orderlandedcostallocation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_orderpayschedule SET created=Now() WHERE created IS NULL; ALTER TABLE c_orderpayschedule ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_orderpayschedule SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_orderpayschedule ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_paymenttransaction SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_paymenttransaction ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_paymenttransaction SET created=Now() WHERE created IS NULL; ALTER TABLE c_paymenttransaction ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_pospayment SET created=Now() WHERE created IS NULL; ALTER TABLE c_pospayment ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_pospayment SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_pospayment ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_postendertype SET created=Now() WHERE created IS NULL; ALTER TABLE c_postendertype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_postendertype SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_postendertype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_salesstage SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_salesstage ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_salesstage SET created=Now() WHERE created IS NULL; ALTER TABLE c_salesstage ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_taxbase SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxbase ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_taxbase SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxbase ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_taxdefinition SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxdefinition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_taxdefinition SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxdefinition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_taxgroup SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxgroup ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_taxgroup SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxgroup ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_taxprovider SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxprovider ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_taxprovider SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxprovider ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_taxprovidercfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxprovidercfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_taxprovidercfg SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxprovidercfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE c_taxtype SET updated=Now() WHERE updated IS NULL; ALTER TABLE c_taxtype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE c_taxtype SET created=Now() WHERE created IS NULL; ALTER TABLE c_taxtype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE dd_networkdistribution SET updated=Now() WHERE updated IS NULL; ALTER TABLE dd_networkdistribution ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE dd_networkdistribution SET created=Now() WHERE created IS NULL; ALTER TABLE dd_networkdistribution ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE dd_networkdistributionline SET created=Now() WHERE created IS NULL; ALTER TABLE dd_networkdistributionline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE dd_networkdistributionline SET updated=Now() WHERE updated IS NULL; ALTER TABLE dd_networkdistributionline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE dd_order SET updated=Now() WHERE updated IS NULL; ALTER TABLE dd_order ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE dd_order SET created=Now() WHERE created IS NULL; ALTER TABLE dd_order ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE dd_orderline SET created=Now() WHERE created IS NULL; ALTER TABLE dd_orderline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE dd_orderline SET updated=Now() WHERE updated IS NULL; ALTER TABLE dd_orderline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE exp_format SET created=Now() WHERE created IS NULL; ALTER TABLE exp_format ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE exp_format SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_format ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE exp_formatline SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_formatline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE exp_formatline SET created=Now() WHERE created IS NULL; ALTER TABLE exp_formatline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE exp_processor SET created=Now() WHERE created IS NULL; ALTER TABLE exp_processor ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE exp_processor SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_processor ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE exp_processor_type SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_processor_type ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE exp_processor_type SET created=Now() WHERE created IS NULL; ALTER TABLE exp_processor_type ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE exp_processorparameter SET updated=Now() WHERE updated IS NULL; ALTER TABLE exp_processorparameter ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE exp_processorparameter SET created=Now() WHERE created IS NULL; ALTER TABLE exp_processorparameter ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE fact_acct_summary SET created=Now() WHERE created IS NULL; ALTER TABLE fact_acct_summary ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE fact_acct_summary SET updated=Now() WHERE updated IS NULL; ALTER TABLE fact_acct_summary ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE fact_reconciliation SET created=Now() WHERE created IS NULL; ALTER TABLE fact_reconciliation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE fact_reconciliation SET updated=Now() WHERE updated IS NULL; ALTER TABLE fact_reconciliation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE gl_journalgenerator SET updated=Now() WHERE updated IS NULL; ALTER TABLE gl_journalgenerator ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE gl_journalgenerator SET created=Now() WHERE created IS NULL; ALTER TABLE gl_journalgenerator ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE gl_journalgeneratorline SET created=Now() WHERE created IS NULL; ALTER TABLE gl_journalgeneratorline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE gl_journalgeneratorline SET updated=Now() WHERE updated IS NULL; ALTER TABLE gl_journalgeneratorline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE gl_journalgeneratorsource SET updated=Now() WHERE updated IS NULL; ALTER TABLE gl_journalgeneratorsource ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE gl_journalgeneratorsource SET created=Now() WHERE created IS NULL; ALTER TABLE gl_journalgeneratorsource ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_attribute SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_attribute ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_attribute SET created=Now() WHERE created IS NULL; ALTER TABLE hr_attribute ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_concept SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_concept ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_concept SET created=Now() WHERE created IS NULL; ALTER TABLE hr_concept ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_concept_acct SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_concept_acct ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_concept_acct SET created=Now() WHERE created IS NULL; ALTER TABLE hr_concept_acct ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_concept_category SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_concept_category ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_concept_category SET created=Now() WHERE created IS NULL; ALTER TABLE hr_concept_category ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_contract SET created=Now() WHERE created IS NULL; ALTER TABLE hr_contract ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_contract SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_contract ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_department SET created=Now() WHERE created IS NULL; ALTER TABLE hr_department ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_department SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_department ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_employee SET created=Now() WHERE created IS NULL; ALTER TABLE hr_employee ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_employee SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_employee ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_job SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_job ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_job SET created=Now() WHERE created IS NULL; ALTER TABLE hr_job ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_list SET created=Now() WHERE created IS NULL; ALTER TABLE hr_list ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_list SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_list ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_listline SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_listline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_listline SET created=Now() WHERE created IS NULL; ALTER TABLE hr_listline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_listtype SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_listtype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_listtype SET created=Now() WHERE created IS NULL; ALTER TABLE hr_listtype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_listversion SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_listversion ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_listversion SET created=Now() WHERE created IS NULL; ALTER TABLE hr_listversion ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_movement SET created=Now() WHERE created IS NULL; ALTER TABLE hr_movement ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_movement SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_movement ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_payroll SET created=Now() WHERE created IS NULL; ALTER TABLE hr_payroll ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_payroll SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_payroll ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_payrollconcept SET created=Now() WHERE created IS NULL; ALTER TABLE hr_payrollconcept ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_payrollconcept SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_payrollconcept ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_period SET created=Now() WHERE created IS NULL; ALTER TABLE hr_period ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_period SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_period ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_process SET created=Now() WHERE created IS NULL; ALTER TABLE hr_process ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE hr_process SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_process ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_year SET updated=Now() WHERE updated IS NULL; ALTER TABLE hr_year ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE hr_year SET created=Now() WHERE created IS NULL; ALTER TABLE hr_year ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_asset SET created=Now() WHERE created IS NULL; ALTER TABLE i_asset ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_asset SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_asset ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_bankstatement SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_bankstatement ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_bankstatement SET created=Now() WHERE created IS NULL; ALTER TABLE i_bankstatement ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_bpartner SET created=Now() WHERE created IS NULL; ALTER TABLE i_bpartner ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_bpartner SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_bpartner ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_conversion_rate SET created=Now() WHERE created IS NULL; ALTER TABLE i_conversion_rate ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_conversion_rate SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_conversion_rate ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_elementvalue SET created=Now() WHERE created IS NULL; ALTER TABLE i_elementvalue ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_elementvalue SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_elementvalue ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_fajournal SET created=Now() WHERE created IS NULL; ALTER TABLE i_fajournal ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_fajournal SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_fajournal ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_fixedasset SET created=Now() WHERE created IS NULL; ALTER TABLE i_fixedasset ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_fixedasset SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_fixedasset ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_gljournal SET created=Now() WHERE created IS NULL; ALTER TABLE i_gljournal ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_gljournal SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_gljournal ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_hr_movement SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_hr_movement ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_hr_movement SET created=Now() WHERE created IS NULL; ALTER TABLE i_hr_movement ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_inventory SET created=Now() WHERE created IS NULL; ALTER TABLE i_inventory ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_inventory SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_inventory ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_invoice SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_invoice ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_invoice SET created=Now() WHERE created IS NULL; ALTER TABLE i_invoice ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_movement SET created=Now() WHERE created IS NULL; ALTER TABLE i_movement ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_movement SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_movement ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_order SET created=Now() WHERE created IS NULL; ALTER TABLE i_order ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_order SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_order ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_payment SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_payment ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_payment SET created=Now() WHERE created IS NULL; ALTER TABLE i_payment ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_pricelist SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_pricelist ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_pricelist SET created=Now() WHERE created IS NULL; ALTER TABLE i_pricelist ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_product SET created=Now() WHERE created IS NULL; ALTER TABLE i_product ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_product SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_product ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_productplanning SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_productplanning ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_productplanning SET created=Now() WHERE created IS NULL; ALTER TABLE i_productplanning ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE i_reportline SET updated=Now() WHERE updated IS NULL; ALTER TABLE i_reportline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE i_reportline SET created=Now() WHERE created IS NULL; ALTER TABLE i_reportline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE imp_processor SET updated=Now() WHERE updated IS NULL; ALTER TABLE imp_processor ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE imp_processor SET created=Now() WHERE created IS NULL; ALTER TABLE imp_processor ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE imp_processor_type SET updated=Now() WHERE updated IS NULL; ALTER TABLE imp_processor_type ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE imp_processor_type SET created=Now() WHERE created IS NULL; ALTER TABLE imp_processor_type ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE imp_processorlog SET created=Now() WHERE created IS NULL; ALTER TABLE imp_processorlog ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE imp_processorlog SET updated=Now() WHERE updated IS NULL; ALTER TABLE imp_processorlog ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE imp_processorparameter SET updated=Now() WHERE updated IS NULL; ALTER TABLE imp_processorparameter ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE imp_processorparameter SET created=Now() WHERE created IS NULL; ALTER TABLE imp_processorparameter ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_bp_price SET created=Now() WHERE created IS NULL; ALTER TABLE m_bp_price ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_bp_price SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_bp_price ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_commodityshipment SET created=Now() WHERE created IS NULL; ALTER TABLE m_commodityshipment ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_commodityshipment SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_commodityshipment ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_costhistory SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_costhistory ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_costhistory SET created=Now() WHERE created IS NULL; ALTER TABLE m_costhistory ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_packagemps SET created=Now() WHERE created IS NULL; ALTER TABLE m_packagemps ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_packagemps SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_packagemps ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_parttype SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_parttype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_parttype SET created=Now() WHERE created IS NULL; ALTER TABLE m_parttype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_product_qualitytest SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_product_qualitytest ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_product_qualitytest SET created=Now() WHERE created IS NULL; ALTER TABLE m_product_qualitytest ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_productpricevendorbreak SET created=Now() WHERE created IS NULL; ALTER TABLE m_productpricevendorbreak ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_productpricevendorbreak SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_productpricevendorbreak ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_promotion SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotion ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_promotion SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotion ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_promotiondistribution SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotiondistribution ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_promotiondistribution SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotiondistribution ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_promotiongroup SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotiongroup ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_promotiongroup SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotiongroup ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_promotiongroupline SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotiongroupline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_promotiongroupline SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotiongroupline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_promotionline SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotionline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_promotionline SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotionline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_promotionprecondition SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotionprecondition ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_promotionprecondition SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotionprecondition ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_promotionreward SET created=Now() WHERE created IS NULL; ALTER TABLE m_promotionreward ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_promotionreward SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_promotionreward ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_qualitytest SET created=Now() WHERE created IS NULL; ALTER TABLE m_qualitytest ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_qualitytest SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_qualitytest ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_qualitytestresult SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_qualitytestresult ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_qualitytestresult SET created=Now() WHERE created IS NULL; ALTER TABLE m_qualitytestresult ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_rmatax SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_rmatax ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_rmatax SET created=Now() WHERE created IS NULL; ALTER TABLE m_rmatax ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shippercfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippercfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shippercfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippercfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shipperlabels SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperlabels ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shipperlabels SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperlabels ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shipperlabelscfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperlabelscfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shipperlabelscfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperlabelscfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shipperpackaging SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperpackaging ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shipperpackaging SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperpackaging ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shipperpackagingcfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperpackagingcfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shipperpackagingcfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperpackagingcfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shipperpickuptypes SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperpickuptypes ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shipperpickuptypes SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperpickuptypes ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shipperpickuptypescfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shipperpickuptypescfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shipperpickuptypescfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shipperpickuptypescfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shippingprocessor SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippingprocessor ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shippingprocessor SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippingprocessor ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shippingprocessorcfg SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippingprocessorcfg ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shippingprocessorcfg SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippingprocessorcfg ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shippingtransaction SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippingtransaction ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_shippingtransaction SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippingtransaction ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shippingtransactionline SET created=Now() WHERE created IS NULL; ALTER TABLE m_shippingtransactionline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_shippingtransactionline SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_shippingtransactionline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_storageonhand SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_storageonhand ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_storageonhand SET created=Now() WHERE created IS NULL; ALTER TABLE m_storageonhand ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE m_storagereservation SET updated=Now() WHERE updated IS NULL; ALTER TABLE m_storagereservation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE m_storagereservation SET created=Now() WHERE created IS NULL; ALTER TABLE m_storagereservation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pa_dashboardcontent SET created=Now() WHERE created IS NULL; ALTER TABLE pa_dashboardcontent ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pa_dashboardcontent SET updated=Now() WHERE updated IS NULL; ALTER TABLE pa_dashboardcontent ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pa_dashboardcontent_access SET created=Now() WHERE created IS NULL; ALTER TABLE pa_dashboardcontent_access ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pa_dashboardcontent_access SET updated=Now() WHERE updated IS NULL; ALTER TABLE pa_dashboardcontent_access ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pa_dashboardpreference SET updated=Now() WHERE updated IS NULL; ALTER TABLE pa_dashboardpreference ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pa_dashboardpreference SET created=Now() WHERE created IS NULL; ALTER TABLE pa_dashboardpreference ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pa_reportcube SET created=Now() WHERE created IS NULL; ALTER TABLE pa_reportcube ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pa_reportcube SET updated=Now() WHERE updated IS NULL; ALTER TABLE pa_reportcube ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_cost_collector SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_cost_collector ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_cost_collector SET created=Now() WHERE created IS NULL; ALTER TABLE pp_cost_collector ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_cost_collectorma SET created=Now() WHERE created IS NULL; ALTER TABLE pp_cost_collectorma ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_cost_collectorma SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_cost_collectorma ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_mrp SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_mrp ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_mrp SET created=Now() WHERE created IS NULL; ALTER TABLE pp_mrp ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_order_bom SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_bom ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order_bom SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_bom ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_order_bomline SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_bomline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order_bomline SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_bomline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_order_cost SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_cost ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_order_cost SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_cost ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order_node SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_node ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_order_node SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_node ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order_node_asset SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_node_asset ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order_node_asset SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_node_asset ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_order_node_product SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_node_product ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_order_node_product SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_node_product ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order_nodenext SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_nodenext ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order_nodenext SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_nodenext ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_order_workflow SET created=Now() WHERE created IS NULL; ALTER TABLE pp_order_workflow ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_order_workflow SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_order_workflow ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_product_bom SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_product_bom ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_product_bom SET created=Now() WHERE created IS NULL; ALTER TABLE pp_product_bom ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_product_bomline SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_product_bomline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_product_bomline SET created=Now() WHERE created IS NULL; ALTER TABLE pp_product_bomline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_product_planning SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_product_planning ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_product_planning SET created=Now() WHERE created IS NULL; ALTER TABLE pp_product_planning ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_wf_node_asset SET created=Now() WHERE created IS NULL; ALTER TABLE pp_wf_node_asset ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_wf_node_asset SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_wf_node_asset ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE pp_wf_node_product SET created=Now() WHERE created IS NULL; ALTER TABLE pp_wf_node_product ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE pp_wf_node_product SET updated=Now() WHERE updated IS NULL; ALTER TABLE pp_wf_node_product ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE qm_specification SET updated=Now() WHERE updated IS NULL; ALTER TABLE qm_specification ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE qm_specification SET created=Now() WHERE created IS NULL; ALTER TABLE qm_specification ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE qm_specificationline SET updated=Now() WHERE updated IS NULL; ALTER TABLE qm_specificationline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE qm_specificationline SET created=Now() WHERE created IS NULL; ALTER TABLE qm_specificationline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE t_1099extract SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_1099extract ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE t_1099extract SET created=Now() WHERE created IS NULL; ALTER TABLE t_1099extract ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE t_bom_indented SET created=Now() WHERE created IS NULL; ALTER TABLE t_bom_indented ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE t_bom_indented SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_bom_indented ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE t_bomline SET created=Now() WHERE created IS NULL; ALTER TABLE t_bomline ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE t_bomline SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_bomline ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE t_cashflow SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_cashflow ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE t_cashflow SET created=Now() WHERE created IS NULL; ALTER TABLE t_cashflow ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE t_mrp_crp SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_mrp_crp ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE t_mrp_crp SET created=Now() WHERE created IS NULL; ALTER TABLE t_mrp_crp ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE t_reconciliation SET created=Now() WHERE created IS NULL; ALTER TABLE t_reconciliation ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE t_reconciliation SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_reconciliation ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE t_replenish SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_replenish ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE t_trialbalance SET updated=Now() WHERE updated IS NULL; ALTER TABLE t_trialbalance ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE t_trialbalance SET created=Now() WHERE created IS NULL; ALTER TABLE t_trialbalance ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE u_posterminal SET updated=Now() WHERE updated IS NULL; ALTER TABLE u_posterminal ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE u_posterminal SET created=Now() WHERE created IS NULL; ALTER TABLE u_posterminal ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ws_webservice SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservice ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ws_webservice SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservice ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ws_webservice_para SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservice_para ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ws_webservice_para SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservice_para ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ws_webservicefieldinput SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicefieldinput ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ws_webservicefieldinput SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicefieldinput ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ws_webservicefieldoutput SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicefieldoutput ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ws_webservicefieldoutput SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicefieldoutput ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ws_webservicemethod SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicemethod ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ws_webservicemethod SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicemethod ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ws_webservicetype SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicetype ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; +UPDATE ws_webservicetype SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicetype ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ws_webservicetypeaccess SET created=Now() WHERE created IS NULL; ALTER TABLE ws_webservicetypeaccess ALTER COLUMN created SET DEFAULT Now(), ALTER COLUMN created SET NOT NULL ; +UPDATE ws_webservicetypeaccess SET updated=Now() WHERE updated IS NULL; ALTER TABLE ws_webservicetypeaccess ALTER COLUMN updated SET DEFAULT Now(), ALTER COLUMN updated SET NOT NULL ; + +UPDATE AD_Column SET DefaultValue='SYSDATE' WHERE DefaultValue is null AND ColumnName='Created'; + +UPDATE AD_Column SET DefaultValue='SYSDATE' WHERE DefaultValue is null AND ColumnName='Updated'; + +UPDATE AD_Column SET IsMandatory='Y' WHERE IsMandatory='N' AND ColumnName='Created'; + +UPDATE AD_Column SET IsMandatory='Y' WHERE IsMandatory='N' AND ColumnName='Updated'; + +SELECT register_migration_script('201404171500_IDEMPIERE-709.sql') FROM dual +; diff --git a/migration/i2.0/postgresql/201404181241_IDEMPIERE-1904.sql b/migration/i2.0/postgresql/201404181241_IDEMPIERE-1904.sql new file mode 100644 index 0000000000..1dde514ddc --- /dev/null +++ b/migration/i2.0/postgresql/201404181241_IDEMPIERE-1904.sql @@ -0,0 +1,16 @@ +-- Apr 18, 2014 12:41:00 PM SGT +-- IDEMPIERE-1904 Incorrect document status when void a document with completed document status + +UPDATE C_AllocationHdr SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE C_Invoice SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE C_Payment SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE GL_Journal SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE GL_JournalBatch SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE HR_Process SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE M_InOut SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE M_Inventory SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE M_Movement SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; +UPDATE PP_Cost_Collector SET DocStatus = 'RE' WHERE DocStatus = 'VO' AND Reversal_ID > 0; + +SELECT register_migration_script('201404181241_IDEMPIERE-1904.sql') FROM dual +; \ No newline at end of file diff --git a/migration/i2.0/postgresql/201404281824_IDEMPIERE-1920.sql b/migration/i2.0/postgresql/201404281824_IDEMPIERE-1920.sql new file mode 100644 index 0000000000..31c57af422 --- /dev/null +++ b/migration/i2.0/postgresql/201404281824_IDEMPIERE-1920.sql @@ -0,0 +1,16 @@ +-- Apr 28, 2014 5:35:23 PM COT +-- Decrease AccessLevel For Security Related Processes +UPDATE AD_Process SET AccessLevel='6',Updated=TO_TIMESTAMP('2014-04-28 17:35:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=50010 +; + +-- Apr 28, 2014 5:35:54 PM COT +UPDATE AD_Process SET AccessLevel='6',Updated=TO_TIMESTAMP('2014-04-28 17:35:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200008 +; + +-- Apr 29, 2014 5:47:13 PM COT +UPDATE AD_Process SET Help='Copy role access records from one role to another. The existing access records for the destination role will be deleted. This process can be executed just by advanced roles.',Updated=TO_TIMESTAMP('2014-04-29 17:47:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=50010 +; + +SELECT register_migration_script('201404281824_IDEMPIERE-1920.sql') FROM dual +; + diff --git a/org.adempiere.base.process/src/org/compiere/process/CopyRole.java b/org.adempiere.base.process/src/org/compiere/process/CopyRole.java index f16ef59861..0740242031 100755 --- a/org.adempiere.base.process/src/org/compiere/process/CopyRole.java +++ b/org.adempiere.base.process/src/org/compiere/process/CopyRole.java @@ -21,9 +21,12 @@ package org.compiere.process; import java.math.BigDecimal; +import org.adempiere.exceptions.AdempiereException; import org.compiere.model.I_AD_Role_Included; +import org.compiere.model.MRole; import org.compiere.util.DB; import org.compiere.util.Env; +import org.compiere.util.Msg; /** @@ -72,13 +75,17 @@ public class CopyRole extends SvrProcess */ protected String doIt() throws Exception { + if (! MRole.getDefault().isAccessAdvanced()) { + throw new AdempiereException(Msg.getMsg(getCtx(), "CannotAccessProcess", new Object[] {getProcessInfo().getAD_Process_ID(), MRole.getDefault().getName()})); + } + String[] tables = new String[] {"AD_Window_Access", "AD_Process_Access", "AD_Form_Access", - "AD_Workflow_Access", "AD_Task_Access", "AD_Document_Action_Access", - I_AD_Role_Included.Table_Name, + "AD_Workflow_Access", "AD_Task_Access", "AD_Document_Action_Access", "AD_InfoWindow_Access", + I_AD_Role_Included.Table_Name }; String[] keycolumns = new String[] {"AD_Window_ID", "AD_Process_ID", "AD_Form_ID", - "AD_Workflow_ID", "AD_Task_ID", "C_DocType_ID, AD_Ref_List_ID", - I_AD_Role_Included.COLUMNNAME_Included_Role_ID, + "AD_Workflow_ID", "AD_Task_ID", "C_DocType_ID, AD_Ref_List_ID", "AD_InfoWindow_ID", + I_AD_Role_Included.COLUMNNAME_Included_Role_ID }; int action = 0; @@ -94,6 +101,7 @@ public class CopyRole extends SvrProcess final boolean column_IsReadWrite = !table.equals("AD_Document_Action_Access") + && !table.equals("AD_InfoWindow_Access") && !table.equals(I_AD_Role_Included.Table_Name); final boolean column_SeqNo = table.equals(I_AD_Role_Included.Table_Name); @@ -126,4 +134,5 @@ public class CopyRole extends SvrProcess return "Role copied"; } // doIt - } // CopyRole + +} // CopyRole diff --git a/org.adempiere.base/src/org/compiere/process/DocumentEngine.java b/org.adempiere.base/src/org/compiere/process/DocumentEngine.java index 6e7823959a..8e33cf54fa 100644 --- a/org.adempiere.base/src/org/compiere/process/DocumentEngine.java +++ b/org.adempiere.base/src/org/compiere/process/DocumentEngine.java @@ -533,7 +533,8 @@ public class DocumentEngine implements DocAction if (m_document.voidIt()) { m_status = STATUS_Voided; - m_document.setDocStatus(m_status); + if (!m_document.getDocStatus().equals(STATUS_Reversed)) + m_document.setDocStatus(m_status); return true; } return false; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java index c6e87db789..109abe7e47 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/ADTabpanel.java @@ -527,7 +527,6 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer editor.getComponent().setWidgetOverride("fieldDescription", HelpController.escapeJavascriptContent(field.getDescription())); editor.getComponent().setWidgetOverride("fieldHelp", HelpController.escapeJavascriptContent(field.getHelp())); editor.getComponent().setWidgetListener("onFocus", "zWatch.fire('onFieldTooltip', this, null, this.fieldHeader(), this.fieldDescription(), this.fieldHelp());"); - editor.getComponent().setWidgetListener("onBlur", "zWatch.fire('onFieldTooltip', this);"); editor.setGridTab(this.getGridTab()); field.addPropertyChangeListener(editor); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridTabRowRenderer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridTabRowRenderer.java index fabd3671d6..d7210202a7 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridTabRowRenderer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridTabRowRenderer.java @@ -411,7 +411,6 @@ public class GridTabRowRenderer implements RowRenderer, RowRendererExt editor.getComponent().setWidgetOverride("fieldDescription", HelpController.escapeJavascriptContent(gridPanelFields[i].getDescription())); editor.getComponent().setWidgetOverride("fieldHelp", HelpController.escapeJavascriptContent(gridPanelFields[i].getHelp())); editor.getComponent().setWidgetListener("onFocus", "zWatch.fire('onFieldTooltip', this, null, this.fieldHeader(), this.fieldDescription(), this.fieldHelp());"); - editor.getComponent().setWidgetListener("onBlur", "zWatch.fire('onFieldTooltip', this);"); // Default Focus if (defaultFocusField == null && gridPanelFields[i].isDefaultFocus()) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java index 164b55975e..7f0bba4168 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java @@ -286,7 +286,6 @@ public class ProcessParameterPanel extends Panel implements WEditor editor = WebEditorFactory.getEditor(mField, false); editor.setProcessParameter(true); editor.getComponent().addEventListener(Events.ON_FOCUS, this); - editor.getComponent().addEventListener(Events.ON_BLUR, this); editor.addValueChangeListener(this); editor.dynamicDisplay(); // MField => VEditor - New Field value to be updated to editor @@ -343,7 +342,6 @@ public class ProcessParameterPanel extends Panel implements //override attribute editor2.getComponent().setWidgetAttribute("columnName", mField2.getColumnName()+"_To"); editor2.getComponent().addEventListener(Events.ON_FOCUS, this); - editor2.getComponent().addEventListener(Events.ON_BLUR, this); // New Field value to be updated to editor mField2.addPropertyChangeListener(editor2); editor2.dynamicDisplay(); @@ -699,25 +697,6 @@ public class ProcessParameterPanel extends Panel implements } } } - else if (event.getName().equals(Events.ON_BLUR)) { - for (WEditor editor : m_wEditors) - { - if (editor.isComponentOfEditor(event.getTarget())) - { - SessionManager.getAppDesktop().updateHelpTooltip(null); - return; - } - } - - for (WEditor editor : m_wEditors2) - { - if (editor != null && editor.getComponent() != null && editor.isComponentOfEditor(event.getTarget())) - { - SessionManager.getAppDesktop().updateHelpTooltip(null); - return; - } - } - } else if (event.getName().equals("onDynamicDisplay")) { dynamicDisplay(); } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceIndicator.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceIndicator.java index db620f176b..1174fb354a 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceIndicator.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/graph/WPerformanceIndicator.java @@ -160,15 +160,21 @@ public class WPerformanceIndicator extends Panel implements EventListener private void onAfterSize(AfterSizeEvent event) { int width = event.getWidth(); + if (width == 0) + return; // no space to render int height = event.getHeight(); //set normal height if (height == 0) { height = width > 300 ? width * 40 / 100 : width * 85 / 100; + if (height == 0) + return; // no space to render this.setHeight(height+"px"); } else { int ratio = (height * 100) / width; if (ratio > 85 || ratio < 50) { height = width > 300 ? width * 40 / 100 : width * 85 / 100; + if (height == 0) + return; // no space to render this.setHeight(height+"px"); } } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java index d21e3c65fe..554f12935c 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java @@ -589,6 +589,7 @@ public class DefaultDesktop extends TabbedDesktop implements MenuListener, Seria @Override public void updateHelpContext(String ctxType, int recordId) { + Clients.response(new AuScript("zWatch.fire('onFieldTooltip', this);")); helpController.renderCtxHelp(ctxType, recordId); } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java index daa67d94a6..8c4ab4631d 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java @@ -1054,16 +1054,6 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } } } - else if (event.getName().equals(Events.ON_BLUR)) { - for (WEditor editor : editors) - { - if (editor.isComponentOfEditor(event.getTarget())) - { - SessionManager.getAppDesktop().updateHelpTooltip(null); - return; - } - } - } else { super.onEvent(event); @@ -1077,7 +1067,6 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL for (WEditor editor : editors) { editor.getComponent().addEventListener(Events.ON_FOCUS, this); - editor.getComponent().addEventListener(Events.ON_BLUR, this); } } } diff --git a/org.adempiere.ui.zk/WEB-INF/web.xml b/org.adempiere.ui.zk/WEB-INF/web.xml index 9f2c804276..ab9772d62d 100644 --- a/org.adempiere.ui.zk/WEB-INF/web.xml +++ b/org.adempiere.ui.zk/WEB-INF/web.xml @@ -84,6 +84,10 @@ update-uri /zkau + + compress + false + 1 @@ -100,6 +104,10 @@ org.zkoss.zk.au.http.DHtmlUpdateServlet + + compress + false + auEngine diff --git a/org.adempiere.ui.zk/WEB-INF/zk.xml b/org.adempiere.ui.zk/WEB-INF/zk.xml index e62f5e90f0..98076d90bc 100644 --- a/org.adempiere.ui.zk/WEB-INF/zk.xml +++ b/org.adempiere.ui.zk/WEB-INF/zk.xml @@ -23,6 +23,9 @@ 500 + + -1 +