2007-04-26 22:42:30 +07:00
|
|
|
-- Feature Request - Allow rounding up of price list (schema) to nearest 5 or 9 unit of currency
|
|
|
|
-- http://sourceforge.net/tracker/index.php?func=detail&aid=1708139&group_id=176962&atid=879335
|
|
|
|
|
|
|
|
INSERT INTO AD_REF_LIST
|
|
|
|
(ad_ref_list_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby,
|
|
|
|
value, name, description, ad_reference_id, validfrom, validto, entitytype )
|
2007-04-27 03:48:23 +07:00
|
|
|
VALUES (50042, 0, 0, 'Y', TO_DATE('2007-04-26','YYYY-MM-DD'),100, TO_DATE('2007-04-26','YYYY-MM-DD'), 100,
|
|
|
|
9, 'Ending in 9/5', 'The price ends in either a 5 or 9 whole unit',155,NULL,NULL,'D');
|
2007-04-26 22:42:30 +07:00
|
|
|
|
|
|
|
COMMIT;
|
2007-04-27 03:58:23 +07:00
|
|
|
|
|
|
|
UPDATE AD_SEQUENCE
|
|
|
|
SET currentnextsys = (SELECT MAX (ad_ref_list_id) + 1
|
|
|
|
FROM AD_REF_LIST
|
|
|
|
WHERE ad_ref_list_id < 1000000)
|
|
|
|
WHERE NAME = 'AD_Ref_List';
|
|
|
|
|
|
|
|
COMMIT;
|