DMSII Dates Represented as a GROUP of NumbersThe DMSII GROUP must always contain a year and a month; the day can be omitted, in which case it defaults to 1. To clone a DMSII date (represented as a group of numbers) as a relational database date, write a user script (script.user_layout.primary_tablename) that does the following:
*The following SQL statements cause the DATABridge Client to clone the DMSII group INV_DATE as a relational database date type. Filename: script.user_layout.inv update DMS_ITEMS set di_options=2 where dataset_name=’INV’ and dms_item_name=’INV_DATE’ /***/ update DMS_ITEMS set dms_subtype=1 where dataset_name=’INV’ and dms_item_name=’INV_DATE_YEAR /***/ update DMS_ITEMS set dms_subtype=2 where dataset_name=’INV’ and dms_item_name=’INV_DATE_MONTH’ /***/ update DMS_ITEMS set dms_subtype=3 where dataset_name=’INV’ and dms_item_name=’INV_DATE_DAY’ | ||||||||||||
|