From 3fedaf474b1958ada54ac9834a9ec175f0acce95 Mon Sep 17 00:00:00 2001 From: deathmeat Date: Wed, 13 Jun 2007 16:14:10 +0000 Subject: [PATCH] [ 1684853 ] Add Print Preview button Added missing sql scripts for the "PrintPreview" message --- .../320-trunk/010_add_printpreview_button.sql | 21 +++++++++++++++++++ .../010_add_printpreview_button.sql | 21 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 migration/320-trunk/010_add_printpreview_button.sql create mode 100644 migration/320-trunk/postgresql/010_add_printpreview_button.sql diff --git a/migration/320-trunk/010_add_printpreview_button.sql b/migration/320-trunk/010_add_printpreview_button.sql new file mode 100644 index 0000000000..c81055985b --- /dev/null +++ b/migration/320-trunk/010_add_printpreview_button.sql @@ -0,0 +1,21 @@ +INSERT INTO ad_message + (ad_message_id, ad_client_id, ad_org_id, isactive, + created, createdby, + updated, updatedby, + value, msgtext, msgtype + ) + VALUES (50017, 0, 0, 'Y', + TO_DATE ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, + TO_DATE ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, + 'PrintPreview','Print preview','I' + ); + +COMMIT ; + + UPDATE ad_sequence + SET currentnextsys = (SELECT MAX (ad_message_id) + 1 + FROM ad_message + WHERE ad_message_id < 1000000) + WHERE NAME = 'AD_Message'; + +COMMIT ; diff --git a/migration/320-trunk/postgresql/010_add_printpreview_button.sql b/migration/320-trunk/postgresql/010_add_printpreview_button.sql new file mode 100644 index 0000000000..a7a3da3cce --- /dev/null +++ b/migration/320-trunk/postgresql/010_add_printpreview_button.sql @@ -0,0 +1,21 @@ +INSERT INTO ad_message + (ad_message_id, ad_client_id, ad_org_id, isactive, + created, createdby, + updated, updatedby, + value, msgtext, msgtype + ) + VALUES (50017, 0, 0, 'Y', + TO_TIMESTAMP ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, + TO_TIMESTAMP ('06/12/2007 18:00:00', 'MM/DD/YYYY HH24:MI:SS'), 100, + 'PrintPreview','Print preview','I' + ); + +COMMIT ; + + UPDATE ad_sequence + SET currentnextsys = (SELECT MAX (ad_message_id) + 1 + FROM ad_message + WHERE ad_message_id < 1000000) + WHERE NAME = 'AD_Message'; + +COMMIT ;