Reorder and fix quote bug
This commit is contained in:
parent
9894ecabb4
commit
d83a418b2c
|
@ -1,33 +1,53 @@
|
||||||
-- juddm BugFix:(Country Changes)
|
-- juddm BugFix:(Country Changes)
|
||||||
-- add country Serbia
|
|
||||||
INSERT INTO C_COUNTRY
|
--add Serbian currency
|
||||||
(C_COUNTRY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY,
|
INSERT INTO C_CURRENCY
|
||||||
NAME, DESCRIPTION, COUNTRYCODE, HASREGION, DISPLAYSEQUENCE, HASPOSTAL_ADD, C_CURRENCY_ID,
|
(c_currency_id, ad_client_id, ad_org_id, isactive, created,
|
||||||
ISADDRESSLINESREVERSE, ISADDRESSLINESLOCALREVERSE)
|
createdby, updated, updatedby, iso_code, cursymbol,
|
||||||
VALUES (349, 0, 0, 'Y', TO_DATE('2003-03-09', 'YYYY-MM-DD'), 0, TO_DATE('2000-01-02','YYYY-MM-DD'), 0,
|
description, stdprecision, costingprecision, iseuro, isemumember
|
||||||
'Serbia', 'Serbia', 'RS', 'N', '@C@, @P@', 'N', 347, 'N', 'N');
|
)
|
||||||
|
VALUES (347, 0, 0, 'Y', TO_DATE ('2003-08-06', 'YYYY-MM-DD'),
|
||||||
-- add country Montenegro
|
0, TO_DATE ('2000-01-02', 'YYYY-MM-DD'), 0, 'RSD', 'RSD',
|
||||||
INSERT INTO C_COUNTRY
|
'Serbian Dinar', 2, 4, 'N', 'N'
|
||||||
(C_COUNTRY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY,
|
);
|
||||||
NAME, DESCRIPTION, COUNTRYCODE, HASREGION, DISPLAYSEQUENCE, HASPOSTAL_ADD, C_CURRENCY_ID,
|
|
||||||
ISADDRESSLINESREVERSE, ISADDRESSLINESLOCALREVERSE)
|
-- add country Serbia
|
||||||
VALUES (350, 0, 0, 'Y', TO_DATE('2003-03-09','YYYY-MM-DD'), 0, TO_DATE('2000-01-02','YYYY-MM-DD'), 0,
|
INSERT INTO C_COUNTRY
|
||||||
'Montenegro', 'Montenegro', 'ME', 'N', '@C@, @P@', 'N', 102, 'N', 'N');
|
(c_country_id, ad_client_id, ad_org_id, isactive, created,
|
||||||
|
createdby, updated, updatedby, NAME, description,
|
||||||
-- deactivate Yugoslavia
|
countrycode, hasregion, displaysequence, haspostal_add,
|
||||||
UPDATE C_COUNTRY SET ISACTIVE = 'N' WHERE C_COUNTRY_ID=346;
|
c_currency_id, isaddresslinesreverse, isaddresslineslocalreverse
|
||||||
|
)
|
||||||
--add Serbian currency
|
VALUES (349, 0, 0, 'Y', TO_DATE ('2003-03-09', 'YYYY-MM-DD'),
|
||||||
INSERT INTO C_CURRENCY
|
0, TO_DATE ('2000-01-02', 'YYYY-MM-DD'), 0, 'Serbia', 'Serbia',
|
||||||
(C_CURRENCY_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ISO_CODE,
|
'RS', 'N', '@C@, @P@', 'N',
|
||||||
CURSYMBOL, DESCRIPTION, STDPRECISION, COSTINGPRECISION, ISEURO, ISEMUMEMBER)
|
347, 'N', 'N'
|
||||||
VALUES(347, 0, 0, 'Y', TO_DATE('2003-08-06','YYYY-MM-DD'),0, TO_DATE('2000-01-02','YYYY-MM-DD), 0, 'RSD',
|
);
|
||||||
'RSD', 'Serbian Dinar', 2, 4, 'N', 'N')
|
|
||||||
|
-- add country Montenegro
|
||||||
|
INSERT INTO C_COUNTRY
|
||||||
-- deactivate Yugoslavia currency
|
(c_country_id, ad_client_id, ad_org_id, isactive, created,
|
||||||
UPDATE C_CURRENCY SET ISACTIVE = 'N' WHERE C_CURRENCY_ID = 314;
|
createdby, updated, updatedby, NAME,
|
||||||
|
description, countrycode, hasregion, displaysequence,
|
||||||
COMMIT;
|
haspostal_add, c_currency_id, isaddresslinesreverse,
|
||||||
|
isaddresslineslocalreverse
|
||||||
|
)
|
||||||
|
VALUES (350, 0, 0, 'Y', TO_DATE ('2003-03-09', 'YYYY-MM-DD'),
|
||||||
|
0, TO_DATE ('2000-01-02', 'YYYY-MM-DD'), 0, 'Montenegro',
|
||||||
|
'Montenegro', 'ME', 'N', '@C@, @P@',
|
||||||
|
'N', 102, 'N',
|
||||||
|
'N'
|
||||||
|
);
|
||||||
|
|
||||||
|
-- deactivate Yugoslavia
|
||||||
|
UPDATE C_COUNTRY
|
||||||
|
SET isactive = 'N'
|
||||||
|
WHERE c_country_id = 346;
|
||||||
|
|
||||||
|
|
||||||
|
-- deactivate Yugoslavia currency
|
||||||
|
UPDATE C_CURRENCY
|
||||||
|
SET isactive = 'N'
|
||||||
|
WHERE c_currency_id = 314;
|
||||||
|
|
||||||
|
COMMIT ;
|
||||||
|
|
Loading…
Reference in New Issue