From 77a86ae34e6871539d40d64c565c9adf905aeca6 Mon Sep 17 00:00:00 2001 From: "Redhuan D. Oon" Date: Wed, 17 Dec 2008 15:48:17 +0000 Subject: [PATCH] REVERTING REVISION of [ FR 2432892 ] Re-org of migration directory --- migration/352a-trunk/250_BF2034138.sql | 10 + migration/352a-trunk/251_BF2031818.sql | 26 + .../252_BF2033473_RV_PP_Product_BOMLine.sql | 31 + .../253_FR2035176_ImmediateBankTransfer.sql | 336 ++ migration/352a-trunk/254_FR1795398.sql | 98 + ...255_FR_2038014_Material_Receipt_To_DRP.sql | 65 + migration/352a-trunk/256_BF_2037027.sql | 40 + .../257_FR_2030865_Distribution_Run_DO.sql | 50 + .../352a-trunk/258_BF_2038848_OrderPolicy.sql | 10 + .../352a-trunk/259_BF2039050_Terminology.sql | 4269 +++++++++++++++++ .../260_BF_FixParameterDistributionOrders.sql | 70 + ...FR_2039663_NewParameterDistributionRun.sql | 20 + migration/352a-trunk/262_BF2041299.sql | 45 + migration/352a-trunk/263_BF1991574.sql | 4 + .../264_FR_2011567_Background_Image.sql | 229 + migration/352a-trunk/265_BF2046200.sql | 45 + migration/352a-trunk/266_FR2048081.sql | 25 + migration/352a-trunk/267_BF2049497.sql | 260 + .../268_BF2056097_MultipleChangeComponent.sql | 100 + migration/352a-trunk/269_BF2059012_ViewPI.sql | 4 + migration/352a-trunk/270_BF2064671.sql | 15 + .../271_FR2065395_Implement_New_Document.sql | 30 + .../272_FR_2039663_FixParameters.sql | 34 + migration/352a-trunk/273_BF2073605.sql | 14 + migration/352a-trunk/274_BF2073737.sql | 25 + .../275_PP_Cost_Collector_default_window.sql | 5 + .../276_UniqueIndexPPProductBOM.sql | 1 + .../277_BF2081237_C_Payment_Available.sql | 62 + migration/352a-trunk/278_FR_2083255_MRP.sql | 15 + migration/352a-trunk/279_FR2086964.sql | 1 + .../280_FB_1926882_Fix_C_Invoice_v.sql | 54 + ..._Fin_Report_Line_Operand_display_order.sql | 1 + .../282_BF2081237_C_Payment_Allocated.sql | 57 + migration/352a-trunk/283_BF_2088779.sql | 23 + migration/352a-trunk/284_BF2090815.sql | 25 + migration/352a-trunk/285_BF2091203.sql | 92 + migration/352a-trunk/286_BF2052847.sql | 4 + migration/352a-trunk/287_BF2091231.sql | 35 + migration/352a-trunk/288_FR2092739.sql | 6 + migration/352a-trunk/289_FR2092751.sql | 5 + .../290_FR_2094162_Bank_Transfer.sql | 615 +++ .../291_FR_2074600_HouseKeeping.sql | 1258 +++++ .../352a-trunk/292_BF2112805_Cost_Element.sql | 45 + migration/352a-trunk/293_PP_SetWindows.sql | 85 + .../352a-trunk/294_FR2117145_rv_unposted.sql | 278 ++ migration/352a-trunk/295_BF2117416.sql | 53 + .../296_FR2002744_ForecastReport.sql | 2306 +++++++++ .../352a-trunk/297_FR2002744_ForecastFix.sql | 450 ++ .../352a-trunk/298_BF2133188_FixCalloutDO.sql | 26 + .../299_BF1745154Cost_Reversal_Doc.sql | 70 + .../352a-trunk/300_BF2135012_Asset_Window.sql | 10 + .../352a-trunk/301_BF2141475_messages.sql | 30 + migration/352a-trunk/302_BF2142344.sql | 25 + .../303_FR2143266_multiline_headers.sql | 41 + ...04_FR2143573_Enhancements_to_reporting.sql | 206 + .../305_FR2148808_SuppressRepeats.sql | 41 + migration/352a-trunk/306_FR2151667.sql | 382 ++ migration/352a-trunk/307_BF2153188.sql | 20 + migration/352a-trunk/308_BF2158682.sql | 5 + .../309_FR2170521_AddChargeToImportOrder.sql | 50 + .../310_FR2171947_ad_changelog_speed.sql | 2 + .../352a-trunk/311_PosteritaWebPOS_173.sql | 1379 ++++++ .../313_FR2101466_Native_Sequence.sql | 208 + .../314_PosteritaCashTenderType.sql | 10 + .../352a-trunk/315_replace_pljava_for34.sql | 1 + .../352a-trunk/316_replace_pljava_for352.sql | 1 + migration/352a-trunk/317_FR2233277.sql | 746 +++ .../318_FRLiberoWorkShop_Reverted.sql | 0 migration/352a-trunk/319_BF2273943.sql | 2590 ++++++++++ migration/352a-trunk/320_FR2257170.sql | 133 + .../352a-trunk/321_PosteritaSampleData.sql | 608 +++ .../352a-trunk/322_PosteritaSampleData_2.sql | 1812 +++++++ .../323_MFreightCategory_Unique.sql | 4 + migration/352a-trunk/324_BF2308332.sql | 1 + ...25_BG2311021_Region_dynamic_validation.sql | 9 + ...8Implement_PA_DASHBOARDCONTENT_support.sql | 161 + migration/352a-trunk/327_BF2319604.sql | 4 + migration/352a-trunk/328_BF2319302.sql | 9 + migration/352a-trunk/329_BF2320411.sql | 15 + .../330_PosteritaExampleTerminal.sql | 5 + ..._BF2339528_AccessLevelU_Web_Properties.sql | 8 + migration/352a-trunk/332_placeholder.sql | 0 .../352a-trunk/333_BF2344776_PrintMO.sql | 2098 ++++++++ migration/352a-trunk/334_FR2353794.sql | 12 + .../335_BF1936311_migrate_bomtype.sql | 29 + .../336_BF2227971_planning_window.sql | 205 + .../337_FR2380080_Implement_drop_shipment.sql | 553 +++ migration/352a-trunk/338_BF2374272.sql | 4 + migration/352a-trunk/339_fixPaymentWindow.sql | 3 + ...0_FR2391012_Invoke_AD_Form_from_button.sql | 25 + .../341_FR2350428_LocatorInReplenishTab.sql | 55 + migration/352a-trunk/342_FR2337778.sql | 1 + migration/352a-trunk/343_nextBusinessDay.sql | 1 + migration/352a-trunk/344_BF1895317.sql | 15 + migration/352a-trunk/345_FR2406777.sql | 15 + migration/352a-trunk/346_placeholder.sql | 0 .../347_recoverDICTIONARY_ID_COMMENTS.sql | 4 + ...408411_AD_Workflow_IsBetaFunctionality.sql | 90 + .../349_MarkBetaFunctionalities.sql | 450 ++ .../350_RF2408898_CostCollectorType.sql | 259 + .../351_FR2391399_dunning_run_org_filter.sql | 10 + .../352_BF2412212_PP_Cost_Collector.sql | 51 + .../353_PA_DashboardContent_IsCollapsible.sql | 35 + .../354_OrderDistributionDetail.sql | 96 + migration/352a-trunk/355_BF2417012.sql | 13 + .../356_FR2419089_Hide_Fields_WFM.sql | 435 ++ .../357_BF2412212_PP_Cost_Collector.sql | 740 +++ migration/352a-trunk/358_FR2419954.sql | 16 + migration/352a-trunk/359_BF2420918.sql | 4 + migration/352a-trunk/360_BF2431049.sql | 10 + migration/352a-trunk/361_BF2431285.sql | 4 + migration/352a-trunk/README.txt | 2 + migration/352a-trunk/build.xml | 50 + .../352a-trunk/postgresql/250_BF2034138.sql | 10 + .../352a-trunk/postgresql/251_BF2031818.sql | 26 + .../252_BF2033473_RV_PP_Product_BOMLine.sql | 31 + .../253_FR2035176_ImmediateBankTransfer.sql | 338 ++ .../352a-trunk/postgresql/254_FR1795398.sql | 96 + ...255_FR_2038014_Material_Receipt_To_DRP.sql | 65 + .../352a-trunk/postgresql/256_BF_2037027.sql | 40 + .../257_FR_2030865_Distribution_Run_DO.sql | 49 + .../postgresql/258_BF_2038848_OrderPolicy.sql | 10 + .../postgresql/259_BF2039050_Terminology.sql | 4266 ++++++++++++++++ .../260_BF_FixParameterDistributionOrders.sql | 69 + ...FR_2039663_NewParameterDistributionRun.sql | 20 + .../352a-trunk/postgresql/262_BF2041299.sql | 1 + .../352a-trunk/postgresql/263_BF1991574.sql | 4 + .../264_FR_2011567_Background_Image.sql | 227 + .../352a-trunk/postgresql/265_BF2046200.sql | 45 + .../352a-trunk/postgresql/266_FR2048081.sql | 25 + .../352a-trunk/postgresql/267_BF2049497.sql | 260 + .../268_BF2056097_MultipleChangeComponent.sql | 100 + .../postgresql/269_BF2059012_ViewPI.sql | 4 + .../352a-trunk/postgresql/270_BF2064671.sql | 15 + .../271_FR2065395_Implement_New_Document.sql | 30 + .../272_FR_2039663_FixParameters.sql | 35 + .../352a-trunk/postgresql/273_BF2073605.sql | 14 + .../352a-trunk/postgresql/274_BF2073737.sql | 25 + .../275_PP_Cost_Collector_default_window.sql | 5 + .../276_UniqueIndexPPProductBOM.sql | 1 + .../277_BF2081237_C_Payment_Available.sql | 1 + .../postgresql/278_FR_2083255_MRP.sql | 15 + .../352a-trunk/postgresql/279_FR2086964.sql | 25 + .../280_FB_1926882_Fix_C_Invoice_v.sql | 110 + ..._Fin_Report_Line_Operand_display_order.sql | 1 + .../282_BF2081237_C_Payment_Allocated.sql | 1 + .../352a-trunk/postgresql/283_BF_2088779.sql | 24 + .../352a-trunk/postgresql/284_BF2090815.sql | 25 + .../352a-trunk/postgresql/285_BF2091203.sql | 92 + .../352a-trunk/postgresql/286_BF2052847.sql | 4 + .../352a-trunk/postgresql/287_BF2091231.sql | 51 + .../352a-trunk/postgresql/288_FR2092739.sql | 6 + .../352a-trunk/postgresql/289_FR2092751.sql | 5 + .../290_FR_2094162_Bank_Transfer.sql | 615 +++ .../291_FR_2074600_HouseKeeping.sql | 1258 +++++ .../postgresql/292_BF2112805_Cost_Element.sql | 45 + .../postgresql/293_PP_SetWindows.sql | 85 + .../postgresql/294_FR2117145_rv_unposted.sql | 278 ++ .../352a-trunk/postgresql/295_BF2117416.sql | 52 + .../296_FR2002744_ForecastReport.sql | 2305 +++++++++ .../postgresql/297_FR2002744_ForecastFix.sql | 451 ++ .../postgresql/298_BF2133188_FixCalloutDO.sql | 26 + .../299_BF1745154Cost_Reversal_Doc.sql | 69 + .../postgresql/300_BF2135012_Asset_Window.sql | 10 + .../postgresql/301_BF2141475_messages.sql | 30 + .../352a-trunk/postgresql/302_BF2142344.sql | 25 + .../303_FR2143266_multiline_headers.sql | 40 + ...04_FR2143573_Enhancements_to_reporting.sql | 207 + .../305_FR2148808_SuppressRepeats.sql | 41 + .../352a-trunk/postgresql/306_FR2151667.sql | 379 ++ .../352a-trunk/postgresql/307_BF2153188.sql | 20 + .../352a-trunk/postgresql/308_BF2158682.sql | 5 + .../309_FR2170521_AddChargeToImportOrder.sql | 50 + .../310_FR2171947_ad_changelog_speed.sql | 2 + .../postgresql/311_PosteritaWebPOS_173.sql | 1345 ++++++ .../313_FR2101466_Native_Sequence.sql | 197 + .../314_PosteritaCashTenderType.sql | 10 + .../postgresql/315_replace_pljava_for34.sql | 1690 +++++++ .../postgresql/316_replace_pljava_for352.sql | 475 ++ .../352a-trunk/postgresql/317_FR2233277.sql | 746 +++ .../318_FRLiberoWorkShop_Reverted.sql | 0 .../352a-trunk/postgresql/319_BF2273943.sql | 2589 ++++++++++ .../352a-trunk/postgresql/320_FR2257170.sql | 221 + .../postgresql/321_PosteritaSampleData.sql | 607 +++ .../postgresql/322_PosteritaSampleData_2.sql | 1808 +++++++ .../323_MFreightCategory_Unique.sql | 4 + .../352a-trunk/postgresql/324_BF2308332.sql | 5 + ...25_BG2311021_Region_dynamic_validation.sql | 10 + ...8Implement_PA_DASHBOARDCONTENT_support.sql | 162 + .../352a-trunk/postgresql/327_BF2319604.sql | 4 + .../352a-trunk/postgresql/328_BF2319302.sql | 9 + .../352a-trunk/postgresql/329_BF2320411.sql | 15 + .../330_PosteritaExampleTerminal.sql | 5 + ..._BF2339528_AccessLevelU_Web_Properties.sql | 10 + .../352a-trunk/postgresql/332_placeholder.sql | 0 .../postgresql/333_BF2344776_PrintMO.sql | 2079 ++++++++ .../352a-trunk/postgresql/334_FR2353794.sql | 9 + .../335_BF1936311_migrate_bomtype.sql | 35 + .../336_BF2227971_planning_window.sql | 205 + .../337_FR2380080_Implement_drop_shipment.sql | 392 ++ .../352a-trunk/postgresql/338_BF2374272.sql | 4 + .../postgresql/339_fixPaymentWindow.sql | 3 + ...0_FR2391012_Invoke_AD_Form_from_button.sql | 25 + .../341_FR2350428_LocatorInReplenishTab.sql | 55 + .../352a-trunk/postgresql/342_FR2337778.sql | 1 + .../postgresql/343_nextBusinessDay.sql | 61 + .../352a-trunk/postgresql/344_BF1895317.sql | 15 + .../352a-trunk/postgresql/345_FR2406777.sql | 15 + .../352a-trunk/postgresql/346_placeholder.sql | 0 .../347_recoverDICTIONARY_ID_COMMENTS.sql | 4 + ...408411_AD_Workflow_IsBetaFunctionality.sql | 90 + .../349_MarkBetaFunctionalities.sql | 450 ++ .../350_RF2408898_CostCollectorType.sql | 256 + .../351_FR2391399_dunning_run_org_filter.sql | 10 + .../352_BF2412212_PP_Cost_Collector.sql | 52 + .../353_PA_DashboardContent_IsCollapsible.sql | 35 + .../354_OrderDistributionDetail.sql | 97 + .../352a-trunk/postgresql/355_BF2417012.sql | 13 + .../356_FR2419089_Hide_Fields_WFM.sql | 435 ++ .../357_BF2412212_PP_Cost_Collector.sql | 740 +++ .../352a-trunk/postgresql/358_FR2419954.sql | 15 + .../352a-trunk/postgresql/359_BF2420918.sql | 4 + .../352a-trunk/postgresql/360_BF2431049.sql | 10 + .../352a-trunk/postgresql/361_BF2431285.sql | 4 + migration/352a-trunk/postgresql/build.xml | 50 + 225 files changed, 52468 insertions(+) create mode 100644 migration/352a-trunk/250_BF2034138.sql create mode 100644 migration/352a-trunk/251_BF2031818.sql create mode 100644 migration/352a-trunk/252_BF2033473_RV_PP_Product_BOMLine.sql create mode 100644 migration/352a-trunk/253_FR2035176_ImmediateBankTransfer.sql create mode 100644 migration/352a-trunk/254_FR1795398.sql create mode 100644 migration/352a-trunk/255_FR_2038014_Material_Receipt_To_DRP.sql create mode 100644 migration/352a-trunk/256_BF_2037027.sql create mode 100644 migration/352a-trunk/257_FR_2030865_Distribution_Run_DO.sql create mode 100644 migration/352a-trunk/258_BF_2038848_OrderPolicy.sql create mode 100644 migration/352a-trunk/259_BF2039050_Terminology.sql create mode 100644 migration/352a-trunk/260_BF_FixParameterDistributionOrders.sql create mode 100644 migration/352a-trunk/261_FR_2039663_NewParameterDistributionRun.sql create mode 100644 migration/352a-trunk/262_BF2041299.sql create mode 100644 migration/352a-trunk/263_BF1991574.sql create mode 100644 migration/352a-trunk/264_FR_2011567_Background_Image.sql create mode 100644 migration/352a-trunk/265_BF2046200.sql create mode 100644 migration/352a-trunk/266_FR2048081.sql create mode 100644 migration/352a-trunk/267_BF2049497.sql create mode 100644 migration/352a-trunk/268_BF2056097_MultipleChangeComponent.sql create mode 100644 migration/352a-trunk/269_BF2059012_ViewPI.sql create mode 100644 migration/352a-trunk/270_BF2064671.sql create mode 100644 migration/352a-trunk/271_FR2065395_Implement_New_Document.sql create mode 100644 migration/352a-trunk/272_FR_2039663_FixParameters.sql create mode 100644 migration/352a-trunk/273_BF2073605.sql create mode 100644 migration/352a-trunk/274_BF2073737.sql create mode 100644 migration/352a-trunk/275_PP_Cost_Collector_default_window.sql create mode 100644 migration/352a-trunk/276_UniqueIndexPPProductBOM.sql create mode 100755 migration/352a-trunk/277_BF2081237_C_Payment_Available.sql create mode 100644 migration/352a-trunk/278_FR_2083255_MRP.sql create mode 100644 migration/352a-trunk/279_FR2086964.sql create mode 100644 migration/352a-trunk/280_FB_1926882_Fix_C_Invoice_v.sql create mode 100644 migration/352a-trunk/281_FR2026347_Fin_Report_Line_Operand_display_order.sql create mode 100755 migration/352a-trunk/282_BF2081237_C_Payment_Allocated.sql create mode 100644 migration/352a-trunk/283_BF_2088779.sql create mode 100644 migration/352a-trunk/284_BF2090815.sql create mode 100644 migration/352a-trunk/285_BF2091203.sql create mode 100644 migration/352a-trunk/286_BF2052847.sql create mode 100644 migration/352a-trunk/287_BF2091231.sql create mode 100644 migration/352a-trunk/288_FR2092739.sql create mode 100644 migration/352a-trunk/289_FR2092751.sql create mode 100644 migration/352a-trunk/290_FR_2094162_Bank_Transfer.sql create mode 100644 migration/352a-trunk/291_FR_2074600_HouseKeeping.sql create mode 100644 migration/352a-trunk/292_BF2112805_Cost_Element.sql create mode 100644 migration/352a-trunk/293_PP_SetWindows.sql create mode 100644 migration/352a-trunk/294_FR2117145_rv_unposted.sql create mode 100644 migration/352a-trunk/295_BF2117416.sql create mode 100644 migration/352a-trunk/296_FR2002744_ForecastReport.sql create mode 100644 migration/352a-trunk/297_FR2002744_ForecastFix.sql create mode 100644 migration/352a-trunk/298_BF2133188_FixCalloutDO.sql create mode 100644 migration/352a-trunk/299_BF1745154Cost_Reversal_Doc.sql create mode 100644 migration/352a-trunk/300_BF2135012_Asset_Window.sql create mode 100644 migration/352a-trunk/301_BF2141475_messages.sql create mode 100644 migration/352a-trunk/302_BF2142344.sql create mode 100644 migration/352a-trunk/303_FR2143266_multiline_headers.sql create mode 100644 migration/352a-trunk/304_FR2143573_Enhancements_to_reporting.sql create mode 100644 migration/352a-trunk/305_FR2148808_SuppressRepeats.sql create mode 100644 migration/352a-trunk/306_FR2151667.sql create mode 100644 migration/352a-trunk/307_BF2153188.sql create mode 100644 migration/352a-trunk/308_BF2158682.sql create mode 100644 migration/352a-trunk/309_FR2170521_AddChargeToImportOrder.sql create mode 100644 migration/352a-trunk/310_FR2171947_ad_changelog_speed.sql create mode 100644 migration/352a-trunk/311_PosteritaWebPOS_173.sql create mode 100644 migration/352a-trunk/313_FR2101466_Native_Sequence.sql create mode 100644 migration/352a-trunk/314_PosteritaCashTenderType.sql create mode 100644 migration/352a-trunk/315_replace_pljava_for34.sql create mode 100644 migration/352a-trunk/316_replace_pljava_for352.sql create mode 100644 migration/352a-trunk/317_FR2233277.sql create mode 100644 migration/352a-trunk/318_FRLiberoWorkShop_Reverted.sql create mode 100644 migration/352a-trunk/319_BF2273943.sql create mode 100644 migration/352a-trunk/320_FR2257170.sql create mode 100644 migration/352a-trunk/321_PosteritaSampleData.sql create mode 100644 migration/352a-trunk/322_PosteritaSampleData_2.sql create mode 100644 migration/352a-trunk/323_MFreightCategory_Unique.sql create mode 100644 migration/352a-trunk/324_BF2308332.sql create mode 100644 migration/352a-trunk/325_BG2311021_Region_dynamic_validation.sql create mode 100644 migration/352a-trunk/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql create mode 100644 migration/352a-trunk/327_BF2319604.sql create mode 100644 migration/352a-trunk/328_BF2319302.sql create mode 100644 migration/352a-trunk/329_BF2320411.sql create mode 100644 migration/352a-trunk/330_PosteritaExampleTerminal.sql create mode 100644 migration/352a-trunk/331_BF2339528_AccessLevelU_Web_Properties.sql create mode 100644 migration/352a-trunk/332_placeholder.sql create mode 100644 migration/352a-trunk/333_BF2344776_PrintMO.sql create mode 100644 migration/352a-trunk/334_FR2353794.sql create mode 100644 migration/352a-trunk/335_BF1936311_migrate_bomtype.sql create mode 100644 migration/352a-trunk/336_BF2227971_planning_window.sql create mode 100644 migration/352a-trunk/337_FR2380080_Implement_drop_shipment.sql create mode 100644 migration/352a-trunk/338_BF2374272.sql create mode 100644 migration/352a-trunk/339_fixPaymentWindow.sql create mode 100644 migration/352a-trunk/340_FR2391012_Invoke_AD_Form_from_button.sql create mode 100644 migration/352a-trunk/341_FR2350428_LocatorInReplenishTab.sql create mode 100644 migration/352a-trunk/342_FR2337778.sql create mode 100644 migration/352a-trunk/343_nextBusinessDay.sql create mode 100644 migration/352a-trunk/344_BF1895317.sql create mode 100644 migration/352a-trunk/345_FR2406777.sql create mode 100644 migration/352a-trunk/346_placeholder.sql create mode 100644 migration/352a-trunk/347_recoverDICTIONARY_ID_COMMENTS.sql create mode 100644 migration/352a-trunk/348_FR2408411_AD_Workflow_IsBetaFunctionality.sql create mode 100644 migration/352a-trunk/349_MarkBetaFunctionalities.sql create mode 100644 migration/352a-trunk/350_RF2408898_CostCollectorType.sql create mode 100644 migration/352a-trunk/351_FR2391399_dunning_run_org_filter.sql create mode 100644 migration/352a-trunk/352_BF2412212_PP_Cost_Collector.sql create mode 100644 migration/352a-trunk/353_PA_DashboardContent_IsCollapsible.sql create mode 100644 migration/352a-trunk/354_OrderDistributionDetail.sql create mode 100644 migration/352a-trunk/355_BF2417012.sql create mode 100644 migration/352a-trunk/356_FR2419089_Hide_Fields_WFM.sql create mode 100644 migration/352a-trunk/357_BF2412212_PP_Cost_Collector.sql create mode 100644 migration/352a-trunk/358_FR2419954.sql create mode 100644 migration/352a-trunk/359_BF2420918.sql create mode 100644 migration/352a-trunk/360_BF2431049.sql create mode 100644 migration/352a-trunk/361_BF2431285.sql create mode 100644 migration/352a-trunk/README.txt create mode 100644 migration/352a-trunk/build.xml create mode 100644 migration/352a-trunk/postgresql/250_BF2034138.sql create mode 100644 migration/352a-trunk/postgresql/251_BF2031818.sql create mode 100644 migration/352a-trunk/postgresql/252_BF2033473_RV_PP_Product_BOMLine.sql create mode 100644 migration/352a-trunk/postgresql/253_FR2035176_ImmediateBankTransfer.sql create mode 100644 migration/352a-trunk/postgresql/254_FR1795398.sql create mode 100644 migration/352a-trunk/postgresql/255_FR_2038014_Material_Receipt_To_DRP.sql create mode 100644 migration/352a-trunk/postgresql/256_BF_2037027.sql create mode 100644 migration/352a-trunk/postgresql/257_FR_2030865_Distribution_Run_DO.sql create mode 100644 migration/352a-trunk/postgresql/258_BF_2038848_OrderPolicy.sql create mode 100644 migration/352a-trunk/postgresql/259_BF2039050_Terminology.sql create mode 100644 migration/352a-trunk/postgresql/260_BF_FixParameterDistributionOrders.sql create mode 100644 migration/352a-trunk/postgresql/261_FR_2039663_NewParameterDistributionRun.sql create mode 100644 migration/352a-trunk/postgresql/262_BF2041299.sql create mode 100644 migration/352a-trunk/postgresql/263_BF1991574.sql create mode 100644 migration/352a-trunk/postgresql/264_FR_2011567_Background_Image.sql create mode 100644 migration/352a-trunk/postgresql/265_BF2046200.sql create mode 100644 migration/352a-trunk/postgresql/266_FR2048081.sql create mode 100644 migration/352a-trunk/postgresql/267_BF2049497.sql create mode 100644 migration/352a-trunk/postgresql/268_BF2056097_MultipleChangeComponent.sql create mode 100644 migration/352a-trunk/postgresql/269_BF2059012_ViewPI.sql create mode 100644 migration/352a-trunk/postgresql/270_BF2064671.sql create mode 100644 migration/352a-trunk/postgresql/271_FR2065395_Implement_New_Document.sql create mode 100644 migration/352a-trunk/postgresql/272_FR_2039663_FixParameters.sql create mode 100644 migration/352a-trunk/postgresql/273_BF2073605.sql create mode 100644 migration/352a-trunk/postgresql/274_BF2073737.sql create mode 100644 migration/352a-trunk/postgresql/275_PP_Cost_Collector_default_window.sql create mode 100644 migration/352a-trunk/postgresql/276_UniqueIndexPPProductBOM.sql create mode 100755 migration/352a-trunk/postgresql/277_BF2081237_C_Payment_Available.sql create mode 100644 migration/352a-trunk/postgresql/278_FR_2083255_MRP.sql create mode 100644 migration/352a-trunk/postgresql/279_FR2086964.sql create mode 100644 migration/352a-trunk/postgresql/280_FB_1926882_Fix_C_Invoice_v.sql create mode 100644 migration/352a-trunk/postgresql/281_FR2026347_Fin_Report_Line_Operand_display_order.sql create mode 100644 migration/352a-trunk/postgresql/282_BF2081237_C_Payment_Allocated.sql create mode 100644 migration/352a-trunk/postgresql/283_BF_2088779.sql create mode 100644 migration/352a-trunk/postgresql/284_BF2090815.sql create mode 100644 migration/352a-trunk/postgresql/285_BF2091203.sql create mode 100644 migration/352a-trunk/postgresql/286_BF2052847.sql create mode 100644 migration/352a-trunk/postgresql/287_BF2091231.sql create mode 100644 migration/352a-trunk/postgresql/288_FR2092739.sql create mode 100644 migration/352a-trunk/postgresql/289_FR2092751.sql create mode 100644 migration/352a-trunk/postgresql/290_FR_2094162_Bank_Transfer.sql create mode 100644 migration/352a-trunk/postgresql/291_FR_2074600_HouseKeeping.sql create mode 100644 migration/352a-trunk/postgresql/292_BF2112805_Cost_Element.sql create mode 100644 migration/352a-trunk/postgresql/293_PP_SetWindows.sql create mode 100644 migration/352a-trunk/postgresql/294_FR2117145_rv_unposted.sql create mode 100644 migration/352a-trunk/postgresql/295_BF2117416.sql create mode 100644 migration/352a-trunk/postgresql/296_FR2002744_ForecastReport.sql create mode 100644 migration/352a-trunk/postgresql/297_FR2002744_ForecastFix.sql create mode 100644 migration/352a-trunk/postgresql/298_BF2133188_FixCalloutDO.sql create mode 100644 migration/352a-trunk/postgresql/299_BF1745154Cost_Reversal_Doc.sql create mode 100644 migration/352a-trunk/postgresql/300_BF2135012_Asset_Window.sql create mode 100644 migration/352a-trunk/postgresql/301_BF2141475_messages.sql create mode 100644 migration/352a-trunk/postgresql/302_BF2142344.sql create mode 100644 migration/352a-trunk/postgresql/303_FR2143266_multiline_headers.sql create mode 100644 migration/352a-trunk/postgresql/304_FR2143573_Enhancements_to_reporting.sql create mode 100644 migration/352a-trunk/postgresql/305_FR2148808_SuppressRepeats.sql create mode 100644 migration/352a-trunk/postgresql/306_FR2151667.sql create mode 100644 migration/352a-trunk/postgresql/307_BF2153188.sql create mode 100644 migration/352a-trunk/postgresql/308_BF2158682.sql create mode 100644 migration/352a-trunk/postgresql/309_FR2170521_AddChargeToImportOrder.sql create mode 100644 migration/352a-trunk/postgresql/310_FR2171947_ad_changelog_speed.sql create mode 100644 migration/352a-trunk/postgresql/311_PosteritaWebPOS_173.sql create mode 100644 migration/352a-trunk/postgresql/313_FR2101466_Native_Sequence.sql create mode 100644 migration/352a-trunk/postgresql/314_PosteritaCashTenderType.sql create mode 100644 migration/352a-trunk/postgresql/315_replace_pljava_for34.sql create mode 100644 migration/352a-trunk/postgresql/316_replace_pljava_for352.sql create mode 100644 migration/352a-trunk/postgresql/317_FR2233277.sql create mode 100644 migration/352a-trunk/postgresql/318_FRLiberoWorkShop_Reverted.sql create mode 100644 migration/352a-trunk/postgresql/319_BF2273943.sql create mode 100644 migration/352a-trunk/postgresql/320_FR2257170.sql create mode 100644 migration/352a-trunk/postgresql/321_PosteritaSampleData.sql create mode 100644 migration/352a-trunk/postgresql/322_PosteritaSampleData_2.sql create mode 100644 migration/352a-trunk/postgresql/323_MFreightCategory_Unique.sql create mode 100644 migration/352a-trunk/postgresql/324_BF2308332.sql create mode 100644 migration/352a-trunk/postgresql/325_BG2311021_Region_dynamic_validation.sql create mode 100644 migration/352a-trunk/postgresql/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql create mode 100644 migration/352a-trunk/postgresql/327_BF2319604.sql create mode 100644 migration/352a-trunk/postgresql/328_BF2319302.sql create mode 100644 migration/352a-trunk/postgresql/329_BF2320411.sql create mode 100644 migration/352a-trunk/postgresql/330_PosteritaExampleTerminal.sql create mode 100644 migration/352a-trunk/postgresql/331_BF2339528_AccessLevelU_Web_Properties.sql create mode 100644 migration/352a-trunk/postgresql/332_placeholder.sql create mode 100644 migration/352a-trunk/postgresql/333_BF2344776_PrintMO.sql create mode 100644 migration/352a-trunk/postgresql/334_FR2353794.sql create mode 100644 migration/352a-trunk/postgresql/335_BF1936311_migrate_bomtype.sql create mode 100644 migration/352a-trunk/postgresql/336_BF2227971_planning_window.sql create mode 100644 migration/352a-trunk/postgresql/337_FR2380080_Implement_drop_shipment.sql create mode 100644 migration/352a-trunk/postgresql/338_BF2374272.sql create mode 100644 migration/352a-trunk/postgresql/339_fixPaymentWindow.sql create mode 100644 migration/352a-trunk/postgresql/340_FR2391012_Invoke_AD_Form_from_button.sql create mode 100644 migration/352a-trunk/postgresql/341_FR2350428_LocatorInReplenishTab.sql create mode 100644 migration/352a-trunk/postgresql/342_FR2337778.sql create mode 100644 migration/352a-trunk/postgresql/343_nextBusinessDay.sql create mode 100644 migration/352a-trunk/postgresql/344_BF1895317.sql create mode 100644 migration/352a-trunk/postgresql/345_FR2406777.sql create mode 100644 migration/352a-trunk/postgresql/346_placeholder.sql create mode 100644 migration/352a-trunk/postgresql/347_recoverDICTIONARY_ID_COMMENTS.sql create mode 100644 migration/352a-trunk/postgresql/348_FR2408411_AD_Workflow_IsBetaFunctionality.sql create mode 100644 migration/352a-trunk/postgresql/349_MarkBetaFunctionalities.sql create mode 100644 migration/352a-trunk/postgresql/350_RF2408898_CostCollectorType.sql create mode 100644 migration/352a-trunk/postgresql/351_FR2391399_dunning_run_org_filter.sql create mode 100644 migration/352a-trunk/postgresql/352_BF2412212_PP_Cost_Collector.sql create mode 100644 migration/352a-trunk/postgresql/353_PA_DashboardContent_IsCollapsible.sql create mode 100644 migration/352a-trunk/postgresql/354_OrderDistributionDetail.sql create mode 100644 migration/352a-trunk/postgresql/355_BF2417012.sql create mode 100644 migration/352a-trunk/postgresql/356_FR2419089_Hide_Fields_WFM.sql create mode 100644 migration/352a-trunk/postgresql/357_BF2412212_PP_Cost_Collector.sql create mode 100644 migration/352a-trunk/postgresql/358_FR2419954.sql create mode 100644 migration/352a-trunk/postgresql/359_BF2420918.sql create mode 100644 migration/352a-trunk/postgresql/360_BF2431049.sql create mode 100644 migration/352a-trunk/postgresql/361_BF2431285.sql create mode 100644 migration/352a-trunk/postgresql/build.xml diff --git a/migration/352a-trunk/250_BF2034138.sql b/migration/352a-trunk/250_BF2034138.sql new file mode 100644 index 0000000000..1a503ef1ec --- /dev/null +++ b/migration/352a-trunk/250_BF2034138.sql @@ -0,0 +1,10 @@ +-- Jul 31, 2008 12:23:46 PM COT +-- [ 2034138 ] HR_Employee.ImageURL wrongly defined +UPDATE AD_Column SET AD_Reference_ID=40, FieldLength=120,Updated=TO_DATE('2008-07-31 12:23:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54750 +; + +ALTER TABLE HR_Employee DROP COLUMN ImageURL +; + +ALTER TABLE HR_Employee ADD (ImageURL NVARCHAR2(120) DEFAULT NULL) +; \ No newline at end of file diff --git a/migration/352a-trunk/251_BF2031818.sql b/migration/352a-trunk/251_BF2031818.sql new file mode 100644 index 0000000000..6053adb94d --- /dev/null +++ b/migration/352a-trunk/251_BF2031818.sql @@ -0,0 +1,26 @@ +-- Jul 31, 2008 9:16:30 PM COT +-- [ 2031818 ] AD_Element.ColumnName length should be 30 +UPDATE AD_Column SET FieldLength=30,Updated=TO_DATE('2008-07-31 21:16:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11819 +; + +ALTER TABLE A_RegistrationAttribute MODIFY ColumnName NVARCHAR2(30) DEFAULT NULL +; + +UPDATE AD_Column SET FieldLength=30,Updated=TO_DATE('2008-07-31 21:16:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4017 +; + +ALTER TABLE AD_Process_Para MODIFY ColumnName NVARCHAR2(30) DEFAULT NULL +; + +UPDATE AD_Column SET FieldLength=30,Updated=TO_DATE('2008-07-31 21:17:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2602 +; + +ALTER TABLE AD_Element MODIFY ColumnName NVARCHAR2(30) DEFAULT NULL +; + +UPDATE AD_Column SET FieldLength=30,Updated=TO_DATE('2008-07-31 21:17:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=116 +; + +ALTER TABLE AD_Column MODIFY ColumnName NVARCHAR2(30) DEFAULT NULL +; + diff --git a/migration/352a-trunk/252_BF2033473_RV_PP_Product_BOMLine.sql b/migration/352a-trunk/252_BF2033473_RV_PP_Product_BOMLine.sql new file mode 100644 index 0000000000..cb59f1a68a --- /dev/null +++ b/migration/352a-trunk/252_BF2033473_RV_PP_Product_BOMLine.sql @@ -0,0 +1,31 @@ +-- BF2033473 RV_PP_Product_BOMLine +-- fix missing columns, add Order By and TM_Product print name +DROP VIEW rv_pp_product_bomline; + +CREATE OR REPLACE VIEW rv_pp_product_bomline + AS + SELECT t.seqno, t.levelno, t.levels, t.ad_client_id, + t.ad_org_id, t.createdby, t.updatedby, t.updated, + t.created, t.ad_pinstance_id, t.implosion, t.sel_product_id as m_product_id, + bl.isactive, bl.pp_product_bom_id, bl.pp_product_bomline_id, bl.description, + bl.iscritical, bl.componenttype, t.m_product_id as tm_product_id, bl.c_uom_id, + bl.issuemethod, bl.line, bl.m_attributesetinstance_id, bl.scrap, + bl.validfrom, bl.validto, bl.qtybom, bl.qtybatch, bl.isqtypercentage + FROM t_bomline t LEFT OUTER JOIN pp_product_bomline bl + ON t.pp_product_bomline_id = bl.pp_product_bomline_id +; + +-- Aug 1, 2008 2:55:39 PM EST +-- Default comment for updating dictionary +UPDATE AD_Element SET PrintName='Product',Updated=TO_DATE('2008-08-01 14:55:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53465 +; + +-- Aug 1, 2008 2:55:39 PM EST +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53465 +; + +-- Aug 1, 2008 2:55:39 PM EST +-- Default comment for updating dictionary +UPDATE AD_PrintFormatItem pi SET PrintName='Product', Name='TM_Product_ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53465) +; diff --git a/migration/352a-trunk/253_FR2035176_ImmediateBankTransfer.sql b/migration/352a-trunk/253_FR2035176_ImmediateBankTransfer.sql new file mode 100644 index 0000000000..7610f6756c --- /dev/null +++ b/migration/352a-trunk/253_FR2035176_ImmediateBankTransfer.sql @@ -0,0 +1,336 @@ +-- Aug 1, 2008 2:16:27 PM COT +-- 2035176 - Immediate Bank Transfer +INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('3',0,0,53152,'org.adempiere.process.ImmediateBankTransfer',TO_DATE('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','Immediate Bank Transfer','Y',0,0,TO_DATE('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'ImmediateBankTransfer') +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53152 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,0,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,102,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,103,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50002,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50001,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:20:59 PM COT +INSERT INTO AD_Menu (Action,AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('P',0,53187,0,53152,TO_DATE('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','Bank Transfer',TO_DATE('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:21:00 PM COT +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53187 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Aug 1, 2008 2:21:00 PM COT +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53187, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53187) +; + +-- Aug 1, 2008 2:23:09 PM COT +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53283,TO_DATE('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','C_BankAccount',TO_DATE('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'T') +; + +-- Aug 1, 2008 2:23:09 PM COT +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53283 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Aug 1, 2008 2:23:49 PM COT +INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy) VALUES (0,3074,3077,0,53283,297,TO_DATE('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_DATE('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:24:43 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53232,18,53283,'From_C_BankAccount_ID',TO_DATE('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account From',10,TO_DATE('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:24:44 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53232 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:24:59 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53233,18,53283,'To_C_BankAccount_ID',TO_DATE('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account To',20,TO_DATE('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:24:59 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53233 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:26:21 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53234,19,'C_CashBook_ID',TO_DATE('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book for recording petty cash transactions','D',0,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','Y','Y','N','Intermediate Cash Book',30,TO_DATE('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:26:21 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53234 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:27:29 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1367,0,53152,53235,12,'Amount',TO_DATE('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100,'U',0,'Y','Y','Y','N','Amount in a defined currency',40,TO_DATE('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:27:29 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53235 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:27:32 PM COT +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2008-08-01 14:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:28:55 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,469,0,53152,53236,10,'Name',TO_DATE('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100,'D',60,'Y','Y','Y','N','Name',50,TO_DATE('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:28:55 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53236 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:29:14 PM COT +UPDATE AD_Process_Para SET FieldLength=22,Updated=TO_DATE('2008-08-01 14:29:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:29:18 PM COT +UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-08-01 14:29:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 +; + +-- Aug 1, 2008 2:29:58 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,275,0,53152,53237,10,'Description',TO_DATE('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100,'D',255,'Y','Y','N','N','Description',60,TO_DATE('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:29:58 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53237 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:30:26 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1434,0,53152,53238,15,'StatementDate',TO_DATE('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','U',7,'Y','Y','Y','N','StatementDate',70,TO_DATE('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:30:26 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53238 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:30:53 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53152,53239,15,'DateAcct',TO_DATE('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','D',0,'Y','Y','N','N','DateAcct',80,TO_DATE('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:30:53 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53239 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:31:01 PM COT +UPDATE AD_Process_Para SET Description='Accounting Date', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.',Updated=TO_DATE('2008-08-01 14:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 +; + +-- Aug 1, 2008 2:31:01 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53239 +; + +-- Aug 1, 2008 2:31:15 PM COT +UPDATE AD_Process_Para SET Description='Date of the statement', EntityType='D', Help='The Statement Date field defines the date of the statement.',Updated=TO_DATE('2008-08-01 14:31:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238 +; + +-- Aug 1, 2008 2:31:15 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53238 +; + +-- Aug 1, 2008 2:31:18 PM COT +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-08-01 14:31:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 +; + +-- Aug 1, 2008 2:31:37 PM COT +UPDATE AD_Process_Para SET Description='Optional short description of the record', Help='A description is limited to 255 characters.',Updated=TO_DATE('2008-08-01 14:31:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237 +; + +-- Aug 1, 2008 2:31:37 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53237 +; + +-- Aug 1, 2008 2:31:53 PM COT +UPDATE AD_Process_Para SET Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',Updated=TO_DATE('2008-08-01 14:31:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236 +; + +-- Aug 1, 2008 2:31:53 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53236 +; + +-- Aug 1, 2008 2:32:24 PM COT +UPDATE AD_Process_Para SET AD_Element_ID=NULL, Description='Amount to be transferred', Name='Transfer Amount',Updated=TO_DATE('2008-08-01 14:32:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:32:24 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:32:39 PM COT +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-08-01 14:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:32:43 PM COT +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-01 14:32:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 +; + +-- Aug 1, 2008 2:33:22 PM COT +UPDATE AD_Process_Trl SET IsTranslated='Y',Name='Transferencia Bancaria Inmediata',Updated=TO_DATE('2008-08-01 14:33:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53152 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:33:34 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Desde',Updated=TO_DATE('2008-08-01 14:33:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53232 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:33:41 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Hacia',Updated=TO_DATE('2008-08-01 14:33:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53233 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:33:50 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cantidad a transferir',Updated=TO_DATE('2008-08-01 14:33:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:03 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Caja menor intermedia',Updated=TO_DATE('2008-08-01 14:34:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:11 PM COT +UPDATE AD_Process_Para_Trl SET Description=NULL,Help=NULL,Updated=TO_DATE('2008-08-01 14:34:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:18 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Nombre',Updated=TO_DATE('2008-08-01 14:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:24 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Descripción',Updated=TO_DATE('2008-08-01 14:34:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:31 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha Transferencia',Updated=TO_DATE('2008-08-01 14:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:40 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha contable',Updated=TO_DATE('2008-08-01 14:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 AND AD_Language LIKE 'es_%' +; + + +-- 2035176 - Immediate Bank Transfer +-- MOVE MENU + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=241 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=288 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=432 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=243 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=413 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=538 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=462 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=505 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=235 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=511 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=245 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=251 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=246 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=509 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=510 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=496 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=497 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=304 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=255 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=286 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=287 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=438 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=234 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=244 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53187 +; + diff --git a/migration/352a-trunk/254_FR1795398.sql b/migration/352a-trunk/254_FR1795398.sql new file mode 100644 index 0000000000..cd9ea52ac2 --- /dev/null +++ b/migration/352a-trunk/254_FR1795398.sql @@ -0,0 +1,98 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Jul 30, 2008 5:03:19 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56299,1663,0,14,285,'ReadOnlyLogic',TO_DATE('2008-07-30 17:03:16','YYYY-MM-DD HH24:MI:SS'),100,'Logic to determine if field is read only (applies only when field is read-write)','D',2000,'format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||'@AD_Table_ID@=14 | @Language@!GERGER
+'||'@PriceLimit@>10 | @PriceList@>@PriceActual@
+'||'@Name@>J
+Strings may be in single quotes (optional)','Y','N','N','N','N','N','N','N','N','N','Y','Read Only Logic',0,TO_DATE('2008-07-30 17:03:16','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000) +; + +-- Jul 30, 2008 5:03:19 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56299 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jul 30, 2008 5:03:26 PM COT +-- [ 1795398 ] Process Parameter: add display logic +ALTER TABLE AD_Process_Para ADD ReadOnlyLogic NVARCHAR2(2000) +; + +-- Jul 30, 2008 5:08:57 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56299,56333,0,246,TO_DATE('2008-07-30 17:08:55','YYYY-MM-DD HH24:MI:SS'),100,'Logic to determine if field is read only (applies only when field is read-write)',60,'D','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||'@AD_Table_ID@=14 | @Language@!GERGER
+'||'@PriceLimit@>10 | @PriceList@>@PriceActual@
+'||'@Name@>J
+Strings may be in single quotes (optional)','Y','Y','Y','N','N','N','N','N','Read Only Logic',250,0,TO_DATE('2008-07-30 17:08:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jul 30, 2008 5:08:57 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56333 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Jul 30, 2008 6:11:14 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56300,283,0,14,285,'DisplayLogic',TO_DATE('2008-07-30 18:11:09','YYYY-MM-DD HH24:MI:SS'),100,'If the Field is displayed, the result determines if the field is actually displayed','D',2000,'format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||'@AD_Table_ID@=14 | @Language@!GERGER
+'||'@PriceLimit@>10 | @PriceList@>@PriceActual@
+'||'@Name@>J
+Strings may be in single quotes (optional) +','Y','N','N','N','N','N','N','N','N','N','Y','Display Logic',0,TO_DATE('2008-07-30 18:11:09','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000) +; + +-- Jul 30, 2008 6:11:16 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56300 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jul 30, 2008 6:11:19 PM COT +-- [ 1795398 ] Process Parameter: add display logic +ALTER TABLE AD_Process_Para ADD DisplayLogic NVARCHAR2(2000) +; + +-- Jul 30, 2008 6:19:21 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56300,56334,0,246,TO_DATE('2008-07-30 18:19:20','YYYY-MM-DD HH24:MI:SS'),100,'If the Field is displayed, the result determines if the field is actually displayed',60,null,'D','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||'@AD_Table_ID@=14 | @Language@!GERGER
+'||'@PriceLimit@>10 | @PriceList@>@PriceActual@
+'||'@Name@>J
+Strings may be in single quotes (optional) +','Y','Y','Y','N','N','N','N','N','Display Logic',260,0,TO_DATE('2008-07-30 18:19:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jul 30, 2008 6:19:22 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56334 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; diff --git a/migration/352a-trunk/255_FR_2038014_Material_Receipt_To_DRP.sql b/migration/352a-trunk/255_FR_2038014_Material_Receipt_To_DRP.sql new file mode 100644 index 0000000000..c93d62a1e5 --- /dev/null +++ b/migration/352a-trunk/255_FR_2038014_Material_Receipt_To_DRP.sql @@ -0,0 +1,65 @@ +-- Aug 4, 2008 3:37:34 PM CDT +-- DRP Functionality +INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53012,0,'3','org.eevolution.form.VOrderDistributionReceipt',TO_DATE('2008-08-04 15:37:25','YYYY-MM-DD HH24:MI:SS'),0,'Material Receipt Distribution Order','EE01','Y','N','Material Receipt Distribution Order',TO_DATE('2008-08-04 15:37:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 4, 2008 3:37:34 PM CDT +-- DRP Functionality +INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53012 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID) +; + +-- Aug 4, 2008 3:37:34 PM CDT +-- DRP Functionality +INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53012,0,0,TO_DATE('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 4, 2008 3:37:35 PM CDT +-- DRP Functionality +INSERT INTO AD_Menu (AD_Client_ID,AD_Form_ID,AD_Menu_ID,AD_Org_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53012,53188,0,'X',TO_DATE('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0,'Material Receipt Distribution Order','EE01','Y','N','N','N','Material Receipt Distribution Order',TO_DATE('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 4, 2008 3:37:35 PM CDT +-- DRP Functionality +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53188 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Aug 4, 2008 3:37:35 PM CDT +-- DRP Functionality +Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53066,12, 10, 53188) +; + +--DROP VIEW M_Movement_Candidate_v; +CREATE OR REPLACE VIEW M_Movement_Candidate_v AS +SELECT + o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.DD_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID, + o.POReference, o.Description, o.SalesRep_ID, + l.M_Locator_ID, l.M_LocatorTo_ID + --l.ConfirmedQty + --SUM((l.QtyOrdered-l.QtyDelivered)*l.PriceActual) AS TotalLines +FROM DD_Order o +INNER JOIN DD_OrderLine l ON (o.DD_Order_ID=l.DD_Order_ID) +--INNER JOIN M_Locator loc ON (loc.M_Locator_ID=l.M_Locator_ID) +WHERE (o.DocStatus = 'CO' AND o.IsDelivered='N') -- Status must be CO - not CL/RE + -- not Offers and open Walkin-Receipts + AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType + WHERE DocBaseType='DOO') + -- Delivery Rule - not manual + AND o.DeliveryRule<>'M' + AND (l.M_Product_ID IS NULL OR EXISTS + (SELECT * FROM M_Product p + WHERE l.M_Product_ID=p.M_Product_ID AND p.IsExcludeAutoDelivery='N')) + -- we need to ship + AND l.QtyOrdered <> l.QtyDelivered AND ConfirmedQty > 0 + AND o.IsDropShip='N' + AND (l.M_Product_ID IS NOT NULL OR l.C_Charge_ID IS NOT NULL) + -- Not confirmed shipment + AND NOT EXISTS (SELECT * FROM M_MovementLine iol + INNER JOIN M_Movement io ON (iol.M_Movement_ID=io.M_Movement_ID) + WHERE iol.DD_OrderLine_ID=l.DD_OrderLine_ID AND io.DocStatus IN ('IP','WC')) + -- +GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.DD_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID, + o.POReference, o.Description, o.SalesRep_ID, l.M_Locator_ID, l.M_LocatorTo_ID; + + diff --git a/migration/352a-trunk/256_BF_2037027.sql b/migration/352a-trunk/256_BF_2037027.sql new file mode 100644 index 0000000000..f10a7ad0a9 --- /dev/null +++ b/migration/352a-trunk/256_BF_2037027.sql @@ -0,0 +1,40 @@ +-- Aug 4, 2008 5:26:52 PM CDT +-- DRP Functionality +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-08-04 17:26:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53869 +; + +-- Aug 4, 2008 5:27:00 PM CDT +-- DRP Functionality +ALTER TABLE DD_Order MODIFY C_BPartner_ID NUMBER(10) DEFAULT NULL +; + +-- Aug 4, 2008 5:27:00 PM CDT +-- DRP Functionality +ALTER TABLE DD_Order MODIFY C_BPartner_ID NOT NULL +; + +-- Aug 4, 2008 5:27:25 PM CDT +-- DRP Functionality +ALTER TABLE PP_Order_Node MODIFY EntityType VARCHAR2(40) DEFAULT 'U' +; + +-- Aug 4, 2008 5:27:27 PM CDT +-- DRP Functionality +UPDATE PP_Order_Node SET EntityType='U' WHERE EntityType IS NULL +; + +-- Aug 4, 2008 5:27:46 PM CDT +-- DRP Functionality +ALTER TABLE PP_Order_NodeNext MODIFY EntityType VARCHAR2(40) DEFAULT 'U' +; + +-- Aug 4, 2008 5:27:47 PM CDT +-- DRP Functionality +UPDATE PP_Order_NodeNext SET EntityType='U' WHERE EntityType IS NULL +; + +-- Aug 4, 2008 5:29:27 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-08-04 17:29:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53043 +; + diff --git a/migration/352a-trunk/257_FR_2030865_Distribution_Run_DO.sql b/migration/352a-trunk/257_FR_2030865_Distribution_Run_DO.sql new file mode 100644 index 0000000000..5a3677e3a4 --- /dev/null +++ b/migration/352a-trunk/257_FR_2030865_Distribution_Run_DO.sql @@ -0,0 +1,50 @@ +SET SQLBLANKLINES ON +-- Aug 4, 2008 7:48:17 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsMandatory='Y', IsRange='Y',Updated=TO_DATE('2008-08-04 19:48:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53218 +; + +-- Aug 4, 2008 7:48:21 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_DATE('2008-08-04 19:48:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221 +; + +-- Aug 4, 2008 7:50:08 PM CDT +-- DRP Functionality +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2182,0,53150,53240,20,'ConsolidateDocument',TO_DATE('2008-08-04 19:49:59','YYYY-MM-DD HH24:MI:SS'),0,'Consolidate Lines into one Document','EE01',1,'Y','Y','N','N','Consolidate to one Document',60,TO_DATE('2008-08-04 19:49:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 4, 2008 7:50:08 PM CDT +-- DRP Functionality +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53240 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 4, 2008 7:51:49 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsActive='N',Updated=TO_DATE('2008-08-04 19:51:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 4, 2008 8:09:12 PM CDT +-- DRP Functionality +UPDATE AD_Process SET Description='Create Distribution Run Orders based on Distribution List or The Quantity Demand the Distribution Order and redistribute the quantity into Distribution Plan line items', Help='Distribution List do not selected then the redistribute the quantity is based in % of Demand + +Please note that due to rounding, the total quantity of the order(s) is likely to be higher then the quantity entered. + +Consolidate to one Document let the distribution in current Documents with ranges dates promised, if do not is selected then a new Order is generate.',Updated=TO_DATE('2008-08-04 20:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53150 +; + +-- Aug 4, 2008 8:09:12 PM CDT +-- DRP Functionality +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53150 +; + +-- Aug 4, 2008 8:09:12 PM CDT +-- DRP Functionality +UPDATE AD_Menu SET Description='Create Distribution Run Orders based on Distribution List or The Quantity Demand the Distribution Order and redistribute the quantity into Distribution Plan line items', IsActive='Y', Name='Distribution Run Orders',Updated=TO_DATE('2008-08-04 20:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53184 +; + +-- Aug 4, 2008 8:09:12 PM CDT +-- DRP Functionality +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53184 +; + diff --git a/migration/352a-trunk/258_BF_2038848_OrderPolicy.sql b/migration/352a-trunk/258_BF_2038848_OrderPolicy.sql new file mode 100644 index 0000000000..52cea9b12b --- /dev/null +++ b/migration/352a-trunk/258_BF_2038848_OrderPolicy.sql @@ -0,0 +1,10 @@ +-- Aug 5, 2008 10:34:58 AM CDT +-- Manufaturing +UPDATE AD_Ref_List SET Name='Fixed Order Quantity', Value='FOQ',Updated=TO_DATE('2008-08-05 10:34:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53272 +; + +-- Aug 5, 2008 10:34:58 AM CDT +-- Manufaturing +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53272 +; + diff --git a/migration/352a-trunk/259_BF2039050_Terminology.sql b/migration/352a-trunk/259_BF2039050_Terminology.sql new file mode 100644 index 0000000000..c216eae812 --- /dev/null +++ b/migration/352a-trunk/259_BF2039050_Terminology.sql @@ -0,0 +1,4269 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Aug 5, 2008 11:44:57 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Cost Collector',Updated=TO_DATE('2008-08-05 11:44:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53035 +; + +-- Aug 5, 2008 11:44:57 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53035 +; + +-- Aug 5, 2008 11:45:02 AM CDT +-- Terminology +UPDATE AD_Table SET Name='MRP',Updated=TO_DATE('2008-08-05 11:45:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53043 +; + +-- Aug 5, 2008 11:45:02 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53043 +; + +-- Aug 5, 2008 11:45:10 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order',Updated=TO_DATE('2008-08-05 11:45:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53027 +; + +-- Aug 5, 2008 11:45:10 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53027 +; + +-- Aug 5, 2008 11:45:19 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Order BOM',Updated=TO_DATE('2008-08-05 11:45:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53026 +; + +-- Aug 5, 2008 11:45:19 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53026 +; + +-- Aug 5, 2008 11:45:29 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Order BOM Line',Updated=TO_DATE('2008-08-05 11:45:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53025 +; + +-- Aug 5, 2008 11:45:29 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53025 +; + +-- Aug 5, 2008 11:46:09 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Order BOM Line MA',Updated=TO_DATE('2008-08-05 11:46:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53062 +; + +-- Aug 5, 2008 11:46:09 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53062 +; + +-- Aug 5, 2008 11:46:22 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Order Cost',Updated=TO_DATE('2008-08-05 11:46:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53024 +; + +-- Aug 5, 2008 11:46:22 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53024 +; + +-- Aug 5, 2008 11:46:55 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order Activity Next',Updated=TO_DATE('2008-08-05 11:46:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53023 +; + +-- Aug 5, 2008 11:46:55 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53023 +; + +-- Aug 5, 2008 11:47:21 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order Activity Asset',Updated=TO_DATE('2008-08-05 11:47:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53031 +; + +-- Aug 5, 2008 11:47:21 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53031 +; + +-- Aug 5, 2008 11:47:54 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order Activity Product',Updated=TO_DATE('2008-08-05 11:47:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53030 +; + +-- Aug 5, 2008 11:47:54 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53030 +; + +-- Aug 5, 2008 11:48:08 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order Workflow',Updated=TO_DATE('2008-08-05 11:48:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53029 +; + +-- Aug 5, 2008 11:48:08 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53029 +; + +-- Aug 5, 2008 11:48:31 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Product Planning',Updated=TO_DATE('2008-08-05 11:48:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53020 +; + +-- Aug 5, 2008 11:48:31 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53020 +; + +-- Aug 5, 2008 11:48:47 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Workflow Node Asset',Updated=TO_DATE('2008-08-05 11:48:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53017 +; + +-- Aug 5, 2008 11:48:47 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53017 +; + +-- Aug 5, 2008 11:49:03 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Workflow Node Product',Updated=TO_DATE('2008-08-05 11:49:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53016 +; + +-- Aug 5, 2008 11:49:03 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53016 +; + +-- Aug 5, 2008 11:49:17 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Quality Specification',Updated=TO_DATE('2008-08-05 11:49:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53040 +; + +-- Aug 5, 2008 11:49:17 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53040 +; + +-- Aug 5, 2008 11:49:23 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Quality Specification Line',Updated=TO_DATE('2008-08-05 11:49:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53041 +; + +-- Aug 5, 2008 11:49:23 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53041 +; + +-- Aug 5, 2008 11:49:58 AM CDT +-- Terminology +UPDATE AD_Table SET Name='View Working In Process',Updated=TO_DATE('2008-08-05 11:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53033 +; + +-- Aug 5, 2008 11:49:58 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53033 +; + +-- Aug 5, 2008 11:50:22 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Temporal BOM Line',Updated=TO_DATE('2008-08-05 11:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53045 +; + +-- Aug 5, 2008 11:50:22 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53045 +; + +-- Aug 5, 2008 11:50:37 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Temporal MRP & CRP',Updated=TO_DATE('2008-08-05 11:50:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53044 +; + +-- Aug 5, 2008 11:50:37 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53044 +; + +-- Aug 5, 2008 11:51:46 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Network Distribution',Updated=TO_DATE('2008-08-05 11:51:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53060 +; + +-- Aug 5, 2008 11:51:59 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Network Distribution Line', Name='Network Distribution Line',Updated=TO_DATE('2008-08-05 11:51:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53061 +; + +-- Aug 5, 2008 11:51:59 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53061 +; + +-- Aug 5, 2008 11:52:02 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Distribution Order',Updated=TO_DATE('2008-08-05 11:52:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53037 +; + +-- Aug 5, 2008 11:52:08 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Distribution Order Line',Updated=TO_DATE('2008-08-05 11:52:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53038 +; + +-- Aug 5, 2008 11:52:13 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Cost Collector',Updated=TO_DATE('2008-08-05 11:52:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53035 +; + +-- Aug 5, 2008 11:54:27 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Material Requirement Planning', Name='Material Requirement Planning',Updated=TO_DATE('2008-08-05 11:54:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53043 +; + +-- Aug 5, 2008 11:54:27 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53043 +; + +-- Aug 5, 2008 11:54:34 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order',Updated=TO_DATE('2008-08-05 11:54:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53027 +; + +-- Aug 5, 2008 11:54:37 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Order BOM',Updated=TO_DATE('2008-08-05 11:54:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53026 +; + +-- Aug 5, 2008 11:54:42 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Order BOM Line',Updated=TO_DATE('2008-08-05 11:54:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53025 +; + +-- Aug 5, 2008 11:54:45 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Order BOM Line MA',Updated=TO_DATE('2008-08-05 11:54:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53062 +; + +-- Aug 5, 2008 11:54:50 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Order Cost',Updated=TO_DATE('2008-08-05 11:54:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53024 +; + +-- Aug 5, 2008 11:54:54 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Activity',Updated=TO_DATE('2008-08-05 11:54:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53022 +; + +-- Aug 5, 2008 11:54:59 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Activity Next',Updated=TO_DATE('2008-08-05 11:54:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53023 +; + +-- Aug 5, 2008 11:55:03 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Activity Asset',Updated=TO_DATE('2008-08-05 11:55:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53031 +; + +-- Aug 5, 2008 11:55:08 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Activity Product',Updated=TO_DATE('2008-08-05 11:55:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53030 +; + +-- Aug 5, 2008 11:55:13 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Workflow',Updated=TO_DATE('2008-08-05 11:55:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53029 +; + +-- Aug 5, 2008 11:55:17 AM CDT +-- Terminology +UPDATE AD_Table SET Description='BOM Line',Updated=TO_DATE('2008-08-05 11:55:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53019 +; + +-- Aug 5, 2008 11:55:22 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Product Planning',Updated=TO_DATE('2008-08-05 11:55:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53020 +; + +-- Aug 5, 2008 11:55:25 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Workflow Node Asset',Updated=TO_DATE('2008-08-05 11:55:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53017 +; + +-- Aug 5, 2008 11:55:29 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Workflow Node Product',Updated=TO_DATE('2008-08-05 11:55:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53016 +; + +-- Aug 5, 2008 11:55:33 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Quality Specification',Updated=TO_DATE('2008-08-05 11:55:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53040 +; + +-- Aug 5, 2008 11:55:38 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Quality Specification Line',Updated=TO_DATE('2008-08-05 11:55:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53041 +; + +-- Aug 5, 2008 11:55:43 AM CDT +-- Terminology +UPDATE AD_Table SET Description='MRP View',Updated=TO_DATE('2008-08-05 11:55:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:55:56 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Operation_Activity', Name='View Operation_Activity',Updated=TO_DATE('2008-08-05 11:55:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53036 +; + +-- Aug 5, 2008 11:55:56 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53036 +; + +-- Aug 5, 2008 11:56:14 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Order BOM Line', Name='View Order BOM Line',Updated=TO_DATE('2008-08-05 11:56:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53028 +; + +-- Aug 5, 2008 11:56:14 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53028 +; + +-- Aug 5, 2008 11:56:32 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Order Storage', Name='View Order Storage',Updated=TO_DATE('2008-08-05 11:56:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53032 +; + +-- Aug 5, 2008 11:56:32 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53032 +; + +-- Aug 5, 2008 11:56:42 AM CDT +-- Terminology +UPDATE AD_Table SET Name='View Manufacturing Order Transactions',Updated=TO_DATE('2008-08-05 11:56:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53034 +; + +-- Aug 5, 2008 11:56:42 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53034 +; + +-- Aug 5, 2008 11:56:51 AM CDT +-- Terminology +UPDATE AD_Table SET Name='View Product BOM Line',Updated=TO_DATE('2008-08-05 11:56:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53063 +; + +-- Aug 5, 2008 11:56:51 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53063 +; + +-- Aug 5, 2008 11:56:55 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Manufacturing Order Transactions',Updated=TO_DATE('2008-08-05 11:56:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53034 +; + +-- Aug 5, 2008 11:57:00 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Product BOM Line',Updated=TO_DATE('2008-08-05 11:57:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53063 +; + +-- Aug 5, 2008 11:57:03 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Product Costing',Updated=TO_DATE('2008-08-05 11:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53042 +; + +-- Aug 5, 2008 11:57:09 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Product Costing', Name='View Product Costing',Updated=TO_DATE('2008-08-05 11:57:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53033 +; + +-- Aug 5, 2008 11:57:09 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53033 +; + +-- Aug 5, 2008 11:57:17 AM CDT +-- Terminology +UPDATE AD_Table SET Name='View ',Updated=TO_DATE('2008-08-05 11:57:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:57:17 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:57:28 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Material Requirement Planning', Name='View Material Requirement Planning',Updated=TO_DATE('2008-08-05 11:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:57:28 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:57:35 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Temporal BOM Line',Updated=TO_DATE('2008-08-05 11:57:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53045 +; + +-- Aug 5, 2008 11:57:45 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Temporal MRP & CRP',Updated=TO_DATE('2008-08-05 11:57:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53044 +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Concept Account', PrintName='Payroll Concept Account',Updated=TO_DATE('2008-08-05 11:58:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53411 +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53411 +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Concept_Acct', Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53411 +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct', Name='Payroll Concept Account', Description=NULL, Help=NULL, AD_Element_ID=53411 WHERE UPPER(ColumnName)='HR_CONCEPT_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct', Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53411 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53411) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Concept Account', Name='Payroll Concept Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53411) +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Concept Account ID', PrintName='Payroll Concept Account ID',Updated=TO_DATE('2008-08-05 11:59:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account ID', Description=NULL, Help=NULL, AD_Element_ID=53404 WHERE UPPER(ColumnName)='HR_CONCEPT_ACCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53404 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Concept Account ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53404) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Concept Account ID', Name='Payroll Concept Account ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53404) +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Concept', PrintName='Payroll Concept',Updated=TO_DATE('2008-08-05 11:59:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53398 +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53398 +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Concept_ID', Name='Payroll Concept', Description=NULL, Help=NULL WHERE AD_Element_ID=53398 +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_ID', Name='Payroll Concept', Description=NULL, Help=NULL, AD_Element_ID=53398 WHERE UPPER(ColumnName)='HR_CONCEPT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_ID', Name='Payroll Concept', Description=NULL, Help=NULL WHERE AD_Element_ID=53398 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Concept', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53398) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Concept', Name='Payroll Concept' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53398) +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Department', PrintName='Payroll Department',Updated=TO_DATE('2008-08-05 11:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53390 +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53390 +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Department_ID', Name='Payroll Department', Description=NULL, Help=NULL WHERE AD_Element_ID=53390 +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Department_ID', Name='Payroll Department', Description=NULL, Help=NULL, AD_Element_ID=53390 WHERE UPPER(ColumnName)='HR_DEPARTMENT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Department_ID', Name='Payroll Department', Description=NULL, Help=NULL WHERE AD_Element_ID=53390 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Department', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53390) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Department', Name='Payroll Department' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53390) +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Employee', PrintName='Payroll Employee',Updated=TO_DATE('2008-08-05 11:59:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53391 +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53391 +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Employee_ID', Name='Payroll Employee', Description=NULL, Help=NULL WHERE AD_Element_ID=53391 +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Employee_ID', Name='Payroll Employee', Description=NULL, Help=NULL, AD_Element_ID=53391 WHERE UPPER(ColumnName)='HR_EMPLOYEE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Employee_ID', Name='Payroll Employee', Description=NULL, Help=NULL WHERE AD_Element_ID=53391 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Employee', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53391) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Employee', Name='Payroll Employee' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53391) +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Expense Account', PrintName='Payroll Expense Account',Updated=TO_DATE('2008-08-05 12:00:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53406 +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53406 +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Expense_Acct', Name='Payroll Expense Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53406 +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Expense_Acct', Name='Payroll Expense Account', Description=NULL, Help=NULL, AD_Element_ID=53406 WHERE UPPER(ColumnName)='HR_EXPENSE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Expense_Acct', Name='Payroll Expense Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53406 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Expense Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53406) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Expense Account', Name='Payroll Expense Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53406) +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Job', PrintName='Payroll Job',Updated=TO_DATE('2008-08-05 12:00:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53392 +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53392 +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Job_ID', Name='Payroll Job', Description=NULL, Help=NULL WHERE AD_Element_ID=53392 +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Job_ID', Name='Payroll Job', Description=NULL, Help=NULL, AD_Element_ID=53392 WHERE UPPER(ColumnName)='HR_JOB_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Job_ID', Name='Payroll Job', Description=NULL, Help=NULL WHERE AD_Element_ID=53392 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Job', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53392) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Job', Name='Payroll Job' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53392) +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Revenue Account', PrintName='Payroll Revenue Account',Updated=TO_DATE('2008-08-05 12:01:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53405 +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53405 +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Revenue_Acct', Name='Payroll Revenue Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53405 +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Revenue_Acct', Name='Payroll Revenue Account', Description=NULL, Help=NULL, AD_Element_ID=53405 WHERE UPPER(ColumnName)='HR_REVENUE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Revenue_Acct', Name='Payroll Revenue Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53405 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Revenue Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53405) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Revenue Account', Name='Payroll Revenue Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53405) +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Network Distribution Line', PrintName='Network Distribution Line',Updated=TO_DATE('2008-08-05 12:03:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53341 +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53341 +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='DD_NetworkDistributionLine_ID', Name='Network Distribution Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53341 +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DD_NetworkDistributionLine_ID', Name='Network Distribution Line', Description=NULL, Help=NULL, AD_Element_ID=53341 WHERE UPPER(ColumnName)='DD_NETWORKDISTRIBUTIONLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DD_NetworkDistributionLine_ID', Name='Network Distribution Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53341 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Network Distribution Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53341) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Network Distribution Line', Name='Network Distribution Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53341) +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Cost Collector ID', PrintName='Cost Collector ID',Updated=TO_DATE('2008-08-05 12:03:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector ID', Description=NULL, Help=NULL, AD_Element_ID=53310 WHERE UPPER(ColumnName)='PP_COST_COLLECTOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Cost Collector ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53310) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:18 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Cost Collector ID', Name='Cost Collector ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53310) +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Element SET Name='MRP ID',Updated=TO_DATE('2008-08-05 12:03:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_MRP_ID', Name='MRP ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_MRP_ID', Name='MRP ID', Description=NULL, Help=NULL, AD_Element_ID=53316 WHERE UPPER(ColumnName)='PP_MRP_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_MRP_ID', Name='MRP ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53316 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Field SET Name='MRP ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53316) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='PP_MRP_ID', Name='MRP ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53316) +; + +-- Aug 5, 2008 12:03:27 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='MRP ID',Updated=TO_DATE('2008-08-05 12:03:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:27 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:27 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='MRP ID', Name='MRP ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53316) +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM Line MA ID', PrintName='Order BOM Line MA ID',Updated=TO_DATE('2008-08-05 12:03:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA ID', Description=NULL, Help=NULL, AD_Element_ID=53343 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINEMA_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM Line MA ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53343) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM Line MA ID', Name='Order BOM Line MA ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM Line ID', PrintName='Order BOM Line ID',Updated=TO_DATE('2008-08-05 12:04:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line ID', Description=NULL, Help=NULL, AD_Element_ID=53275 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM Line ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53275) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM Line ID', Name='Order BOM Line ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:04:11 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM ID', PrintName='Order BOM ID',Updated=TO_DATE('2008-08-05 12:04:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:04:11 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:04:11 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOM_ID', Name='Order BOM ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:04:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Order BOM ID', Description=NULL, Help=NULL, AD_Element_ID=53298 WHERE UPPER(ColumnName)='PP_ORDER_BOM_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:04:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Order BOM ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:04:12 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53298) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:04:12 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM ID', Name='Order BOM ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:04:55 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Order BOM Line MA',Updated=TO_DATE('2008-08-05 12:04:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:04:55 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:04:55 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM Line MA', Name='Order BOM Line MA ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:04:59 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Cost Collector',Updated=TO_DATE('2008-08-05 12:04:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:04:59 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:04:59 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Cost Collector', Name='Cost Collector ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53310) +; + +-- Aug 5, 2008 12:05:01 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Order BOM Line',Updated=TO_DATE('2008-08-05 12:05:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:01 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:01 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM Line', Name='Order BOM Line ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:05:04 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Order BOM',Updated=TO_DATE('2008-08-05 12:05:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:04 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:04 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM', Name='Order BOM ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:05:11 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Order_Cost_ID',Updated=TO_DATE('2008-08-05 12:05:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:05:11 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:05:11 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order_Cost_ID', Name='PP_Order_Cost_ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53297) +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM Line MA',Updated=TO_DATE('2008-08-05 12:05:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA', Description=NULL, Help=NULL, AD_Element_ID=53343 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINEMA_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53343) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM Line MA', Name='Order BOM Line MA' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM Line',Updated=TO_DATE('2008-08-05 12:05:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line', Description=NULL, Help=NULL, AD_Element_ID=53275 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53275) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM Line', Name='Order BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:05:20 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM',Updated=TO_DATE('2008-08-05 12:05:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:20 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOM_ID', Name='Order BOM', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Order BOM', Description=NULL, Help=NULL, AD_Element_ID=53298 WHERE UPPER(ColumnName)='PP_ORDER_BOM_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Order BOM', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53298) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM', Name='Order BOM' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Cost Collector',Updated=TO_DATE('2008-08-05 12:05:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector', Description=NULL, Help=NULL, AD_Element_ID=53310 WHERE UPPER(ColumnName)='PP_COST_COLLECTOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Cost Collector', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53310) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Cost Collector', Name='Cost Collector' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53310) +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Material Requirement Planning', PrintName='Material Requirement Planning',Updated=TO_DATE('2008-08-05 12:06:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_MRP_ID', Name='Material Requirement Planning', Description=NULL, Help=NULL WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_MRP_ID', Name='Material Requirement Planning', Description=NULL, Help=NULL, AD_Element_ID=53316 WHERE UPPER(ColumnName)='PP_MRP_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_MRP_ID', Name='Material Requirement Planning', Description=NULL, Help=NULL WHERE AD_Element_ID=53316 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Material Requirement Planning', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53316) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Material Requirement Planning', Name='Material Requirement Planning' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53316) +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order Cost', PrintName='Order Cost',Updated=TO_DATE('2008-08-05 12:06:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Cost_ID', Name='Order Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Cost_ID', Name='Order Cost', Description=NULL, Help=NULL, AD_Element_ID=53297 WHERE UPPER(ColumnName)='PP_ORDER_COST_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Cost_ID', Name='Order Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53297 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order Cost', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53297) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order Cost', Name='Order Cost' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53297) +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order', PrintName='Manufacturing Order',Updated=TO_DATE('2008-08-05 12:06:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53276 +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53276 +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_ID', Name='Manufacturing Order', Description=NULL, Help=NULL WHERE AD_Element_ID=53276 +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_ID', Name='Manufacturing Order', Description=NULL, Help=NULL, AD_Element_ID=53276 WHERE UPPER(ColumnName)='PP_ORDER_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_ID', Name='Manufacturing Order', Description=NULL, Help=NULL WHERE AD_Element_ID=53276 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53276) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:35 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order', Name='Manufacturing Order' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53276) +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Cost',Updated=TO_DATE('2008-08-05 12:06:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Cost_ID', Name='Manufacturing Order Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Cost_ID', Name='Manufacturing Order Cost', Description=NULL, Help=NULL, AD_Element_ID=53297 WHERE UPPER(ColumnName)='PP_ORDER_COST_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Cost_ID', Name='Manufacturing Order Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53297 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Cost', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53297) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order Cost', Name='Manufacturing Order Cost' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53297) +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order BOM',Updated=TO_DATE('2008-08-05 12:06:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOM_ID', Name='Manufacturing Order BOM', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Manufacturing Order BOM', Description=NULL, Help=NULL, AD_Element_ID=53298 WHERE UPPER(ColumnName)='PP_ORDER_BOM_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Manufacturing Order BOM', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order BOM', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53298) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM', Name='Manufacturing Order BOM' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order BOM Line',Updated=TO_DATE('2008-08-05 12:06:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLine_ID', Name='Manufacturing Order BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Manufacturing Order BOM Line', Description=NULL, Help=NULL, AD_Element_ID=53275 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Manufacturing Order BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order BOM Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53275) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM Line', Name='Manufacturing Order BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order BOM Line MA',Updated=TO_DATE('2008-08-05 12:06:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLineMA_ID', Name='Manufacturing Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Manufacturing Order BOM Line MA', Description=NULL, Help=NULL, AD_Element_ID=53343 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINEMA_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Manufacturing Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53343) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order BOM Line MA', Name='Manufacturing Order BOM Line MA' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Cost Collector', PrintName='Manufacturing Cost Collector',Updated=TO_DATE('2008-08-05 12:06:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Cost_Collector_ID', Name='Manufacturing Cost Collector', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Manufacturing Cost Collector', Description=NULL, Help=NULL, AD_Element_ID=53310 WHERE UPPER(ColumnName)='PP_COST_COLLECTOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Manufacturing Cost Collector', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Cost Collector', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53310) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Cost Collector', Name='Manufacturing Cost Collector' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53310) +; + +-- Aug 5, 2008 12:07:08 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Manufacturing Cost Collector',Updated=TO_DATE('2008-08-05 12:07:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:07:08 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:07:08 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Cost Collector', Name='Manufacturing Order BOM Line MA' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:07:13 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Manufacturing Order BOM Line',Updated=TO_DATE('2008-08-05 12:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:07:13 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:07:13 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order BOM Line', Name='Manufacturing Order BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:07:17 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Manufacturing Order BOM',Updated=TO_DATE('2008-08-05 12:07:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:07:17 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:07:17 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order BOM', Name='Manufacturing Order BOM' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:07:34 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Manufacturing Order Cost',Updated=TO_DATE('2008-08-05 12:07:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:07:34 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:07:34 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Cost', Name='Manufacturing Order Cost' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53297) +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Overlap Units', PrintName='Overlap Units',Updated=TO_DATE('2008-08-05 12:07:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53241 +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53241 +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='OverlapUnits', Name='Overlap Units', Description=NULL, Help=NULL WHERE AD_Element_ID=53241 +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='OverlapUnits', Name='Overlap Units', Description=NULL, Help=NULL, AD_Element_ID=53241 WHERE UPPER(ColumnName)='OVERLAPUNITS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='OverlapUnits', Name='Overlap Units', Description=NULL, Help=NULL WHERE AD_Element_ID=53241 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Overlap Units', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53241) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Overlap Units', Name='Overlap Units' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53241) +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity', PrintName='Manufacturing Order Activity',Updated=TO_DATE('2008-08-05 12:08:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL, AD_Element_ID=53292 WHERE UPPER(ColumnName)='PP_ORDER_NEXT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53292 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53292) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Activity', Name='Manufacturing Order Activity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53292) +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity Next', PrintName='Manufacturing Order Activity Next',Updated=TO_DATE('2008-08-05 12:08:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53293 +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53293 +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_NodeNext_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Element_ID=53293 +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_NodeNext_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL, AD_Element_ID=53293 WHERE UPPER(ColumnName)='PP_ORDER_NODENEXT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_NodeNext_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Element_ID=53293 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53293) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Activity Next', Name='Manufacturing Order Activity Next' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53293) +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity Asset', PrintName='Manufacturing Order Activity Asset',Updated=TO_DATE('2008-08-05 12:08:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53304 +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53304 +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Node_Asset_ID', Name='Manufacturing Order Activity Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53304 +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_Asset_ID', Name='Manufacturing Order Activity Asset', Description=NULL, Help=NULL, AD_Element_ID=53304 WHERE UPPER(ColumnName)='PP_ORDER_NODE_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_Asset_ID', Name='Manufacturing Order Activity Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53304 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity Asset', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53304) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Activity Asset', Name='Manufacturing Order Activity Asset' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53304) +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity Next', PrintName='Manufacturing Order Activity Next',Updated=TO_DATE('2008-08-05 12:08:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL, AD_Element_ID=53292 WHERE UPPER(ColumnName)='PP_ORDER_NEXT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Element_ID=53292 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53292) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Activity Next', Name='Manufacturing Order Activity Next' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53292) +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity Product', PrintName='Manufacturing Order Activity Product',Updated=TO_DATE('2008-08-05 12:09:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53303 +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53303 +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Node_Product_ID', Name='Manufacturing Order Activity Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53303 +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_Product_ID', Name='Manufacturing Order Activity Product', Description=NULL, Help=NULL, AD_Element_ID=53303 WHERE UPPER(ColumnName)='PP_ORDER_NODE_PRODUCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_Product_ID', Name='Manufacturing Order Activity Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53303 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity Product', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53303) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Activity Product', Name='Manufacturing Order Activity Product' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53303) +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Workflow', PrintName='Manufacturing Order Workflow',Updated=TO_DATE('2008-08-05 12:09:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53286 +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53286 +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Workflow_ID', Name='Manufacturing Order Workflow', Description=NULL, Help=NULL WHERE AD_Element_ID=53286 +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Workflow_ID', Name='Manufacturing Order Workflow', Description=NULL, Help=NULL, AD_Element_ID=53286 WHERE UPPER(ColumnName)='PP_ORDER_WORKFLOW_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Workflow_ID', Name='Manufacturing Order Workflow', Description=NULL, Help=NULL WHERE AD_Element_ID=53286 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Workflow', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53286) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Workflow', Name='Manufacturing Order Workflow' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53286) +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Product Planning', PrintName='Product Planning',Updated=TO_DATE('2008-08-05 12:09:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53268 +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53268 +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Product_Planning_ID', Name='Product Planning', Description=NULL, Help=NULL WHERE AD_Element_ID=53268 +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Product_Planning_ID', Name='Product Planning', Description=NULL, Help=NULL, AD_Element_ID=53268 WHERE UPPER(ColumnName)='PP_PRODUCT_PLANNING_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Product_Planning_ID', Name='Product Planning', Description=NULL, Help=NULL WHERE AD_Element_ID=53268 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Product Planning', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53268) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Product Planning', Name='Product Planning' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53268) +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Workflow Node Asset', PrintName='Workflow Node Asset',Updated=TO_DATE('2008-08-05 12:10:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53236 +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53236 +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_WF_Node_Asset_ID', Name='Workflow Node Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53236 +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_WF_Node_Asset_ID', Name='Workflow Node Asset', Description=NULL, Help=NULL, AD_Element_ID=53236 WHERE UPPER(ColumnName)='PP_WF_NODE_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_WF_Node_Asset_ID', Name='Workflow Node Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53236 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Workflow Node Asset', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53236) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Workflow Node Asset', Name='Workflow Node Asset' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53236) +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Workflow Node Product', PrintName='Workflow Node Product',Updated=TO_DATE('2008-08-05 12:10:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53235 +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53235 +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_WF_Node_Product_ID', Name='Workflow Node Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53235 +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_WF_Node_Product_ID', Name='Workflow Node Product', Description=NULL, Help=NULL, AD_Element_ID=53235 WHERE UPPER(ColumnName)='PP_WF_NODE_PRODUCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_WF_Node_Product_ID', Name='Workflow Node Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53235 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Workflow Node Product', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53235) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Workflow Node Product', Name='Workflow Node Product' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53235) +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Element SET Name='% Utilization', PrintName='% Utilization',Updated=TO_DATE('2008-08-05 12:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53230 +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53230 +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PercentUtilization', Name='% Utilization', Description=NULL, Help=NULL WHERE AD_Element_ID=53230 +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PercentUtilization', Name='% Utilization', Description=NULL, Help=NULL, AD_Element_ID=53230 WHERE UPPER(ColumnName)='PERCENTUTILIZATION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PercentUtilization', Name='% Utilization', Description=NULL, Help=NULL WHERE AD_Element_ID=53230 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Field SET Name='% Utilization', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53230) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='% Utilization', Name='% Utilization' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53230) +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Process Type', PrintName='Process Type',Updated=TO_DATE('2008-08-05 12:10:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53242 +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53242 +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='ProcessType', Name='Process Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53242 +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='ProcessType', Name='Process Type', Description=NULL, Help=NULL, AD_Element_ID=53242 WHERE UPPER(ColumnName)='PROCESSTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='ProcessType', Name='Process Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53242 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Process Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53242) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Process Type', Name='Process Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53242) +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Quality Specification', PrintName='Quality Specification',Updated=TO_DATE('2008-08-05 12:11:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53314 +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53314 +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QM_Specification_ID', Name='Quality Specification', Description=NULL, Help=NULL WHERE AD_Element_ID=53314 +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QM_Specification_ID', Name='Quality Specification', Description=NULL, Help=NULL, AD_Element_ID=53314 WHERE UPPER(ColumnName)='QM_SPECIFICATION_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QM_Specification_ID', Name='Quality Specification', Description=NULL, Help=NULL WHERE AD_Element_ID=53314 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Quality Specification', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53314) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Quality Specification', Name='Quality Specification' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53314) +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Batch Size', PrintName='Qty Batch Size',Updated=TO_DATE('2008-08-05 12:11:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53243 +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53243 +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyBatchSize', Name='Qty Batch Size', Description=NULL, Help=NULL WHERE AD_Element_ID=53243 +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatchSize', Name='Qty Batch Size', Description=NULL, Help=NULL, AD_Element_ID=53243 WHERE UPPER(ColumnName)='QTYBATCHSIZE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatchSize', Name='Qty Batch Size', Description=NULL, Help=NULL WHERE AD_Element_ID=53243 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Batch Size', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53243) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Batch Size', Name='Qty Batch Size' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53243) +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Batchs', PrintName='Qty Batchs',Updated=TO_DATE('2008-08-05 12:11:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53302 +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53302 +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyBatchs', Name='Qty Batchs', Description=NULL, Help=NULL WHERE AD_Element_ID=53302 +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatchs', Name='Qty Batchs', Description=NULL, Help=NULL, AD_Element_ID=53302 WHERE UPPER(ColumnName)='QTYBATCHS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatchs', Name='Qty Batchs', Description=NULL, Help=NULL WHERE AD_Element_ID=53302 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Batchs', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53302) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Batchs', Name='Qty Batchs' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53302) +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Delivered Line', PrintName='Qty Delivered Line',Updated=TO_DATE('2008-08-05 12:11:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53305 +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53305 +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyDeliveredLine', Name='Qty Delivered Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53305 +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyDeliveredLine', Name='Qty Delivered Line', Description=NULL, Help=NULL, AD_Element_ID=53305 WHERE UPPER(ColumnName)='QTYDELIVEREDLINE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyDeliveredLine', Name='Qty Delivered Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53305 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Delivered Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53305) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:32 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Delivered Line', Name='Qty Delivered Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53305) +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty In Transit', PrintName='Qty In Transit',Updated=TO_DATE('2008-08-05 12:11:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53312 +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53312 +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyInTransit', Name='Qty In Transit', Description=NULL, Help=NULL WHERE AD_Element_ID=53312 +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyInTransit', Name='Qty In Transit', Description=NULL, Help=NULL, AD_Element_ID=53312 WHERE UPPER(ColumnName)='QTYINTRANSIT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyInTransit', Name='Qty In Transit', Description=NULL, Help=NULL WHERE AD_Element_ID=53312 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty In Transit', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53312) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty In Transit', Name='Qty In Transit' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53312) +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Issue Scrap Should Be', PrintName='Qty Issue Scrap Should Be',Updated=TO_DATE('2008-08-05 12:11:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53306 +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53306 +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyIssueScrapShouldBe', Name='Qty Issue Scrap Should Be', Description=NULL, Help=NULL WHERE AD_Element_ID=53306 +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyIssueScrapShouldBe', Name='Qty Issue Scrap Should Be', Description=NULL, Help=NULL, AD_Element_ID=53306 WHERE UPPER(ColumnName)='QTYISSUESCRAPSHOULDBE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyIssueScrapShouldBe', Name='Qty Issue Scrap Should Be', Description=NULL, Help=NULL WHERE AD_Element_ID=53306 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Issue Scrap Should Be', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53306) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Issue Scrap Should Be', Name='Qty Issue Scrap Should Be' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53306) +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Issue Should Be', PrintName='Qty Issue Should Be',Updated=TO_DATE('2008-08-05 12:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53307 +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53307 +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyIssueShouldBe', Name='Qty Issue Should Be', Description=NULL, Help=NULL WHERE AD_Element_ID=53307 +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyIssueShouldBe', Name='Qty Issue Should Be', Description=NULL, Help=NULL, AD_Element_ID=53307 WHERE UPPER(ColumnName)='QTYISSUESHOULDBE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyIssueShouldBe', Name='Qty Issue Should Be', Description=NULL, Help=NULL WHERE AD_Element_ID=53307 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Issue Should Be', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53307) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:10 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Issue Should Be', Name='Qty Issue Should Be' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53307) +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Post', PrintName='Qty Post',Updated=TO_DATE('2008-08-05 12:12:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53299 +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53299 +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyPost', Name='Qty Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53299 +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyPost', Name='Qty Post', Description=NULL, Help=NULL, AD_Element_ID=53299 WHERE UPPER(ColumnName)='QTYPOST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyPost', Name='Qty Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53299 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Post', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53299) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Post', Name='Qty Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53299) +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Reject', PrintName='Qty Reject',Updated=TO_DATE('2008-08-05 12:12:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53287 +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53287 +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyReject', Name='Qty Reject', Description=NULL, Help=NULL WHERE AD_Element_ID=53287 +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyReject', Name='Qty Reject', Description=NULL, Help=NULL, AD_Element_ID=53287 WHERE UPPER(ColumnName)='QTYREJECT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyReject', Name='Qty Reject', Description=NULL, Help=NULL WHERE AD_Element_ID=53287 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Reject', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53287) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Reject', Name='Qty Reject' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53287) +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Requiered', PrintName='Qty Required',Updated=TO_DATE('2008-08-05 12:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53288 +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53288 +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyRequiered', Name='Qty Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53288 +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyRequiered', Name='Qty Requiered', Description=NULL, Help=NULL, AD_Element_ID=53288 WHERE UPPER(ColumnName)='QTYREQUIERED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyRequiered', Name='Qty Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53288 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Requiered', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53288) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Required', Name='Qty Requiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53288) +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Scrap', PrintName='Qty Scrap',Updated=TO_DATE('2008-08-05 12:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53289 +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53289 +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyScrap', Name='Qty Scrap', Description=NULL, Help=NULL WHERE AD_Element_ID=53289 +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyScrap', Name='Qty Scrap', Description=NULL, Help=NULL, AD_Element_ID=53289 WHERE UPPER(ColumnName)='QTYSCRAP' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyScrap', Name='Qty Scrap', Description=NULL, Help=NULL WHERE AD_Element_ID=53289 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Scrap', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53289) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Scrap', Name='Qty Scrap' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53289) +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Scrap Line', PrintName='Qty Scrap Line',Updated=TO_DATE('2008-08-05 12:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53308 +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53308 +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyScrapLine', Name='Qty Scrap Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53308 +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyScrapLine', Name='Qty Scrap Line', Description=NULL, Help=NULL, AD_Element_ID=53308 WHERE UPPER(ColumnName)='QTYSCRAPLINE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyScrapLine', Name='Qty Scrap Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53308 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Scrap Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53308) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Qty Scrap Line', Name='Qty Scrap Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53308) +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Units Cycles', PrintName='Units Cycles',Updated=TO_DATE('2008-08-05 12:12:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53239 +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53239 +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='UnitsCycles', Name='Units Cycles', Description=NULL, Help=NULL WHERE AD_Element_ID=53239 +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units Cycles', Description=NULL, Help=NULL, AD_Element_ID=53239 WHERE UPPER(ColumnName)='UNITSCYCLES' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units Cycles', Description=NULL, Help=NULL WHERE AD_Element_ID=53239 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Units Cycles', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53239) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Units Cycles', Name='Units Cycles' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53239) +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Temporal MRP & CRP', PrintName='Temporal MRP & CRP',Updated=TO_DATE('2008-08-05 12:13:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53317 +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53317 +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='T_MRP_CRP_ID', Name='Temporal MRP & CRP', Description=NULL, Help=NULL WHERE AD_Element_ID=53317 +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='T_MRP_CRP_ID', Name='Temporal MRP & CRP', Description=NULL, Help=NULL, AD_Element_ID=53317 WHERE UPPER(ColumnName)='T_MRP_CRP_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='T_MRP_CRP_ID', Name='Temporal MRP & CRP', Description=NULL, Help=NULL WHERE AD_Element_ID=53317 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Temporal MRP & CRP', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53317) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Temporal MRP & CRP', Name='Temporal MRP & CRP' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53317) +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Temporal BOM Line',Updated=TO_DATE('2008-08-05 12:13:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='T_BOMLine_ID', Name='Temporal BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='T_BOMLine_ID', Name='Temporal BOM Line', Description=NULL, Help=NULL, AD_Element_ID=53319 WHERE UPPER(ColumnName)='T_BOMLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='T_BOMLine_ID', Name='Temporal BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53319 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Temporal BOM Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53319) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='T_BOMLine_ID', Name='Temporal BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53319) +; + +-- Aug 5, 2008 12:13:25 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Temporal BOM Line',Updated=TO_DATE('2008-08-05 12:13:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:25 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:25 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Temporal BOM Line', Name='Temporal BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53319) +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Element SET Description=NULL, Name='Product',Updated=TO_DATE('2008-08-05 12:14:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53465 +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53465 +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='TM_Product_ID', Name='Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53465 +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='TM_Product_ID', Name='Product', Description=NULL, Help=NULL, AD_Element_ID=53465 WHERE UPPER(ColumnName)='TM_PRODUCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='TM_Product_ID', Name='Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53465 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Product', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53465) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Product', Name='Product' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53465) +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Current Cost Price Lower Level', PrintName='Current Cost Price Lower Level',Updated=TO_DATE('2008-08-05 12:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53296 +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53296 +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='CurrentCostPriceLL', Name='Current Cost Price Lower Level', Description=NULL, Help=NULL WHERE AD_Element_ID=53296 +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CurrentCostPriceLL', Name='Current Cost Price Lower Level', Description=NULL, Help=NULL, AD_Element_ID=53296 WHERE UPPER(ColumnName)='CURRENTCOSTPRICELL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CurrentCostPriceLL', Name='Current Cost Price Lower Level', Description=NULL, Help=NULL WHERE AD_Element_ID=53296 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Current Cost Price Lower Level', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53296) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Current Cost Price Lower Level', Name='Current Cost Price Lower Level' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53296) +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Cumulated Amt Post',Updated=TO_DATE('2008-08-05 12:15:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='CumulatedAmtPost', Name='Cumulated Amt Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CumulatedAmtPost', Name='Cumulated Amt Post', Description=NULL, Help=NULL, AD_Element_ID=53294 WHERE UPPER(ColumnName)='CUMULATEDAMTPOST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CumulatedAmtPost', Name='Cumulated Amt Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53294 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Cumulated Amt Post', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53294) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='CumulatedAmtPost', Name='Cumulated Amt Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53294) +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Cumulated Qty Post',Updated=TO_DATE('2008-08-05 12:15:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='CumulatedQtyPost', Name='Cumulated Qty Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CumulatedQtyPost', Name='Cumulated Qty Post', Description=NULL, Help=NULL, AD_Element_ID=53295 WHERE UPPER(ColumnName)='CUMULATEDQTYPOST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CumulatedQtyPost', Name='Cumulated Qty Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53295 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Cumulated Qty Post', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53295) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='CumulatedQtyPost', Name='Cumulated Qty Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53295) +; + +-- Aug 5, 2008 12:15:13 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Cumulated Amt Post',Updated=TO_DATE('2008-08-05 12:15:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:13 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:13 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Cumulated Amt Post', Name='Cumulated Amt Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53294) +; + +-- Aug 5, 2008 12:15:21 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Cumulated Qty Post',Updated=TO_DATE('2008-08-05 12:15:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:21 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:21 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Cumulated Qty Post', Name='Cumulated Qty Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53295) +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Daily Capacity', PrintName='Daily Capacity',Updated=TO_DATE('2008-08-05 12:15:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53231 +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53231 +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='DailyCapacity', Name='Daily Capacity', Description=NULL, Help=NULL WHERE AD_Element_ID=53231 +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DailyCapacity', Name='Daily Capacity', Description=NULL, Help=NULL, AD_Element_ID=53231 WHERE UPPER(ColumnName)='DAILYCAPACITY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DailyCapacity', Name='Daily Capacity', Description=NULL, Help=NULL WHERE AD_Element_ID=53231 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Daily Capacity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53231) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Daily Capacity', Name='Daily Capacity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53231) +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Duration Real', PrintName='Duration Real',Updated=TO_DATE('2008-08-05 12:15:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53283 +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53283 +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='DurationReal', Name='Duration Real', Description=NULL, Help=NULL WHERE AD_Element_ID=53283 +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DurationReal', Name='Duration Real', Description=NULL, Help=NULL, AD_Element_ID=53283 WHERE UPPER(ColumnName)='DURATIONREAL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DurationReal', Name='Duration Real', Description=NULL, Help=NULL WHERE AD_Element_ID=53283 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Duration Real', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53283) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:30 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Duration Real', Name='Duration Real' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53283) +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Duration Requiered', PrintName='Duration Requiered',Updated=TO_DATE('2008-08-05 12:15:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53284 +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53284 +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='DurationRequiered', Name='Duration Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53284 +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DurationRequiered', Name='Duration Requiered', Description=NULL, Help=NULL, AD_Element_ID=53284 WHERE UPPER(ColumnName)='DURATIONREQUIERED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DurationRequiered', Name='Duration Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53284 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Duration Requiered', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53284) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Duration Requiered', Name='Duration Requiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53284) +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Float After', PrintName='Float After',Updated=TO_DATE('2008-08-05 12:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53300 +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53300 +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='FloatAfter', Name='Float After', Description=NULL, Help=NULL WHERE AD_Element_ID=53300 +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='FloatAfter', Name='Float After', Description=NULL, Help=NULL, AD_Element_ID=53300 WHERE UPPER(ColumnName)='FLOATAFTER' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='FloatAfter', Name='Float After', Description=NULL, Help=NULL WHERE AD_Element_ID=53300 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Float After', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53300) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Float After', Name='Float After' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53300) +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Float Befored', PrintName='Float Befored',Updated=TO_DATE('2008-08-05 12:15:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53301 +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53301 +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='FloatBefored', Name='Float Befored', Description=NULL, Help=NULL WHERE AD_Element_ID=53301 +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='FloatBefored', Name='Float Befored', Description=NULL, Help=NULL, AD_Element_ID=53301 WHERE UPPER(ColumnName)='FLOATBEFORED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='FloatBefored', Name='Float Befored', Description=NULL, Help=NULL WHERE AD_Element_ID=53301 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Float Befored', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53301) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Float Befored', Name='Float Befored' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53301) +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Is BatchTime', PrintName='Is BatchTime',Updated=TO_DATE('2008-08-05 12:15:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53309 +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53309 +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IsBatchTime', Name='Is BatchTime', Description=NULL, Help=NULL WHERE AD_Element_ID=53309 +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsBatchTime', Name='Is BatchTime', Description=NULL, Help=NULL, AD_Element_ID=53309 WHERE UPPER(ColumnName)='ISBATCHTIME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsBatchTime', Name='Is BatchTime', Description=NULL, Help=NULL WHERE AD_Element_ID=53309 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Is BatchTime', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53309) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Is BatchTime', Name='Is BatchTime' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53309) +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Is Milestone', PrintName='Is Milestone',Updated=TO_DATE('2008-08-05 12:16:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53237 +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53237 +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IsMilestone', Name='Is Milestone', Description=NULL, Help=NULL WHERE AD_Element_ID=53237 +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsMilestone', Name='Is Milestone', Description=NULL, Help=NULL, AD_Element_ID=53237 WHERE UPPER(ColumnName)='ISMILESTONE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsMilestone', Name='Is Milestone', Description=NULL, Help=NULL WHERE AD_Element_ID=53237 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Is Milestone', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53237) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Is Milestone', Name='Is Milestone' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53237) +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Is Subcontracting', PrintName='Is Subcontracting',Updated=TO_DATE('2008-08-05 12:16:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53238 +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53238 +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IsSubcontracting', Name='Is Subcontracting', Description=NULL, Help=NULL WHERE AD_Element_ID=53238 +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsSubcontracting', Name='Is Subcontracting', Description=NULL, Help=NULL, AD_Element_ID=53238 WHERE UPPER(ColumnName)='ISSUBCONTRACTING' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsSubcontracting', Name='Is Subcontracting', Description=NULL, Help=NULL WHERE AD_Element_ID=53238 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Is Subcontracting', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53238) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Is Subcontracting', Name='Is Subcontracting' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53238) +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Low Level', PrintName='Low Level',Updated=TO_DATE('2008-08-05 12:16:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53274 +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53274 +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='LowLevel', Name='Low Level', Description=NULL, Help=NULL WHERE AD_Element_ID=53274 +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='LowLevel', Name='Low Level', Description=NULL, Help=NULL, AD_Element_ID=53274 WHERE UPPER(ColumnName)='LOWLEVEL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='LowLevel', Name='Low Level', Description=NULL, Help=NULL WHERE AD_Element_ID=53274 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Low Level', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53274) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Low Level', Name='Low Level' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53274) +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Moving Time', PrintName='Moving Time',Updated=TO_DATE('2008-08-05 12:16:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53240 +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53240 +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MovingTime', Name='Moving Time', Description=NULL, Help=NULL WHERE AD_Element_ID=53240 +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MovingTime', Name='Moving Time', Description=NULL, Help=NULL, AD_Element_ID=53240 WHERE UPPER(ColumnName)='MOVINGTIME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MovingTime', Name='Moving Time', Description=NULL, Help=NULL WHERE AD_Element_ID=53240 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Moving Time', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53240) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Moving Time', Name='Moving Time' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53240) +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Quantity in %', PrintName='Quantity in %',Updated=TO_DATE('2008-08-05 12:17:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53256 +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53256 +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyBatch', Name='Quantity in %', Description='Indicate the Quantity % use in this Formula', Help='Exist two way the add a compenent to a BOM or Formula: + +1.- Adding a Component based in quantity to use in this BOM +2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula. +' WHERE AD_Element_ID=53256 +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatch', Name='Quantity in %', Description='Indicate the Quantity % use in this Formula', Help='Exist two way the add a compenent to a BOM or Formula: + +1.- Adding a Component based in quantity to use in this BOM +2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula. +', AD_Element_ID=53256 WHERE UPPER(ColumnName)='QTYBATCH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatch', Name='Quantity in %', Description='Indicate the Quantity % use in this Formula', Help='Exist two way the add a compenent to a BOM or Formula: + +1.- Adding a Component based in quantity to use in this BOM +2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula. +' WHERE AD_Element_ID=53256 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Quantity in %', Description='Indicate the Quantity % use in this Formula', Help='Exist two way the add a compenent to a BOM or Formula: + +1.- Adding a Component based in quantity to use in this BOM +2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula. +' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53256) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Quantity in %', Name='Quantity in %' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53256) +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Setup Time Real',Updated=TO_DATE('2008-08-05 12:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='SetupTimeReal', Name='Setup Time Real', Description=NULL, Help=NULL WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='SetupTimeReal', Name='Setup Time Real', Description=NULL, Help=NULL, AD_Element_ID=53290 WHERE UPPER(ColumnName)='SETUPTIMEREAL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='SetupTimeReal', Name='Setup Time Real', Description=NULL, Help=NULL WHERE AD_Element_ID=53290 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Setup Time Real', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53290) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='SetupTimeReal', Name='Setup Time Real' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53290) +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Setup Time Requiered',Updated=TO_DATE('2008-08-05 12:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='SetupTimeRequiered', Name='Setup Time Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='SetupTimeRequiered', Name='Setup Time Requiered', Description=NULL, Help=NULL, AD_Element_ID=53291 WHERE UPPER(ColumnName)='SETUPTIMEREQUIERED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='SetupTimeRequiered', Name='Setup Time Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53291 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Setup Time Requiered', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53291) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='SetupTimeRequiered', Name='Setup Time Requiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53291) +; + +-- Aug 5, 2008 12:17:19 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Setup Time Real',Updated=TO_DATE('2008-08-05 12:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:19 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:19 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Setup Time Real', Name='Setup Time Real' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53290) +; + +-- Aug 5, 2008 12:17:32 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Setup Time Requiered',Updated=TO_DATE('2008-08-05 12:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:32 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:32 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Setup Time Requiered', Name='Setup Time Requiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53291) +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Selected Product',Updated=TO_DATE('2008-08-05 12:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53464 +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53464 +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='Sel_Product_ID', Name='Selected Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53464 +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='Sel_Product_ID', Name='Selected Product', Description=NULL, Help=NULL, AD_Element_ID=53464 WHERE UPPER(ColumnName)='SEL_PRODUCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='Sel_Product_ID', Name='Selected Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53464 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Selected Product', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53464) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Selected Product', Name='Selected Product' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53464) +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Queuing Time', PrintName='Queuing Time',Updated=TO_DATE('2008-08-05 12:18:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53234 +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53234 +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QueuingTime', Name='Queuing Time', Description=NULL, Help=NULL WHERE AD_Element_ID=53234 +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QueuingTime', Name='Queuing Time', Description=NULL, Help=NULL, AD_Element_ID=53234 WHERE UPPER(ColumnName)='QUEUINGTIME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QueuingTime', Name='Queuing Time', Description=NULL, Help=NULL WHERE AD_Element_ID=53234 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Queuing Time', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53234) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Queuing Time', Name='Queuing Time' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53234) +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Tax Base', PrintName='Tax Base',Updated=TO_DATE('2008-08-05 12:19:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53357 +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53357 +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='C_TaxBase_ID', Name='Tax Base', Description=NULL, Help=NULL WHERE AD_Element_ID=53357 +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxBase_ID', Name='Tax Base', Description=NULL, Help=NULL, AD_Element_ID=53357 WHERE UPPER(ColumnName)='C_TAXBASE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxBase_ID', Name='Tax Base', Description=NULL, Help=NULL WHERE AD_Element_ID=53357 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Tax Base', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53357) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Tax Base', Name='Tax Base' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53357) +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Tax Definition', PrintName='Tax Definition',Updated=TO_DATE('2008-08-05 12:19:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53358 +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53358 +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='C_TaxDefinition_ID', Name='Tax Definition', Description=NULL, Help=NULL WHERE AD_Element_ID=53358 +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxDefinition_ID', Name='Tax Definition', Description=NULL, Help=NULL, AD_Element_ID=53358 WHERE UPPER(ColumnName)='C_TAXDEFINITION_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxDefinition_ID', Name='Tax Definition', Description=NULL, Help=NULL WHERE AD_Element_ID=53358 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Tax Definition', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53358) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Tax Definition', Name='Tax Definition' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53358) +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Tax Type', PrintName='Tax Type',Updated=TO_DATE('2008-08-05 12:19:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53359 +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53359 +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='C_TaxType_ID', Name='Tax Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53359 +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxType_ID', Name='Tax Type', Description=NULL, Help=NULL, AD_Element_ID=53359 WHERE UPPER(ColumnName)='C_TAXTYPE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxType_ID', Name='Tax Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53359 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Tax Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53359) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Tax Type', Name='Tax Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53359) +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Max Taxable',Updated=TO_DATE('2008-08-05 12:19:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MaxTaxable', Name='Max Taxable', Description=NULL, Help=NULL WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MaxTaxable', Name='Max Taxable', Description=NULL, Help=NULL, AD_Element_ID=53360 WHERE UPPER(ColumnName)='MAXTAXABLE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MaxTaxable', Name='Max Taxable', Description=NULL, Help=NULL WHERE AD_Element_ID=53360 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Max Taxable', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53360) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='MaxTaxable', Name='Max Taxable' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53360) +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Min Taxable',Updated=TO_DATE('2008-08-05 12:19:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MinTaxable', Name='Min Taxable', Description=NULL, Help=NULL WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MinTaxable', Name='Min Taxable', Description=NULL, Help=NULL, AD_Element_ID=53361 WHERE UPPER(ColumnName)='MINTAXABLE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MinTaxable', Name='Min Taxable', Description=NULL, Help=NULL WHERE AD_Element_ID=53361 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Min Taxable', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53361) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='MinTaxable', Name='Min Taxable' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53361) +; + +-- Aug 5, 2008 12:19:42 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Max Taxable',Updated=TO_DATE('2008-08-05 12:19:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:42 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:42 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Max Taxable', Name='Max Taxable' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53360) +; + +-- Aug 5, 2008 12:19:47 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Min Taxable',Updated=TO_DATE('2008-08-05 12:19:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:47 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:47 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Min Taxable', Name='Min Taxable' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53361) +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Attribute Account',Updated=TO_DATE('2008-08-05 12:20:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description='Account for Employee Attribute', Help=NULL WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description='Account for Employee Attribute', Help=NULL, AD_Element_ID=53396 WHERE UPPER(ColumnName)='HR_ATTRIBUTE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description='Account for Employee Attribute', Help=NULL WHERE AD_Element_ID=53396 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Attribute Account', Description='Account for Employee Attribute', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53396) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Account Payroll Employee Attribute', Name='Payroll Attribute Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53396) +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Concept Account',Updated=TO_DATE('2008-08-05 12:20:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account', Description=NULL, Help=NULL, AD_Element_ID=53404 WHERE UPPER(ColumnName)='HR_CONCEPT_ACCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53404 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53404) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Concept Account ID', Name='Payroll Concept Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53404) +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Element SET Description=NULL, PrintName='Payroll Attribute Account',Updated=TO_DATE('2008-08-05 12:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description=NULL, Help=NULL, AD_Element_ID=53396 WHERE UPPER(ColumnName)='HR_ATTRIBUTE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53396 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Attribute Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53396) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Attribute Account', Name='Payroll Attribute Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53396) +; + +-- Aug 5, 2008 12:21:10 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Payroll Concept Account',Updated=TO_DATE('2008-08-05 12:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:21:10 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:21:10 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Payroll Concept Account', Name='Payroll Concept Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53404) +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Max Value', PrintName='Max Value',Updated=TO_DATE('2008-08-05 12:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53399 +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53399 +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MaxValue', Name='Max Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53399 +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MaxValue', Name='Max Value', Description=NULL, Help=NULL, AD_Element_ID=53399 WHERE UPPER(ColumnName)='MAXVALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MaxValue', Name='Max Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53399 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Max Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53399) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Max Value', Name='Max Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53399) +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Min Value', PrintName='Min Value',Updated=TO_DATE('2008-08-05 12:21:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53400 +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53400 +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MinValue', Name='Min Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53400 +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MinValue', Name='Min Value', Description=NULL, Help=NULL, AD_Element_ID=53400 WHERE UPPER(ColumnName)='MINVALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MinValue', Name='Min Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53400 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Min Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53400) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Min Value', Name='Min Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53400) +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order Max',Updated=TO_DATE('2008-08-05 12:22:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53264 +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53264 +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='Order_Max', Name='Order Max', Description=NULL, Help=NULL WHERE AD_Element_ID=53264 +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='Order_Max', Name='Order Max', Description=NULL, Help=NULL, AD_Element_ID=53264 WHERE UPPER(ColumnName)='ORDER_MAX' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='Order_Max', Name='Order Max', Description=NULL, Help=NULL WHERE AD_Element_ID=53264 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order Max', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53264) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:22:33 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Order Max', Name='Order Max' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53264) +; + +-- Aug 5, 2008 12:23:58 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Replication Document', PrintName='Replication Document',Updated=TO_DATE('2008-08-05 12:23:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53366 +; + +-- Aug 5, 2008 12:23:58 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53366 +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='AD_ReplicationDocument_ID', Name='Replication Document', Description=NULL, Help=NULL WHERE AD_Element_ID=53366 +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='AD_ReplicationDocument_ID', Name='Replication Document', Description=NULL, Help=NULL, AD_Element_ID=53366 WHERE UPPER(ColumnName)='AD_REPLICATIONDOCUMENT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='AD_ReplicationDocument_ID', Name='Replication Document', Description=NULL, Help=NULL WHERE AD_Element_ID=53366 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Replication Document', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53366) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Replication Document', Name='Replication Document' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53366) +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Embedded Format', PrintName='Embedded Format',Updated=TO_DATE('2008-08-05 12:24:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53371 +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53371 +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_EmbeddedFormat_ID', Name='Embedded Format', Description=NULL, Help=NULL WHERE AD_Element_ID=53371 +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_EmbeddedFormat_ID', Name='Embedded Format', Description=NULL, Help=NULL, AD_Element_ID=53371 WHERE UPPER(ColumnName)='EXP_EMBEDDEDFORMAT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_EmbeddedFormat_ID', Name='Embedded Format', Description=NULL, Help=NULL WHERE AD_Element_ID=53371 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Embedded Format', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53371) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Embedded Format', Name='Embedded Format' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53371) +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Format Line',Updated=TO_DATE('2008-08-05 12:24:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_FormatLine_ID', Name='Format Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_FormatLine_ID', Name='Format Line', Description=NULL, Help=NULL, AD_Element_ID=53370 WHERE UPPER(ColumnName)='EXP_FORMATLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_FormatLine_ID', Name='Format Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53370 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Format Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53370) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='EXP_FormatLine_ID', Name='Format Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53370) +; + +-- Aug 5, 2008 12:24:26 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Format Line',Updated=TO_DATE('2008-08-05 12:24:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:26 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:26 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Format Line', Name='Format Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53370) +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Export Format', PrintName='Export Format',Updated=TO_DATE('2008-08-05 12:24:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53368 +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53368 +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Format_ID', Name='Export Format', Description=NULL, Help=NULL WHERE AD_Element_ID=53368 +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Format_ID', Name='Export Format', Description=NULL, Help=NULL, AD_Element_ID=53368 WHERE UPPER(ColumnName)='EXP_FORMAT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Format_ID', Name='Export Format', Description=NULL, Help=NULL WHERE AD_Element_ID=53368 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Export Format', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53368) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Export Format', Name='Export Format' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53368) +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Processor Parameter', PrintName='Processor Parameter',Updated=TO_DATE('2008-08-05 12:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53378 +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53378 +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_ProcessorParameter_ID', Name='Processor Parameter', Description=NULL, Help=NULL WHERE AD_Element_ID=53378 +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_ProcessorParameter_ID', Name='Processor Parameter', Description=NULL, Help=NULL, AD_Element_ID=53378 WHERE UPPER(ColumnName)='EXP_PROCESSORPARAMETER_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_ProcessorParameter_ID', Name='Processor Parameter', Description=NULL, Help=NULL WHERE AD_Element_ID=53378 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Processor Parameter', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53378) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:44 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Processor Parameter', Name='Processor Parameter' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53378) +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Processor', PrintName='Processor',Updated=TO_DATE('2008-08-05 12:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Processor_ID', Name='Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Processor', Description=NULL, Help=NULL, AD_Element_ID=53367 WHERE UPPER(ColumnName)='EXP_PROCESSOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Processor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53367) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Processor', Name='Processor' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53367) +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Export Processor', PrintName='Export Processor',Updated=TO_DATE('2008-08-05 12:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL, AD_Element_ID=53367 WHERE UPPER(ColumnName)='EXP_PROCESSOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53367) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Export Processor', Name='Export Processor' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53367) +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Export Processor Type',Updated=TO_DATE('2008-08-05 12:25:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Processor_Type_ID', Name='Export Processor Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_Type_ID', Name='Export Processor Type', Description=NULL, Help=NULL, AD_Element_ID=53373 WHERE UPPER(ColumnName)='EXP_PROCESSOR_TYPE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_Type_ID', Name='Export Processor Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53373 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Export Processor Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53373) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='EXP_Processor_Type_ID', Name='Export Processor Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53373) +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Element SET Description=NULL,Updated=TO_DATE('2008-08-05 12:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL, AD_Element_ID=53367 WHERE UPPER(ColumnName)='EXP_PROCESSOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53367) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:19 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Export Processor Type',Updated=TO_DATE('2008-08-05 12:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:19 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:19 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Export Processor Type', Name='Export Processor Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53373) +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Import Processor Log', PrintName='Import Processor Log',Updated=TO_DATE('2008-08-05 12:25:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53384 +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53384 +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IMP_ProcessorLog_ID', Name='Import Processor Log', Description=NULL, Help=NULL WHERE AD_Element_ID=53384 +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_ProcessorLog_ID', Name='Import Processor Log', Description=NULL, Help=NULL, AD_Element_ID=53384 WHERE UPPER(ColumnName)='IMP_PROCESSORLOG_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_ProcessorLog_ID', Name='Import Processor Log', Description=NULL, Help=NULL WHERE AD_Element_ID=53384 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Import Processor Log', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53384) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Import Processor Log', Name='Import Processor Log' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53384) +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Import Processor Parameter', PrintName='Import Processor Parameter',Updated=TO_DATE('2008-08-05 12:25:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53383 +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53383 +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IMP_ProcessorParameter_ID', Name='Import Processor Parameter', Description=NULL, Help=NULL WHERE AD_Element_ID=53383 +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_ProcessorParameter_ID', Name='Import Processor Parameter', Description=NULL, Help=NULL, AD_Element_ID=53383 WHERE UPPER(ColumnName)='IMP_PROCESSORPARAMETER_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_ProcessorParameter_ID', Name='Import Processor Parameter', Description=NULL, Help=NULL WHERE AD_Element_ID=53383 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Import Processor Parameter', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53383) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Import Processor Parameter', Name='Import Processor Parameter' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53383) +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Import Processor', PrintName='Import Processor',Updated=TO_DATE('2008-08-05 12:26:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53381 +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53381 +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IMP_Processor_ID', Name='Import Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53381 +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_Processor_ID', Name='Import Processor', Description=NULL, Help=NULL, AD_Element_ID=53381 WHERE UPPER(ColumnName)='IMP_PROCESSOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_Processor_ID', Name='Import Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53381 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Import Processor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53381) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Import Processor', Name='Import Processor' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53381) +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Import Processor Type', PrintName='Import Processor Type',Updated=TO_DATE('2008-08-05 12:26:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53382 +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53382 +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IMP_Processor_Type_ID', Name='Import Processor Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53382 +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_Processor_Type_ID', Name='Import Processor Type', Description=NULL, Help=NULL, AD_Element_ID=53382 WHERE UPPER(ColumnName)='IMP_PROCESSOR_TYPE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_Processor_Type_ID', Name='Import Processor Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53382 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Import Processor Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53382) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:13 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Import Processor Type', Name='Import Processor Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53382) +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Is Part Unique Index', PrintName='Is Part Unique Index',Updated=TO_DATE('2008-08-05 12:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53372 +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53372 +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IsPartUniqueIndex', Name='Is Part Unique Index', Description=NULL, Help=NULL WHERE AD_Element_ID=53372 +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsPartUniqueIndex', Name='Is Part Unique Index', Description=NULL, Help=NULL, AD_Element_ID=53372 WHERE UPPER(ColumnName)='ISPARTUNIQUEINDEX' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsPartUniqueIndex', Name='Is Part Unique Index', Description=NULL, Help=NULL WHERE AD_Element_ID=53372 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Is Part Unique Index', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53372) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Is Part Unique Index', Name='Is Part Unique Index' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53372) +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Java Class', PrintName='Java Class',Updated=TO_DATE('2008-08-05 12:26:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53380 +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53380 +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='JavaClass', Name='Java Class', Description=NULL, Help=NULL WHERE AD_Element_ID=53380 +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='JavaClass', Name='Java Class', Description=NULL, Help=NULL, AD_Element_ID=53380 WHERE UPPER(ColumnName)='JAVACLASS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='JavaClass', Name='Java Class', Description=NULL, Help=NULL WHERE AD_Element_ID=53380 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Java Class', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53380) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:29 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Java Class', Name='Java Class' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53380) +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Parameter Value', PrintName='Parameter Value',Updated=TO_DATE('2008-08-05 12:26:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53379 +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53379 +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='ParameterValue', Name='Parameter Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53379 +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='ParameterValue', Name='Parameter Value', Description=NULL, Help=NULL, AD_Element_ID=53379 WHERE UPPER(ColumnName)='PARAMETERVALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='ParameterValue', Name='Parameter Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53379 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Parameter Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53379) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Parameter Value', Name='Parameter Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53379) +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Password Info', PrintName='Password Info',Updated=TO_DATE('2008-08-05 12:26:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53377 +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53377 +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PasswordInfo', Name='Password Info', Description=NULL, Help=NULL WHERE AD_Element_ID=53377 +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PasswordInfo', Name='Password Info', Description=NULL, Help=NULL, AD_Element_ID=53377 WHERE UPPER(ColumnName)='PASSWORDINFO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PasswordInfo', Name='Password Info', Description=NULL, Help=NULL WHERE AD_Element_ID=53377 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Password Info', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53377) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Password Info', Name='Password Info' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53377) +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Test Import Model', PrintName='Test Import Model',Updated=TO_DATE('2008-08-05 12:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53369 +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53369 +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='TestImportModel', Name='Test Import Model', Description=NULL, Help=NULL WHERE AD_Element_ID=53369 +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='TestImportModel', Name='Test Import Model', Description=NULL, Help=NULL, AD_Element_ID=53369 WHERE UPPER(ColumnName)='TESTIMPORTMODEL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='TestImportModel', Name='Test Import Model', Description=NULL, Help=NULL WHERE AD_Element_ID=53369 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Test Import Model', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53369) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem pi SET PrintName='Test Import Model', Name='Test Import Model' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53369) +; + diff --git a/migration/352a-trunk/260_BF_FixParameterDistributionOrders.sql b/migration/352a-trunk/260_BF_FixParameterDistributionOrders.sql new file mode 100644 index 0000000000..000cef4307 --- /dev/null +++ b/migration/352a-trunk/260_BF_FixParameterDistributionOrders.sql @@ -0,0 +1,70 @@ +SET SQLBLANKLINES ON +-- Aug 5, 2008 9:09:09 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-08-05 21:09:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53220 +; + +-- Aug 5, 2008 9:09:14 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-05 21:09:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53240 +; + +-- Aug 5, 2008 9:12:37 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET AD_Element_ID=53470, ColumnName='IsRequiredDRP', Description='Based in DRP Demand', IsActive='Y', IsCentrallyMaintained='N', Name='Based in DRP Demand',Updated=TO_DATE('2008-08-05 21:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:12:37 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:12:54 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsCentrallyMaintained='Y',Updated=TO_DATE('2008-08-05 21:12:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221 +; + +-- Aug 5, 2008 9:13:03 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET Help=NULL,Updated=TO_DATE('2008-08-05 21:13:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:13:03 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:23:05 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-05 21:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:23:17 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-08-05 21:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:23:24 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-08-05 21:23:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221 +; + +-- Aug 5, 2008 9:24:13 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET AD_Val_Rule_ID=189,Updated=TO_DATE('2008-08-05 21:24:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53222 +; + +-- Aug 5, 2008 9:25:30 PM CDT +-- DRP Functionality +UPDATE AD_Process SET Help='Based in DRP Demand is selected then the redistribute the quantity is based in % of Demand + +Please note that due to rounding, the total quantity of the order(s) is likely to be higher then the quantity entered. + +Consolidate to one Document let the distribution in current Documents with ranges dates promised, if do not is selected then a new Order is generate.',Updated=TO_DATE('2008-08-05 21:25:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53150 +; + +-- Aug 5, 2008 9:25:30 PM CDT +-- DRP Functionality +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53150 +; + diff --git a/migration/352a-trunk/261_FR_2039663_NewParameterDistributionRun.sql b/migration/352a-trunk/261_FR_2039663_NewParameterDistributionRun.sql new file mode 100644 index 0000000000..a5885ee773 --- /dev/null +++ b/migration/352a-trunk/261_FR_2039663_NewParameterDistributionRun.sql @@ -0,0 +1,20 @@ +-- Aug 5, 2008 10:14:58 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsRange='Y',Updated=TO_DATE('2008-08-05 22:14:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=484 +; + +-- Aug 5, 2008 10:16:37 PM CDT +-- DRP Functionality +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2182,0,271,53241,20,'ConsolidateDocument',TO_DATE('2008-08-05 22:16:27','YYYY-MM-DD HH24:MI:SS'),0,'Consolidate Lines into one Document','EE01',1,'Y','Y','N','N','Consolidate to one Document',30,TO_DATE('2008-08-05 22:16:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 5, 2008 10:16:37 PM CDT +-- DRP Functionality +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53241 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 5, 2008 10:16:49 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-05 22:16:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=486 +; + diff --git a/migration/352a-trunk/262_BF2041299.sql b/migration/352a-trunk/262_BF2041299.sql new file mode 100644 index 0000000000..de98d7daf1 --- /dev/null +++ b/migration/352a-trunk/262_BF2041299.sql @@ -0,0 +1,45 @@ +create or replace FUNCTION documentNo +( + p_PP_MRP_ID IN PP_MRP.PP_MRP_ID%TYPE +) +RETURN PP_MRP.Value%TYPE +/************************************************************************ + * Function documentNofunc - PL/SQL equivalent to pljava SQLJ function + * Author: Tony Snook (tspc) + * Author: Teo Sarca, SC ARHIPAC SERVICE SRL +************************************************************************/ +AS + v_DocumentNo PP_MRP.Value%TYPE := ''; + + CURSOR cur_mrp IS + SELECT ordertype, m_forecast_id, c_order_id, dd_order_id, pp_order_id, m_requisition_id + FROM pp_mrp + WHERE pp_mrp_id = p_pp_mrp_id; +BEGIN + -- If NO id return empty string + IF p_PP_MRP_ID <= 0 THEN + RETURN ''; + END IF; + + FOR cur IN cur_mrp LOOP + CASE + WHEN cur.ordertype = 'FTC' THEN + SELECT f.Name INTO v_DocumentNo FROM M_Forecast f WHERE f.M_Forecast_ID=cur.M_Forecast_ID; + WHEN cur.ordertype = 'POO' THEN + SELECT co.DocumentNo INTO v_DocumentNo FROM C_Order co WHERE co.C_Order_ID=cur.C_Order_ID; + WHEN cur.ordertype = 'DOO' THEN + SELECT do.DocumentNo INTO v_DocumentNo FROM DD_Order DO WHERE do.DD_Order_ID=cur.DD_Order_ID; + WHEN cur.ordertype = 'SOO' THEN + SELECT co.DocumentNo INTO v_DocumentNo FROM C_Order co WHERE co.C_Order_ID=cur.C_Order_ID; + WHEN cur.ordertype = 'MOP' THEN + SELECT po.DocumentNo INTO v_DocumentNo FROM PP_Order po WHERE po.PP_Order_ID=cur.PP_Order_ID; + WHEN cur.ordertype = 'POR' THEN + SELECT r.DocumentNo INTO v_DocumentNo FROM M_Requisition r WHERE r.M_Requisition_ID=cur.M_Requisition_ID; + ELSE + v_documentno := ''; + END CASE; + END LOOP; + + RETURN v_DocumentNo; +END documentNo; +/ diff --git a/migration/352a-trunk/263_BF1991574.sql b/migration/352a-trunk/263_BF1991574.sql new file mode 100644 index 0000000000..d874080ee9 --- /dev/null +++ b/migration/352a-trunk/263_BF1991574.sql @@ -0,0 +1,4 @@ + +UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_DATE('2008-06-28 22:10:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13468 +; + diff --git a/migration/352a-trunk/264_FR_2011567_Background_Image.sql b/migration/352a-trunk/264_FR_2011567_Background_Image.sql new file mode 100644 index 0000000000..0c02ef1c9b --- /dev/null +++ b/migration/352a-trunk/264_FR_2011567_Background_Image.sql @@ -0,0 +1,229 @@ +-- Aug 7, 2008 9:55:42 PM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56301,1639,0,19,523,'AD_Image_ID',TO_DATE('2008-08-07 21:55:41','YYYY-MM-DD HH24:MI:SS'),0,'Image or Icon','D',22,'Images and Icon can be used to display supported graphic formats (gif, jpg, png). +You can either load the image (in the database) or point to a graphic via a URI (i.e. it can point to a resource, http address)','Y','N','N','N','N','N','N','N','N','N','N','N','Y','Image',0,TO_DATE('2008-08-07 21:55:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Aug 7, 2008 9:55:42 PM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56301 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Aug 7, 2008 10:05:02 PM CDT +-- Water Mark for Document Printed +ALTER TABLE AD_PrintTableFormat ADD AD_Image_ID NUMBER(10) +; + +-- Aug 7, 2008 10:05:41 PM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56301,56335,0,435,TO_DATE('2008-08-07 22:05:40','YYYY-MM-DD HH24:MI:SS'),0,'Image or Icon',22,'D','Images and Icon can be used to display supported graphic formats (gif, jpg, png). +You can either load the image (in the database) or point to a graphic via a URI (i.e. it can point to a resource, http address)','Y','Y','Y','N','N','N','N','N','Image',TO_DATE('2008-08-07 22:05:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 7, 2008 10:05:41 PM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56335 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8299 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8303 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8302 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8298 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8304 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8301 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=5794 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=5796 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=5798 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=5803 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=5786 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=5790 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=8305 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=5791 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=5800 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=5792 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=8948 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5787 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=8947 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=8946 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=5802 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=5788 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=5789 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=5799 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=8949 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=8950 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=5801 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=5797 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=5795 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=5793 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8306 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8300 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56335 +; + +-- Aug 7, 2008 10:06:41 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET DisplayLogic='@ImageIsAttached@=''N''',Updated=TO_DATE('2008-08-07 22:06:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8300 +; + +-- Aug 7, 2008 10:06:45 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-08-07 22:06:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8300 +; + +-- Aug 7, 2008 9:47:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8306 +; + +-- Aug 7, 2008 9:47:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8300 +; + +-- Aug 7, 2008 9:47:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56335 +; + +-- Aug 7, 2008 9:52:03 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET Description='Image Water Mark', Help='This Image is show when a document is printed for second time',Updated=TO_DATE('2008-08-07 21:52:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56335 +; + +-- Aug 7, 2008 9:52:03 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56335 +; + + + diff --git a/migration/352a-trunk/265_BF2046200.sql b/migration/352a-trunk/265_BF2046200.sql new file mode 100644 index 0000000000..2b5abaae3c --- /dev/null +++ b/migration/352a-trunk/265_BF2046200.sql @@ -0,0 +1,45 @@ +-- 11.08.2008 14:20:51 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53579 +; + +-- 11.08.2008 14:20:56 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53578 +; + +-- 11.08.2008 14:21:01 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53580 +; + +-- 11.08.2008 14:21:09 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53581 +; + +-- 11.08.2008 14:21:15 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53582 +; + +-- 11.08.2008 14:21:20 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53583 +; + +-- 11.08.2008 14:21:24 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53584 +; + +-- 11.08.2008 14:21:29 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53585 +; + +-- 11.08.2008 14:21:35 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_DATE('2008-08-11 14:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53586 +; + diff --git a/migration/352a-trunk/266_FR2048081.sql b/migration/352a-trunk/266_FR2048081.sql new file mode 100644 index 0000000000..f55c323f21 --- /dev/null +++ b/migration/352a-trunk/266_FR2048081.sql @@ -0,0 +1,25 @@ +-- 12.08.2008 18:05:13 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53013,0,'6','org.eevolution.form.WFPanelManufacturing',TO_DATE('2008-08-12 18:05:12','YYYY-MM-DD HH24:MI:SS'),0,'Edit Manufacturing Workflows','D','Edit the graphical layout of manufacturing workflows','Y','N','Manufacturing Workflow Editor',TO_DATE('2008-08-12 18:05:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 12.08.2008 18:05:13 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53013 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID) +; + +-- 12.08.2008 18:05:13 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53013,0,0,TO_DATE('2008-08-12 18:05:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-08-12 18:05:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 12.08.2008 18:07:33 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +UPDATE AD_Menu SET AD_Form_ID=53013, Description='Edit Manufacturing Workflows', Name='Manufacturing Workflow Editor',Updated=TO_DATE('2008-08-12 18:07:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53128 +; + +-- 12.08.2008 18:07:33 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53128 +; + diff --git a/migration/352a-trunk/267_BF2049497.sql b/migration/352a-trunk/267_BF2049497.sql new file mode 100644 index 0000000000..7195a28fb1 --- /dev/null +++ b/migration/352a-trunk/267_BF2049497.sql @@ -0,0 +1,260 @@ +-- 13.08.2008 15:37:55 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:37:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50198 +; + +-- 13.08.2008 15:37:58 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Account CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:37:58 EEST +-- +UPDATE AD_Role SET Allow_Info_Account='N' WHERE Allow_Info_Account IS NULL +; + +-- 13.08.2008 15:37:58 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Account NOT NULL +; + +-- 13.08.2008 15:38:17 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50199 +; + +-- 13.08.2008 15:38:19 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Asset CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:38:19 EEST +-- +UPDATE AD_Role SET Allow_Info_Asset='N' WHERE Allow_Info_Asset IS NULL +; + +-- 13.08.2008 15:38:19 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Asset NOT NULL +; + +-- 13.08.2008 15:38:23 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50200 +; + +-- 13.08.2008 15:38:25 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_BPartner CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:38:25 EEST +-- +UPDATE AD_Role SET Allow_Info_BPartner='N' WHERE Allow_Info_BPartner IS NULL +; + +-- 13.08.2008 15:38:25 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_BPartner NOT NULL +; + +-- 13.08.2008 15:38:28 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50201 +; + +-- 13.08.2008 15:38:30 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_CashJournal CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:38:30 EEST +-- +UPDATE AD_Role SET Allow_Info_CashJournal='N' WHERE Allow_Info_CashJournal IS NULL +; + +-- 13.08.2008 15:38:30 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_CashJournal NOT NULL +; + +-- 13.08.2008 15:38:38 EEST +-- +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55333 +; + +-- 13.08.2008 15:38:40 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_CRP CHAR(1) DEFAULT 'Y' +; + +-- 13.08.2008 15:38:40 EEST +-- +UPDATE AD_Role SET Allow_Info_CRP='Y' WHERE Allow_Info_CRP IS NULL +; + +-- 13.08.2008 15:38:40 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_CRP NOT NULL +; + +-- 13.08.2008 15:38:47 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50202 +; + +-- 13.08.2008 15:38:48 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_InOut CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:38:48 EEST +-- +UPDATE AD_Role SET Allow_Info_InOut='N' WHERE Allow_Info_InOut IS NULL +; + +-- 13.08.2008 15:38:48 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_InOut NOT NULL +; + +-- 13.08.2008 15:38:54 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:38:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50203 +; + +-- 13.08.2008 15:38:56 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Invoice CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:38:56 EEST +-- +UPDATE AD_Role SET Allow_Info_Invoice='N' WHERE Allow_Info_Invoice IS NULL +; + +-- 13.08.2008 15:38:56 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Invoice NOT NULL +; + +-- 13.08.2008 15:39:00 EEST +-- +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55332 +; + +-- 13.08.2008 15:39:02 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_MRP CHAR(1) DEFAULT 'Y' +; + +-- 13.08.2008 15:39:02 EEST +-- +UPDATE AD_Role SET Allow_Info_MRP='Y' WHERE Allow_Info_MRP IS NULL +; + +-- 13.08.2008 15:39:02 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_MRP NOT NULL +; + +-- 13.08.2008 15:39:08 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50204 +; + +-- 13.08.2008 15:39:09 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Order CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:39:09 EEST +-- +UPDATE AD_Role SET Allow_Info_Order='N' WHERE Allow_Info_Order IS NULL +; + +-- 13.08.2008 15:39:09 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Order NOT NULL +; + +-- 13.08.2008 15:39:14 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50205 +; + +-- 13.08.2008 15:39:15 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Payment CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:39:15 EEST +-- +UPDATE AD_Role SET Allow_Info_Payment='N' WHERE Allow_Info_Payment IS NULL +; + +-- 13.08.2008 15:39:15 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Payment NOT NULL +; + +-- 13.08.2008 15:39:21 EEST +-- +UPDATE AD_Column SET DefaultValue='Y', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50206 +; + +-- 13.08.2008 15:39:22 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Product CHAR(1) DEFAULT 'Y' +; + +-- 13.08.2008 15:39:22 EEST +-- +UPDATE AD_Role SET Allow_Info_Product='Y' WHERE Allow_Info_Product IS NULL +; + +-- 13.08.2008 15:39:22 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Product NOT NULL +; + +-- 13.08.2008 15:39:27 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50207 +; + +-- 13.08.2008 15:39:29 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Resource CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:39:29 EEST +-- +UPDATE AD_Role SET Allow_Info_Resource='N' WHERE Allow_Info_Resource IS NULL +; + +-- 13.08.2008 15:39:29 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Resource NOT NULL +; + +-- 13.08.2008 15:39:34 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-08-13 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50208 +; + +-- 13.08.2008 15:39:35 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Schedule CHAR(1) DEFAULT 'N' +; + +-- 13.08.2008 15:39:35 EEST +-- +UPDATE AD_Role SET Allow_Info_Schedule='N' WHERE Allow_Info_Schedule IS NULL +; + +-- 13.08.2008 15:39:35 EEST +-- +ALTER TABLE AD_Role MODIFY Allow_Info_Schedule NOT NULL +; + diff --git a/migration/352a-trunk/268_BF2056097_MultipleChangeComponent.sql b/migration/352a-trunk/268_BF2056097_MultipleChangeComponent.sql new file mode 100644 index 0000000000..7d0f6a371b --- /dev/null +++ b/migration/352a-trunk/268_BF2056097_MultipleChangeComponent.sql @@ -0,0 +1,100 @@ +-- Aug 17, 2008 10:49:37 AM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53008,53242,19,'M_Product_ID',TO_DATE('2008-08-17 10:49:34','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','Product',50,TO_DATE('2008-08-17 10:49:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 17, 2008 10:49:38 AM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53242 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 17, 2008 10:52:26 AM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,617,0,53008,53243,15,'ValidFrom',TO_DATE('2008-08-17 10:52:25','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)','EE01',10,'The Valid From date indicates the first day of a date range','Y','Y','N','N','Valid from',10,TO_DATE('2008-08-17 10:52:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 17, 2008 10:52:26 AM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53243 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 17, 2008 10:52:43 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET AD_Element_ID=618,Updated=TO_DATE('2008-08-17 10:52:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53031 +; + +-- Aug 17, 2008 10:54:17 AM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,526,0,53008,53244,29,'Qty',TO_DATE('2008-08-17 10:54:16','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',10,'The Quantity indicates the number of a specific product or item for this document.','Y','Y','N','N','Quantity',60,TO_DATE('2008-08-17 10:54:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 17, 2008 10:54:17 AM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53244 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 17, 2008 10:54:41 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET IsCentrallyMaintained='N',Updated=TO_DATE('2008-08-17 10:54:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53243 +; + +-- Aug 17, 2008 10:55:07 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET SeqNo=10,Updated=TO_DATE('2008-08-17 10:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53242 +; + +-- Aug 17, 2008 10:55:14 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-08-17 10:55:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53031 +; + +-- Aug 17, 2008 10:55:18 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_DATE('2008-08-17 10:55:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53243 +; + +-- Aug 17, 2008 10:55:34 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-08-17 10:55:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 10:55:41 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-08-17 10:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53032 +; + +-- Aug 17, 2008 10:55:56 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-17 10:55:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53032 +; + +-- Aug 17, 2008 10:56:02 AM CDT +-- Water Mark for Document Printed +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-08-17 10:56:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 10:57:03 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET AD_Element_ID=454,Updated=TO_DATE('2008-08-17 10:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 11:00:31 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET DisplayLogic=NULL,Updated=TO_DATE('2008-08-17 11:00:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 11:03:26 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET DisplayLogic='@Action@=''A'' | @Action@=''R'' | @Action@=''RE'' ',Updated=TO_DATE('2008-08-17 11:03:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 12:04:00 PM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2783,0,53008,53245,19,'M_ChangeNotice_ID',TO_DATE('2008-08-17 12:03:59','YYYY-MM-DD HH24:MI:SS'),0,'Change Notice','EE01',10,'Bill of Materials (Engineering) Change Notice (Version)','Y','Y','N','N','Change Notice',70,TO_DATE('2008-08-17 12:03:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 17, 2008 12:04:00 PM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53245 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + diff --git a/migration/352a-trunk/269_BF2059012_ViewPI.sql b/migration/352a-trunk/269_BF2059012_ViewPI.sql new file mode 100644 index 0000000000..d2eec2197b --- /dev/null +++ b/migration/352a-trunk/269_BF2059012_ViewPI.sql @@ -0,0 +1,4 @@ +-- Aug 19, 2008 3:25:12 PM EST +-- BF2059012_ViewPI +UPDATE AD_Form SET Classname='org.adempiere.apps.graph.ViewPI',Updated=TO_DATE('2008-08-19 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Form_ID=119 +; diff --git a/migration/352a-trunk/270_BF2064671.sql b/migration/352a-trunk/270_BF2064671.sql new file mode 100644 index 0000000000..9550b0e7ea --- /dev/null +++ b/migration/352a-trunk/270_BF2064671.sql @@ -0,0 +1,15 @@ +-- Aug 21, 2008 3:09:16 PM EEST +-- +UPDATE AD_Column SET FieldLength=255,Updated=TO_DATE('2008-08-21 15:09:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4656 +; + +-- Aug 21, 2008 3:09:19 PM EEST +-- +ALTER TABLE AD_Process MODIFY Classname NVARCHAR2(255) DEFAULT NULL +; + +-- Aug 21, 2008 3:10:08 PM EEST +-- +UPDATE AD_Column SET AD_Reference_ID=10,Updated=TO_DATE('2008-08-21 15:10:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50182 +; + diff --git a/migration/352a-trunk/271_FR2065395_Implement_New_Document.sql b/migration/352a-trunk/271_FR2065395_Implement_New_Document.sql new file mode 100644 index 0000000000..04be3bfb85 --- /dev/null +++ b/migration/352a-trunk/271_FR2065395_Implement_New_Document.sql @@ -0,0 +1,30 @@ +-- Aug 21, 2008 12:18:36 PM CDT +-- Implementing new document +UPDATE AD_Ref_List SET Name='Manufacturing Order Method Variance ',Updated=TO_DATE('2008-08-21 12:18:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53234 +; + +-- Aug 21, 2008 12:18:36 PM CDT +-- Implementing new document +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53234 +; + +-- Aug 21, 2008 12:18:46 PM CDT +-- Implementing new document +UPDATE AD_Ref_List SET Name='Manufacturing Order Use Variance ',Updated=TO_DATE('2008-08-21 12:18:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53237 +; + +-- Aug 21, 2008 12:18:46 PM CDT +-- Implementing new document +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53237 +; + +-- Aug 21, 2008 12:18:54 PM CDT +-- Implementing new document +UPDATE AD_Ref_List SET Name='Manufacturing Order Rate Variance',Updated=TO_DATE('2008-08-21 12:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53238 +; + +-- Aug 21, 2008 12:18:54 PM CDT +-- Implementing new document +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53238 +; + diff --git a/migration/352a-trunk/272_FR_2039663_FixParameters.sql b/migration/352a-trunk/272_FR_2039663_FixParameters.sql new file mode 100644 index 0000000000..2abc940827 --- /dev/null +++ b/migration/352a-trunk/272_FR_2039663_FixParameters.sql @@ -0,0 +1,34 @@ +-- Aug 22, 2008 12:46:29 PM CDT +-- Distribution +UPDATE AD_Process_Para SET IsRange='N',Updated=TO_DATE('2008-08-22 12:46:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53218 +; + +-- Aug 22, 2008 12:46:56 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_DATE('2008-08-22 12:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 22, 2008 12:47:18 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_DATE('2008-08-22 12:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53240 +; + +-- Aug 22, 2008 12:56:36 PM CDT +-- Distribution +UPDATE AD_Process_Para SET IsRange='N',Updated=TO_DATE('2008-08-22 12:56:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=484 +; +-- Aug 22, 2008 1:00:58 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''', DisplayLogic=NULL,Updated=TO_DATE('2008-08-22 13:00:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53241 +; + +-- Aug 22, 2008 1:02:08 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_DATE('2008-08-22 13:02:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53220 +; + +-- Aug 22, 2008 1:02:23 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_DATE('2008-08-22 13:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=486 +; + diff --git a/migration/352a-trunk/273_BF2073605.sql b/migration/352a-trunk/273_BF2073605.sql new file mode 100644 index 0000000000..e426174519 --- /dev/null +++ b/migration/352a-trunk/273_BF2073605.sql @@ -0,0 +1,14 @@ +-- 25/08/2008 16:00:57 +-- +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-08-25 16:00:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54742 +; + +-- 25/08/2008 16:13:53 +-- +ALTER TABLE HR_Employee MODIFY C_BPartner_ID NUMBER(10) DEFAULT NULL +; + +-- 25/08/2008 16:13:53 +-- +ALTER TABLE HR_Employee MODIFY C_BPartner_ID NOT NULL +; diff --git a/migration/352a-trunk/274_BF2073737.sql b/migration/352a-trunk/274_BF2073737.sql new file mode 100644 index 0000000000..bb59809303 --- /dev/null +++ b/migration/352a-trunk/274_BF2073737.sql @@ -0,0 +1,25 @@ +-- Aug 25, 2008 5:23:17 PM EEST +-- +UPDATE AD_Window SET Description='View MRP Notices',Updated=TO_DATE('2008-08-25 17:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53008 +; + +-- Aug 25, 2008 5:23:17 PM EEST +-- +UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53008 +; + +-- Aug 25, 2008 5:23:17 PM EEST +-- +UPDATE AD_Menu SET Description='View MRP Notices', IsActive='Y', Name='MRP Notice',Updated=TO_DATE('2008-08-25 17:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53040 +; + +-- Aug 25, 2008 5:23:17 PM EEST +-- +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53040 +; + +-- Aug 25, 2008 5:26:15 PM EEST +-- +UPDATE AD_Tab SET WhereClause='(AD_User_ID IN (0,@#AD_User_ID@) OR AD_User_ID IS NULL) AND EXISTS (SELECT 1 FROM AD_Message m WHERE m.AD_Message_ID=AD_Note.AD_Message_ID AND m.Value like ''MRP-%'')',Updated=TO_DATE('2008-08-25 17:26:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53035 +; + diff --git a/migration/352a-trunk/275_PP_Cost_Collector_default_window.sql b/migration/352a-trunk/275_PP_Cost_Collector_default_window.sql new file mode 100644 index 0000000000..6613baae6b --- /dev/null +++ b/migration/352a-trunk/275_PP_Cost_Collector_default_window.sql @@ -0,0 +1,5 @@ +-- Aug 25, 2008 7:52:50 PM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53014,Updated=TO_DATE('2008-08-25 19:52:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53035 +; + diff --git a/migration/352a-trunk/276_UniqueIndexPPProductBOM.sql b/migration/352a-trunk/276_UniqueIndexPPProductBOM.sql new file mode 100644 index 0000000000..9fdf1f7524 --- /dev/null +++ b/migration/352a-trunk/276_UniqueIndexPPProductBOM.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX PPProductBOMUnique ON PP_Product_BOM (AD_Client_ID,Value); \ No newline at end of file diff --git a/migration/352a-trunk/277_BF2081237_C_Payment_Available.sql b/migration/352a-trunk/277_BF2081237_C_Payment_Available.sql new file mode 100755 index 0000000000..9cb1494a5d --- /dev/null +++ b/migration/352a-trunk/277_BF2081237_C_Payment_Available.sql @@ -0,0 +1,62 @@ +CREATE OR REPLACE FUNCTION paymentAvailable +( + p_C_Payment_ID IN NUMBER +) +RETURN NUMBER +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + ************************************************************************* + * $Id: C_Payment_Available.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $ + *** + * Title: Calculate Available Payment Amount in Payment Currency + * Description: + * similar to C_Invoice_Open + ************************************************************************/ +AS + v_Currency_ID NUMBER(10); + v_AvailableAmt NUMBER := 0; + v_IsReceipt C_Payment.IsReceipt%TYPE; + v_Amt NUMBER := 0; + CURSOR Cur_Alloc IS + SELECT a.AD_Client_ID, a.AD_Org_ID, al.Amount, a.C_Currency_ID, a.DateTrx + FROM C_AllocationLine al + INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) + WHERE al.C_Payment_ID = p_C_Payment_ID + AND a.IsActive='Y'; + -- AND al.C_Invoice_ID IS NOT NULL; +BEGIN + -- Charge - fully allocated + SELECT MAX(PayAmt) + INTO v_Amt + FROM C_Payment + WHERE C_Payment_ID=p_C_Payment_ID AND C_Charge_ID > 0; + IF (v_Amt IS NOT NULL) THEN + RETURN 0; + END IF; + + -- Get Currency + SELECT C_Currency_ID, PayAmt, IsReceipt + INTO v_Currency_ID, v_AvailableAmt, v_IsReceipt + FROM C_Payment_v -- corrected for AP/AR + WHERE C_Payment_ID = p_C_Payment_ID; +-- DBMS_OUTPUT.PUT_LINE('== C_Payment_ID=' || p_C_Payment_ID || ', PayAmt=' || v_AvailableAmt || ', Receipt=' || v_IsReceipt); + + -- Calculate Allocated Amount + FOR a IN Cur_Alloc LOOP + v_Amt := currencyConvert(a.Amount, a.C_Currency_ID, v_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID); + v_AvailableAmt := v_AvailableAmt - v_Amt; +-- DBMS_OUTPUT.PUT_LINE(' Allocation=' || a.Amount || ' - Available=' || v_AvailableAmt); + END LOOP; + -- Ignore Rounding + IF (v_AvailableAmt BETWEEN -0.00999 AND 0.00999) THEN + v_AvailableAmt := 0; + END IF; + -- Round to penny + v_AvailableAmt := ROUND(NVL(v_AvailableAmt,0), 2); + RETURN v_AvailableAmt; +END paymentAvailable; +/ diff --git a/migration/352a-trunk/278_FR_2083255_MRP.sql b/migration/352a-trunk/278_FR_2083255_MRP.sql new file mode 100644 index 0000000000..437d266f7b --- /dev/null +++ b/migration/352a-trunk/278_FR_2083255_MRP.sql @@ -0,0 +1,15 @@ +-- Aug 29, 2008 7:06:38 PM CDT +-- MRP Run to Multiple Plant +UPDATE AD_Process_Para SET AD_Val_Rule_ID=148, IsMandatory='N',Updated=TO_DATE('2008-08-29 19:06:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53054 +; + +-- Aug 29, 2008 7:09:28 PM CDT +-- MRP Run to Multiple Plant +UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_DATE('2008-08-29 19:09:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53132 +; + +-- Aug 29, 2008 7:10:33 PM CDT +-- MRP Run to Multiple Plant +UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_DATE('2008-08-29 19:10:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53207 +; + diff --git a/migration/352a-trunk/279_FR2086964.sql b/migration/352a-trunk/279_FR2086964.sql new file mode 100644 index 0000000000..3ab34446c7 --- /dev/null +++ b/migration/352a-trunk/279_FR2086964.sql @@ -0,0 +1 @@ +-- Sep 1, 2008 3:49:12 PM EEST -- UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_DATE('2008-09-01 15:48:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53751 ; -- Sep 1, 2008 6:05:39 PM EEST -- UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-01 18:05:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53592 ; -- Sep 1, 2008 6:05:43 PM EEST -- UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-01 18:05:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53890 ; -- Sep 1, 2008 6:05:46 PM EEST -- UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-01 18:05:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=3743 ; -- Sep 1, 2008 6:05:52 PM EEST -- UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-01 18:05:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11782 ; \ No newline at end of file diff --git a/migration/352a-trunk/280_FB_1926882_Fix_C_Invoice_v.sql b/migration/352a-trunk/280_FB_1926882_Fix_C_Invoice_v.sql new file mode 100644 index 0000000000..133d9c6887 --- /dev/null +++ b/migration/352a-trunk/280_FB_1926882_Fix_C_Invoice_v.sql @@ -0,0 +1,54 @@ +CREATE OR REPLACE VIEW C_INVOICE_V +(C_INVOICE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, + CREATEDBY, UPDATED, UPDATEDBY, ISSOTRX, DOCUMENTNO, + DOCSTATUS, DOCACTION, PROCESSING, PROCESSED, C_DOCTYPE_ID, + C_DOCTYPETARGET_ID, C_ORDER_ID, DESCRIPTION, ISAPPROVED, ISTRANSFERRED, + SALESREP_ID, DATEINVOICED, DATEPRINTED, DATEACCT, C_BPARTNER_ID, + C_BPARTNER_LOCATION_ID, AD_USER_ID, POREFERENCE, DATEORDERED, C_CURRENCY_ID, + C_CONVERSIONTYPE_ID, PAYMENTRULE, C_PAYMENTTERM_ID, C_CHARGE_ID, M_PRICELIST_ID, + C_CAMPAIGN_ID, C_PROJECT_ID, C_ACTIVITY_ID, ISPRINTED, ISDISCOUNTPRINTED, + ISPAID, ISINDISPUTE, ISPAYSCHEDULEVALID, C_INVOICEPAYSCHEDULE_ID, INVOICECOLLECTIONTYPE, + CHARGEAMT, TOTALLINES, GRANDTOTAL, MULTIPLIER, MULTIPLIERAP, + DOCBASETYPE, DUEDATE + ) +AS +SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy, + i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID, + i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred, + i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID, + i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule, + i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID, + i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute, + i.IsPayScheduleValid, cast(null as number) AS C_InvoicePaySchedule_ID, i.InvoiceCollectionType, + (CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.ChargeAmt*-1 ELSE i.ChargeAmt END) AS ChargeAmt, + (CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.TotalLines*-1 ELSE i.TotalLines END) AS TotalLines, + (CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.GrandTotal*-1 ELSE i.GrandTotal END) AS GrandTotal, + (CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END) AS Multiplier, + (CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END) AS MultiplierAP, + d.DocBaseType + , paymentTermDueDate(i.C_PaymentTerm_ID, i.DateInvoiced) as DueDate +FROM C_Invoice i + INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID) +WHERE i.IsPayScheduleValid<>'Y' +UNION +SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy, + i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID, + i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred, + i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID, + i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule, + i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID, + i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute, + i.IsPayScheduleValid, ips.C_InvoicePaySchedule_ID, i.InvoiceCollectionType, + null AS ChargeAmt, + null AS TotalLines, + CASE WHEN charAt(d.DocBaseType,3)='C' THEN ips.DueAmt*-1 ELSE ips.DueAmt END AS GrandTotal, + CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier, + CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP, + d.DocBaseType + , ips.DueDate +FROM C_Invoice i + INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID) + INNER JOIN C_InvoicePaySchedule ips ON (i.C_Invoice_ID=ips.C_Invoice_ID) +WHERE i.IsPayScheduleValid='Y' + AND ips.IsValid='Y'; +/ diff --git a/migration/352a-trunk/281_FR2026347_Fin_Report_Line_Operand_display_order.sql b/migration/352a-trunk/281_FR2026347_Fin_Report_Line_Operand_display_order.sql new file mode 100644 index 0000000000..f6560268f4 --- /dev/null +++ b/migration/352a-trunk/281_FR2026347_Fin_Report_Line_Operand_display_order.sql @@ -0,0 +1 @@ +update ad_ref_table set orderbyclause='SeqNo' where ad_reference_id=240; \ No newline at end of file diff --git a/migration/352a-trunk/282_BF2081237_C_Payment_Allocated.sql b/migration/352a-trunk/282_BF2081237_C_Payment_Allocated.sql new file mode 100755 index 0000000000..8ae0a02738 --- /dev/null +++ b/migration/352a-trunk/282_BF2081237_C_Payment_Allocated.sql @@ -0,0 +1,57 @@ +create or replace FUNCTION paymentAllocated +( + p_C_Payment_ID IN NUMBER, + p_C_Currency_ID IN NUMBER +) +RETURN NUMBER +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + ************************************************************************* + * $Id: C_Payment_Allocated.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $ + *** + * Title: Calculate Allocated Payment Amount in Payment Currency + * Description: + -- + SELECT C_Payment_Allocated(C_Payment_ID,C_Currency_ID), PayAmt, IsAllocated + FROM C_Payment_v + WHERE C_Payment_ID>=1000000; + -- + UPDATE C_Payment_v + SET IsAllocated=CASE WHEN C_Payment_Allocated(C_Payment_ID, C_Currency_ID)=PayAmt THEN 'Y' ELSE 'N' END + WHERE C_Payment_ID>=1000000; + + ************************************************************************/ +AS + v_AllocatedAmt NUMBER := 0; + v_PayAmt NUMBER; + CURSOR Cur_Alloc IS + SELECT a.AD_Client_ID, a.AD_Org_ID, al.Amount, a.C_Currency_ID, a.DateTrx + FROM C_AllocationLine al + INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) + WHERE al.C_Payment_ID = p_C_Payment_ID + AND a.IsActive='Y'; + -- AND al.C_Invoice_ID IS NOT NULL; +BEGIN + -- Charge - fully allocated + SELECT MAX(PayAmt) + INTO v_PayAmt + FROM C_Payment + WHERE C_Payment_ID=p_C_Payment_ID AND C_Charge_ID > 0; + IF (v_PayAmt IS NOT NULL) THEN + RETURN v_PayAmt; + END IF; + + -- Calculate Allocated Amount + FOR a IN Cur_Alloc LOOP + v_AllocatedAmt := v_AllocatedAmt + + currencyConvert(a.Amount, a.C_Currency_ID, p_C_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID); + END LOOP; + -- Round to penny + v_AllocatedAmt := ROUND(NVL(v_AllocatedAmt,0), 2); + RETURN v_AllocatedAmt; +END paymentAllocated; +/ diff --git a/migration/352a-trunk/283_BF_2088779.sql b/migration/352a-trunk/283_BF_2088779.sql new file mode 100644 index 0000000000..9218e30f18 --- /dev/null +++ b/migration/352a-trunk/283_BF_2088779.sql @@ -0,0 +1,23 @@ +-- 2/09/2008 14:38:46 +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-09-02 14:38:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54945 +; + +-- 2/09/2008 14:38:49 +ALTER TABLE HR_PayrollConcept MODIFY HR_Concept_ID NUMBER(10) DEFAULT NULL +; + +-- 2/09/2008 14:38:49 +ALTER TABLE HR_PayrollConcept MODIFY HR_Concept_ID NOT NULL +; + +-- 2/09/2008 14:39:06 +UPDATE AD_Column SET IsMandatory='Y', IsUpdateable='N',Updated=TO_DATE('2008-09-02 14:39:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54947 +; + +-- 2/09/2008 14:39:08 +ALTER TABLE HR_PayrollConcept MODIFY HR_Payroll_ID NUMBER(10) DEFAULT NULL +; + +-- 2/09/2008 14:39:08 +ALTER TABLE HR_PayrollConcept MODIFY HR_Payroll_ID NOT NULL +; \ No newline at end of file diff --git a/migration/352a-trunk/284_BF2090815.sql b/migration/352a-trunk/284_BF2090815.sql new file mode 100644 index 0000000000..9626e160bf --- /dev/null +++ b/migration/352a-trunk/284_BF2090815.sql @@ -0,0 +1,25 @@ +-- Sep 3, 2008 12:46:45 PM EEST +-- +UPDATE AD_Column SET AD_Reference_ID=22, DefaultValue='100', IsMandatory='Y', ValueMin='0',Updated=TO_DATE('2008-09-03 12:46:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53272 +; + +-- Sep 3, 2008 12:46:49 PM EEST +-- +ALTER TABLE S_Resource MODIFY PercentUtilization NUMBER DEFAULT 100 +; + +-- Sep 3, 2008 12:46:49 PM EEST +-- +UPDATE S_Resource SET PercentUtilization=100 WHERE PercentUtilization IS NULL +; + +-- Sep 3, 2008 12:46:49 PM EEST +-- +ALTER TABLE S_Resource MODIFY PercentUtilization NOT NULL +; + +-- Sep 3, 2008 12:46:49 PM EEST +-- +ALTER TABLE S_Resource ADD CONSTRAINT CHK_COL_53272 CHECK (PercentUtilization>=0) +; + diff --git a/migration/352a-trunk/285_BF2091203.sql b/migration/352a-trunk/285_BF2091203.sql new file mode 100644 index 0000000000..ef230ea216 --- /dev/null +++ b/migration/352a-trunk/285_BF2091203.sql @@ -0,0 +1,92 @@ +-- Sep 3, 2008 5:01:15 PM EEST +-- +UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53034 +; + +-- Sep 3, 2008 5:01:27 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53635 +; + +-- Sep 3, 2008 5:01:29 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53634 +; + +-- Sep 3, 2008 5:01:48 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53623 +; + +-- Sep 3, 2008 5:01:49 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53624 +; + +-- Sep 3, 2008 5:01:50 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53625 +; + +-- Sep 3, 2008 5:01:51 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53626 +; + +-- Sep 3, 2008 5:01:52 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53627 +; + +-- Sep 3, 2008 5:01:53 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53628 +; + +-- Sep 3, 2008 5:01:54 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53629 +; + +-- Sep 3, 2008 5:01:55 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53630 +; + +-- Sep 3, 2008 5:01:55 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53631 +; + +-- Sep 3, 2008 5:01:56 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53632 +; + +-- Sep 3, 2008 5:01:57 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53633 +; + +-- Sep 3, 2008 5:01:58 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53636 +; + +-- Sep 3, 2008 5:01:59 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-03 17:01:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53637 +; + + + + + + + + +-- Sep 3, 2008 5:05:25 PM EEST +-- +UPDATE AD_Tab SET DisplayLogic='@IsPurchased@=Y',Updated=TO_DATE('2008-09-03 17:05:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53031 +; + diff --git a/migration/352a-trunk/286_BF2052847.sql b/migration/352a-trunk/286_BF2052847.sql new file mode 100644 index 0000000000..de3094f1aa --- /dev/null +++ b/migration/352a-trunk/286_BF2052847.sql @@ -0,0 +1,4 @@ +-- 29.08.2008 16:50:06 EEST +-- Fix BOM Window, Line order +UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_DATE('2008-08-29 16:50:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53485 +; diff --git a/migration/352a-trunk/287_BF2091231.sql b/migration/352a-trunk/287_BF2091231.sql new file mode 100644 index 0000000000..b9817a0c40 --- /dev/null +++ b/migration/352a-trunk/287_BF2091231.sql @@ -0,0 +1,35 @@ +drop table PP_WF_NODE_ASSET +; + +CREATE TABLE PP_WF_NODE_ASSET +( + PP_WF_NODE_ASSET_ID NUMBER(10,0) NOT NULL ENABLE, + -- + AD_CLIENT_ID NUMBER(10,0) NOT NULL ENABLE, + AD_ORG_ID NUMBER(10,0) NOT NULL ENABLE, + CREATED DATE NOT NULL ENABLE, + CREATEDBY NUMBER(10,0) NOT NULL ENABLE, + UPDATED DATE NOT NULL ENABLE, + UPDATEDBY NUMBER(10,0) NOT NULL ENABLE, + ISACTIVE CHAR(1 BYTE) NOT NULL ENABLE, + -- + AD_WF_NODE_ID NUMBER(10,0) NOT NULL ENABLE, + A_ASSET_ID NUMBER(10,0) NOT NULL ENABLE, + SEQNO NUMBER(10,0) NOT NULL ENABLE, + -- + CHECK (IsActive IN ('Y','N')) ENABLE, + CONSTRAINT PP_WF_NODE_ASSET_KEY PRIMARY KEY (PP_WF_NODE_ASSET_ID) ENABLE, + CONSTRAINT AASSET_PPWFNODEASSET FOREIGN KEY (A_ASSET_ID) REFERENCES A_ASSET (A_ASSET_ID) ENABLE, + CONSTRAINT ADWFNODE_PPWFNODEASSET FOREIGN KEY (AD_WF_NODE_ID) REFERENCES AD_WF_NODE (AD_WF_NODE_ID) ENABLE +) +; + +-- 29.08.2008 18:32:06 EEST +-- +UPDATE AD_Column SET IsKey='N', IsMandatory='Y',Updated=TO_DATE('2008-08-29 18:32:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53300 +; + +-- 29.08.2008 18:32:28 EEST +-- +UPDATE AD_Column SET IsKey='Y', IsUpdateable='N',Updated=TO_DATE('2008-08-29 18:32:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53299 +; diff --git a/migration/352a-trunk/288_FR2092739.sql b/migration/352a-trunk/288_FR2092739.sql new file mode 100644 index 0000000000..524d31e0b4 --- /dev/null +++ b/migration/352a-trunk/288_FR2092739.sql @@ -0,0 +1,6 @@ +-- Aug 27, 2008 1:30:17 PM EEST +-- Update PP_Order.M_Product_ID column: set callout and reference value +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutOrder.product',Updated=TO_DATE('2008-08-27 13:30:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53623 +; +UPDATE AD_Column SET AD_Reference_Value_ID=211,Updated=TO_DATE('2008-08-27 13:31:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53623 +; diff --git a/migration/352a-trunk/289_FR2092751.sql b/migration/352a-trunk/289_FR2092751.sql new file mode 100644 index 0000000000..aabe02fb5a --- /dev/null +++ b/migration/352a-trunk/289_FR2092751.sql @@ -0,0 +1,5 @@ +-- Sep 1, 2008 3:49:12 PM EEST +-- +UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_DATE('2008-09-01 15:48:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53751 +; + diff --git a/migration/352a-trunk/290_FR_2094162_Bank_Transfer.sql b/migration/352a-trunk/290_FR_2094162_Bank_Transfer.sql new file mode 100644 index 0000000000..bc0947cc7a --- /dev/null +++ b/migration/352a-trunk/290_FR_2094162_Bank_Transfer.sql @@ -0,0 +1,615 @@ +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53153,'3','org.eevolution.process.BankTransfer',TO_DATE('2008-09-04 19:13:03','YYYY-MM-DD HH24:MI:SS'),100,'C','Y','N','N','N','N','Bank Transfer','Y',1,4,TO_DATE('2008-09-04 19:13:03','YYYY-MM-DD HH24:MI:SS'),100,'BankTransfer') +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53153 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,0,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,102,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,103,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,50002,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,50001,TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:14:31 PM CDT +-- Transfer Bank +UPDATE AD_Menu SET Name='Bank Transfer via Cash',Updated=TO_DATE('2008-09-04 19:14:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53187 +; + +-- 4/09/2008 07:14:31 PM CDT +-- Transfer Bank +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53187 +; + +-- 4/09/2008 07:15:10 PM CDT +-- Transfer Bank +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53190,0,53153,'P',TO_DATE('2008-09-04 19:15:08','YYYY-MM-DD HH24:MI:SS'),100,'C','Y','N','N','N','Bank Transfer via Payment',TO_DATE('2008-09-04 19:15:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:15:10 PM CDT +-- Transfer Bank +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53190 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- 4/09/2008 07:15:10 PM CDT +-- Transfer Bank +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53190, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53190) +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=241 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=288 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=432 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=243 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=413 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=538 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=462 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=505 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=235 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=511 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=245 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=251 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=246 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=509 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=510 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=496 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=497 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=304 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=255 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=286 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=287 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=438 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=234 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=244 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53187 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=25, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53190 +; + +-- Sep 4, 2008 7:16:38 PM CDT +-- Transfer Bank +UPDATE AD_Process SET Value='C_BankStatement BankTransfer',Updated=TO_DATE('2008-09-04 19:16:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153 +; + +-- Sep 4, 2008 7:20:15 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53246,18,53283,'From_C_BankAccount_ID',TO_DATE('2008-09-04 19:20:14','YYYY-MM-DD HH24:MI:SS'),0,'D',0,'Y','Y','N','N','Bank Account From',10,TO_DATE('2008-09-04 19:20:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:20:15 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53246 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:20:20 PM CDT +-- Transfer Bank +UPDATE AD_Process SET EntityType='D',Updated=TO_DATE('2008-09-04 19:20:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153 +; + +-- Sep 4, 2008 7:22:29 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53247,18,53283,'To_C_BankAccount_ID',TO_DATE('2008-09-04 19:22:28','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','Bank Account To',20,TO_DATE('2008-09-04 19:22:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:22:29 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53247 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:22:35 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-09-04 19:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53246 +; + +-- Sep 4, 2008 7:23:37 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53248,12,'Amount',TO_DATE('2008-09-04 19:23:36','YYYY-MM-DD HH24:MI:SS'),0,'Amount to be transferred','D',22,'Y','Y','N','N','Transfer Amount',30,TO_DATE('2008-09-04 19:23:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:23:37 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53248 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:25:41 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,187,0,53153,53249,30,'C_BPartner_ID',TO_DATE('2008-09-04 19:25:38','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','D',22,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','Business Partner ',40,TO_DATE('2008-09-04 19:25:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:25:41 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53249 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:26:49 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,968,0,53153,53250,19,'C_Charge_ID',TO_DATE('2008-09-04 19:26:41','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges','D',22,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','Charge',40,TO_DATE('2008-09-04 19:26:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:26:49 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53250 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:27:09 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-09-04 19:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53249 +; + +-- Sep 4, 2008 7:27:24 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-09-04 19:27:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248 +; + +-- Sep 4, 2008 7:29:09 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,290,0,53153,53251,10,'DocumentNo',TO_DATE('2008-09-04 19:29:08','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',40,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>".','Y','Y','Y','N','Document No',50,TO_DATE('2008-09-04 19:29:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:29:09 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53251 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:33:17 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,275,0,53153,53252,10,'Description',TO_DATE('2008-09-04 19:33:13','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','Description',70,TO_DATE('2008-09-04 19:33:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:33:17 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53252 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:34:53 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1434,0,53153,53253,15,'StatementDate',TO_DATE('2008-09-04 19:34:52','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the statement','D',7,'The Statement Date field defines the date of the statement.','Y','Y','Y','N','StatementDate',80,TO_DATE('2008-09-04 19:34:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:34:53 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53253 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:36:24 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET FieldLength=7,Updated=TO_DATE('2008-09-04 19:36:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53239 +; + +-- Sep 4, 2008 7:36:37 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53153,53254,15,'DateAcct',TO_DATE('2008-09-04 19:36:36','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','Account Date',90,TO_DATE('2008-09-04 19:36:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:36:37 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53254 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:38:45 PM CDT +-- Transfer Bank +UPDATE AD_Menu SET EntityType='D',Updated=TO_DATE('2008-09-04 19:38:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53190 +; + +-- Sep 4, 2008 7:49:55 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-09-04 19:49:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53246 +; + +-- Sep 4, 2008 7:50:03 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-09-04 19:50:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53247 +; + +-- Sep 4, 2008 7:50:38 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-09-04 19:50:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248 +; + +-- Sep 4, 2008 7:55:20 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2278,0,53153,53255,19,'C_ConversionType_ID',TO_DATE('2008-09-04 19:55:19','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type','@C_Currency_ID@!@$C_Currency_ID@','D',22,'The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','Y','N','N','Currency Type',30,TO_DATE('2008-09-04 19:55:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:55:20 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53255 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:55:31 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-09-04 19:55:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53255 +; + +-- Sep 4, 2008 7:56:53 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,193,0,53153,53256,19,'C_Currency_ID',TO_DATE('2008-09-04 19:56:53','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record',NULL,'D',22,'Indicates the Currency to be used when processing or reporting on this record','Y','Y','Y','N','Currency',40,TO_DATE('2008-09-04 19:56:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:56:53 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53256 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:57:12 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-09-04 19:57:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53256 +; + +-- Sep 4, 2008 7:57:15 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-09-04 19:57:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53250 +; + +-- Sep 4, 2008 7:57:17 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2008-09-04 19:57:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53251 +; + +-- Sep 4, 2008 7:57:20 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2008-09-04 19:57:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248 +; + +-- Sep 4, 2008 7:57:25 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_DATE('2008-09-04 19:57:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53252 +; + +-- Sep 4, 2008 7:57:31 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_DATE('2008-09-04 19:57:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53253 +; + +-- Sep 4, 2008 7:57:35 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_DATE('2008-09-04 19:57:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53254 +; + +-- Sep 4, 2008 7:58:50 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-09-04 19:58:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53256 +; + +-- Sep 4, 2008 7:58:54 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-09-04 19:58:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53255 +; + +-- Sep 4, 2008 8:13:10 PM CDT +-- Transfer Bank +UPDATE AD_Process SET Description='Bank Transfer let money tranfer between Banks',Updated=TO_DATE('2008-09-04 20:13:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153 +; + +-- Sep 4, 2008 8:13:10 PM CDT +-- Transfer Bank +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53153 +; + +-- Sep 4, 2008 8:13:10 PM CDT +-- Transfer Bank +UPDATE AD_Menu SET Description='Bank Transfer let money tranfer between Banks', IsActive='Y', Name='Bank Transfer',Updated=TO_DATE('2008-09-04 20:13:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53190 +; + +-- Sep 4, 2008 8:13:10 PM CDT +-- Transfer Bank +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53190 +; + +-- Sep 4, 2008 8:20:11 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET FieldLength=30,Updated=TO_DATE('2008-09-04 20:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53251 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=241 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=288 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=432 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=243 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=413 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=538 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=462 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=505 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=235 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=511 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=245 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=251 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=246 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=509 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=510 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=496 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=497 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=304 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=255 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=286 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=287 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=438 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=234 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=244 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53190 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=25, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53187 +; + diff --git a/migration/352a-trunk/291_FR_2074600_HouseKeeping.sql b/migration/352a-trunk/291_FR_2074600_HouseKeeping.sql new file mode 100644 index 0000000000..64983026a3 --- /dev/null +++ b/migration/352a-trunk/291_FR_2074600_HouseKeeping.sql @@ -0,0 +1,1258 @@ +-- Sep 6, 2008 7:47:20 PM COT +-- Default comment for updating dictionary +UPDATE AD_SysConfig SET Value='[ 2074600 ] Housekeeping - Process to delete historic information',Updated=TO_DATE('2008-09-06 19:47:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50003 +; + +-- Sep 6, 2008 7:49:18 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Table (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Table_ID,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES ('4',0,0,53147,'N',TO_DATE('2008-09-06 19:49:15','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','Y','Y','N','N','N',0,'House Keeping Configuration','L','AD_HouseKeeping',TO_DATE('2008-09-06 19:49:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 7:49:18 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53147 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Sep 6, 2008 7:49:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53168,TO_DATE('2008-09-06 19:49:18','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table AD_HouseKeeping',1,'Y','N','Y','Y','AD_HouseKeeping','N',1000000,TO_DATE('2008-09-06 19:49:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 7:50:23 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56327,102,0,19,53147,'AD_Client_ID',TO_DATE('2008-09-06 19:50:21','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',0,TO_DATE('2008-09-06 19:50:21','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:23 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56327 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56328,113,0,19,53147,104,'AD_Org_ID',TO_DATE('2008-09-06 19:50:23','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',0,TO_DATE('2008-09-06 19:50:23','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56328 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56329,245,0,16,53147,'Created',TO_DATE('2008-09-06 19:50:24','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',0,TO_DATE('2008-09-06 19:50:24','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56329 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56330,246,0,18,110,53147,'CreatedBy',TO_DATE('2008-09-06 19:50:27','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',0,TO_DATE('2008-09-06 19:50:27','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56330 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:29 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56331,275,0,10,53147,'Description',TO_DATE('2008-09-06 19:50:28','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',0,TO_DATE('2008-09-06 19:50:28','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:29 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56331 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:31 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56332,326,0,14,53147,'Help',TO_DATE('2008-09-06 19:50:29','YYYY-MM-DD HH24:MI:SS'),100,'Comment or Hint','D',2000,'The Help field contains a hint, comment or help about the use of this item.','Y','N','N','N','N','N','N','N','Y','N','Y','Comment/Help',0,TO_DATE('2008-09-06 19:50:29','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:36 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56332 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56333,348,0,20,53147,'IsActive',TO_DATE('2008-09-06 19:50:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',0,TO_DATE('2008-09-06 19:50:36','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56333 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53680,0,'AD_HouseKeeping_ID',TO_DATE('2008-09-06 19:50:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','House Keeping Configuration','House Keeping Configuration',TO_DATE('2008-09-06 19:50:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 7:50:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53680 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 7:50:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56334,53680,0,13,53147,'AD_HouseKeeping_ID',TO_DATE('2008-09-06 19:50:37','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','Y','N','N','House Keeping Configuration',0,TO_DATE('2008-09-06 19:50:37','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56334 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56335,469,0,10,53147,'Name',TO_DATE('2008-09-06 19:50:43','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','D',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Name',1,TO_DATE('2008-09-06 19:50:43','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56335 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56336,607,0,16,53147,'Updated',TO_DATE('2008-09-06 19:50:47','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',0,TO_DATE('2008-09-06 19:50:47','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56336 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:48 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56337,608,0,18,110,53147,'UpdatedBy',TO_DATE('2008-09-06 19:50:47','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',0,TO_DATE('2008-09-06 19:50:47','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:48 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56337 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:49 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56338,620,0,10,53147,'Value',TO_DATE('2008-09-06 19:50:48','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','D',40,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','Y','N','N','Y','N','Y','Search Key',0,TO_DATE('2008-09-06 19:50:48','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:49 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56338 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:51:03 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Table SET EntityType='D',Updated=TO_DATE('2008-09-06 19:51:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53147 +; + +-- Sep 6, 2008 7:57:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Element SET EntityType='D',Updated=TO_DATE('2008-09-06 19:57:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53680 +; + +-- Sep 6, 2008 7:59:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53681,0,'LastDeleted',TO_DATE('2008-09-06 19:59:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Last Deleted','Last Deleted',TO_DATE('2008-09-06 19:59:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 7:59:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53681 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:00:44 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56339,53681,0,11,53147,'LastDeleted',TO_DATE('2008-09-06 20:00:43','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Last Deleted',0,TO_DATE('2008-09-06 20:00:43','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:00:44 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56339 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:02:01 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53682,0,'BackupFolder',TO_DATE('2008-09-06 20:02:00','YYYY-MM-DD HH24:MI:SS'),100,'Backup Folder','D','Y','Backup Folder','Backup Folder',TO_DATE('2008-09-06 20:02:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:02:01 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53682 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:02:32 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56340,53682,0,38,53147,'BackupFolder',TO_DATE('2008-09-06 20:02:32','YYYY-MM-DD HH24:MI:SS'),100,'Backup Folder','D',255,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Backup Folder',0,TO_DATE('2008-09-06 20:02:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:02:32 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56340 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:03:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53683,0,'IsExportXMLBackup',TO_DATE('2008-09-06 20:03:27','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Expor tXML Backup','Export XML Backup',TO_DATE('2008-09-06 20:03:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:03:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53683 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:03:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56341,53683,0,20,53147,'IsExportXMLBackup',TO_DATE('2008-09-06 20:03:57','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Expor tXML Backup',0,TO_DATE('2008-09-06 20:03:57','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:03:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56341 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:04:38 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53684,0,'IsSaveInHistoric',TO_DATE('2008-09-06 20:04:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Save In Historic','Save In Historic',TO_DATE('2008-09-06 20:04:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:04:38 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53684 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:05:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56342,53684,0,20,53147,'IsSaveInHistoric',TO_DATE('2008-09-06 20:05:00','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Save In Historic',0,TO_DATE('2008-09-06 20:05:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:05:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56342 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:05:36 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53685,0,'LastRun',TO_DATE('2008-09-06 20:05:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Last Run','Last Run',TO_DATE('2008-09-06 20:05:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:05:36 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53685 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:05:56 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56343,53685,0,16,53147,'LastRun',TO_DATE('2008-09-06 20:05:55','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Last Run',0,TO_DATE('2008-09-06 20:05:55','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:05:56 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56343 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:07:09 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56344,524,0,28,53147,'Processing',TO_DATE('2008-09-06 20:07:03','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Process Now',0,TO_DATE('2008-09-06 20:07:03','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:07:09 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56344 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:07:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56345,630,0,10,53147,'WhereClause',TO_DATE('2008-09-06 20:07:53','YYYY-MM-DD HH24:MI:SS'),100,'Fully qualified SQL WHERE clause','D',255,'The Where Clause indicates the SQL WHERE clause to use for record selection. The WHERE clause is added to the query. Fully qualified means "tablename.columnname".','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Sql WHERE',0,TO_DATE('2008-09-06 20:07:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:07:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56345 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:10:43 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56346,126,0,19,53147,'AD_Table_ID',TO_DATE('2008-09-06 20:10:37','YYYY-MM-DD HH24:MI:SS'),100,'Database Table information','D',10,'The Database Table provides the information of the table definition','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Table',0,TO_DATE('2008-09-06 20:10:37','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:10:43 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56346 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:10:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +CREATE TABLE AD_HouseKeeping (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_HouseKeeping_ID NUMBER(10) NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Table_ID NUMBER(10) NOT NULL, BackupFolder NVARCHAR2(255), Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, Description NVARCHAR2(255), Help NVARCHAR2(2000), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, IsExportXMLBackup CHAR(1) CHECK (IsExportXMLBackup IN ('Y','N')), IsSaveInHistoric CHAR(1) CHECK (IsSaveInHistoric IN ('Y','N')), LastDeleted NUMBER(10), LastRun DATE, Name NVARCHAR2(60) NOT NULL, Processing CHAR(1), Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, Value NVARCHAR2(40) NOT NULL, WhereClause NVARCHAR2(255), CONSTRAINT AD_HouseKeeping_Key PRIMARY KEY (AD_HouseKeeping_ID)) +; + +-- Sep 6, 2008 8:12:13 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType,WinHeight,WinWidth) VALUES (0,0,53063,TO_DATE('2008-09-06 20:12:10','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','Y','House Keeping','N',TO_DATE('2008-09-06 20:12:10','YYYY-MM-DD HH24:MI:SS'),100,'M',0,0) +; + +-- Sep 6, 2008 8:12:13 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53063 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID) +; + +-- Sep 6, 2008 8:12:13 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50002,53063,TO_DATE('2008-09-06 20:12:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:12:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:12:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53063,TO_DATE('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:12:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53063,TO_DATE('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:12:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53063,TO_DATE('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:12:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53063,TO_DATE('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:13:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53178,53147,53063,TO_DATE('2008-09-06 20:13:39','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','Y','N','N','House Keeping','N',10,0,TO_DATE('2008-09-06 20:13:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:13:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53178 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- Sep 6, 2008 8:14:05 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56333,56353,0,53178,TO_DATE('2008-09-06 20:13:58','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2008-09-06 20:13:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:05 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56353 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56340,56354,0,53178,TO_DATE('2008-09-06 20:14:05','YYYY-MM-DD HH24:MI:SS'),100,'Backup Folder',255,'D','Y','Y','Y','N','N','N','N','N','Backup Folder',TO_DATE('2008-09-06 20:14:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56354 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56327,56355,0,53178,TO_DATE('2008-09-06 20:14:14','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2008-09-06 20:14:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56355 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:20 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56332,56356,0,53178,TO_DATE('2008-09-06 20:14:15','YYYY-MM-DD HH24:MI:SS'),100,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','N','Comment/Help',TO_DATE('2008-09-06 20:14:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:21 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56356 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56331,56357,0,53178,TO_DATE('2008-09-06 20:14:21','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2008-09-06 20:14:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56357 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:25 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56341,56358,0,53178,TO_DATE('2008-09-06 20:14:24','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Expor tXML Backup',TO_DATE('2008-09-06 20:14:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:25 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56358 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56334,56359,0,53178,TO_DATE('2008-09-06 20:14:25','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','House Keeping Configuration',TO_DATE('2008-09-06 20:14:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56359 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56339,56360,0,53178,TO_DATE('2008-09-06 20:14:30','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','Last Deleted',TO_DATE('2008-09-06 20:14:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56360 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:34 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56343,56361,0,53178,TO_DATE('2008-09-06 20:14:30','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','Last Run',TO_DATE('2008-09-06 20:14:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:34 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56361 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56335,56362,0,53178,TO_DATE('2008-09-06 20:14:34','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2008-09-06 20:14:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56362 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:45 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56328,56363,0,53178,TO_DATE('2008-09-06 20:14:42','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2008-09-06 20:14:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:46 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56363 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56344,56364,0,53178,TO_DATE('2008-09-06 20:14:46','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_DATE('2008-09-06 20:14:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56364 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:55 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56342,56365,0,53178,TO_DATE('2008-09-06 20:14:52','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Save In Historic',TO_DATE('2008-09-06 20:14:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:55 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56365 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:58 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56338,56366,0,53178,TO_DATE('2008-09-06 20:14:55','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',40,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_DATE('2008-09-06 20:14:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:58 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56366 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:15:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56345,56367,0,53178,TO_DATE('2008-09-06 20:14:58','YYYY-MM-DD HH24:MI:SS'),100,'Fully qualified SQL WHERE clause',255,'D','The Where Clause indicates the SQL WHERE clause to use for record selection. The WHERE clause is added to the query. Fully qualified means "tablename.columnname".','Y','Y','Y','N','N','N','N','N','Sql WHERE',TO_DATE('2008-09-06 20:14:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:15:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56367 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:15:01 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56346,56368,0,53178,TO_DATE('2008-09-06 20:15:01','YYYY-MM-DD HH24:MI:SS'),100,'Database Table information',10,'D','The Database Table provides the information of the table definition','Y','Y','Y','N','N','N','N','N','Table',TO_DATE('2008-09-06 20:15:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:15:01 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56368 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56355 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56363 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56366 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56362 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56357 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56356 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56368 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56367 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56365 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56358 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56354 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56364 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56361 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56360 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56353 +; + +-- Sep 6, 2008 8:17:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET Name='Expor XML Backup',Updated=TO_DATE('2008-09-06 20:17:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56341 +; + +-- Sep 6, 2008 8:17:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56341 +; + +-- Sep 6, 2008 8:17:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET Name='Expor XML Backup', Description=NULL, Help=NULL WHERE AD_Column_ID=56341 AND IsCentrallyMaintained='Y' +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Element SET Name='Export XML Backup',Updated=TO_DATE('2008-09-06 20:18:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53683 +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53683 +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET ColumnName='IsExportXMLBackup', Name='Export XML Backup', Description=NULL, Help=NULL WHERE AD_Element_ID=53683 +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process_Para SET ColumnName='IsExportXMLBackup', Name='Export XML Backup', Description=NULL, Help=NULL, AD_Element_ID=53683 WHERE UPPER(ColumnName)='ISEXPORTXMLBACKUP' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process_Para SET ColumnName='IsExportXMLBackup', Name='Export XML Backup', Description=NULL, Help=NULL WHERE AD_Element_ID=53683 AND IsCentrallyMaintained='Y' +; + +-- Sep 6, 2008 8:18:20 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET Name='Export XML Backup', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53683) AND IsCentrallyMaintained='Y' +; + +-- Sep 6, 2008 8:18:20 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_PrintFormatItem pi SET PrintName='Export XML Backup', Name='Export XML Backup' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53683) +; + +-- Sep 6, 2008 8:18:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-09-06 20:18:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56363 +; + +-- Sep 6, 2008 8:19:20 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET DisplayLength=20,Updated=TO_DATE('2008-09-06 20:19:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56366 +; + +-- Sep 6, 2008 8:21:45 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET DisplayLogic='@IsExportXMLBackup@=Y',Updated=TO_DATE('2008-09-06 20:21:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56354 +; + +-- Sep 6, 2008 8:22:02 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-09-06 20:22:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56360 +; + +-- Sep 6, 2008 8:23:21 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Menu (Action,AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('W',0,53191,0,53063,TO_DATE('2008-09-06 20:23:20','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','House Keeping',TO_DATE('2008-09-06 20:23:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:23:21 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53191 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Sep 6, 2008 8:23:21 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53191, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53191) +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 6, 2008 8:25:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('7',0,0,53154,'org.adempiere.process.HouseKeeping',TO_DATE('2008-09-06 20:25:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','HouseKeeping','Y',0,0,TO_DATE('2008-09-06 20:25:38','YYYY-MM-DD HH24:MI:SS'),100,'10000000') +; + +-- Sep 6, 2008 8:25:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53154 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,50002,TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,0,TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,102,TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,103,TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,50001,TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:26:29 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53680,0,53154,53257,19,'AD_HouseKeeping_ID',TO_DATE('2008-09-06 20:26:28','YYYY-MM-DD HH24:MI:SS'),100,'D',0,'Y','Y','N','N','AD_HouseKeeping_ID',10,TO_DATE('2008-09-06 20:26:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:26:29 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53257 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 6, 2008 8:26:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET AccessLevel='4',Updated=TO_DATE('2008-09-06 20:26:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53154 +; + +-- Sep 6, 2008 8:27:38 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('4',0,0,53155,TO_DATE('2008-09-06 20:27:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','House Keeping','Y',0,0,TO_DATE('2008-09-06 20:27:38','YYYY-MM-DD HH24:MI:SS'),100,'10000001') +; + +-- Sep 6, 2008 8:27:38 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53155 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,50002,TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,0,TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,102,TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,103,TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,50001,TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET Classname='org.adempiere.process.HouseKeeping',Updated=TO_DATE('2008-09-06 20:27:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53155 +; + +-- Sep 6, 2008 8:29:26 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Menu (Action,AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('P',0,53192,0,53154,TO_DATE('2008-09-06 20:29:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','House Keeping',TO_DATE('2008-09-06 20:29:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:29:26 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53192 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Sep 6, 2008 8:29:26 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53192, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53192) +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53192 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 6, 2008 8:33:06 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET AD_Process_ID=53155,Updated=TO_DATE('2008-09-06 20:33:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56344 +; + +-- Sep 6, 2008 8:38:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET Value='HouseKeeping',Updated=TO_DATE('2008-09-06 20:38:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53154 +; + +-- Sep 6, 2008 8:38:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET Value='HouseKeepingPara',Updated=TO_DATE('2008-09-06 20:38:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53154 +; + +-- Sep 6, 2008 8:38:40 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET Value='HouseKeeping',Updated=TO_DATE('2008-09-06 20:38:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53155 +; + +-- Sep 6, 2008 8:39:06 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-09-06 20:39:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 +; + +-- Sep 6, 2008 8:39:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53192 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53192 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 6, 2008 8:39:17 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 6, 2008 8:39:17 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 6, 2008 8:39:17 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 6, 2008 8:39:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:39:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56355 +; + +-- Sep 6, 2008 8:40:02 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56363 +; + +-- Sep 6, 2008 8:40:05 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56366 +; + +-- Sep 6, 2008 8:40:07 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56362 +; + +-- Sep 6, 2008 8:40:10 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56357 +; + +-- Sep 6, 2008 8:40:23 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56356 +; + +-- Sep 6, 2008 8:40:26 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56368 +; + +-- Sep 6, 2008 8:40:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56367 +; + +-- Sep 6, 2008 8:40:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56365 +; + +-- Sep 6, 2008 8:40:32 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56358 +; + +-- Sep 6, 2008 8:40:34 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56354 +; + +-- Sep 6, 2008 8:40:36 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56364 +; + +-- Sep 6, 2008 8:40:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56361 +; + +-- Sep 6, 2008 8:40:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56360 +; + +-- Sep 6, 2008 8:40:45 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2008-09-06 20:40:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56353 +; + +-- Sep 6, 2008 8:41:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:41:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56327 +; + +-- Sep 6, 2008 8:41:59 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D', IsUpdateable='N',Updated=TO_DATE('2008-09-06 20:41:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56334 +; + +-- Sep 6, 2008 8:42:03 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56328 +; + +-- Sep 6, 2008 8:42:12 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56346 +; + +-- Sep 6, 2008 8:42:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56340 +; + +-- Sep 6, 2008 8:42:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56329 +; + +-- Sep 6, 2008 8:42:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56330 +; + +-- Sep 6, 2008 8:42:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56331 +; + +-- Sep 6, 2008 8:42:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56332 +; + +-- Sep 6, 2008 8:42:33 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56333 +; + +-- Sep 6, 2008 8:42:46 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56341 +; + +-- Sep 6, 2008 8:42:49 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56342 +; + +-- Sep 6, 2008 8:42:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56339 +; + +-- Sep 6, 2008 8:42:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56343 +; + +-- Sep 6, 2008 8:43:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56335 +; + +-- Sep 6, 2008 8:43:04 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:43:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56344 +; + +-- Sep 6, 2008 8:43:09 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:43:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56336 +; + +-- Sep 6, 2008 8:43:11 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:43:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56337 +; + +-- Sep 6, 2008 8:43:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:43:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56338 +; + +-- Sep 6, 2008 8:43:18 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-06 20:43:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56345 +; + +-- Sep 6, 2008 8:43:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-06 20:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56360 +; + +-- Sep 6, 2008 8:43:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-06 20:43:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56361 +; + diff --git a/migration/352a-trunk/292_BF2112805_Cost_Element.sql b/migration/352a-trunk/292_BF2112805_Cost_Element.sql new file mode 100644 index 0000000000..5651f6c47e --- /dev/null +++ b/migration/352a-trunk/292_BF2112805_Cost_Element.sql @@ -0,0 +1,45 @@ +-- Sep 15, 2008 12:51:48 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET ColumnName='M_CostElement_ID', AD_Element_ID=2700, Description='Product Cost Element', Help=NULL, FieldLength=22, IsActive='Y', Name='Cost Element',Updated=TO_DATE('2008-09-15 12:51:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53091 +; + +-- Sep 15, 2008 12:51:48 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53091 +; + +-- Sep 15, 2008 12:53:09 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET ColumnName='M_Product_Category_ID', AD_Element_ID=453, Description='Category of a Product', Help='Identifies the category which this product belongs to. Product categories are used for pricing and selection.', IsActive='Y', Name='Product Category',Updated=TO_DATE('2008-09-15 12:53:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53088 +; + +-- Sep 15, 2008 12:53:09 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53088 +; + +-- Sep 15, 2008 12:55:19 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-09-15 12:55:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53093 +; + +-- Sep 15, 2008 12:55:25 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-09-15 12:55:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53091 +; + +-- Sep 15, 2008 12:55:34 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-09-15 12:55:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53092 +; + +-- Sep 15, 2008 12:55:41 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-09-15 12:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53092 +; + +-- Sep 15, 2008 12:55:49 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-09-15 12:55:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53088 +; + diff --git a/migration/352a-trunk/293_PP_SetWindows.sql b/migration/352a-trunk/293_PP_SetWindows.sql new file mode 100644 index 0000000000..1e180bae17 --- /dev/null +++ b/migration/352a-trunk/293_PP_SetWindows.sql @@ -0,0 +1,85 @@ +-- Sep 17, 2008 8:53:11 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53018,Updated=TO_DATE('2008-09-17 08:53:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53060 +; + +-- Sep 17, 2008 8:53:25 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53018,Updated=TO_DATE('2008-09-17 08:53:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53061 +; + +-- Sep 17, 2008 8:53:36 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53012,Updated=TO_DATE('2008-09-17 08:53:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53038 +; + +-- Sep 17, 2008 8:53:44 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:53:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53026 +; + +-- Sep 17, 2008 8:53:48 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:53:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53025 +; + +-- Sep 17, 2008 8:53:53 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:53:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53062 +; + +-- Sep 17, 2008 8:53:58 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:53:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53022 +; + +-- Sep 17, 2008 8:54:03 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53023 +; + +-- Sep 17, 2008 8:54:08 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53031 +; + +-- Sep 17, 2008 8:54:15 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53030 +; + +-- Sep 17, 2008 8:54:19 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53029 +; + +-- Sep 17, 2008 8:54:29 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_DATE('2008-09-17 08:54:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53019 +; + +-- Sep 17, 2008 8:54:51 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53007,Updated=TO_DATE('2008-09-17 08:54:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53020 +; + +-- Sep 17, 2008 8:55:16 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53006,Updated=TO_DATE('2008-09-17 08:55:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53019 +; + +-- Sep 17, 2008 8:55:23 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53005,Updated=TO_DATE('2008-09-17 08:55:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53017 +; + +-- Sep 17, 2008 8:55:31 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53005,Updated=TO_DATE('2008-09-17 08:55:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53016 +; + +-- Sep 17, 2008 8:55:35 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53013,Updated=TO_DATE('2008-09-17 08:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53041 +; + diff --git a/migration/352a-trunk/294_FR2117145_rv_unposted.sql b/migration/352a-trunk/294_FR2117145_rv_unposted.sql new file mode 100644 index 0000000000..9ef2e4792a --- /dev/null +++ b/migration/352a-trunk/294_FR2117145_rv_unposted.sql @@ -0,0 +1,278 @@ +-- Sep 17, 2008 5:24:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56347,1308,0,20,635,'Posted',TO_DATE('2008-09-17 17:24:29','YYYY-MM-DD HH24:MI:SS'),100,'Posting status','U',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','N','N','N','N','N','Posted',TO_DATE('2008-09-17 17:24:29','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 17, 2008 5:24:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56347 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 17, 2008 5:24:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56348,524,0,20,635,'Processing',TO_DATE('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,'U',1,'Y','N','N','N','N','N','N','N','N','N','Process Now',TO_DATE('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 17, 2008 5:24:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56348 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 17, 2008 5:24:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56349,1047,0,20,635,'Processed',TO_DATE('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','U',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Processed',TO_DATE('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 17, 2008 5:24:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56349 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 17, 2008 5:24:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56350,289,0,14,635,'DocStatus',TO_DATE('2008-09-17 17:24:32','YYYY-MM-DD HH24:MI:SS'),100,'The current status of the document','U',2147483647,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','N','N','N','N','N','Document Status',TO_DATE('2008-09-17 17:24:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 17, 2008 5:24:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56350 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 17, 2008 5:24:46 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-17 17:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56347 +; + +-- Sep 17, 2008 5:24:54 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-17 17:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56349 +; + +-- Sep 17, 2008 5:24:58 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-17 17:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56348 +; + +-- Sep 17, 2008 5:25:04 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-09-17 17:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56350 +; + +-- Sep 17, 2008 5:25:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56350,56369,0,662,TO_DATE('2008-09-17 17:25:30','YYYY-MM-DD HH24:MI:SS'),100,'The current status of the document',2147483647,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','N','Document Status',TO_DATE('2008-09-17 17:25:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 17, 2008 5:25:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56369 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 17, 2008 5:25:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56347,56370,0,662,TO_DATE('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','N','N','Posted',TO_DATE('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 17, 2008 5:25:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56370 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 17, 2008 5:25:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56349,56371,0,662,TO_DATE('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','N','Processed',TO_DATE('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 17, 2008 5:25:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56371 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 17, 2008 5:25:33 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56348,56372,0,662,TO_DATE('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_DATE('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 17, 2008 5:25:33 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56372 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 17, 2008 5:26:13 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-09-17 17:26:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56372 +; + +-- Sep 17, 2008 5:26:19 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-09-17 17:26:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369 +; + +-- Sep 17, 2008 5:29:05 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=131, FieldLength=2,Updated=TO_DATE('2008-09-17 17:29:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56350 +; + +-- Sep 17, 2008 5:29:35 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-17 17:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56370 +; + +-- Sep 17, 2008 5:29:36 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-17 17:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56372 +; + +-- Sep 17, 2008 5:29:38 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-17 17:29:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56371 +; + +-- Sep 17, 2008 5:29:40 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-09-17 17:29:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369 +; + +-- Sep 17, 2008 5:30:52 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56370 +; + +-- Sep 17, 2008 5:30:52 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56372 +; + +-- Sep 17, 2008 5:30:52 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56369 +; + +-- Sep 17, 2008 5:30:52 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56371 +; + +-- Sep 17, 2008 5:31:01 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET DisplayLength=1,Updated=TO_DATE('2008-09-17 17:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369 +; + +drop view rv_unposted; + +create or replace view rv_unposted +as + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateDoc, DateAcct, 224 AS AD_Table_ID, + GL_Journal_ID AS Record_ID, 'N' AS IsSOTrx, posted, processing, + processed, docstatus + from GL_JOURNAL + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT pi.AD_Client_ID, pi.AD_Org_ID, pi.Created, pi.CreatedBy, pi.Updated, + pi.UpdatedBy, pi.IsActive, p.NAME || '_' || pi.Line, + pi.MovementDate, pi.MovementDate, 623, pi.C_ProjectIssue_ID, 'N', + posted, pi.processing, pi.processed, 'CO' as DocStatus + from C_PROJECTISSUE pi INNER JOIN C_PROJECT p + ON (pi.C_Project_ID = p.C_Project_ID) + WHERE Posted <> 'Y' --AND DocStatus<>'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateInvoiced, DateAcct, 318, C_Invoice_ID, + IsSOTrx, posted, processing, processed, docstatus + from C_INVOICE + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, MovementDate, DateAcct, 319, M_InOut_ID, + IsSOTrx, posted, processing, processed, docstatus + from M_INOUT + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, MovementDate, MovementDate, 321, + M_Inventory_ID, 'N', posted, processing, processed, docstatus + from M_INVENTORY + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, MovementDate, MovementDate, 323, + M_Movement_ID, 'N', posted, processing, processed, docstatus + from M_MOVEMENT + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, NAME, MovementDate, MovementDate, 325, M_Production_ID, + 'N', posted, processing, processed, 'CO' as docstatus + from M_PRODUCTION + WHERE Posted <> 'Y' -- AND DocStatus<>'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, NAME, StatementDate, DateAcct, 407, C_Cash_ID, 'N', + posted, processing, processed, docstatus + from C_CASH + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateTrx, DateTrx, 335, C_Payment_ID, 'N', + posted, processing, processed, docstatus + from C_PAYMENT + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateTrx, DateTrx, 735, C_AllocationHdr_ID, + 'N', posted, processing, processed, docstatus + from C_ALLOCATIONHDR + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, NAME, StatementDate, StatementDate, 392, + C_BankStatement_ID, 'N', posted, processing, processed, docstatus + from C_BANKSTATEMENT + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateTrx, DateTrx, 472, M_MatchInv_ID, 'N', + posted, processing, processed, 'CO' as docstatus + from M_MATCHINV + WHERE Posted <> 'Y' --AND DocStatus<>'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateTrx, DateTrx, 473, M_MatchPO_ID, 'N', + posted, processing, processed, 'CO' as docstatus + from M_MATCHPO + WHERE Posted <> 'Y' --AND DocStatus<>'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateOrdered, DateAcct, 259, C_Order_ID, + IsSOTrx, posted, processing, processed, docstatus + from C_ORDER + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateRequired, DateRequired, 702, + M_Requisition_ID, 'N', posted, processing, processed, docstatus + from M_REQUISITION + WHERE Posted <> 'Y' AND DocStatus <> 'VO' +; + +-- Sep 17, 2008 5:35:27 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-09-17 17:35:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369 +; + +-- Sep 17, 2008 5:35:29 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-09-17 17:35:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56371 +; + +-- Sep 17, 2008 5:39:38 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=234,Updated=TO_DATE('2008-09-17 17:39:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56347 +; + +-- Sep 17, 2008 5:40:00 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56370 +; + diff --git a/migration/352a-trunk/295_BF2117416.sql b/migration/352a-trunk/295_BF2117416.sql new file mode 100644 index 0000000000..fa266b3c88 --- /dev/null +++ b/migration/352a-trunk/295_BF2117416.sql @@ -0,0 +1,53 @@ +CREATE OR REPLACE VIEW C_INVOICE_CANDIDATE_V +(AD_CLIENT_ID, AD_ORG_ID, C_BPARTNER_ID, C_ORDER_ID, DOCUMENTNO, + DATEORDERED, C_DOCTYPE_ID, TOTALLINES) +AS +SELECT + o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID, + SUM((l.QtyOrdered-l.QtyInvoiced)*l.PriceActual) AS TotalLines +FROM C_Order o + INNER JOIN C_OrderLine l ON (o.C_Order_ID=l.C_Order_ID) + INNER JOIN C_BPartner bp ON (o.C_BPartner_ID=bp.C_BPartner_ID) + LEFT OUTER JOIN C_InvoiceSchedule si ON (bp.C_InvoiceSchedule_ID=si.C_InvoiceSchedule_ID) +WHERE o.DocStatus IN ('CO','CL','IP') -- Standard Orders are IP + -- not Offers and open Walkin-Receipts + AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType + WHERE DocBaseType='SOO' AND DocSubTypeSO NOT IN ('ON','OB','WR')) + -- we need to invoice + AND l.QtyOrdered <> l.QtyInvoiced + -- + AND ( + -- Immediate + o.InvoiceRule='I' + -- Order complete + OR (o.InvoiceRule='O' AND NOT EXISTS (SELECT 1 FROM C_OrderLine zz1 + WHERE zz1.C_Order_ID=o.C_Order_ID AND zz1.QtyOrdered<>zz1.QtyDelivered)) + -- Delivery + OR (o.InvoiceRule='D' AND l.QtyInvoiced<>l.QtyDelivered) + -- Order Schedule, but none defined on Business Partner level + OR (o.InvoiceRule='S' AND bp.C_InvoiceSchedule_ID IS NULL) + -- Schedule defined at BP + OR (o.InvoiceRule='S' AND bp.C_InvoiceSchedule_ID IS NOT NULL AND + ( + -- Daily or none + (si.InvoiceFrequency IS NULL OR si.InvoiceFrequency='D') + -- Weekly + OR (si.InvoiceFrequency='W') + -- Bi-Monthly + OR (si.InvoiceFrequency='T' + AND ((TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff-1 + AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay-1) + OR (TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff+14 + AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay+14)) + ) + -- Monthly + OR (si.InvoiceFrequency='M' + AND TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff-1 -- after cutoff + AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay-1) -- after invoice day + ) + ) + ) +GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID; +/ diff --git a/migration/352a-trunk/296_FR2002744_ForecastReport.sql b/migration/352a-trunk/296_FR2002744_ForecastReport.sql new file mode 100644 index 0000000000..7f07bdd8fa --- /dev/null +++ b/migration/352a-trunk/296_FR2002744_ForecastReport.sql @@ -0,0 +1,2306 @@ + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table SET AD_Window_ID=328, AccessLevel='3', Description='Material Forecast', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Forecast', ReplicationType='L', TableName='M_Forecast',Updated=TO_DATE('2008-06-25 22:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=720 +; + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='UpdatedBy', Description='User who updated this records', EntityType='D', Help='The Updated By field indicates the user who updated this record.', IsActive='Y', Name='Updated By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated By',Updated=TO_DATE('2008-06-25 22:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=608 +; + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608 +; + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_DATE('2008-06-25 22:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=18 +; + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_DATE('2008-06-25 22:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=110 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11904 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='AD_Org_ID', Description='Organizational entity within client', EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', Name='Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Organization',Updated=TO_DATE('2008-06-25 22:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=113 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113 +; + +-- Jun 25, 2008 10:50:49 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_DATE('2008-06-25 22:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=19 +; + +-- Jun 25, 2008 10:50:49 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19 +; + +-- Jun 25, 2008 10:50:49 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11917 +; + +-- Jun 25, 2008 10:50:52 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='C_Calendar_ID', Description='Accounting Calendar Name', EntityType='D', Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', IsActive='Y', Name='Calendar', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Calendar',Updated=TO_DATE('2008-06-25 22:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=190 +; + +-- Jun 25, 2008 10:50:52 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=190 +; + +-- Jun 25, 2008 10:50:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=190, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Calendar_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Accounting Calendar Name', EntityType='D', FieldLength=22, Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Calendar', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11912 +; + +-- Jun 25, 2008 10:50:55 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='C_Year_ID', Description='Calendar Year', EntityType='D', Help='The Year uniquely identifies an accounting year for a calendar.', IsActive='Y', Name='Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Year',Updated=TO_DATE('2008-06-25 22:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=223 +; + +-- Jun 25, 2008 10:50:55 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=223 +; + +-- Jun 25, 2008 10:50:56 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Val_Rule SET Code='C_Year.C_Calendar_ID=@C_Calendar_ID@', Description=NULL, EntityType='D', IsActive='Y', Name='C_Year of Calendar', Type='S',Updated=TO_DATE('2008-06-25 22:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=198 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=223, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=198, Callout=NULL, ColumnName='C_Year_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Calendar Year', EntityType='D', FieldLength=22, Help='The Year uniquely identifies an accounting year for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11909 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Created', Description='Date this record was created', EntityType='D', Help='The Created field indicates the date that this record was created.', IsActive='Y', Name='Created', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created',Updated=TO_DATE('2008-06-25 22:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=245 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_DATE('2008-06-25 22:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=16 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16 +; + +-- Jun 25, 2008 10:50:58 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11907 +; + +-- Jun 25, 2008 10:50:58 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='CreatedBy', Description='User who created this records', EntityType='D', Help='The Created By field indicates the user who created this record.', IsActive='Y', Name='Created By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created By',Updated=TO_DATE('2008-06-25 22:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=246 +; + +-- Jun 25, 2008 10:50:58 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246 +; + +-- Jun 25, 2008 10:50:58 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11906 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Description', Description='Optional short description of the record', EntityType='D', Help='A description is limited to 255 characters.', IsActive='Y', Name='Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Description',Updated=TO_DATE('2008-06-25 22:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=275 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=275 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_DATE('2008-06-25 22:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=10 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11911 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Help', Description='Comment or Hint', EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', IsActive='Y', Name='Comment/Help', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Comment',Updated=TO_DATE('2008-06-25 22:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=326 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=326 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=326, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Help', ColumnSQL=NULL, DefaultValue=NULL, Description='Comment or Hint', EntityType='D', FieldLength=2000, Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Comment/Help', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11905 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='IsActive', Description='The record is active in the system', EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', IsActive='Y', Name='Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Active',Updated=TO_DATE('2008-06-25 22:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=348 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_DATE('2008-06-25 22:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=20 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20 +; + +-- Jun 25, 2008 10:51:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11913 +; + +-- Jun 25, 2008 10:51:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='IsDefault', Description='Default value', EntityType='D', Help='The Default Checkbox indicates if this record will be used as a default value.', IsActive='Y', Name='Default', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Default',Updated=TO_DATE('2008-06-25 22:51:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1103 +; + +-- Jun 25, 2008 10:51:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1103 +; + +-- Jun 25, 2008 10:51:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=1103, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDefault', ColumnSQL=NULL, DefaultValue=NULL, Description='Default value', EntityType='D', FieldLength=1, Help='The Default Checkbox indicates if this record will be used as a default value.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Default', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11915 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_Forecast_ID', Description='Material Forecast', EntityType='D', Help='Material Forecast', IsActive='Y', Name='Forecast', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Forecast',Updated=TO_DATE('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2498 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2498 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_DATE('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=13 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=2498, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_Forecast_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Material Forecast', EntityType='D', FieldLength=22, Help='Material Forecast', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Forecast', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11918 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_PriceList_ID', Description='Unique identifier of a Price List', EntityType='D', Help='Price Lists are used to determine the pricing, margin and cost of items purchased or sold.', IsActive='Y', Name='Price List', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Price List',Updated=TO_DATE('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=449 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=449 +; + +-- Jun 25, 2008 10:51:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56112,449,0,19,720,'M_PriceList_ID',TO_DATE('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),0,'Unique identifier of a Price List','EE01',22,'Price Lists are used to determine the pricing, margin and cost of items purchased or sold.','Y','N','N','N','N','N','N','N','Y','N','Y','Price List',TO_DATE('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56112 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:11 PM CDT +-- Default comment for updating dictionary +ALTER TABLE M_Forecast ADD M_PriceList_ID NUMBER(10) +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='AD_Client_ID', Description='Client/Tenant for this installation.', EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', IsActive='Y', Name='Client', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Client',Updated=TO_DATE('2008-06-25 22:51:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=102 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11910 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Processing', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Process Now', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Process Now',Updated=TO_DATE('2008-06-25 22:51:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=524 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_DATE('2008-06-25 22:51:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=28 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28 +; + +-- Jun 25, 2008 10:51:13 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11916 +; + +-- Jun 25, 2008 10:51:13 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=11916 AND IsCentrallyMaintained='Y' +; + +-- Jun 25, 2008 10:51:13 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Updated', Description='Date this record was updated', EntityType='D', Help='The Updated field indicates the date that this record was updated.', IsActive='Y', Name='Updated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated',Updated=TO_DATE('2008-06-25 22:51:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=607 +; + +-- Jun 25, 2008 10:51:13 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607 +; + +-- Jun 25, 2008 10:51:14 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11914 +; + +-- Jun 25, 2008 10:51:14 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Name', Description='Alphanumeric identifier of the entity', EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', IsActive='Y', Name='Name', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Name',Updated=TO_DATE('2008-06-25 22:51:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=469 +; + +-- Jun 25, 2008 10:51:14 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=469 +; + +-- Jun 25, 2008 10:51:14 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Alphanumeric identifier of the entity', EntityType='D', FieldLength=60, Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Name', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11908 +; + +-- Jun 25, 2008 10:51:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Tab SET AD_Table_ID=720, AD_Window_ID=328, CommitWarning=NULL, Description='Material Forecast', EntityType='D', HasTree='N', Help='Material Forecast', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Forecast', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_DATE('2008-06-25 22:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=653 +; + +-- Jun 25, 2008 10:51:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=653 +; + +-- Jun 25, 2008 10:51:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11918, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Material Forecast', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Material Forecast', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Forecast', SeqNo=10, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10300 +; + +-- Jun 25, 2008 10:51:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11910, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=20, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10293 +; + +-- Jun 25, 2008 10:51:16 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11917, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=30, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10299 +; + +-- Jun 25, 2008 10:51:16 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11908, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=40, SortNo=1,Updated=TO_DATE('2008-06-25 22:51:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10291 +; + +-- Jun 25, 2008 10:51:16 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11911, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=50, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10294 +; + +-- Jun 25, 2008 10:51:17 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11905, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=60, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10290 +; + +-- Jun 25, 2008 10:51:17 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11913, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=70, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10296 +; + +-- Jun 25, 2008 10:51:17 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11915, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Default value', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Default Checkbox indicates if this record will be used as a default value.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Default', SeqNo=80, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10297 +; + +-- Jun 25, 2008 10:51:18 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11912, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Accounting Calendar Name', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Calendar', SeqNo=90, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10295 +; + +-- Jun 25, 2008 10:51:18 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11909, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Calendar Year', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The Year uniquely identifies an accounting year for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Year', SeqNo=100, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10292 +; + +-- Jun 25, 2008 10:51:18 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11916, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=23, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=110, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10298 +; + +-- Jun 25, 2008 10:51:18 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10298 +; + +-- Jun 25, 2008 10:51:19 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table SET AD_Window_ID=328, AccessLevel='3', Description='Forecast Line', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Forecast Line', ReplicationType='L', TableName='M_ForecastLine',Updated=TO_DATE('2008-06-25 22:51:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=722 +; + +-- Jun 25, 2008 10:51:19 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11933 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11937 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='QtyCalculated', Description='Calculated Quantity', EntityType='D', Help=NULL, IsActive='Y', Name='Calculated Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Calculated Qty',Updated=TO_DATE('2008-06-25 22:51:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2500 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2500 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_DATE('2008-06-25 22:51:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=29 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29 +; + +-- Jun 25, 2008 10:51:21 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=2500, AD_Process_ID=NULL, AD_Reference_ID=29, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='QtyCalculated', ColumnSQL=NULL, DefaultValue=NULL, Description='Calculated Quantity', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Calculated Quantity', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11959 +; + +-- Jun 25, 2008 10:51:21 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET Name='Calculated Quantity', Description='Calculated Quantity', Help=NULL WHERE AD_Column_ID=11959 AND IsCentrallyMaintained='Y' +; + +-- Jun 25, 2008 10:51:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56113,1063,0,18,722,'SalesRep_ID',TO_DATE('2008-06-25 22:51:21','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent','EE01',22,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','Y','N','Y','Sales Representative',TO_DATE('2008-06-25 22:51:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56113 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:22 PM CDT +-- Default comment for updating dictionary +ALTER TABLE M_ForecastLine ADD SalesRep_ID NUMBER(10) +; + +-- Jun 25, 2008 10:51:22 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11931 +; + +-- Jun 25, 2008 10:51:23 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11935 +; + +-- Jun 25, 2008 10:51:23 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11932 +; + +-- Jun 25, 2008 10:51:24 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11936 +; + +-- Jun 25, 2008 10:51:24 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11940 +; + +-- Jun 25, 2008 10:51:24 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_ForecastLine_ID', Description='Forecast Line', EntityType='D', Help='Forecast of Product Qyantity by Period', IsActive='Y', Name='Forecast Line', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Forecast Line',Updated=TO_DATE('2008-06-25 22:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2499 +; + +-- Jun 25, 2008 10:51:24 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2499 +; + +-- Jun 25, 2008 10:51:25 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=2499, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_ForecastLine_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Forecast Line', EntityType='D', FieldLength=22, Help='Forecast of Product Qyantity by Period', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Forecast Line', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11942 +; + +-- Jun 25, 2008 10:51:25 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=2498, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_Forecast_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Material Forecast', EntityType='D', FieldLength=22, Help='Material Forecast', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Forecast', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11939 +; + +-- Jun 25, 2008 10:51:25 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Qty', Description='Quantity', EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', IsActive='Y', Name='Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Qty',Updated=TO_DATE('2008-06-25 22:51:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=526 +; + +-- Jun 25, 2008 10:51:25 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526 +; + +-- Jun 25, 2008 10:51:26 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=526, AD_Process_ID=NULL, AD_Reference_ID=29, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Qty', ColumnSQL=NULL, DefaultValue=NULL, Description='Quantity', EntityType='D', FieldLength=22, Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Quantity', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11938 +; + +-- Jun 25, 2008 10:51:26 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='C_Period_ID', Description='Period of the Calendar', EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', IsActive='Y', Name='Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Period',Updated=TO_DATE('2008-06-25 22:51:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=206 +; + +-- Jun 25, 2008 10:51:26 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=206 +; + +-- Jun 25, 2008 10:51:26 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Val_Rule SET Code='C_Period.C_Year_ID=@C_Year_ID@', Description=NULL, EntityType='D', IsActive='Y', Name='C_Period of Year', Type='S',Updated=TO_DATE('2008-06-25 22:51:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=199 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=199, Callout=NULL, ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=22, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Period', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11934 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_Product_ID', Description='Product, Service, Item', EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', IsActive='Y', Name='Product', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product',Updated=TO_DATE('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=454 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=454 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_DATE('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=30 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Val_Rule SET Code='M_Product.IsSummary=''N'' AND M_Product.IsActive=''Y''', Description=NULL, EntityType='D', IsActive='Y', Name='M_Product (Trx)', Type='S',Updated=TO_DATE('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=231 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=454, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=231, Callout=NULL, ColumnName='M_Product_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Product, Service, Item', EntityType='D', FieldLength=22, Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Product', ReadOnlyLogic=NULL, SeqNo=2, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11941 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_Warehouse_ID', Description='Storage Warehouse and Service Point', EntityType='D', Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', IsActive='Y', Name='Warehouse', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Warehouse',Updated=TO_DATE('2008-06-25 22:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=459 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=459 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=459, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_Warehouse_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Storage Warehouse and Service Point', EntityType='EE01', FieldLength=22, Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Warehouse', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53411 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='DatePromised', Description='Date Order was promised', EntityType='D', Help='The Date Promised indicates the date, if any, that an Order was promised for.', IsActive='Y', Name='Date Promised', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Date Promised',Updated=TO_DATE('2008-06-25 22:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=269 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=269 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_DATE('2008-06-25 22:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=15 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15 +; + +-- Jun 25, 2008 10:51:29 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=269, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DatePromised', ColumnSQL=NULL, DefaultValue=NULL, Description='Date Order was promised', EntityType='EE01', FieldLength=7, Help='The Date Promised indicates the date, if any, that an Order was promised for.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Date Promised', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_DATE('2008-06-25 22:51:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53412 +; + +-- Jun 25, 2008 10:51:29 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Tab SET AD_Table_ID=722, AD_Window_ID=328, CommitWarning=NULL, Description='Forecast Line', EntityType='D', HasTree='N', Help='Forecast of Product Qyantity by Period', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Line', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=1, WhereClause=NULL,Updated=TO_DATE('2008-06-25 22:51:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=654 +; + +-- Jun 25, 2008 10:51:29 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=654 +; + +-- Jun 25, 2008 10:51:30 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11942, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Forecast Line', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Forecast of Product Qyantity by Period', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Forecast Line', SeqNo=0, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10302 +; + +-- Jun 25, 2008 10:51:30 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11935, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10304 +; + +-- Jun 25, 2008 10:51:30 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11937, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10305 +; + +-- Jun 25, 2008 10:51:31 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11939, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Material Forecast', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Material Forecast', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Forecast', SeqNo=30, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10307 +; + +-- Jun 25, 2008 10:51:31 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11940, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10308 +; + +-- Jun 25, 2008 10:51:31 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11934, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Period of the Calendar', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Period', SeqNo=50, SortNo=1,Updated=TO_DATE('2008-06-25 22:51:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10303 +; + +-- Jun 25, 2008 10:51:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=53411, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Storage Warehouse and Service Point', DisplayLength=22, DisplayLogic=NULL, EntityType='EE01', Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Warehouse', SeqNo=60, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53638 +; + +-- Jun 25, 2008 10:51:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=53412, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Date Order was promised', DisplayLength=7, DisplayLogic=NULL, EntityType='EE01', Help='The Date Promised indicates the date, if any, that an Order was promised for.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Date Promised', SeqNo=70, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53639 +; + +-- Jun 25, 2008 10:51:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11941, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=80, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10301 +; + +-- Jun 25, 2008 10:51:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11938, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Quantity', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Quantity', SeqNo=90, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10306 +; + +-- Jun 25, 2008 10:51:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11959, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Calculated Quantity', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Calculated Quantity', SeqNo=100, SortNo=0,Updated=TO_DATE('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10310 +; + +-- Jun 25, 2008 10:51:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10310 +; + +-- Jun 25, 2008 10:51:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53142,'3',TO_DATE('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),0,'U','Y','N','N','N','N','N','RV_M_Forecast','L','RV_M_Forecast',TO_DATE('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53142 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Jun 25, 2008 10:51:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53163,TO_DATE('2008-06-25 22:51:34','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table RV_M_Forecast',1,'Y','N','Y','Y','RV_M_Forecast','N',1000000,TO_DATE('2008-06-25 22:51:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:35 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_ReportView (AD_Client_ID,AD_Org_ID,AD_ReportView_ID,AD_Table_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy) VALUES (0,0,53021,53142,TO_DATE('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),0,'Forecast View','EE01','Y','RV_M_Forecast',TO_DATE('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:35 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table SET AD_Window_ID=NULL, AccessLevel='3', Description=NULL, EntityType='EE01', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='Y', Name='Forecast Report', ReplicationType='L', TableName='RV_M_Forecast',Updated=TO_DATE('2008-06-25 22:51:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53142 +; + +-- Jun 25, 2008 10:51:35 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53142 +; + +-- Jun 25, 2008 10:51:36 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56114,469,0,10,53142,'Name',TO_DATE('2008-06-25 22:51:35','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','EE01',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','N','N','N','Y','N','N','Name',1,TO_DATE('2008-06-25 22:51:35','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:36 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56114 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:36 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56115,113,0,19,53142,'AD_Org_ID',TO_DATE('2008-06-25 22:51:36','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','Y','N','N','Organization',TO_DATE('2008-06-25 22:51:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:36 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56115 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:37 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56116,190,0,19,53142,'C_Calendar_ID',TO_DATE('2008-06-25 22:51:36','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Calendar Name','EE01',10,'The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.','Y','N','N','N','N','N','N','N','Y','N','N','Calendar',TO_DATE('2008-06-25 22:51:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:37 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56116 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:37 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56117,206,0,19,53142,'C_Period_ID',TO_DATE('2008-06-25 22:51:37','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar','EE01',10,'The Period indicates an exclusive range of dates for a calendar.','Y','N','N','N','N','N','N','N','Y','N','N','Period',TO_DATE('2008-06-25 22:51:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:37 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56117 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:38 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='C_UOM_ID', Description='Unit of Measure', EntityType='D', Help='The UOM defines a unique non monetary Unit of Measure', IsActive='Y', Name='UOM', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UOM',Updated=TO_DATE('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=215 +; + +-- Jun 25, 2008 10:51:38 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=215 +; + +-- Jun 25, 2008 10:51:38 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56118,215,0,19,53142,'C_UOM_ID',TO_DATE('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure','EE01',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','N','N','N','Y','N','N','UOM',TO_DATE('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:38 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56118 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56119,223,0,19,53142,'C_Year_ID',TO_DATE('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),0,'Calendar Year','EE01',10,'The Year uniquely identifies an accounting year for a calendar.','Y','N','N','N','N','N','N','N','Y','N','N','Year',TO_DATE('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56119 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Classification', Description='Classification for grouping', EntityType='D', Help='The Classification can be used to optionally group products.', IsActive='Y', Name='Classification', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Classification',Updated=TO_DATE('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=852 +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=852 +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56120,852,0,10,53142,'Classification',TO_DATE('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),0,'Classification for grouping','EE01',12,'The Classification can be used to optionally group products.','Y','N','N','N','N','N','N','N','Y','N','N','Classification',TO_DATE('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56120 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:40 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56121,269,0,16,53142,'DatePromised',TO_DATE('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised','EE01',29,'The Date Promised indicates the date, if any, that an Order was promised for.','Y','N','N','N','N','N','N','N','Y','N','N','Date Promised',TO_DATE('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:40 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56121 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:40 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Group1', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Group1', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Group1',Updated=TO_DATE('2008-06-25 22:51:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=52018 +; + +-- Jun 25, 2008 10:51:40 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52018 +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56122,52018,0,10,53142,'Group1',TO_DATE('2008-06-25 22:51:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01',255,'Y','N','N','N','N','N','N','N','Y','N','N','Group1',TO_DATE('2008-06-25 22:51:40','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56122 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Group2', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Group2', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Group2',Updated=TO_DATE('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=52019 +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52019 +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56123,52019,0,10,53142,'Group2',TO_DATE('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),0,'EE01',255,'Y','N','N','N','N','N','N','N','Y','N','N','Group2',TO_DATE('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56123 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56124,2498,0,19,53142,'M_Forecast_ID',TO_DATE('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast','EE01',10,'Material Forecast','Y','N','N','N','N','N','N','N','Y','N','N','Forecast',TO_DATE('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56124 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_Product_Category_ID', Description='Category of a Product', EntityType='D', Help='Identifies the category which this product belongs to. Product categories are used for pricing and selection.', IsActive='Y', Name='Product Category', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Category',Updated=TO_DATE('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=453 +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=453 +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56125,453,0,19,53142,'M_Product_Category_ID',TO_DATE('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),0,'Category of a Product','EE01',10,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','N','N','N','N','N','N','N','Y','N','N','Product Category',TO_DATE('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56125 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56126,454,0,19,53142,'M_Product_ID',TO_DATE('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','N','Product',TO_DATE('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56126 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='PriceLimit', Description='Lowest price for a product', EntityType='D', Help='The Price Limit indicates the lowest price for a product stated in the Price List Currency.', IsActive='Y', Name='Limit Price', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Limit Price',Updated=TO_DATE('2008-06-25 22:51:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=955 +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=955 +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Float Number', EntityType='D', Help=NULL, IsActive='Y', Name='Number', ValidationType='D',Updated=TO_DATE('2008-06-25 22:51:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=22 +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=22 +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56127,955,0,22,53142,'PriceLimit',TO_DATE('2008-06-25 22:51:43','YYYY-MM-DD HH24:MI:SS'),0,'Lowest price for a product','EE01',131089,'The Price Limit indicates the lowest price for a product stated in the Price List Currency.','Y','N','N','N','N','N','N','N','Y','N','N','Limit Price',TO_DATE('2008-06-25 22:51:43','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56127 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='PriceList', Description='List Price', EntityType='D', Help='The List Price is the official List Price in the document currency.', IsActive='Y', Name='List Price', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='List Price',Updated=TO_DATE('2008-06-25 22:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=520 +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=520 +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56128,520,0,22,53142,'PriceList',TO_DATE('2008-06-25 22:51:44','YYYY-MM-DD HH24:MI:SS'),0,'List Price','EE01',131089,'The List Price is the official List Price in the document currency.','Y','N','N','N','N','N','N','N','Y','N','N','List Price',TO_DATE('2008-06-25 22:51:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56128 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='PriceStd', Description='Standard Price', EntityType='D', Help='The Standard Price indicates the standard or normal price for a product on this price list', IsActive='Y', Name='Standard Price', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Std Price',Updated=TO_DATE('2008-06-25 22:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=957 +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=957 +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56129,957,0,22,53142,'PriceStd',TO_DATE('2008-06-25 22:51:45','YYYY-MM-DD HH24:MI:SS'),0,'Standard Price','EE01',131089,'The Standard Price indicates the standard or normal price for a product on this price list','Y','N','N','N','N','N','N','N','Y','N','N','Standard Price',TO_DATE('2008-06-25 22:51:45','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56129 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56130,526,0,29,53142,'Qty',TO_DATE('2008-06-25 22:51:45','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',131089,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','N','N','N','Y','N','N','Quantity',TO_DATE('2008-06-25 22:51:45','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56130 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56131,2500,0,29,53142,'QtyCalculated',TO_DATE('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),0,'Calculated Quantity','EE01',131089,'Y','N','N','N','N','N','N','N','Y','N','N','Calculated Quantity',TO_DATE('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56131 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Sales Representative', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User - SalesRep', ValidationType='T',Updated=TO_DATE('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=190 +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=190 +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'EXISTS (SELECT * FROM C_BPartner bp WHERE AD_User.C_BPartner_ID=bp.C_BPartner_ID AND bp.IsSalesRep=''Y'') +' WHERE AD_Reference_ID = 190 +; + +-- Jun 25, 2008 10:51:47 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56132,1063,0,18,190,53142,'SalesRep_ID',TO_DATE('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent','EE01',10,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','Y','N','N','Sales Representative',TO_DATE('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:47 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56132 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:48 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56133,102,0,19,53142,'AD_Client_ID',TO_DATE('2008-06-25 22:51:47','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','N','N','N','Y','N','N','Client',TO_DATE('2008-06-25 22:51:47','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:48 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56133 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:49 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53653,0,'total',TO_DATE('2008-06-25 22:51:48','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','total','total',TO_DATE('2008-06-25 22:51:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:49 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53653 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 25, 2008 10:51:49 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56134,53653,0,22,53142,'total',TO_DATE('2008-06-25 22:51:49','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','Y','N','N','total',TO_DATE('2008-06-25 22:51:49','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:49 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56134 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:50 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormat (AD_Client_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFont_ID,AD_PrintFormat_ID,AD_PrintPaper_ID,AD_ReportView_ID,AD_Table_ID,CreateCopy,Created,CreatedBy,FooterMargin,HeaderMargin,IsActive,IsDefault,IsForm,IsStandardHeaderFooter,IsTableBased,Name,Updated,UpdatedBy) VALUES (0,0,100,130,50032,100,53021,53142,NULL,TO_DATE('2008-06-25 22:51:49','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y','N','N','Y','Y','Forecast Report',TO_DATE('2008-06-25 22:51:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:50 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56133,0,50788,50032,0,0,TO_DATE('2008-06-25 22:51:50','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Compañía','C','F','Compañía',0,0,'N',0,TO_DATE('2008-06-25 22:51:50','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:51 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50788 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:51 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56115,0,50789,50032,0,0,TO_DATE('2008-06-25 22:51:51','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Organización','C','F','Organización',0,0,'N',0,TO_DATE('2008-06-25 22:51:51','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:51 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50789 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:52 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56114,0,50790,50032,0,0,TO_DATE('2008-06-25 22:51:51','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','Y','N','Y','Y','N','N','N','N','N','X',1,0,0,'Nombre','C','F','Nombre',0,1,'N',1,TO_DATE('2008-06-25 22:51:51','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:52 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50790 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56131,0,50791,50032,0,0,TO_DATE('2008-06-25 22:51:52','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Cantidad Calculada','C','F','Cantidad Calculada',0,2,'N',0,TO_DATE('2008-06-25 22:51:52','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50791 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56116,0,50792,50032,0,0,TO_DATE('2008-06-25 22:51:53','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Calendario','C','F','Calendario',0,3,'N',0,TO_DATE('2008-06-25 22:51:53','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50792 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56120,0,50793,50032,0,0,TO_DATE('2008-06-25 22:51:53','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Línea de Producto','C','F','Línea de Producto',0,4,'N',0,TO_DATE('2008-06-25 22:51:53','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50793 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:54 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56121,0,50794,50032,0,0,TO_DATE('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Fecha Prometida','C','F','F. Prometida',0,6,'N',0,TO_DATE('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:54 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50794 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:54 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56124,0,50795,50032,0,0,TO_DATE('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Pronóstico','C','F','Pronóstico',0,7,'N',0,TO_DATE('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:54 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50795 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56122,0,50796,50032,0,0,TO_DATE('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Group1','C','F','Group1',0,8,'N',0,TO_DATE('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50796 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56123,0,50797,50032,0,0,TO_DATE('2008-06-25 22:51:55','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Group2','C','F','Group2',0,9,'N',0,TO_DATE('2008-06-25 22:51:55','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50797 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:56 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56127,0,50798,50032,0,0,TO_DATE('2008-06-25 22:51:55','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Precio Límite','C','F','Precio Límite',0,10,'N',0,TO_DATE('2008-06-25 22:51:55','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:56 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50798 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:56 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56128,0,50799,50032,0,0,TO_DATE('2008-06-25 22:51:56','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Precio de Lista','C','F','Precio de Lista',0,11,'N',0,TO_DATE('2008-06-25 22:51:56','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:56 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50799 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:57 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56117,0,50800,50032,0,0,TO_DATE('2008-06-25 22:51:56','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Período','C','F','Período',0,13,'N',0,TO_DATE('2008-06-25 22:51:56','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:57 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50800 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:57 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56126,0,50801,50032,0,0,TO_DATE('2008-06-25 22:51:57','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Producto','C','F','Producto',0,14,'N',0,TO_DATE('2008-06-25 22:51:57','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:57 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50801 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:58 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56125,0,50802,50032,0,0,TO_DATE('2008-06-25 22:51:57','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Categoría del Producto','C','F','Categoría del Producto',0,15,'N',0,TO_DATE('2008-06-25 22:51:57','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:58 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50802 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:58 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56130,0,50803,50032,0,0,TO_DATE('2008-06-25 22:51:58','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Cantidad','C','F','Cantidad',0,16,'N',0,TO_DATE('2008-06-25 22:51:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:58 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50803 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:59 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56129,0,50804,50032,0,0,TO_DATE('2008-06-25 22:51:58','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Precio Estándar','C','F','Precio Estándar',0,17,'N',0,TO_DATE('2008-06-25 22:51:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:59 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50804 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:59 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56118,0,50805,50032,0,0,TO_DATE('2008-06-25 22:51:59','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'UM','C','F','UM',0,18,'N',0,TO_DATE('2008-06-25 22:51:59','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:59 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50805 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:00 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56119,0,50806,50032,0,0,TO_DATE('2008-06-25 22:51:59','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Año','C','F','Año',0,19,'N',0,TO_DATE('2008-06-25 22:51:59','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:00 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50806 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:00 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56134,0,50807,50032,0,0,TO_DATE('2008-06-25 22:52:00','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'total','C','F','total',0,20,'N',0,TO_DATE('2008-06-25 22:52:00','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:00 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50807 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:01 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_ReportView_ID,AccessLevel,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53144,53021,'3',TO_DATE('2008-06-25 22:52:00','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Report','EE01','Forecast Report','Y','N','N','Y','Forecast Report','Y',0,0,TO_DATE('2008-06-25 22:52:00','YYYY-MM-DD HH24:MI:SS'),0,'RV_M_Forecast',NULL) +; + +-- Jun 25, 2008 10:52:01 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53144 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Jun 25, 2008 10:52:02 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,409,0,53144,53186,18,190,'SalesRep_ID',TO_DATE('2008-06-25 22:52:01','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','SalesRep_ID',60,TO_DATE('2008-06-25 22:52:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:02 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53186 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:02 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,269,0,53144,53187,15,'DatePromised',TO_DATE('2008-06-25 22:52:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01',8,'Y','Y','N','Y','DatePromised',80,TO_DATE('2008-06-25 22:52:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:02 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53187 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53144,53188,19,'M_Product_Category_ID',TO_DATE('2008-06-25 22:52:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','M_Product_Category_ID',50,TO_DATE('2008-06-25 22:52:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53188 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53144,53189,19,'M_Product_ID',TO_DATE('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','M_Product_ID',70,TO_DATE('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53189 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Val_Rule SET Code='EXISTS (SELECT * FROM C_Year y WHERE C_Period.C_Year_ID=y.C_Year_ID AND y.C_Calendar_ID=@C_Calendar_ID@)', Description=NULL, EntityType='D', IsActive='Y', Name='C_Period of Calendar', Type='S',Updated=TO_DATE('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=217 +; + +-- Jun 25, 2008 10:52:04 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,206,0,53144,53190,19,217,'C_Period_ID',TO_DATE('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','C_Period_ID',40,TO_DATE('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:04 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53190 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:04 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,223,0,53144,53191,19,198,'C_Year_ID',TO_DATE('2008-06-25 22:52:04','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','C_Year_ID',30,TO_DATE('2008-06-25 22:52:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:04 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53191 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:05 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,190,0,53144,53192,19,'C_Calendar_ID',TO_DATE('2008-06-25 22:52:04','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','C_Calendar_ID',20,TO_DATE('2008-06-25 22:52:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:05 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53192 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:05 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2498,0,53144,53193,19,'M_Forecast_ID',TO_DATE('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','M_Forecast_ID',10,TO_DATE('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:05 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53193 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:06 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53143,'3',TO_DATE('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0,'U','Y','N','N','N','N','N','RV_M_Forecast_Period','L','RV_M_Forecast_Period',TO_DATE('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:06 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53143 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Jun 25, 2008 10:52:07 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53164,TO_DATE('2008-06-25 22:52:06','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table RV_M_Forecast_Period',1,'Y','N','Y','Y','RV_M_Forecast_Period','N',1000000,TO_DATE('2008-06-25 22:52:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:07 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_ReportView (AD_Client_ID,AD_Org_ID,AD_ReportView_ID,AD_Table_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy) VALUES (0,0,53022,53143,TO_DATE('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0,'Forecast for Period View','EE01','Y','RV_M_Forecast_Period',TO_DATE('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:07 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table SET AD_Window_ID=NULL, AccessLevel='3', Description=NULL, EntityType='EE01', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='Y', Name='Forecast Report for Period', ReplicationType='L', TableName='RV_M_Forecast_Period',Updated=TO_DATE('2008-06-25 22:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53143 +; + +-- Jun 25, 2008 10:52:07 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53143 +; + +-- Jun 25, 2008 10:52:08 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56135,102,0,19,53143,'AD_Client_ID',TO_DATE('2008-06-25 22:52:07','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','N','N','N','Y','N','N','Client',TO_DATE('2008-06-25 22:52:07','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:08 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56135 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:09 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56136,113,0,19,53143,'AD_Org_ID',TO_DATE('2008-06-25 22:52:08','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','Y','N','N','Organization',TO_DATE('2008-06-25 22:52:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:09 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56136 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:09 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56137,190,0,19,53143,'C_Calendar_ID',TO_DATE('2008-06-25 22:52:09','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Calendar Name','EE01',10,'The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.','Y','N','N','N','N','N','N','N','Y','N','N','Calendar',TO_DATE('2008-06-25 22:52:09','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:09 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56137 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:10 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56138,206,0,19,53143,'C_Period_ID',TO_DATE('2008-06-25 22:52:09','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar','EE01',10,'The Period indicates an exclusive range of dates for a calendar.','Y','N','N','N','N','N','N','N','Y','N','N','Period',TO_DATE('2008-06-25 22:52:09','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:10 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56138 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:10 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56139,215,0,19,53143,'C_UOM_ID',TO_DATE('2008-06-25 22:52:10','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure','EE01',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','N','N','N','Y','N','N','UOM',TO_DATE('2008-06-25 22:52:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:10 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56139 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56140,223,0,19,53143,'C_Year_ID',TO_DATE('2008-06-25 22:52:10','YYYY-MM-DD HH24:MI:SS'),0,'Calendar Year','EE01',10,'The Year uniquely identifies an accounting year for a calendar.','Y','N','N','N','N','N','N','N','Y','N','N','Year',TO_DATE('2008-06-25 22:52:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56140 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56141,2498,0,19,53143,'M_Forecast_ID',TO_DATE('2008-06-25 22:52:11','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast','EE01',10,'Material Forecast','Y','N','N','N','N','N','N','N','Y','N','N','Forecast',TO_DATE('2008-06-25 22:52:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56141 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:12 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56142,453,0,19,53143,'M_Product_Category_ID',TO_DATE('2008-06-25 22:52:11','YYYY-MM-DD HH24:MI:SS'),0,'Category of a Product','EE01',10,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','N','N','N','N','N','N','N','Y','N','N','Product Category',TO_DATE('2008-06-25 22:52:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:12 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56142 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56143,454,0,19,53143,'M_Product_ID',TO_DATE('2008-06-25 22:52:12','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','N','Product',TO_DATE('2008-06-25 22:52:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56143 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56144,526,0,29,53143,'Qty',TO_DATE('2008-06-25 22:52:13','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',131089,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','N','N','N','Y','N','N','Quantity',TO_DATE('2008-06-25 22:52:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56144 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56145,2500,0,29,53143,'QtyCalculated',TO_DATE('2008-06-25 22:52:13','YYYY-MM-DD HH24:MI:SS'),0,'Calculated Quantity','EE01',131089,'Y','N','N','N','N','N','N','N','Y','N','N','Calculated Quantity',TO_DATE('2008-06-25 22:52:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56145 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:14 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56146,1063,0,18,190,53143,'SalesRep_ID',TO_DATE('2008-06-25 22:52:14','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent','EE01',10,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','Y','N','N','Sales Representative',TO_DATE('2008-06-25 22:52:14','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:14 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56146 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:15 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53654,0,'max',TO_DATE('2008-06-25 22:52:14','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','max','max',TO_DATE('2008-06-25 22:52:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:15 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53654 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 25, 2008 10:52:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Text', ValidationType='D',Updated=TO_DATE('2008-06-25 22:52:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=14 +; + +-- Jun 25, 2008 10:52:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=14 +; + +-- Jun 25, 2008 10:52:16 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56147,53654,0,14,53143,'max',TO_DATE('2008-06-25 22:52:15','YYYY-MM-DD HH24:MI:SS'),0,'EE01',2147483647,'Y','N','N','N','N','N','N','N','Y','N','N','max',TO_DATE('2008-06-25 22:52:15','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:16 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56147 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:16 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56148,53653,0,22,53143,'total',TO_DATE('2008-06-25 22:52:16','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','Y','N','N','total',TO_DATE('2008-06-25 22:52:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:16 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56148 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:17 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormat (AD_Client_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFont_ID,AD_PrintFormat_ID,AD_PrintPaper_ID,AD_ReportView_ID,AD_Table_ID,CreateCopy,Created,CreatedBy,FooterMargin,HeaderMargin,IsActive,IsDefault,IsForm,IsStandardHeaderFooter,IsTableBased,Name,Updated,UpdatedBy) VALUES (0,0,100,130,50033,100,53022,53143,NULL,TO_DATE('2008-06-25 22:52:16','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y','N','N','Y','Y','Forecast Report by Period',TO_DATE('2008-06-25 22:52:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:17 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56135,0,50808,50033,0,0,TO_DATE('2008-06-25 22:52:17','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Client','C','F','Client',0,0,'N',0,TO_DATE('2008-06-25 22:52:17','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:17 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50808 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:18 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56136,0,50809,50033,0,0,TO_DATE('2008-06-25 22:52:17','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Organization','C','F','Organization',0,0,'N',0,TO_DATE('2008-06-25 22:52:17','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:18 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50809 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:18 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56145,0,50810,50033,0,0,TO_DATE('2008-06-25 22:52:18','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Calculated Quantity','C','F','Calculated Qty',0,1,'N',0,TO_DATE('2008-06-25 22:52:18','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:18 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50810 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:19 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56137,0,50811,50033,0,0,TO_DATE('2008-06-25 22:52:18','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Calendar','C','F','Calendar',0,2,'N',0,TO_DATE('2008-06-25 22:52:18','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:19 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50811 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:19 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56141,0,50812,50033,0,0,TO_DATE('2008-06-25 22:52:19','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Forecast','C','F','Forecast',0,4,'N',0,TO_DATE('2008-06-25 22:52:19','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:20 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50812 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:20 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56138,0,50813,50033,0,0,TO_DATE('2008-06-25 22:52:20','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Period','C','F','Period',0,6,'N',0,TO_DATE('2008-06-25 22:52:20','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:20 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50813 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:21 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56143,0,50814,50033,0,0,TO_DATE('2008-06-25 22:52:20','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Product','C','F','Product',0,7,'N',0,TO_DATE('2008-06-25 22:52:20','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:21 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50814 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:21 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56142,0,50815,50033,0,0,TO_DATE('2008-06-25 22:52:21','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Product Category','C','F','Product Category',0,8,'N',0,TO_DATE('2008-06-25 22:52:21','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:21 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50815 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56144,0,50816,50033,0,0,TO_DATE('2008-06-25 22:52:21','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Quantity','C','F','Qty',0,9,'N',0,TO_DATE('2008-06-25 22:52:21','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50816 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56139,0,50817,50033,0,0,TO_DATE('2008-06-25 22:52:22','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'UOM','C','F','UOM',0,10,'N',0,TO_DATE('2008-06-25 22:52:22','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50817 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:23 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56140,0,50818,50033,0,0,TO_DATE('2008-06-25 22:52:22','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Year','C','F','Year',0,11,'N',0,TO_DATE('2008-06-25 22:52:22','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:23 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50818 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:23 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56147,0,50819,50033,0,0,TO_DATE('2008-06-25 22:52:23','YYYY-MM-DD HH24:MI:SS'),0,'B','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'max','C','F','max',0,12,'N',0,TO_DATE('2008-06-25 22:52:23','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:23 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50819 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:24 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56148,0,50820,50033,0,0,TO_DATE('2008-06-25 22:52:23','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'total','C','F','total',0,13,'N',0,TO_DATE('2008-06-25 22:52:23','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:24 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50820 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:25 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_ReportView_ID,AccessLevel,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53146,53022,'3',TO_DATE('2008-06-25 22:52:24','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Report by Period','EE01','Forecast Report by Period','Y','N','N','Y','Forecast Report by Period','Y',0,0,TO_DATE('2008-06-25 22:52:24','YYYY-MM-DD HH24:MI:SS'),0,'RV_M_Forecast_Period',NULL) +; + +-- Jun 25, 2008 10:52:25 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53146 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Jun 25, 2008 10:52:26 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,409,0,53146,53194,18,190,'SalesRep_ID',TO_DATE('2008-06-25 22:52:25','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','SalesRep_ID',70,TO_DATE('2008-06-25 22:52:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:26 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53194 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:27 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53146,53195,19,'M_Product_ID',TO_DATE('2008-06-25 22:52:26','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','M_Product_ID',60,TO_DATE('2008-06-25 22:52:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:27 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53195 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:27 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53146,53196,19,'M_Product_Category_ID',TO_DATE('2008-06-25 22:52:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','M_Product_Category_ID',50,TO_DATE('2008-06-25 22:52:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:27 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53196 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,206,0,53146,53197,19,217,'C_Period_ID',TO_DATE('2008-06-25 22:52:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','C_Period_ID',40,TO_DATE('2008-06-25 22:52:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53197 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,223,0,53146,53198,19,198,'C_Year_ID',TO_DATE('2008-06-25 22:52:28','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','C_Year_ID',30,TO_DATE('2008-06-25 22:52:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53198 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,190,0,53146,53199,19,'C_Calendar_ID',TO_DATE('2008-06-25 22:52:28','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','C_Calendar_ID',20,TO_DATE('2008-06-25 22:52:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53199 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:29 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2498,0,53146,53200,19,'M_Forecast_ID',TO_DATE('2008-06-25 22:52:29','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','M_Forecast_ID',10,TO_DATE('2008-06-25 22:52:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:29 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53200 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:30 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53148,'3','@script:beanshell:',TO_DATE('2008-06-25 22:52:29','YYYY-MM-DD HH24:MI:SS'),0,'Calculate Forecast','EE01','Calculate Forecast','Y','N','N','Y','Calculate Forecast','Y',0,0,TO_DATE('2008-06-25 22:52:29','YYYY-MM-DD HH24:MI:SS'),0,'M_Forecast Calculate',NULL) +; + +-- Jun 25, 2008 10:52:30 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53148 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Jun 25, 2008 10:52:30 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52028,'EventType=''P''',TO_DATE('2008-06-25 22:52:30','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','AD_Rule EventType is Process','S',TO_DATE('2008-06-25 22:52:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:31 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53332,0,53148,53201,19,52028,'AD_Rule_ID',TO_DATE('2008-06-25 22:52:30','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','AD_Rule',20,TO_DATE('2008-06-25 22:52:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:31 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53201 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:31 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2498,0,53148,53202,19,'M_Forecast_ID',TO_DATE('2008-06-25 22:52:31','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','M_Forecast_ID',10,TO_DATE('2008-06-25 22:52:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:31 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53202 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:32 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53180,0,TO_DATE('2008-06-25 22:52:31','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','N','Y','Forecast Management',TO_DATE('2008-06-25 22:52:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:32 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53180 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Jun 25, 2008 10:52:32 PM CDT +-- Default comment for updating dictionary +Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53029,2, 10, 53180) +; + +-- Jun 25, 2008 10:52:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TREENODEMM SET Parent_ID = 53180 , SeqNo = 1 WHERE AD_Tree_ID = 10 AND Node_ID = 478 +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Menu SET AD_Process_ID=53144, Action='R', Description='Forecast Report', EntityType='EE01', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Forecast',Updated=TO_DATE('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=478 +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=478 +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TREENODEMM SET Parent_ID = 53180 , SeqNo = 2 WHERE AD_Tree_ID = 10 AND Node_ID = 478 +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53181,0,53146,'R',TO_DATE('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),0,'Forecast per Period','EE01','Y','N','N','N','Forecast per Period',TO_DATE('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53181 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53180,3, 10, 53181) +; + +-- Jun 25, 2008 10:52:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53182,0,53148,'P',TO_DATE('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),0,'Calculate Forecast','EE01','Y','N','N','N','Calculate Forecast',TO_DATE('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53182 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Jun 25, 2008 10:52:34 PM CDT +-- Default comment for updating dictionary +Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53180,0, 10, 53182) +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53182 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=478 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53181 +; + +-- Jun 25, 2008 10:56:40 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Menu SET AD_Process_ID=NULL, Action='W', Description='Forecast',Updated=TO_DATE('2008-06-25 22:56:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=478 +; + +-- Jun 25, 2008 10:56:40 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=478 +; + +-- Jun 25, 2008 10:57:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53183,0,53144,'R',TO_DATE('2008-06-25 22:57:55','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Report','EE01','Y','N','N','N','Forecast Report',TO_DATE('2008-06-25 22:57:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:57:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53183 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Jun 25, 2008 10:57:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53183, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53183) +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53182 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=478 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53183 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53181 +; + +-- Jun 25, 2008 10:59:06 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56113,56277,0,654,TO_DATE('2008-06-25 22:59:05','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent',22,'EE01','The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','Y','Y','N','N','N','N','N','Sales Representative',TO_DATE('2008-06-25 22:59:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:59:06 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56277 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Jun 25, 2008 11:01:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56277 +; + +-- Jun 25, 2008 11:01:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=10306 +; + +-- Jun 25, 2008 11:01:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10310 +; + +-- Jun 25, 2008 11:01:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-06-25 23:01:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56277 +; + +-- Jun 25, 2008 11:01:48 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56112,56278,0,653,TO_DATE('2008-06-25 23:01:48','YYYY-MM-DD HH24:MI:SS'),0,'Unique identifier of a Price List',22,'EE01','Price Lists are used to determine the pricing, margin and cost of items purchased or sold.','Y','Y','Y','N','N','N','N','N','Price List',TO_DATE('2008-06-25 23:01:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 11:01:48 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56278 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10300 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=10293 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=10299 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=10291 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=10294 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10290 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10296 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=10297 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56278 +; + +-- Jun 25, 2008 11:02:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-06-25 23:02:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56278 +; diff --git a/migration/352a-trunk/297_FR2002744_ForecastFix.sql b/migration/352a-trunk/297_FR2002744_ForecastFix.sql new file mode 100644 index 0000000000..495741b7c2 --- /dev/null +++ b/migration/352a-trunk/297_FR2002744_ForecastFix.sql @@ -0,0 +1,450 @@ +-- Jul 8, 2008 6:53:30 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para SET Description='Material Forecast', Name='Forecast',Updated=TO_DATE('2008-07-08 18:53:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202 +; + +-- Jul 8, 2008 6:53:30 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53202 +; + +-- Jul 8, 2008 6:53:47 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET Name='Pronostico',Description='Pronostico de Venta',Updated=TO_DATE('2008-07-08 18:53:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202 AND AD_Language='es_MX' +; + +-- Jul 8, 2008 6:53:50 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Updated=TO_DATE('2008-07-08 18:53:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202 AND AD_Language='es_MX' +; + +-- Jul 8, 2008 6:54:06 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para SET Name='Rule',Updated=TO_DATE('2008-07-08 18:54:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53201 +; + +-- Jul 8, 2008 6:54:06 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53201 +; + +-- Jul 8, 2008 6:54:33 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Regla de C�lculo',Updated=TO_DATE('2008-07-08 18:54:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53201 AND AD_Language='es_MX' +; + +-- Jul 8, 2008 7:02:10 PM CDT +-- Forecast +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53148,53209,19,'M_Product_Category_ID',TO_DATE('2008-07-08 19:01:47','YYYY-MM-DD HH24:MI:SS'),0,'Category of a Product','EE01',22,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','N','N','Product Category',30,TO_DATE('2008-07-08 19:01:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jul 8, 2008 7:02:10 PM CDT +-- Forecast +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53209 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jul 8, 2008 7:03:14 PM CDT +-- Forecast +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53148,53210,30,'M_Product_ID',TO_DATE('2008-07-08 19:03:12','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',22,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','Product',40,TO_DATE('2008-07-08 19:03:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jul 8, 2008 7:03:14 PM CDT +-- Forecast +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53210 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jul 8, 2008 7:04:08 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Material Forecast', Help='Material Forecast', Name='Forecast',Updated=TO_DATE('2008-07-08 19:04:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53193 +; + +-- Jul 8, 2008 7:04:08 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53193 +; + +-- Jul 8, 2008 7:04:22 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Pronostico',Description='Pronostico',Updated=TO_DATE('2008-07-08 19:04:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53193 AND AD_Language='es_MX' +; + +-- Jul 8, 2008 7:04:51 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Accounting Calendar Name', Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', Name='Calendar',Updated=TO_DATE('2008-07-08 19:04:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53192 +; + +-- Jul 8, 2008 7:04:51 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53192 +; + +-- Jul 8, 2008 7:05:27 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Calendar Year', Help='The Year uniquely identifies an accounting year for a calendar.', Name='Year',Updated=TO_DATE('2008-07-08 19:05:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53191 +; + +-- Jul 8, 2008 7:05:27 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53191 +; + +-- Jul 8, 2008 7:05:55 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Period of the Calendar', Help='The Period indicates an exclusive range of dates for a calendar.', Name='Period',Updated=TO_DATE('2008-07-08 19:05:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53190 +; + +-- Jul 8, 2008 7:05:55 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53190 +; + +-- Jul 8, 2008 7:06:18 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Category of a Product', Help='Identifies the category which this product belongs to. Product categories are used for pricing and selection.', Name='Product Category',Updated=TO_DATE('2008-07-08 19:06:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53188 +; + +-- Jul 8, 2008 7:06:18 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53188 +; + +-- Jul 8, 2008 7:07:13 PM CDT +-- Forecast +UPDATE AD_Process_Para SET AD_Element_ID=1063, Description='Sales Representative or Company Agent', Help='The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.', Name='Sales Representative',Updated=TO_DATE('2008-07-08 19:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53186 +; + +-- Jul 8, 2008 7:07:13 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53186 +; + +-- Jul 8, 2008 7:07:38 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.', Name='Product',Updated=TO_DATE('2008-07-08 19:07:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53189 +; + +-- Jul 8, 2008 7:07:38 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53189 +; + +-- Jul 8, 2008 7:08:02 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Date Order was promised', Help='The Date Promised indicates the date, if any, that an Order was promised for.', Name='Date Promised',Updated=TO_DATE('2008-07-08 19:08:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53187 +; + +-- Jul 8, 2008 7:08:02 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53187 +; + +-- Jul 8, 2008 7:10:35 PM CDT +-- Forecast +UPDATE AD_Column SET AD_Element_ID=1539, ColumnName='TotalAmt', Description='Total Amount', FieldLength=10, Help='The Total Amount indicates the total document amount.', Name='Total Amount',Updated=TO_DATE('2008-07-08 19:10:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56134 +; + +-- Jul 8, 2008 7:10:35 PM CDT +-- Forecast +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56134 +; + +-- Jul 8, 2008 7:10:35 PM CDT +-- Forecast +UPDATE AD_Field SET Name='Total Amount', Description='Total Amount', Help='The Total Amount indicates the total document amount.' WHERE AD_Column_ID=56134 AND IsCentrallyMaintained='Y' +; + +-- Jul 8, 2008 7:11:32 PM CDT +-- Forecast +UPDATE AD_Column SET AD_Element_ID=1539, ColumnName='TotalAmt', Description='Total Amount', Help='The Total Amount indicates the total document amount.', Name='Total Amount',Updated=TO_DATE('2008-07-08 19:11:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148 +; + +-- Jul 8, 2008 7:11:32 PM CDT +-- Forecast +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56148 +; + +-- Jul 8, 2008 7:11:32 PM CDT +-- Forecast +UPDATE AD_Field SET Name='Total Amount', Description='Total Amount', Help='The Total Amount indicates the total document amount.' WHERE AD_Column_ID=56148 AND IsCentrallyMaintained='Y' +; + +-- Jul 8, 2008 7:59:40 PM CDT +-- Forecast +UPDATE AD_Column SET AD_Element_ID=469, ColumnName='Name', Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', Name='Name',Updated=TO_DATE('2008-07-08 19:59:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56147 +; + +-- Jul 8, 2008 7:59:40 PM CDT +-- Forecast +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56147 +; + +-- Jul 8, 2008 7:59:40 PM CDT +-- Forecast +UPDATE AD_Field SET Name='Name', Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.' WHERE AD_Column_ID=56147 AND IsCentrallyMaintained='Y' +; + + + +-- Jul 9, 2008 10:48:20 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-09 10:48:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56144 +; + +-- Jul 9, 2008 10:48:36 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-09 10:48:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56145 +; + +-- Jul 9, 2008 10:48:47 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=60,Updated=TO_DATE('2008-07-09 10:48:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56147 +; + +-- Jul 9, 2008 10:48:53 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-07-09 10:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148 +; + +-- Jul 9, 2008 10:49:12 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=10,Updated=TO_DATE('2008-07-09 10:49:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148 +; + +-- Jul 9, 2008 10:49:51 AM CDT +-- Forecast +DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56142 +; + +-- Jul 9, 2008 10:49:51 AM CDT +-- Forecast +DELETE FROM AD_Column WHERE AD_Column_ID=56142 +; + +-- Jul 9, 2008 10:58:32 AM CDT +-- Forecast +DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56146 +; + +-- Jul 9, 2008 10:58:32 AM CDT +-- Forecast +DELETE FROM AD_Column WHERE AD_Column_ID=56146 +; + +-- Jul 9, 2008 11:30:19 AM CDT +-- Forecast +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53196 +; + +-- Jul 9, 2008 11:30:19 AM CDT +-- Forecast +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53196 +; + +-- Jul 9, 2008 11:30:29 AM CDT +-- Forecast +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53194 +; + +-- Jul 9, 2008 11:30:29 AM CDT +-- Forecast +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53194 +; + + +-- Jul 8, 2008 7:59:52 PM CDT +-- Forecast +DELETE FROM AD_Element_Trl WHERE AD_Element_ID=53653 +; + +-- Jul 8, 2008 7:59:52 PM CDT +-- Forecast +DELETE FROM AD_Element WHERE AD_Element_ID=53653 +; + + +-- Jul 8, 2008 7:59:46 PM CDT +-- Forecast +DELETE FROM AD_Element_Trl WHERE AD_Element_ID=53654 +; + + +-- Jul 8, 2008 7:59:46 PM CDT +-- Forecast +DELETE FROM AD_Element WHERE AD_Element_ID=53654 +; + +CREATE OR REPLACE VIEW RV_M_Forecast AS +SELECT +f.AD_Client_ID , +fl.AD_Org_ID, +f.M_Forecast_ID , +f.Name , +f.C_Calendar_ID , +f.C_Year_ID , +fl.C_Period_ID, +fl.DatePromised, +fl.M_Product_ID , +fl.SalesRep_ID, +p.C_UOM_ID, +fl.Qty, +fl.QtyCalculated, + (SELECT pp.PriceList FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID) + AS PriceList, + (SELECT pp.PriceStd FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID) + AS PriceStd, + (SELECT pp.PriceLimit FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID) + AS PriceLimit, + (SELECT pp.PriceStd FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID) + * fl.Qty AS TotalAmt, + p.M_Product_Category_ID, + p.Classification, + p.Group1, + p.Group2 + FROM M_Forecast f + INNER JOIN M_ForecastLine fl ON (f.M_Forecast_ID = fl.M_Forecast_ID) + INNER JOIN M_Product p ON (p.M_Product_ID=fl.M_Product_ID) + INNER JOIN M_PriceList pl ON (pl.M_PriceList_ID=f.M_PriceList_ID); + +CREATE OR REPLACE VIEW RV_M_Forecast_Period AS +SELECT AD_Client_ID , +AD_Org_ID, +M_Forecast_ID , +MAX(Name) AS Name, +C_Calendar_ID , +C_Year_ID , +C_Period_ID, +M_Product_ID , +C_UOM_ID, +SUM(Qty) AS Qty, +SUM(QtyCalculated) AS QtyCalculated, +SUM(TotalAmt) AS TotalAmt +FROM RV_M_Forecast f GROUP BY AD_Client_ID , AD_Org_ID , M_Forecast_ID , M_Product_ID , C_UOM_ID, C_Calendar_ID , C_Year_ID , C_Period_ID +; + + + +-- Jul 9, 2008 10:04:30 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10300 +; + +-- Jul 9, 2008 10:04:30 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=10298 +; + +-- Jul 9, 2008 10:05:06 PM CDT +-- Forecast +UPDATE AD_Field SET Included_Tab_ID=654,Updated=TO_DATE('2008-07-09 22:05:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10300 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10304 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10307 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10305 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=53638 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=10301 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=10303 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53639 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10306 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10310 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56277 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10308 +; + +-- Jul 9, 2008 10:08:27 PM CDT +-- Forecast +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2008-07-09 22:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=653 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56277 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=53638 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=10301 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=10306 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10310 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10303 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53639 +; + +-- Jul 9, 2008 10:12:55 PM CDT +-- Forecast +UPDATE AD_Column SET DefaultValue='@#AD_User_ID@',Updated=TO_DATE('2008-07-09 22:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56113 +; + +-- Jul 9, 2008 10:20:17 PM CDT +-- Forecast +UPDATE AD_Column SET DefaultValue='@AD_Org_ID@',Updated=TO_DATE('2008-07-09 22:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11937 +; + +-- Jul 9, 2008 10:20:27 PM CDT +-- Forecast +UPDATE AD_Column SET ReadOnlyLogic='@M_Warehouse_ID@',Updated=TO_DATE('2008-07-09 22:20:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53411 +; + diff --git a/migration/352a-trunk/298_BF2133188_FixCalloutDO.sql b/migration/352a-trunk/298_BF2133188_FixCalloutDO.sql new file mode 100644 index 0000000000..7105eb238d --- /dev/null +++ b/migration/352a-trunk/298_BF2133188_FixCalloutDO.sql @@ -0,0 +1,26 @@ + +-- Sep 27, 2008 7:46:26 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-09-27 19:46:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53928 +; + +-- Sep 27, 2008 7:46:42 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-09-27 19:46:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53954 +; + +-- Sep 27, 2008 7:46:44 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-09-27 19:46:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53948 +; + +-- Sep 27, 2008 7:46:50 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_DATE('2008-09-27 19:46:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53947 +; + +-- Sep 27, 2008 7:46:53 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2008-09-27 19:46:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53946 +; + diff --git a/migration/352a-trunk/299_BF1745154Cost_Reversal_Doc.sql b/migration/352a-trunk/299_BF1745154Cost_Reversal_Doc.sql new file mode 100644 index 0000000000..3cbbd2be0f --- /dev/null +++ b/migration/352a-trunk/299_BF1745154Cost_Reversal_Doc.sql @@ -0,0 +1,70 @@ +-- Sep 28, 2008 2:39:23 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Element (AD_Org_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,AD_Client_ID,UpdatedBy) VALUES (0,53689,'ReversalLine_ID',TO_DATE('2008-09-28 14:39:22','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D','Y','Reversal Line','Reversal Line',TO_DATE('2008-09-28 14:39:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Sep 28, 2008 2:39:24 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53689 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 28, 2008 2:39:36 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column (AD_Org_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID,AD_Reference_Value_ID) VALUES (0,53689,18,320,'ReversalLine_ID',TO_DATE('2008-09-28 14:39:35','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Reversal Line',0,TO_DATE('2008-09-28 14:39:35','YYYY-MM-DD HH24:MI:SS'),0,0,1,56355,295) +; + +-- Sep 28, 2008 2:39:36 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56355 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 28, 2008 3:06:08 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Reference (AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,AD_Client_ID,ValidationType) VALUES (0,53284,TO_DATE('2008-09-28 15:06:03','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','M_MovementLine',TO_DATE('2008-09-28 15:06:03','YYYY-MM-DD HH24:MI:SS'),0,0,'T') +; + +-- Sep 28, 2008 3:06:08 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53284 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Sep 28, 2008 3:06:43 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Ref_Table (AD_Display,AD_Key,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,AD_Client_ID,AD_Reference_ID,AD_Table_ID) VALUES (3820,3582,0,TO_DATE('2008-09-28 15:06:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',TO_DATE('2008-09-28 15:06:43','YYYY-MM-DD HH24:MI:SS'),0,0,53284,324) +; + +-- Sep 28, 2008 3:08:12 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column (AD_Org_ID,AD_Reference_Value_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID) VALUES (0,53284,53689,18,324,'ReversalLine_ID',TO_DATE('2008-09-28 15:08:11','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','Y','N','Y','Reversal Line',TO_DATE('2008-09-28 15:08:11','YYYY-MM-DD HH24:MI:SS'),0,0,1,56356) +; + +-- Sep 28, 2008 3:08:12 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56356 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 28, 2008 3:09:10 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column (AD_Org_ID,AD_Reference_Value_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID) VALUES (0,296,53689,18,322,'ReversalLine_ID',TO_DATE('2008-09-28 15:09:08','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Reversal Line',TO_DATE('2008-09-28 15:09:08','YYYY-MM-DD HH24:MI:SS'),0,0,1,56357) +; + +-- Sep 28, 2008 3:09:10 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56357 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 28, 2008 3:14:43 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +ALTER TABLE M_InOutLine ADD ReversalLine_ID NUMBER(10) +; + +-- Sep 28, 2008 3:15:02 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +ALTER TABLE M_MovementLine ADD ReversalLine_ID NUMBER(10) +; + +-- Sep 28, 2008 3:15:18 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +ALTER TABLE M_InventoryLine ADD ReversalLine_ID NUMBER(10) +; + diff --git a/migration/352a-trunk/300_BF2135012_Asset_Window.sql b/migration/352a-trunk/300_BF2135012_Asset_Window.sql new file mode 100644 index 0000000000..2226c91828 --- /dev/null +++ b/migration/352a-trunk/300_BF2135012_Asset_Window.sql @@ -0,0 +1,10 @@ +-- 29/09/2008 11:32:25 +-- [ 2135012 ] Asset Window is not editable +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2008-09-29 11:32:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8061 +; + +-- 29/09/2008 11:33:08 +-- [ 2135012 ] Asset Window is not editable +ALTER TABLE A_Asset MODIFY Processing CHAR(1) DEFAULT 'N' +; + diff --git a/migration/352a-trunk/301_BF2141475_messages.sql b/migration/352a-trunk/301_BF2141475_messages.sql new file mode 100644 index 0000000000..f0f0a755fb --- /dev/null +++ b/migration/352a-trunk/301_BF2141475_messages.sql @@ -0,0 +1,30 @@ +-- Oct 1, 2008 10:10:56 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53044,0,TO_DATE('2008-10-01 22:10:18','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Payment Allocate must not exists if the payment header has charge/invoice/order.','E',TO_DATE('2008-10-01 22:10:18','YYYY-MM-DD HH24:MI:SS'),100,'PaymentAllocateIgnored') +; + +-- Oct 1, 2008 10:10:56 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53044 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- Oct 1, 2008 10:16:09 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='No debe haber Asignacion de Pagos si el encabezado del pago tiene cargo, factura u orden.',Updated=TO_DATE('2008-10-01 22:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53044 AND AD_Language LIKE 'es_%' +; + +-- Oct 1, 2008 10:17:42 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53045,0,TO_DATE('2008-10-01 22:17:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Payment Amount must be equal to the sum of Allocate amounts.','E',TO_DATE('2008-10-01 22:17:41','YYYY-MM-DD HH24:MI:SS'),100,'PaymentAllocateSumInconsistent') +; + +-- Oct 1, 2008 10:17:42 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53045 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- Oct 1, 2008 10:18:31 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='El total del pago debe ser igual a la suma de las asignaciones.',Updated=TO_DATE('2008-10-01 22:18:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53045 AND AD_Language LIKE 'es_%' +; + diff --git a/migration/352a-trunk/302_BF2142344.sql b/migration/352a-trunk/302_BF2142344.sql new file mode 100644 index 0000000000..d3fc2592d7 --- /dev/null +++ b/migration/352a-trunk/302_BF2142344.sql @@ -0,0 +1,25 @@ +-- 02.10.2008 15:22:20 EEST +-- - +UPDATE AD_Column SET AD_Element_ID=1299, ColumnName='Classname', Description='Java Classname', FieldLength=255, Help='The Classname identifies the Java classname used by this report or process.', Name='Classname',Updated=TO_DATE('2008-10-02 15:22:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52068 +; + +-- 02.10.2008 15:22:21 EEST +-- - +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=52068 +; + +-- 02.10.2008 15:22:21 EEST +-- - +UPDATE AD_Field SET Name='Classname', Description='Java Classname', Help='The Classname identifies the Java classname used by this report or process.' WHERE AD_Column_ID=52068 AND IsCentrallyMaintained='Y' +; + +-- 02.10.2008 15:23:16 EEST +-- - +DELETE FROM AD_Element_Trl WHERE AD_Element_ID=52025 +; + +-- 02.10.2008 15:23:17 EEST +-- - +DELETE FROM AD_Element WHERE AD_Element_ID=52025 +; + diff --git a/migration/352a-trunk/303_FR2143266_multiline_headers.sql b/migration/352a-trunk/303_FR2143266_multiline_headers.sql new file mode 100644 index 0000000000..40a66acd03 --- /dev/null +++ b/migration/352a-trunk/303_FR2143266_multiline_headers.sql @@ -0,0 +1,41 @@ +-- 2/10/2008 11:02:34 +-- Financial reporting improvements +INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PO_Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53690,'IsMultiLineHeader',TO_DATE('2008-10-02 11:00:41','YYYY-MM-DD HH24:MI:SS'),100,'Print column headers on mutliple lines if necessary.','D','If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Multi Line Header',NULL,'Multi Line Header',TO_DATE('2008-10-02 11:00:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/10/2008 11:02:34 +-- Financial reporting improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53690 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 2/10/2008 11:03:39 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56358,53690,20,523,'IsMultiLineHeader',TO_DATE('2008-10-02 11:03:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','Print column headers on mutliple lines if necessary.','D',1,'If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Multi Line Header',0,TO_DATE('2008-10-02 11:03:36','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- 2/10/2008 11:03:39 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56358 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2/10/2008 11:04:17 +-- Financial reporting improvements +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2008-10-02 11:04:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56358 +; + +-- 2/10/2008 11:04:23 +-- 2/10/2008 11:05:08 +-- Financial reporting improvements +ALTER TABLE AD_PrintTableFormat ADD IsMultiLineHeader CHAR(1) DEFAULT 'N' CHECK (IsMultiLineHeader IN ('Y','N')) NOT NULL +; + +-- 2/10/2008 11:23:44 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56358,0,0,56377,435,TO_DATE('2008-10-02 11:23:40','YYYY-MM-DD HH24:MI:SS'),100,'Print column headers on mutliple lines if necessary.',14,'D','If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Y','Y','N','N','N','N','Y','Multi Line Header',95,0,TO_DATE('2008-10-02 11:23:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/10/2008 11:23:44 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56377 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + diff --git a/migration/352a-trunk/304_FR2143573_Enhancements_to_reporting.sql b/migration/352a-trunk/304_FR2143573_Enhancements_to_reporting.sql new file mode 100644 index 0000000000..8eb2be8ff0 --- /dev/null +++ b/migration/352a-trunk/304_FR2143573_Enhancements_to_reporting.sql @@ -0,0 +1,206 @@ + +-- 26/09/2008 16:58:43 +-- Financial reporting improvements +INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PO_Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53687,'FormatPattern',TO_DATE('2008-09-26 16:58:43','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Format Pattern',NULL,'Format Pattern',TO_DATE('2008-09-26 16:58:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 16:58:44 +-- Financial reporting improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53687 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 26/09/2008 16:59:38 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56351,53687,10,489,'FormatPattern',TO_DATE('2008-09-26 16:59:37','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_DATE('2008-09-26 16:59:37','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 26/09/2008 16:59:38 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56351 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 26/09/2008 17:00:09 +-- Financial reporting improvements +UPDATE AD_Column SET AD_Element_ID=53687, ColumnName='FormatPattern', Description='The pattern used to format a number or date.', Help='A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.', Name='Format Pattern',Updated=TO_DATE('2008-09-26 17:00:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56351 +; + +-- 26/09/2008 17:00:09 +-- Financial reporting improvements +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56351 +; + +-- 26/09/2008 17:00:09 +-- Financial reporting improvements +UPDATE AD_Field SET Name='Format Pattern', Description='The pattern used to format a number or date.', Help='A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.' WHERE AD_Column_ID=56351 AND IsCentrallyMaintained='Y' +; + +-- 26/09/2008 17:02:12 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56352,53687,10,101,'FormatPattern',TO_DATE('2008-09-26 17:02:11','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_DATE('2008-09-26 17:02:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 26/09/2008 17:02:12 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56352 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 26/09/2008 17:04:00 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56353,53687,10,446,'FormatPattern',TO_DATE('2008-09-26 17:03:59','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_DATE('2008-09-26 17:03:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 26/09/2008 17:04:00 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56353 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 26/09/2008 17:09:15 +-- Financial reporting improvements +INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53688,'Factor',TO_DATE('2008-09-26 17:09:14','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.','D','Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Factor','Factor',TO_DATE('2008-09-26 17:09:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:09:15 +-- Financial reporting improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53688 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 26/09/2008 17:10:06 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56354,53688,11,446,'Factor',TO_DATE('2008-09-26 17:10:05','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.','D',10,'Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Factor',0,TO_DATE('2008-09-26 17:10:05','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 26/09/2008 17:10:06 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56354 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 26/09/2008 17:13:53 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56351,0,0,56373,426,TO_DATE('2008-09-26 17:13:52','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'@PrintFormatType@=F','D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',145,0,TO_DATE('2008-09-26 17:13:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:13:53 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56373 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 26/09/2008 17:16:17 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56352,0,0,56374,101,TO_DATE('2008-09-26 17:16:16','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',390,0,TO_DATE('2008-09-26 17:16:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:16:17 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56374 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 26/09/2008 17:19:10 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56353,0,0,56375,374,TO_DATE('2008-09-26 17:19:09','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',430,0,TO_DATE('2008-09-26 17:19:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:19:10 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56375 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 26/09/2008 17:19:39 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56354,0,0,56376,374,TO_DATE('2008-09-26 17:19:39','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.',0,'D','Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Y','Y','N','N','N','N','Y','Factor',440,0,TO_DATE('2008-09-26 17:19:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:19:39 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56376 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 26/09/2008 17:30:21 +-- Financial reporting improvements +ALTER TABLE PA_ReportColumn ADD Factor CHAR(1) +; + +-- 26/09/2008 17:30:38 +-- Financial reporting improvements +ALTER TABLE PA_ReportColumn ADD FormatPattern NVARCHAR2(22) +; + +-- 26/09/2008 17:32:21 +-- Financial reporting improvements +ALTER TABLE AD_Column ADD FormatPattern NVARCHAR2(22) +; + +-- 26/09/2008 17:33:00 +-- Financial reporting improvements +ALTER TABLE AD_PrintFormatItem ADD FormatPattern NVARCHAR2(22) +; + +-- 3/10/2008 11:19:23 +-- Financial reporting improvements +UPDATE AD_Field SET DisplayLogic='@AD_Reference_ID@=11 | @AD_Reference_ID@=12 | @AD_Reference_ID@=15 | @AD_Reference_ID@=22 | @AD_Reference_ID@=29 | @AD_Reference_ID@=16 | @AD_Reference_ID@=37', SeqNo=165,Updated=TO_DATE('2008-10-03 11:19:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374 +; + +-- 3/10/2008 12:30:21 +-- Financial reporting improvements +INSERT INTO AD_Reference (AD_Org_ID,AD_Client_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53285,TO_DATE('2008-10-03 12:30:19','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Y','Factors',TO_DATE('2008-10-03 12:30:19','YYYY-MM-DD HH24:MI:SS'),100,'L') +; + +-- 3/10/2008 12:30:21 +-- Financial reporting improvements +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53285 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- 3/10/2008 12:31:13 +-- Financial reporting improvements +INSERT INTO AD_Ref_List (AD_Org_ID,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53285,53436,TO_DATE('2008-10-03 12:31:12','YYYY-MM-DD HH24:MI:SS'),100,'Thousand','D','Y','Thousand',TO_DATE('2008-10-03 12:31:12','YYYY-MM-DD HH24:MI:SS'),100,'k') +; + +-- 3/10/2008 12:31:13 +-- Financial reporting improvements +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53436 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- 3/10/2008 12:31:28 +-- Financial reporting improvements +INSERT INTO AD_Ref_List (AD_Org_ID,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53285,53437,TO_DATE('2008-10-03 12:31:27','YYYY-MM-DD HH24:MI:SS'),100,'Million','D','Y','Million',TO_DATE('2008-10-03 12:31:27','YYYY-MM-DD HH24:MI:SS'),100,'m') +; + +-- 3/10/2008 12:31:28 +-- Financial reporting improvements +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53437 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- 3/10/2008 12:31:43 +-- Financial reporting improvements +UPDATE AD_Reference SET Name='Scaling Factors',Updated=TO_DATE('2008-10-03 12:31:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53285 +; + +-- 3/10/2008 12:31:43 +-- Financial reporting improvements +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53285 +; + +-- 3/10/2008 12:32:44 +-- Financial reporting improvements +UPDATE AD_Reference SET Description='Factors for scaling the results of financial reports.', Help='Currently supported: thousand, million.',Updated=TO_DATE('2008-10-03 12:32:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53285 +; + +-- 3/10/2008 12:32:44 +-- Financial reporting improvements +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53285 +; + +-- 3/10/2008 12:33:17 +-- Financial reporting improvements +UPDATE AD_Column SET AD_Reference_Value_ID=53285, AD_Reference_ID=17, FieldLength=1, Help='Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of "Thousand" will display as 123.',Updated=TO_DATE('2008-10-03 12:33:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56354 +; + +-- 3/10/2008 12:33:17 +-- Financial reporting improvements +UPDATE AD_Field SET Name='Factor', Description='Scaling factor.', Help='Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of "Thousand" will display as 123.' WHERE AD_Column_ID=56354 AND IsCentrallyMaintained='Y' +; + +-- 3/10/2008 12:53:38 +-- Financial reporting improvements +UPDATE AD_Ref_List SET Value='M',Updated=TO_DATE('2008-10-03 12:53:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53437 +; + diff --git a/migration/352a-trunk/305_FR2148808_SuppressRepeats.sql b/migration/352a-trunk/305_FR2148808_SuppressRepeats.sql new file mode 100644 index 0000000000..c40881f44c --- /dev/null +++ b/migration/352a-trunk/305_FR2148808_SuppressRepeats.sql @@ -0,0 +1,41 @@ +-- 3/10/2008 16:15:23 +-- Financial reporting improvements +INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53691,'IsSuppressRepeats',TO_DATE('2008-10-03 16:15:17','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.','D','Determines whether repeated elements in a column are repeated in a printed table.','Y','Suppress Repeats','Suppress Repeats',TO_DATE('2008-10-03 16:15:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 3/10/2008 16:15:23 +-- Financial reporting improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53691 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 3/10/2008 16:15:52 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56359,53691,20,489,'IsSuppressRepeats',TO_DATE('2008-10-03 16:15:50','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.','D',1,'Determines whether repeated elements in a column are repeated in a printed table.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Suppress Repeats',0,TO_DATE('2008-10-03 16:15:50','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- 3/10/2008 16:15:52 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56359 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 3/10/2008 16:19:40 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (56359,0,0,56378,426,TO_DATE('2008-10-03 16:19:39','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.',1,'@IsForm@=N & @PrintFormatType@=F','D','Determines whether repeated elements in a column are repeated in a printed table.','Y','Y','Y','N','N','N','N','Y','Suppress Repeats',115,TO_DATE('2008-10-03 16:19:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 3/10/2008 16:19:40 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56378 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 3/10/2008 16:33:36 +-- Financial reporting improvements +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-10-03 16:33:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56359 +; + +-- 3/10/2008 16:33:41 +-- Financial reporting improvements +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2008-10-03 16:33:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56359 +; + +alter table ad_printformatitem add IsSuppressRepeats CHAR(1) DEFAULT 'N' CHECK (IsSuppressRepeats IN ('Y','N')) NOT NULL; diff --git a/migration/352a-trunk/306_FR2151667.sql b/migration/352a-trunk/306_FR2151667.sql new file mode 100644 index 0000000000..467039d0be --- /dev/null +++ b/migration/352a-trunk/306_FR2151667.sql @@ -0,0 +1,382 @@ +SET DEFINE OFF +SET SQLBLANKLINES ON +-- 07.10.2008 17:27:16 EEST +-- - +UPDATE AD_Column SET AD_Element_ID=53245, ColumnName='PP_Product_BOM_ID', Description='BOM & Formula', EntityType='EE01', FieldLength=10, Help=NULL, Name='BOM & Formula',Updated=TO_DATE('2008-10-07 17:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13977 +; + +-- 07.10.2008 17:27:16 EEST +-- - +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=13977 +; + +-- 07.10.2008 17:27:16 EEST +-- - +UPDATE AD_Field SET Name='BOM & Formula', Description='BOM & Formula', Help=NULL WHERE AD_Column_ID=13977 AND IsCentrallyMaintained='Y' +; + +-- 07.10.2008 17:27:23 EEST +-- - +ALTER TABLE R_Group ADD PP_Product_BOM_ID NUMBER(10) +; + +alter table R_Group add constraint PPProductBOM_RGroup foreign key (PP_Product_BOM_ID) references PP_Product_BOM (PP_Product_BOM_ID) validate +; + +-- 07.10.2008 17:42:36 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET IsActive='N',Updated=TO_DATE('2008-10-07 17:42:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734 +; + +-- 07.10.2008 17:44:51 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,53332,0,53179,53018,355,TO_DATE('2008-10-07 17:44:50','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula','EE01','N','N','Y','N','N','Y','N','N','N','N','BOM & Formula','N',30,1,TO_DATE('2008-10-07 17:44:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:44:51 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53179 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- 07.10.2008 17:47:53 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53330,56379,0,53179,TO_DATE('2008-10-07 17:47:52','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'EE01','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2008-10-07 17:47:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:53 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56379 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:54 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53340,56380,0,53179,TO_DATE('2008-10-07 17:47:53','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',22,'EE01','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','N','N','Attribute Set Instance',TO_DATE('2008-10-07 17:47:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:54 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56380 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:54 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53334,56381,0,53179,TO_DATE('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula',22,'EE01','Y','Y','N','N','N','N','N','N','BOM & Formula',TO_DATE('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:54 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56381 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:55 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53342,56382,0,53179,TO_DATE('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0,'Type of BOM',1,'EE01','The type of Bills of Materials determines the state','Y','Y','Y','N','N','N','N','N','BOM Type',TO_DATE('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:55 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56382 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:55 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53343,56383,0,53179,TO_DATE('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0,'The use of the Bill of Material',1,'EE01','By default the Master BOM is used, if the alternatives are not defined','Y','Y','Y','N','N','N','N','N','BOM Use',TO_DATE('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:55 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56383 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:56 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53332,56384,0,53179,TO_DATE('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0,'Bill of Materials (Engineering) Change Notice (Version)',10,'EE01','Y','Y','Y','N','N','N','N','N','Change Notice',TO_DATE('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:56 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56384 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:57 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53331,56385,0,53179,TO_DATE('2008-10-07 17:47:56','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'EE01','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2008-10-07 17:47:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:57 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56385 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:57 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53329,56386,0,53179,TO_DATE('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'EE01','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','N','Comment/Help',TO_DATE('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:57 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56386 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53326,56387,0,53179,TO_DATE('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0,'Copy From Record',1,'EE01','Copy From Record','Y','Y','Y','N','N','N','N','N','Copy From',TO_DATE('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56387 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53325,56388,0,53179,TO_DATE('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'EE01','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56388 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:59 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53323,56389,0,53179,TO_DATE('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',22,'EE01','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Document No',TO_DATE('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:59 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56389 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:59 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53322,56390,0,53179,TO_DATE('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'EE01','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:59 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56390 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:02 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53341,56391,0,53179,TO_DATE('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'EE01','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:02 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56391 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53335,56392,0,53179,TO_DATE('2008-10-07 17:48:02','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','Y','Y','N','N','N','N','N','Process Now',TO_DATE('2008-10-07 17:48:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56392 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53333,56393,0,53179,TO_DATE('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',22,'EE01','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_DATE('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56393 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53324,56394,0,53179,TO_DATE('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Revision',TO_DATE('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56394 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53321,56395,0,53179,TO_DATE('2008-10-07 17:48:04','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',80,'EE01','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_DATE('2008-10-07 17:48:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56395 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:06 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53344,56396,0,53179,TO_DATE('2008-10-07 17:48:05','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure',22,'EE01','The UOM defines a unique non monetary Unit of Measure','Y','Y','Y','N','N','N','N','N','UOM',TO_DATE('2008-10-07 17:48:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:06 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56396 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53338,56397,0,53179,TO_DATE('2008-10-07 17:48:06','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)',7,'EE01','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','N','Valid from',TO_DATE('2008-10-07 17:48:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56397 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53339,56398,0,53179,TO_DATE('2008-10-07 17:48:07','YYYY-MM-DD HH24:MI:SS'),0,'Valid to including this date (last day)',7,'EE01','The Valid To date indicates the last day of a date range','Y','Y','Y','N','N','N','N','N','Valid to',TO_DATE('2008-10-07 17:48:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56398 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:50:00 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET IsActive='Y',Updated=TO_DATE('2008-10-07 17:50:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56395 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56396 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56389 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56394 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=60,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56388 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56387 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=70,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56386 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=80,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56379 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=10,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56385 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=30,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56384 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=40,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56393 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=23, IsDisplayed='N', IsReadOnly='N', IsSameLine='N', SeqNo=0,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56392 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56397 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56398 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56380 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='Y', SeqNo=20,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56391 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=90,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56382 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', SeqNo=100,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56383 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=50,Updated=TO_DATE('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56390 +; + +-- 07.10.2008 17:55:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_DATE('2008-10-07 17:55:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53179 +; + +-- 07.10.2008 17:55:13 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET IsActive='N',Updated=TO_DATE('2008-10-07 17:55:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734 +; + +-- 07.10.2008 18:04:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET SeqNo=20,Updated=TO_DATE('2008-10-07 18:04:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53179 +; + +-- 07.10.2008 18:10:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Column SET AD_Element_ID=53245, AD_Reference_ID=30, ColumnName='PP_Product_BOM_ID', Description='BOM & Formula', EntityType='EE01', Help=NULL, IsUpdateable='N', Name='BOM & Formula',Updated=TO_DATE('2008-10-07 18:10:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13945 +; + +-- 07.10.2008 18:10:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=13945 +; + +-- 07.10.2008 18:10:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET Name='BOM & Formula', Description='BOM & Formula', Help=NULL WHERE AD_Column_ID=13945 AND IsCentrallyMaintained='Y' +; + +-- 07.10.2008 18:10:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +ALTER TABLE M_ChangeRequest ADD PP_Product_BOM_ID NUMBER(10) +; +alter table M_changerequest drop column M_BOM_ID; + diff --git a/migration/352a-trunk/307_BF2153188.sql b/migration/352a-trunk/307_BF2153188.sql new file mode 100644 index 0000000000..f3d3472849 --- /dev/null +++ b/migration/352a-trunk/307_BF2153188.sql @@ -0,0 +1,20 @@ +-- 08.10.2008 16:13:52 EEST +-- +UPDATE AD_Column SET DefaultValue='0', IsMandatory='Y',Updated=TO_DATE('2008-10-08 16:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53408 +; + +-- 08.10.2008 16:13:55 EEST +-- +ALTER TABLE M_Product MODIFY LowLevel NUMBER(10) DEFAULT 0 +; + +-- 08.10.2008 16:13:56 EEST +-- +UPDATE M_Product SET LowLevel=0 WHERE LowLevel IS NULL +; + +-- 08.10.2008 16:13:56 EEST +-- +ALTER TABLE M_Product MODIFY LowLevel NOT NULL +; + diff --git a/migration/352a-trunk/308_BF2158682.sql b/migration/352a-trunk/308_BF2158682.sql new file mode 100644 index 0000000000..92b7bb117c --- /dev/null +++ b/migration/352a-trunk/308_BF2158682.sql @@ -0,0 +1,5 @@ +-- Oct 10, 2008 11:01:13 PM COT +-- Bug 2158682 - Import Loader Format window showing replication tables +UPDATE AD_Val_Rule SET Code='AD_Table.TableName LIKE ''I#_%'' ESCAPE ''#''',Updated=TO_DATE('2008-10-10 23:01:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=141 +; + diff --git a/migration/352a-trunk/309_FR2170521_AddChargeToImportOrder.sql b/migration/352a-trunk/309_FR2170521_AddChargeToImportOrder.sql new file mode 100644 index 0000000000..30e3ffb8ba --- /dev/null +++ b/migration/352a-trunk/309_FR2170521_AddChargeToImportOrder.sql @@ -0,0 +1,50 @@ +-- 16/10/2008 15:11:55 +-- Add charge to order import +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56364,968,0,19,591,'C_Charge_ID',TO_DATE('2008-10-16 15:11:52','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges','D',10,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Charge',0,TO_DATE('2008-10-16 15:11:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 16/10/2008 15:11:55 +-- Add charge to order import +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56364 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 16/10/2008 15:12:04 +-- Add charge to order import +ALTER TABLE I_Order ADD C_Charge_ID NUMBER(10) +; + +-- 16/10/2008 15:13:12 +-- Add charge to order import +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56365,2096,0,10,591,'ChargeName',TO_DATE('2008-10-16 15:13:10','YYYY-MM-DD HH24:MI:SS'),100,'Name of the Charge','D',60,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Charge Name',0,TO_DATE('2008-10-16 15:13:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 16/10/2008 15:13:12 +-- Add charge to order import +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56365 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 16/10/2008 15:13:15 +-- Add charge to order import +ALTER TABLE I_Order ADD ChargeName NVARCHAR2(60) +; + +-- 16/10/2008 15:17:33 +-- Add charge to order import +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56364,56402,0,512,TO_DATE('2008-10-16 15:17:32','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges',10,'D','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','N','N','Charge',434,0,TO_DATE('2008-10-16 15:17:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 16/10/2008 15:17:33 +-- Add charge to order import +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56402 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 16/10/2008 15:18:50 +-- Add charge to order import +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56365,56403,0,512,TO_DATE('2008-10-16 15:18:49','YYYY-MM-DD HH24:MI:SS'),100,'Name of the Charge',40,'D','Y','Y','Y','N','N','N','N','Y','Charge Name',436,0,TO_DATE('2008-10-16 15:18:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 16/10/2008 15:18:50 +-- Add charge to order import +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56403 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + diff --git a/migration/352a-trunk/310_FR2171947_ad_changelog_speed.sql b/migration/352a-trunk/310_FR2171947_ad_changelog_speed.sql new file mode 100644 index 0000000000..2fec9d939b --- /dev/null +++ b/migration/352a-trunk/310_FR2171947_ad_changelog_speed.sql @@ -0,0 +1,2 @@ +create index ad_changelog_speed on ad_changelog (ad_table_id, record_id); + diff --git a/migration/352a-trunk/311_PosteritaWebPOS_173.sql b/migration/352a-trunk/311_PosteritaWebPOS_173.sql new file mode 100644 index 0000000000..bc5655953a --- /dev/null +++ b/migration/352a-trunk/311_PosteritaWebPOS_173.sql @@ -0,0 +1,1379 @@ +-- 1.0-1.5/oracle/001_ad_changes.sql +----------------------------- +INSERT INTO ad_element +(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, +columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) +VALUES(52027, 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, 'isPresentForProduct', +'U', 'isPresentForProduct', 'Present for Product', NULL, NULL, NULL, NULL, NULL, NULL); + +INSERT INTO ad_column +(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, + description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, + ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, +isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, +ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic) + VALUES( 52071, 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, 100, +'isPresentForProduct', 'Price List appears in Product Screen', '', 0, 'U', 'isPresentForProduct', + 255, 20, NULL, NULL, 1, NULL, 'N', 'N', 'N', 'Y', NULL, +'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', + 52027, NULL, 'N', 'N', NULL, NULL); + +INSERT INTO ad_column +(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, + name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, +ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, +isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, +valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, +isalwaysupdateable, columnsql, mandatorylogic) + VALUES(52072 , +0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, 100, 'Mandatory', 'Data entry is required in this column', +'The field must have a value for the record to be saved to the database.', 0, 'U', 'IsMandatory', +255, 20, NULL, NULL, 1, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', + 392, NULL, 'N', 'N', NULL, NULL); + + +-- 1.0-1.5/oracle/002_ad_message.sql +----------------------------- +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52441 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.price.list', 'Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52442 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pmenu.help', 'Help', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52443 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'list.price', 'List Price', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52444 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'standard.price', 'Standard Price', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52445 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'limit.price', 'Limit Price', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52446 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'tax.incl', 'Tax Incl', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52447 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'tax.excl', 'Tax Excl', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52448 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'type.of.price.list', 'Type of Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52449 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'purchase', 'Purchase', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52450 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'sales', 'Sales', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52451 , 0, 0, 'Y', TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_DATE('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'isPresentForProduct', 'Present for Product', ' ', 'I', 'D'); + + +-- 1.0-1.5/oracle/003_m_pricelist.sql +----------------------------- +ALTER TABLE m_pricelist ADD ismandatory char(1) DEFAULT 'N'; + +ALTER TABLE m_pricelist ADD ispresentforproduct char(1) DEFAULT 'N'; + + +-- 1.6/oracle/001_ad_Changes for C_Currency.sql +----------------------------- +INSERT INTO AD_Element +(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, +columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) +VALUES(52073, 0, 0, 'Y', TO_TIMESTAMP('2008-04-17 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-04-17 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'RoundOffFactor', 'U', 'Round Off Factor', 'Round Off Factor', 'Used to Round Off Payment Amount', NULL, NULL, NULL, NULL, NULL); + +INSERT INTO ad_column +(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, +description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, +ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, +isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, +ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic) +VALUES(52074, 0, 0, 'Y', TO_TIMESTAMP('2008-04-17 16:00:00','YYYY-MM-DD HH24:MI:SS'), TO_TIMESTAMP('2008-04-17 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, 100, 'RoundOffFactor' , 'Used to Round Off Payment Amount', NULL, 0, 'U', 'RoundOffFactor', 141, 22, NULL, NULL, 14, 1, 'N', 'N', 'Y', 'Y', NULL, +'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52073, NULL, 'N', 'N', NULL, NULL); + + +-- 1.6/oracle/002_ad_message.sql +----------------------------- +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52467 , 0, 0, 'Y', TO_TIMESTAMP('2008-04-25 14:30:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-04-25 14:30:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.currency', 'Currency', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52468 , 0, 0, 'Y', TO_TIMESTAMP('2008-04-25 14:30:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-04-25 14:30:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.delete.price.on.pricelist', 'Delete Price On Price List', ' ', 'I', 'D'); + + +-- 1.6/oracle/003_C_Currency.sql +----------------------------- +ALTER TABLE C_Currency ADD roundOffFactor NUMBER; + + +-- 1.7.0/oracle/001_MixedPayment.sql +----------------------------- +-- May 22, 2008 10:57:07 AM GMT+04:00 +-- Create Mixed in the payment rules list +INSERT INTO AD_Ref_List ( +AD_Client_ID,AD_Org_ID +,AD_Reference_ID,AD_Ref_List_ID +,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value +) VALUES ( +0,0 +,195,52000,TO_DATE('2008-05-22 10:55:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y' +,'Mixed',TO_DATE('2008-05-22 10:55:30','YYYY-MM-DD HH24:MI:SS'),100,'M') +; + +-- May 22, 2008 10:57:11 AM GMT+04:00 +-- Update the translation +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=52000 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- May 22, 2008 11:28:12 AM GMT+04:00 +-- Creates new Validation rule so that rich client does not get Mixed rule +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID +,AD_Val_Rule_ID,Code +,Created,CreatedBy,EntityType,IsActive +,Name,Type,Updated,UpdatedBy +) VALUES ( +0,0 +,52033,'AD_Ref_List.Value <> ''M''' +,TO_DATE('2008-05-22 11:28:12','YYYY-MM-DD HH24:MI:SS'),100,'D','Y' +,'All_Payment Rule - No mixed','S',TO_DATE('2008-05-22 11:28:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- May 22, 2008 11:30:02 AM GMT+04:00 +-- Updates all columns in AD where the payment rule list is used with the validation created earlier +UPDATE AD_Column SET AD_Val_Rule_ID=52033 WHERE AD_Reference_Value_ID=195 AND AD_Val_Rule_ID IS NULL +; + +-- May 22, 2008 11:31:15 AM GMT+04:00 +-- Updates all columns in AD where an existing validation rule exist and set it to ignore the Mixed rule +UPDATE AD_Val_Rule SET Code='AD_Ref_List.Value <> ''B'' AND AD_Ref_List.Value <> ''M''' WHERE AD_Val_Rule_ID=161 +; + + +-- 1.7.0/oracle/002_Terminals_newTableStructure.sql +----------------------------- +-- Jun 2, 2008 9:19:48 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Table (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Table_ID,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES ('1',0,0,52004,'N',TO_DATE('2008-06-02 21:19:47','YYYY-MM-DD HH24:MI:SS'),100,'A','N','Y','N','Y','N','N','N',0,'POS Terminal','L','U_POSTerminal',TO_DATE('2008-06-02 21:19:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:19:48 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=52004 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Jun 2, 2008 9:21:23 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52077,102,0,19,52004,129,'AD_Client_ID',TO_DATE('2008-06-02 21:21:22','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','A',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','Y','Client',0,TO_DATE('2008-06-02 21:21:22','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:21:23 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52077 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:22:32 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52078,113,0,19,52004,130,'AD_Org_ID',TO_DATE('2008-06-02 21:22:32','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','A',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','Y','Organization',0,TO_DATE('2008-06-02 21:22:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:22:32 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52078 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + + +-- Jun 2, 2008 9:23:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52030,0,'AutoLock',TO_DATE('2008-06-02 21:23:51','YYYY-MM-DD HH24:MI:SS'),100,'Whether to automatically lock the terminal when till is closed','A','Y','Auto Lock','Auto Lock',TO_DATE('2008-06-02 21:23:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:23:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52030 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:24:30 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52079,52030,0,20,52004,'AutoLock',TO_DATE('2008-06-02 21:24:30','YYYY-MM-DD HH24:MI:SS'),100,'N','Whether to automatically lock the terminal when till is closed','A',1,'Y','N','N','N','N','Y','N','N','N','N','Y','Auto Lock',0,TO_DATE('2008-06-02 21:24:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:24:30 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52079 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:26:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52031,0,'CashBookTransferType',TO_DATE('2008-06-02 21:26:51','YYYY-MM-DD HH24:MI:SS'),100,'Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book','A','Y','Cash Book Transfer Type','Cash Book Transfer Type',TO_DATE('2008-06-02 21:26:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:26:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52031 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:29:14 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference ( +AD_Client_ID,AD_Org_ID +,AD_Reference_ID,Created,CreatedBy +,Description,EntityType,IsActive +,Name,Updated,UpdatedBy,ValidationType +) VALUES ( +0,0 +,52002,TO_DATE('2008-06-02 21:29:14','YYYY-MM-DD HH24:MI:SS'),100 +,'Where money should be transfered to','A','Y' +,'_TransferType',TO_DATE('2008-06-02 21:29:14','YYYY-MM-DD HH24:MI:SS'),100,'L') +; + +-- Jun 2, 2008 9:29:14 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=52002 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Jun 2, 2008 9:29:42 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_List ( +AD_Client_ID,AD_Org_ID +,AD_Reference_ID,AD_Ref_List_ID +,Created,CreatedBy,EntityType,IsActive +,Name,Updated,UpdatedBy,Value +) VALUES ( +0,0 +,52002,52001 +,TO_DATE('2008-06-02 21:29:42','YYYY-MM-DD HH24:MI:SS'),100,'A','Y' +,'Bank Account',TO_DATE('2008-06-02 21:29:42','YYYY-MM-DD HH24:MI:SS'),100,'B') +; + +-- Jun 2, 2008 9:29:42 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=52001 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Jun 2, 2008 9:29:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_List ( +AD_Client_ID,AD_Org_ID +,AD_Reference_ID,AD_Ref_List_ID +,Created,CreatedBy,EntityType,IsActive +,Name,Updated,UpdatedBy,Value +) VALUES ( +0,0 +,52002,52002 +,TO_DATE('2008-06-02 21:29:51','YYYY-MM-DD HH24:MI:SS'),100,'A','Y' +,'CashBook',TO_DATE('2008-06-02 21:29:51','YYYY-MM-DD HH24:MI:SS'),100,'C') +; + +-- Jun 2, 2008 9:29:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=52002 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Jun 2, 2008 9:30:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52080,52031,0,17,52002,52004,'CashBookTransferType',TO_DATE('2008-06-02 21:30:13','YYYY-MM-DD HH24:MI:SS'),100,'Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book','A',1,'Y','N','N','N','N','Y','N','N','N','N','Y','Cash Book Transfer Type',0,TO_DATE('2008-06-02 21:30:13','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:30:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52080 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:32:22 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52032,0,'CashTransferBankAccount_ID',TO_DATE('2008-06-02 21:32:22','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account on which to transfer all Cash transactions','A','Y','Transfer Cash trx to','Transfer Cash trx to',TO_DATE('2008-06-02 21:32:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:32:22 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52032 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + + +-- Nov 6, 2008 9:02:15 AM EET +-- Posterita Integration +UPDATE AD_Ref_Table SET WhereClause='C_BankAccount.IsActive=''Y''',Updated=TO_DATE('2008-11-06 09:02:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53283 +; + +-- Jun 2, 2008 9:34:10 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52081,52032,0 +,18,53283,52004 +,'CashTransferBankAccount_ID',TO_DATE('2008-06-02 21:34:10','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account on which to transfer all Cash transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Cash trx to',0,TO_DATE('2008-06-02 21:34:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:34:10 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52081 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:35:28 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52033,0,'CashTransferCashBook_ID',TO_DATE('2008-06-02 21:35:28','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Cash transactions','A','Y','Transfer Cash trx to','Transfer Cash trx to',TO_DATE('2008-06-02 21:35:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:35:28 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52033 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:36:18 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference ( +AD_Client_ID,AD_Org_ID +,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive +,Name,Updated,UpdatedBy,ValidationType +) VALUES ( +0,0 +,52004,TO_DATE('2008-06-02 21:36:18','YYYY-MM-DD HH24:MI:SS'),100,'A','Y' +,'C_CashBook',TO_DATE('2008-06-02 21:36:18','YYYY-MM-DD HH24:MI:SS'),100,'T') +; + +-- Jun 2, 2008 9:36:18 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=52004 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Jun 2, 2008 9:36:54 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_Table ( +AD_Client_ID,AD_Display +,AD_Key,AD_Org_ID +,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy +,WhereClause +) VALUES ( +0,5268 +,5260,0 +,52004,408,TO_DATE('2008-06-02 21:36:54','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','N',TO_DATE('2008-06-02 21:36:54','YYYY-MM-DD HH24:MI:SS'),100 +,'C_CashBook.IsActive=''Y''') +; + +-- Jun 2, 2008 9:37:11 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52082,52033,0,18,52004,52004,'CashTransferCashBook_ID',TO_DATE('2008-06-02 21:37:11','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Cash transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Cash trx to',0,TO_DATE('2008-06-02 21:37:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:37:11 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52082 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:37:53 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52083,1463,0,19,52004,'C_CashBook_ID',TO_DATE('2008-06-02 21:37:53','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book for recording petty cash transactions','A',22,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','N','N','N','N','Y','N','N','N','N','Y','Cash Book',0,TO_DATE('2008-06-02 21:37:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:37:53 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52083 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:39:00 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52034,0,'C_CashBPartner_ID',TO_DATE('2008-06-02 21:39:00','YYYY-MM-DD HH24:MI:SS'),100,'BPartner to be used for Cash transactions','A','Y','Cash BPartner','Cash BPartner',TO_DATE('2008-06-02 21:39:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:39:00 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52034 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:39:32 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52084,52034,0,18,173,52004,'C_CashBPartner_ID',TO_DATE('2008-06-02 21:39:32','YYYY-MM-DD HH24:MI:SS'),100,'BPartner to be used for Cash transactions','A',22,'Y','N','N','N','N','Y','N','N','N','N','Y','Cash BPartner',0,TO_DATE('2008-06-02 21:39:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:39:32 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52084 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:41:11 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52035,0,'Check_BankAccount_ID',TO_DATE('2008-06-02 21:41:11','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account to be used for processing Check transactions','A','Y','Check Bank Account','Check Bank Account',TO_DATE('2008-06-02 21:41:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:41:11 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52035 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:41:34 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES (0,52085,52035,0 +,18,53283,52004 +,'Check_BankAccount_ID',TO_DATE('2008-06-02 21:41:34','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account to be used for processing Check transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Check Bank Account',0,TO_DATE('2008-06-02 21:41:34','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:41:34 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52085 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:42:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52036,0,'CheckTransferBankAccount_ID',TO_DATE('2008-06-02 21:42:50','YYYY-MM-DD HH24:MI:SS'),100,'Bank account on which to transfer Check transactions','A','Y','Tranfer Check trx to','Transfer Check trx to',TO_DATE('2008-06-02 21:42:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:42:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52036 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:43:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0,52086,52036,0 +,18,53283,52004 +,'CheckTransferBankAccount_ID',TO_DATE('2008-06-02 21:43:15','YYYY-MM-DD HH24:MI:SS'),100,'Bank account on which to transfer Check transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Tranfer Check trx to',0,TO_DATE('2008-06-02 21:43:15','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:43:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52086 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:44:12 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52037,0,'CheckTransferType',TO_DATE('2008-06-02 21:44:12','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Check Transfer Type','Check Transfer Type',TO_DATE('2008-06-02 21:44:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:44:12 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52037 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:44:39 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52087,52037,0,17,52002,52004,'CheckTransferType',TO_DATE('2008-06-02 21:44:39','YYYY-MM-DD HH24:MI:SS'),100,'A',1,'Y','N','N','N','N','N','N','N','N','N','Y','Check Transfer Type',0,TO_DATE('2008-06-02 21:44:39','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:44:39 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52087 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:46:05 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52038,0,'Card_BankAccount_ID',TO_DATE('2008-06-02 21:46:05','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account on which card transactions will be processed','A','Y','Card Bank Account','Card Bank Account',TO_DATE('2008-06-02 21:46:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:46:05 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52038 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:46:28 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID +,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52088,52038,0 +,18,53283 +,52004 +,'Card_BankAccount_ID',TO_DATE('2008-06-02 21:46:28','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account on which card transactions will be processed','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Card Bank Account',0,TO_DATE('2008-06-02 21:46:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:46:28 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52088 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:47:33 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52039,0,'CardTransferBankAccount_ID',TO_DATE('2008-06-02 21:47:33','YYYY-MM-DD HH24:MI:SS'),100,'Bank account on which to transfer Card transactions','A','Y','Transfer Card trx to','Transfer Card trx to',TO_DATE('2008-06-02 21:47:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:47:33 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52039 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:47:59 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID +,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52089,52039,0 +,18,53283 +,52004,'CardTransferBankAccount_ID',TO_DATE('2008-06-02 21:47:59','YYYY-MM-DD HH24:MI:SS'),100,'Bank account on which to transfer Card transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Card trx to',0,TO_DATE('2008-06-02 21:47:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:47:59 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52089 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:48:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy +) VALUES (0,52040,0,'CardTransferCashBook_ID',TO_DATE('2008-06-02 21:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Card transactions','A','Y','Transfer Card trx to','Transfer Card trx to',TO_DATE('2008-06-02 21:48:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:48:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52040 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:49:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID +,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52090,52040,0 +,18,52004 +,52004 +,'CardTransferCashBook_ID',TO_DATE('2008-06-02 21:49:35','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Card transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Card trx to',0,TO_DATE('2008-06-02 21:49:35','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:49:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52090 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:50:21 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52041,0,'CardTransferType',TO_DATE('2008-06-02 21:50:21','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Card Transfer Type','Card Transfer Type',TO_DATE('2008-06-02 21:50:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:50:21 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52041 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:50:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52091,52041,0,17,52002,52004,'CardTransferType',TO_DATE('2008-06-02 21:50:40','YYYY-MM-DD HH24:MI:SS'),100,'A',1,'Y','N','N','N','N','N','N','N','N','N','Y','Card Transfer Type',0,TO_DATE('2008-06-02 21:50:40','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:50:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52091 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:51:10 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52092,245,0,16,52004,'Created',TO_DATE('2008-06-02 21:51:10','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','A',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2008-06-02 21:51:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:51:10 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52092 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:52:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52093,246,0,18,110,52004,'CreatedBy',TO_DATE('2008-06-02 21:52:01','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','A',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2008-06-02 21:52:01','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:52:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52093 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:53:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52042,0,'C_TemplateBPartner_ID',TO_DATE('2008-06-02 21:53:39','YYYY-MM-DD HH24:MI:SS'),100,'BPartner that is to be used as template when new customers are created','A','Y','Template BPartner','Template BPartner',TO_DATE('2008-06-02 21:53:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:53:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52042 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:54:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52094,52042,0,18,173,52004,'C_TemplateBPartner_ID',TO_DATE('2008-06-02 21:54:16','YYYY-MM-DD HH24:MI:SS'),100,'BPartner that is to be used as template when new customers are created','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Template BPartner',0,TO_DATE('2008-06-02 21:54:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:54:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52094 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:55:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52095,275,0,10,52004,'Description',TO_DATE('2008-06-02 21:55:01','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','A',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','N','N','Y','Description',0,TO_DATE('2008-06-02 21:55:01','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:55:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52095 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:55:37 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52096,326,0,14,52004,'Help',TO_DATE('2008-06-02 21:55:37','YYYY-MM-DD HH24:MI:SS'),100,'Comment or Hint','A',2000,'The Help field contains a hint, comment or help about the use of this item.','Y','N','N','N','N','N','N','N','N','N','Y','Comment/Help',0,TO_DATE('2008-06-02 21:55:37','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:55:37 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52096 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:56:03 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52097,348,0,20,52004,'IsActive',TO_DATE('2008-06-02 21:56:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','A',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','N','N','N','N','N','Y','Active',0,TO_DATE('2008-06-02 21:56:02','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:56:03 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52097 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:56:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52043,0,'LastLockTime',TO_DATE('2008-06-02 21:56:55','YYYY-MM-DD HH24:MI:SS'),100,'Last time at which the terminal was locked','A','Y','Last Lock Time','Last Lock Time',TO_DATE('2008-06-02 21:56:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:56:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52043 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:57:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52098,52043,0,16,52004,'LastLockTime',TO_DATE('2008-06-02 21:57:13','YYYY-MM-DD HH24:MI:SS'),100,'Last time at which the terminal was locked','A',7,'Y','N','N','N','N','N','N','N','N','N','Y','Last Lock Time',0,TO_DATE('2008-06-02 21:57:13','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:57:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52098 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:58:06 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52044,0,'Locked',TO_DATE('2008-06-02 21:58:06','YYYY-MM-DD HH24:MI:SS'),100,'Whether the terminal is locked','A','Y','Locked','Locked',TO_DATE('2008-06-02 21:58:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:58:06 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52044 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:58:26 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52099,52044,0,20,52004,'Locked',TO_DATE('2008-06-02 21:58:26','YYYY-MM-DD HH24:MI:SS'),100,'N','Whether the terminal is locked','A',1,'Y','N','N','N','N','N','N','N','N','N','Y','Locked',0,TO_DATE('2008-06-02 21:58:26','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:58:26 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52099 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:59:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52045,0,'LockTime',TO_DATE('2008-06-02 21:59:13','YYYY-MM-DD HH24:MI:SS'),100,'Time in minutes the terminal should be kept in a locked state.','A','Y','Lock Time','Lock Time',TO_DATE('2008-06-02 21:59:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:59:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52045 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:59:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,ValueMin,Version) VALUES (0,52100,52045,0,11,52004,'LockTime',TO_DATE('2008-06-02 21:59:40','YYYY-MM-DD HH24:MI:SS'),100,'Time in minutes the terminal should be kept in a locked state.','A',10,'Y','N','N','N','N','N','N','N','N','N','Y','Lock Time',0,TO_DATE('2008-06-02 21:59:40','YYYY-MM-DD HH24:MI:SS'),100,'0',0) +; + +-- Jun 2, 2008 9:59:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52100 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:00:25 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52101,459,0,19,52004,'M_Warehouse_ID',TO_DATE('2008-06-02 22:00:24','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','A',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','N','N','N','N','N','N','N','N','N','Y','Warehouse',0,TO_DATE('2008-06-02 22:00:24','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:00:25 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52101 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:00:44 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52102,469,0,10,52004,'Name',TO_DATE('2008-06-02 22:00:44','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','A',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','N','N','N','N','N','N','N','Y','Name',0,TO_DATE('2008-06-02 22:00:44','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:00:44 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52102 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:02:07 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52103,480,0,18,166,52004,'PO_PriceList_ID',TO_DATE('2008-06-02 22:02:07','YYYY-MM-DD HH24:MI:SS'),100,'Price List used by this Business Partner','A',22,'Identifies the price list used by a Vendor for products purchased by this organization.','Y','N','N','N','N','N','N','N','N','N','Y','Purchase Pricelist',0,TO_DATE('2008-06-02 22:02:07','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:02:07 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52103 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:02:37 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52104,2051,0,10,52004,'PrinterName',TO_DATE('2008-06-02 22:02:37','YYYY-MM-DD HH24:MI:SS'),100,'Name of the Printer','A',60,'Internal (Opereating System) Name of the Printer; Please mote that the printer name may be different on different clients. Enter a printer name, which applies to ALL clients (e.g. printer on a server).

+If none is entered, the default printer is used. You specify your default printer when you log in. You can also change the default printer in Preferences.','Y','N','N','N','N','N','N','N','N','N','Y','Printer Name',0,TO_DATE('2008-06-02 22:02:37','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:02:37 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52104 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:03:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52105,1063,0,18,316,52004,'SalesRep_ID',TO_DATE('2008-06-02 22:03:16','YYYY-MM-DD HH24:MI:SS'),100,'Sales Representative or Company Agent','A',22,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','N','N','Y','Sales Representative',0,TO_DATE('2008-06-02 22:03:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:03:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52105 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:04:15 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52046,0,'SO_PriceList_ID',TO_DATE('2008-06-02 22:04:15','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Sales Pricelist','Sales Pricelist',TO_DATE('2008-06-02 22:04:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 10:04:15 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52046 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 10:04:46 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52106,52046,0,18,166,52004,'SO_PriceList_ID',TO_DATE('2008-06-02 22:04:46','YYYY-MM-DD HH24:MI:SS'),100,'A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Sales Pricelist',0,TO_DATE('2008-06-02 22:04:46','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:04:46 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52106 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:05:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52047,0,'UnlockingTime',TO_DATE('2008-06-02 22:05:16','YYYY-MM-DD HH24:MI:SS'),100,'Time at which the terminal should be unlocked','A','Y','UnlockingTime','UnlockingTime',TO_DATE('2008-06-02 22:05:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 10:05:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52047 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 10:05:34 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52107,52047,0,16,52004,'UnlockingTime',TO_DATE('2008-06-02 22:05:34','YYYY-MM-DD HH24:MI:SS'),100,'Time at which the terminal should be unlocked','A',7,'Y','N','N','N','N','N','N','N','N','N','Y','UnlockingTime',0,TO_DATE('2008-06-02 22:05:34','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:05:34 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52107 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:05:58 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52108,607,0,16,52004,'Updated',TO_DATE('2008-06-02 22:05:58','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','A',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2008-06-02 22:05:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:05:58 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52108 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:06:30 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52109,608,0,18,110,52004,'UpdatedBy',TO_DATE('2008-06-02 22:06:30','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','A',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','N','N','N','N','N','Y','Updated By',0,TO_DATE('2008-06-02 22:06:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:06:30 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52109 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:29:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52048,0,'U_POSTerminal_ID',TO_DATE('2008-06-02 22:29:01','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','POS Terminal','POS Terminal',TO_DATE('2008-06-02 22:29:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 10:29:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52048 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 10:29:54 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52110,52048,0,13,52004,'U_POSTerminal_ID',TO_DATE('2008-06-02 22:29:54','YYYY-MM-DD HH24:MI:SS'),100,'A',22,'Y','N','N','N','Y','Y','N','N','N','N','N','POS Terminal',0,TO_DATE('2008-06-02 22:29:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:29:54 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52110 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:48:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52049,0,'CheckTransferCashBook_ID',TO_DATE('2008-06-02 22:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Check transactions','A','Y','Transfer Check trx to','Transfer Check trx to',TO_DATE('2008-06-02 22:48:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 10:48:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52049 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 10:49:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52111,52049,0,18,52004,52004,'CheckTransferCashBook_ID',TO_DATE('2008-06-02 22:49:35','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Check transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Check trx to',0,TO_DATE('2008-06-02 22:49:35','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:49:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52111 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 3, 2008 2:27:59 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Sequence ( +AD_Client_ID,AD_Org_ID +,AD_Sequence_ID,Created,CreatedBy +,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy +) VALUES ( +0,0 +,52006,TO_DATE('2008-06-03 14:27:59','YYYY-MM-DD HH24:MI:SS'),100 +,1000000,100,'Table U_POSTerminal',1,'Y','N','Y','Y','U_POSTerminal','N',1000000,TO_DATE('2008-06-03 14:27:59','YYYY-MM-DD HH24:MI:SS'),100) +; + + +-- 1.7.0/oracle/003_Terminals_TransferConfiguration.sql +----------------------------- +ALTER TABLE AD_OrgInfo ADD TransferBank_ID NUMBER(10); +ALTER TABLE AD_OrgInfo ADD TransferCashBook_ID NUMBER(10); + +ALTER TABLE AD_OrgInfo + ADD CONSTRAINT "cbank_adorginfo" + FOREIGN KEY(TransferBank_ID) + REFERENCES C_Bank(C_Bank_ID); + + +ALTER TABLE AD_OrgInfo + ADD CONSTRAINT "ccashbook_adorginfo" + FOREIGN KEY(TransferCashBook_ID) + REFERENCES C_CashBook(C_CashBook_ID); + + + + +-- May 26, 2008 23:25:51 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52028,0,'TransferBank_ID',TO_DATE('2008-05-26 23:25:50','YYYY-MM-DD HH24:MI:SS'),100,'Bank account depending on currency will be used from this bank for doing transfers','D','Y','Bank for transfers','Bank for transfers',TO_DATE('2008-05-26 23:25:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- May 26, 2008 23:25:51 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52028 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- May 26, 2008 23:26:38 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,52001,TO_DATE('2008-05-26 23:26:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','C_Bank',TO_DATE('2008-05-26 23:26:38','YYYY-MM-DD HH24:MI:SS'),100,'T') +; + +-- May 26, 2008 23:26:38 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=52001 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- May 26, 2008 23:28:08 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,WhereClause) VALUES (0,3039,3031,0,52001,296,TO_DATE('2008-05-26 23:28:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_DATE('2008-05-26 23:28:08','YYYY-MM-DD HH24:MI:SS'),100,'C_Bank.IsOwnBank=''Y''') +; + +-- May 26, 2008 23:28:33 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52075,52028,0,18,52001,228,'TransferBank_ID',TO_DATE('2008-05-26 23:28:33','YYYY-MM-DD HH24:MI:SS'),100,'Bank account depending on currency will be used from this bank for doing transfers','D',22,'Y','N','N','N','N','N','N','N','N','N','Y','Bank for transfers',0,TO_DATE('2008-05-26 23:28:33','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- May 26, 2008 23:28:33 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52075 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + + + +-- Cash Book + +-- May 26, 2008 23:29:40 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52029,0,'TransferCashBook_ID',TO_DATE('2008-05-23 23:29:40','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','CashBook for transfers','CashBook for transfers',TO_DATE('2008-05-23 23:29:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- May 26, 2008 23:29:40 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52029 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- May 26, 2008 23:30:32 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52076,52029,0,18,52004,228,'TransferCashBook_ID',TO_DATE('2008-05-23 23:30:31','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','N','N','Y','CashBook for transfers',0,TO_DATE('2008-05-23 23:30:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- May 26, 2008 23:30:32 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52076 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + + +-- 1.7.0/oracle/004_Terminals_newTableDDL.sql +----------------------------- +-- Jun 2, 2008 23:58:02 AM GMT+04:00 +-- Default comment for updating dictionary +CREATE TABLE U_POSTerminal (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, AutoLock CHAR(1) DEFAULT 'N' CHECK (AutoLock IN ('Y','N')) NOT NULL, Card_BankAccount_ID NUMBER(10), CardTransferBankAccount_ID NUMBER(10), CardTransferCashBook_ID NUMBER(10), CardTransferType CHAR(1), CashBookTransferType CHAR(1) NOT NULL, CashTransferBankAccount_ID NUMBER(10), CashTransferCashBook_ID NUMBER(10), C_CashBook_ID NUMBER(10) NOT NULL, C_CashBPartner_ID NUMBER(10) NOT NULL, Check_BankAccount_ID NUMBER(10), CheckTransferBankAccount_ID NUMBER(10), CheckTransferCashBook_ID NUMBER(10), CheckTransferType CHAR(1), Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, C_TemplateBPartner_ID NUMBER(10), Description NVARCHAR2(255), Help NVARCHAR2(2000), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')), LastLockTime DATE, Locked CHAR(1) DEFAULT 'N' CHECK (Locked IN ('Y','N')), LockTime NUMBER(10), M_Warehouse_ID NUMBER(10), Name NVARCHAR2(60), PO_PriceList_ID NUMBER(10), PrinterName NVARCHAR2(60), SalesRep_ID NUMBER(10), SO_PriceList_ID NUMBER(10), UnlockingTime DATE, Updated DATE NOT NULL, UpdatedBy NUMBER(10), U_POSTerminal_ID NUMBER(10) NOT NULL, CONSTRAINT U_POSTerminal_Key PRIMARY KEY (U_POSTerminal_ID)) +; + + +-- 1.7.0/oracle/005_Messages.sql +----------------------------- +-- Jun 9, 2008 1:24:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52452,0,TO_DATE('2008-06-09 13:24:35','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Organisation','I',TO_DATE('2008-06-09 13:24:35','YYYY-MM-DD HH24:MI:SS'),100,'smenu.organisation') +; + +-- Jun 9, 2008 1:25:48 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52453,0,TO_DATE('2008-06-09 13:25:48','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Terminals','I',TO_DATE('2008-06-09 13:25:48','YYYY-MM-DD HH24:MI:SS'),100,'smenu.terminal') +; + +-- Jun 9, 2008 1:26:06 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52454,0,TO_DATE('2008-06-09 13:26:06','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Cash Books','I',TO_DATE('2008-06-09 13:26:06','YYYY-MM-DD HH24:MI:SS'),100,'smenu.cashbook') +; + +-- Jun 9, 2008 1:26:30 PM GMT+04:00 +-- Default comment for updating dictionary +UPDATE AD_Message SET MsgTip='Maintain POS Terminals',Updated=TO_DATE('2008-06-09 13:26:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=52453 +; + +-- Jun 9, 2008 1:26:39 PM GMT+04:00 +-- Default comment for updating dictionary +UPDATE AD_Message SET MsgTip='Maintain Cash Books',Updated=TO_DATE('2008-06-09 13:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=52454 +; + +-- Jun 9, 2008 1:27:15 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52455,0,TO_DATE('2008-06-09 13:27:15','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Completed','I',TO_DATE('2008-06-09 13:27:15','YYYY-MM-DD HH24:MI:SS'),100,'document.status.completed') +; + +-- Jun 9, 2008 1:28:05 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52456,0,TO_DATE('2008-06-09 13:28:04','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Drafted','I',TO_DATE('2008-06-09 13:28:04','YYYY-MM-DD HH24:MI:SS'),100,'document.status.drafted') +; + +-- Jun 9, 2008 1:28:27 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52457,0,TO_DATE('2008-06-09 13:28:27','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','In Progress','I',TO_DATE('2008-06-09 13:28:27','YYYY-MM-DD HH24:MI:SS'),100,'document.status.inprogress') +; + +-- Jun 9, 2008 1:28:44 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52458,0,TO_DATE('2008-06-09 13:28:44','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Invalid','I',TO_DATE('2008-06-09 13:28:44','YYYY-MM-DD HH24:MI:SS'),100,'document.status.invalid') +; + +-- Jun 9, 2008 1:28:58 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52459,0,TO_DATE('2008-06-09 13:28:58','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Closed','I',TO_DATE('2008-06-09 13:28:58','YYYY-MM-DD HH24:MI:SS'),100,'document.status.closed') +; + +-- Jun 9, 2008 1:29:15 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52460,0,TO_DATE('2008-06-09 13:29:15','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Cash','I',TO_DATE('2008-06-09 13:29:15','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.cash') +; + +-- Jun 9, 2008 1:29:27 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52461,0,TO_DATE('2008-06-09 13:29:27','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Card','I',TO_DATE('2008-06-09 13:29:27','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.card') +; + +-- Jun 9, 2008 1:29:42 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52462,0,TO_DATE('2008-06-09 13:29:41','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Cheque','I',TO_DATE('2008-06-09 13:29:41','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.cheque') +; + +-- Jun 9, 2008 1:29:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52463,0,TO_DATE('2008-06-09 13:29:55','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Mixed','I',TO_DATE('2008-06-09 13:29:55','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.mixed') +; + +-- Jun 9, 2008 1:30:14 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52464,0,TO_DATE('2008-06-09 13:30:13','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Credit','I',TO_DATE('2008-06-09 13:30:13','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.credit') +; + +-- Jun 9, 2008 1:30:46 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52465,0,TO_DATE('2008-06-09 13:30:46','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Amount Paid','I',TO_DATE('2008-06-09 13:30:46','YYYY-MM-DD HH24:MI:SS'),100,'AmountPaid') +; + +--------------------------------------------------------------------------------------------------------------------------------------------------- + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52470 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'html', 'HTML', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52471 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pdf', 'PDF', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52472 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'csv', 'CSV', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52473 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.sales.report', 'Sales Report', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52474 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.best.selling.items', 'Best Selling Items', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52475 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.stock.sales.report', 'Stock Sales Report', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52476 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.transfer.stock', 'Stock Transfer', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52477 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.inventory.move', 'Inventory Move', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52478 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.move.confirmation', 'Move Confirmation', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52479 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.barcode.printing', 'Barcode Printing', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52480 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'basePriceList', 'Base Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52481, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'isDeleteOldRecords', 'Delete Old Records', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52482, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'sales.price.list', 'Sales Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52483, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'purchase.price.list', 'Purchase Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52484, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pos.terminal', 'Terminal', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52485, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pos.version', 'Version', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52486, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pmenu.new.reports', 'Reports', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52487, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'isCreatePriceList', 'Create Price List', ' ', 'I', 'D'); + + +-- 1.7.1/oracle/001_M_Inventory.sql +----------------------------- +-- Add QtyCsv in M_inventoryLine +ALTER TABLE M_INVENTORYLINE ADD ( QTYCSV NUMBER(10, 0) DEFAULT 0 NOT NULL); + + +-- 1.7.2/oracle/001_ADRole.sql +----------------------------- +-- Additional Role Configuration for Discount +ALTER TABLE AD_ROLE ADD (IsDiscountUptoLimitPrice char(1) DEFAULT 'N' NOT NULL); +ALTER TABLE AD_ROLE ADD (IsDiscountAllowedOnTotal char(1) DEFAULT 'N' NOT NULL); + + +-- 1.7.3/oracle/002_ADMessage.sql +----------------------------- +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52488, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'discount.upto.price.limit', 'Enforce Discount Upto Limit Price', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52489, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'over.ride.limit.price', 'Enforce Overide Limit Price', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52490, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'discount.allowed.total', 'Allowed Discount On Total Sales', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52491, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'smenu.pos.purchase.report', 'Purchases Report', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52492, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'smenu.settle.payment.credit.purchase', 'Settle Payment For Purchases On Credit', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52493, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'smenu.user.manual', 'User Manual', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52494, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'smenu.contactus', 'Contact Us', NULL, 'I', 'U'); + + +-- 1.7.3/oracle/003_AD_OrgInfo.sql +----------------------------- +ALTER TABLE ad_orginfo ADD (receiptFooterMsg varchar(1023)); + + +-- 1.7.3/oracle/004_AD_Changes for AD_OrgInfo.sql +----------------------------- +INSERT INTO AD_Element +(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, +columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) +VALUES(52050, 0, 0, 'Y', sysdate, 100, sysdate, 100, +'ReceiptFooterMsg', 'U', 'Receipt Footer Msg', 'Receipt Footer Msg', 'This message will be displayed at the bottom of a receipt when doing a sales or purchase', NULL, NULL, NULL, NULL, NULL); + + +INSERT INTO ad_column +(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, +description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, +ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, +isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, +ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic) +VALUES(52112, 0, 0, 'Y', sysdate, sysdate, 100, 100, 'ReceiptFooterMsg' , 'This message will be displayed at the bottom of a receipt when doing a sales or purchase', NULL, 0, 'U', 'ReceiptFooterMsg', 228, 10, NULL, NULL, 1024, 1, 'N', 'N', 'Y', 'Y', NULL, +'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52050, NULL, 'N', 'N', NULL, NULL); + + +-- 1.7.3/oracle/005_MissingIDs.sql +----------------------------- +-- Missing Ids for M_InventoryLine & AD_Role +-- AD Element +INSERT INTO ad_element(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) + VALUES(52051, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'IsDiscountUptoLimitPrice', 'U', 'IsDiscountUptoLimitPrice', 'IsDiscountUptoLimitPrice', NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO ad_element(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) + VALUES(52052, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'IsDiscountAllowedOnTotal', 'U', 'IsDiscountAllowedOnTotal', 'IsDiscountAllowedOnTotal', NULL, NULL, NULL, NULL, NULL, NULL); + +-- AD Column +INSERT INTO ad_column(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic, infofactoryclass) + VALUES(52113, 0, 0, 'Y', sysdate, sysdate, 100, 100, 'IsDiscountUptoLimitPrice', NULL, NULL, 0, 'U', 'IsDiscountUptoLimitPrice', 156, 20, NULL, NULL, 1, NULL, 'N', 'N', 'Y', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52051, NULL, 'N', 'N', NULL, NULL, NULL); +INSERT INTO ad_column(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic, infofactoryclass) + VALUES(52114, 0, 0, 'Y', sysdate, sysdate, 100, 100, 'IsDiscountAllowedOnTotal', NULL, NULL, 0, 'U', 'IsDiscountAllowedOnTotal', 156, 20, NULL, NULL, 1, NULL, 'N', 'N', 'Y', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52052, NULL, 'N', 'N', NULL, NULL, NULL); + +-- AD Element +INSERT INTO ad_element(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) + VALUES(52053, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'QtyCsv', 'U', 'QtyCsv', 'QtyCsv', NULL, NULL, NULL, NULL, NULL, NULL); + +-- AD Column +INSERT INTO ad_column(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic, infofactoryclass) + VALUES(52115, 0, 0, 'Y', sysdate, sysdate, 100, 100, 'QtyCsv', NULL, NULL, 0, 'U', 'QtyCsv', 322, 29, NULL, NULL, 131089, NULL, 'N', 'N', 'Y', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52053, NULL, 'N', 'N', NULL, NULL, NULL); + + +-- 1.7.3/oracle/006_PackSize_MProduct.sql +----------------------------- +-- The Units Per Pack indicates the no of units of a product packed together. +ALTER TABLE M_Product ADD (UnitsPerPack number(10,0) default 1 not null ); + +-- AD Element -- +INSERT INTO AD_ELEMENT(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) + VALUES(52054, 0, 0, 'Y', sysdate, 100, sysdate, 100, 'UnitsPerPack', 'U', 'UnitsPerPack', 'UnitsPerPack', 'The Units Per Pack indicates the no of units of a product packed together.', NULL, NULL, NULL, NULL, NULL); + +-- AD Column -- +INSERT INTO AD_COLUMN(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic, infofactoryclass) + VALUES(52116, 0, 0, 'Y', sysdate, sysdate, 100, 100, 'UnitsPerPack', 'The Units Per Pack indicates the no of units of a product packed together.', NULL, 0, 'U', 'UnitsPerPack', 208, 11, NULL, NULL, 14, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52054, NULL, 'N', 'N', NULL, NULL, NULL); + + +-- 1.7.3/oracle/007_CashPayment.sql +----------------------------- +--- Alter table -- oracle +--- Table: C_Payment ----------------------------------------------------------- +ALTER TABLE C_Payment +MODIFY C_BankAccount_ID NUMBER(10,0) NULL; + + +ALTER TABLE C_Payment +ADD C_CashBook_ID NUMBER(10,0); + +ALTER TABLE C_Payment +ADD CONSTRAINT C_Payment__C_CashBo_C_CashBook +FOREIGN KEY(C_CashBook_ID) REFERENCES C_CashBook(C_CashBook_ID); + + +--- Migration scripts ---------------------------------------------------------- +-- Aug 26, 2008 11:49:31 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) +VALUES (0,52117,1463,0,19,335,'C_CashBook_ID',sysdate,100,'Cash Book for recording petty cash transactions','U',10,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','N','N','N','N','N','N','N','N','Y','Cash Book',sysdate,100,0); + +-- Aug 26, 2008 11:49:31 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52117 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID); + + +-- Aug 26, 2008 11:50:27 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Column SET IsMandatory='N',Updated=sysdate,UpdatedBy=100 WHERE AD_Column_ID=3880; + + +-- Aug 26, 2008 11:50:27 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET Name='Bank Account', Description='Account at the Bank', Help='The Bank Account identifies an account at this Bank.' WHERE AD_Column_ID=3880 AND IsCentrallyMaintained='Y'; + + +-- Aug 26, 2008 11:51:40 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) +VALUES (0,52117,52052,0,330,sysdate,100,'Cash Book for recording petty cash transactions',10,'U','The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','Y','Y','N','N','N','N','N','Cash Book',sysdate,100); + + +-- Aug 26, 2008 11:51:40 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=52052 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID); + + +-- Aug 26, 2008 11:51:40 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) +VALUES (0,13705,52053,0,330,sysdate,100,10,'D','Y','Y','Y','N','N','N','N','N','Referenced Payment',sysdate,100); + + +-- Aug 26, 2008 11:51:40 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=52053 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID); + + +-- Aug 26, 2008 11:52:11 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=52053; + + +-- Aug 26, 2008 11:52:11 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=660,IsDisplayed='Y' WHERE AD_Field_ID=52052; + + +-- Aug 26, 2008 11:52:56 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET DisplayLogic='@TenderType@ !''X''',Updated=sysdate,UpdatedBy=100 WHERE AD_Field_ID=4030; + + +-- Aug 26, 2008 11:54:17 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET DisplayLength=14, DisplayLogic='@TenderType@=''X''', IsSameLine='Y',Updated=sysdate,UpdatedBy=100 WHERE AD_Field_ID=52052; + + +-- Aug 26, 2008 11:54:42 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Tab SET WhereClause=NULL,Updated=sysdate,UpdatedBy=100 WHERE AD_Tab_ID=330; + + +-- x.x.x/oracle/ +----------------------------- \ No newline at end of file diff --git a/migration/352a-trunk/313_FR2101466_Native_Sequence.sql b/migration/352a-trunk/313_FR2101466_Native_Sequence.sql new file mode 100644 index 0000000000..5624633b7e --- /dev/null +++ b/migration/352a-trunk/313_FR2101466_Native_Sequence.sql @@ -0,0 +1,208 @@ +SET SQLBLANKLINES ON +-- Sep 8, 2008 10:12:30 PM CDT +-- DB Native Sequence +INSERT INTO AD_SysConfig (AD_Client_ID,AD_Org_ID,AD_SysConfig_ID,ConfigurationLevel,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,50016,'S',TO_DATE('2008-09-08 22:12:21','YYYY-MM-DD HH24:MI:SS'),0,'Y - Yes Use Native Sequence , N - No Use Adempiere Sequence (AD_Sequence)','D','Y','SYSTEM_NATIVE_SEQUENCE',TO_DATE('2008-09-08 22:12:21','YYYY-MM-DD HH24:MI:SS'),0,'N') +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53156,'4','org.eevolution.process.EnableNativeSequence',TO_DATE('2008-09-08 22:22:38','YYYY-MM-DD HH24:MI:SS'),0,'Enable Native Sequence','D','This process allows Enable the native sequences based in the current AD_Sequence. + +This process should be implemented when the users are not connected.','Y','N','N','N','N','Enable Native Sequence','Y',5,181,TO_DATE('2008-09-08 22:22:38','YYYY-MM-DD HH24:MI:SS'),0,'AD_Native_Sequence_Enable') +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53156 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,0,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,102,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,103,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,50002,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,50001,TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:24:04 PM CDT +-- DB Native Sequence +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53193,0,53156,'P',TO_DATE('2008-09-08 22:24:03','YYYY-MM-DD HH24:MI:SS'),0,'Enable Native Sequence','D','Y','N','N','N','Enable Native Sequence',TO_DATE('2008-09-08 22:24:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:24:04 PM CDT +-- DB Native Sequence +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53193 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Sep 8, 2008 10:24:04 PM CDT +-- DB Native Sequence +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53193, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53193) +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=161 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=367 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=456 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=501 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=326 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=566 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=392 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=113 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=220 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=351 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=289 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=302 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=303 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=321 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=461 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53193 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=383 +; + diff --git a/migration/352a-trunk/314_PosteritaCashTenderType.sql b/migration/352a-trunk/314_PosteritaCashTenderType.sql new file mode 100644 index 0000000000..1bade07bd0 --- /dev/null +++ b/migration/352a-trunk/314_PosteritaCashTenderType.sql @@ -0,0 +1,10 @@ +-- Oct 26, 2008 11:11:07 AM EET +-- Posterita Integration +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53438,214,TO_DATE('2008-10-26 11:10:56','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Cash',TO_DATE('2008-10-26 11:10:56','YYYY-MM-DD HH24:MI:SS'),100,'X') +; + +-- Oct 26, 2008 11:11:07 AM EET +-- Posterita Integration +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53438 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + diff --git a/migration/352a-trunk/315_replace_pljava_for34.sql b/migration/352a-trunk/315_replace_pljava_for34.sql new file mode 100644 index 0000000000..8d61dca7e9 --- /dev/null +++ b/migration/352a-trunk/315_replace_pljava_for34.sql @@ -0,0 +1 @@ +-- just for postgresql diff --git a/migration/352a-trunk/316_replace_pljava_for352.sql b/migration/352a-trunk/316_replace_pljava_for352.sql new file mode 100644 index 0000000000..25fc8331d9 --- /dev/null +++ b/migration/352a-trunk/316_replace_pljava_for352.sql @@ -0,0 +1 @@ +-- just postgresql diff --git a/migration/352a-trunk/317_FR2233277.sql b/migration/352a-trunk/317_FR2233277.sql new file mode 100644 index 0000000000..95eb4f0f23 --- /dev/null +++ b/migration/352a-trunk/317_FR2233277.sql @@ -0,0 +1,746 @@ +-- 07.11.2008 10:27:05 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WinHeight,WinWidth,WindowType) VALUES (0,0,53064,TO_DATE('2008-11-07 10:27:03','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','View MRP Records','N',TO_DATE('2008-11-07 10:27:03','YYYY-MM-DD HH24:MI:SS'),0,0,0,'M') +; + +-- 07.11.2008 10:27:05 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53064 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID) +; + +-- 07.11.2008 10:27:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53064,TO_DATE('2008-11-07 10:27:06','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-11-07 10:27:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:27:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53064,TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:27:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53064,TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:27:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53064,TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:47:33 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53180,53043,53064,TO_DATE('2008-11-07 10:47:30','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D','N','N','Y','N','N','Y','N','N','N','N','Records','N',10,0,TO_DATE('2008-11-07 10:47:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:47:33 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53180 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- 07.11.2008 10:48:05 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54039,56410,0,53180,TO_DATE('2008-11-07 10:47:59','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'EE01','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2008-11-07 10:47:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56410 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:08 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54040,56411,0,53180,TO_DATE('2008-11-07 10:48:07','YYYY-MM-DD HH24:MI:SS'),0,'Resource is available',1,'EE01','Resource is available for assignments','Y','Y','Y','N','N','N','N','N','Available',TO_DATE('2008-11-07 10:48:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:08 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56411 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:11 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54025,56412,0,53180,TO_DATE('2008-11-07 10:48:09','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner',10,'EE01','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','N','N','Business Partner ',TO_DATE('2008-11-07 10:48:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:11 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56412 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:15 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54059,56413,0,53180,TO_DATE('2008-11-07 10:48:12','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'EE01','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2008-11-07 10:48:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:15 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56413 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:18 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54032,56414,0,53180,TO_DATE('2008-11-07 10:48:15','YYYY-MM-DD HH24:MI:SS'),0,'Date of Order',29,'EE01','Indicates the Date an item was ordered.','Y','Y','Y','N','N','N','N','N','Date Ordered',TO_DATE('2008-11-07 10:48:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:19 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56414 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:23 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54033,56415,0,53180,TO_DATE('2008-11-07 10:48:19','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised',29,'EE01','The Date Promised indicates the date, if any, that an Order was promised for.','Y','Y','Y','N','N','N','N','N','Date Promised',TO_DATE('2008-11-07 10:48:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:23 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56415 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:25 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54030,56416,0,53180,TO_DATE('2008-11-07 10:48:24','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateConfirm',TO_DATE('2008-11-07 10:48:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:25 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56416 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:27 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54031,56417,0,53180,TO_DATE('2008-11-07 10:48:26','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateFinishSchedule',TO_DATE('2008-11-07 10:48:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:27 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56417 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:30 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54034,56418,0,53180,TO_DATE('2008-11-07 10:48:27','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateSimulation',TO_DATE('2008-11-07 10:48:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:31 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56418 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:36 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54035,56419,0,53180,TO_DATE('2008-11-07 10:48:31','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateStart',TO_DATE('2008-11-07 10:48:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:36 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56419 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:39 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54036,56420,0,53180,TO_DATE('2008-11-07 10:48:36','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateStartSchedule',TO_DATE('2008-11-07 10:48:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:39 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56420 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54037,56421,0,53180,TO_DATE('2008-11-07 10:48:40','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',1020,'EE01','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2008-11-07 10:48:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56421 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,55336,56422,0,53180,TO_DATE('2008-11-07 10:48:43','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','N','N','Distribution Order',TO_DATE('2008-11-07 10:48:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:46 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56422 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:48 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,55337,56423,0,53180,TO_DATE('2008-11-07 10:48:46','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','N','N','Distribution Order Line',TO_DATE('2008-11-07 10:48:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:48 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56423 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:52 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54038,56424,0,53180,TO_DATE('2008-11-07 10:48:49','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'EE01','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','N','Document Status',TO_DATE('2008-11-07 10:48:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:53 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56424 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:56 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54042,56425,0,53180,TO_DATE('2008-11-07 10:48:53','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast',10,'EE01','Material Forecast','Y','Y','Y','N','N','N','N','N','Forecast',TO_DATE('2008-11-07 10:48:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:56 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56425 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:01 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54041,56426,0,53180,TO_DATE('2008-11-07 10:48:58','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Line',10,'EE01','Forecast of Product Qyantity by Period','Y','Y','Y','N','N','N','N','N','Forecast Line',TO_DATE('2008-11-07 10:48:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:03 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56426 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54049,56427,0,53180,TO_DATE('2008-11-07 10:49:03','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Manufacturing Order',TO_DATE('2008-11-07 10:49:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56427 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:09 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54048,56428,0,53180,TO_DATE('2008-11-07 10:49:07','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Manufacturing Order BOM Line',TO_DATE('2008-11-07 10:49:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:10 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56428 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:12 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54047,56429,0,53180,TO_DATE('2008-11-07 10:49:10','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','N','N','N','N','N','N','Material Requirement Planning',TO_DATE('2008-11-07 10:49:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:13 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56429 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:16 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54023,56430,0,53180,TO_DATE('2008-11-07 10:49:13','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',120,'EE01','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2008-11-07 10:49:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:17 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56430 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:20 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54027,56431,0,53180,TO_DATE('2008-11-07 10:49:17','YYYY-MM-DD HH24:MI:SS'),0,'Order',10,'EE01','The Order is a control document. The Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you cloase an order, unshipped (backordered) quantities are cancelled.','Y','Y','Y','N','N','N','N','N','Order',TO_DATE('2008-11-07 10:49:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:20 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56431 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:23 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54055,56432,0,53180,TO_DATE('2008-11-07 10:49:20','YYYY-MM-DD HH24:MI:SS'),0,3,'EE01','Y','Y','Y','N','N','N','N','N','OrderType',TO_DATE('2008-11-07 10:49:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:23 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56432 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:26 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54024,56433,0,53180,TO_DATE('2008-11-07 10:49:24','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'EE01','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2008-11-07 10:49:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:27 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56433 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:31 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54050,56434,0,53180,TO_DATE('2008-11-07 10:49:27','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Planner',TO_DATE('2008-11-07 10:49:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:32 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56434 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:35 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54051,56435,0,53180,TO_DATE('2008-11-07 10:49:32','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this request is of a high, medium or low priority.',10,'EE01','The Priority indicates the importance of this request.','Y','Y','Y','N','N','N','N','N','Priority',TO_DATE('2008-11-07 10:49:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:35 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56435 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:37 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54043,56436,0,53180,TO_DATE('2008-11-07 10:49:35','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'EE01','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_DATE('2008-11-07 10:49:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:39 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56436 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54052,56437,0,53180,TO_DATE('2008-11-07 10:49:39','YYYY-MM-DD HH24:MI:SS'),0,'Quantity',131089,'EE01','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','N','Quantity',TO_DATE('2008-11-07 10:49:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56437 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54045,56438,0,53180,TO_DATE('2008-11-07 10:49:42','YYYY-MM-DD HH24:MI:SS'),0,'Material Requisition',10,'EE01','Y','Y','Y','N','N','N','N','N','Requisition',TO_DATE('2008-11-07 10:49:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56438 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:47 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54044,56439,0,53180,TO_DATE('2008-11-07 10:49:44','YYYY-MM-DD HH24:MI:SS'),0,'Material Requisition Line',10,'EE01','Y','Y','Y','N','N','N','N','N','Requisition Line',TO_DATE('2008-11-07 10:49:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:47 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56439 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:50 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54053,56440,0,53180,TO_DATE('2008-11-07 10:49:47','YYYY-MM-DD HH24:MI:SS'),0,'Resource',10,'EE01','Y','Y','Y','N','N','N','N','N','Resource',TO_DATE('2008-11-07 10:49:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:50 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56440 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:53 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54026,56441,0,53180,TO_DATE('2008-11-07 10:49:51','YYYY-MM-DD HH24:MI:SS'),0,'Sales Order Line',10,'EE01','The Sales Order Line is a unique identifier for a line in an order.','Y','Y','Y','N','N','N','N','N','Sales Order Line',TO_DATE('2008-11-07 10:49:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:53 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56441 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:56 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54058,56442,0,53180,TO_DATE('2008-11-07 10:49:53','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',80,'EE01','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_DATE('2008-11-07 10:49:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:56 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56442 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:50:00 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54054,56443,0,53180,TO_DATE('2008-11-07 10:49:57','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','Y','Y','N','N','N','N','N','TypeMRP',TO_DATE('2008-11-07 10:49:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:50:00 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56443 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:50:04 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54060,56444,0,53180,TO_DATE('2008-11-07 10:50:00','YYYY-MM-DD HH24:MI:SS'),0,'Version of the table definition',131089,'EE01','The Version indicates the version of this table definition.','Y','Y','Y','N','N','N','N','N','Version',TO_DATE('2008-11-07 10:50:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:50:04 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56444 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:50:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54046,56445,0,53180,TO_DATE('2008-11-07 10:50:04','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point',10,'EE01','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','Y','N','N','N','N','N','Warehouse',TO_DATE('2008-11-07 10:50:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:50:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56445 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:51:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_DATE('2008-11-07 10:51:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53180 +; + +-- 07.11.2008 10:52:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Window_Trl SET IsTranslated='Y',Name='Vizualizare MRP',Updated=TO_DATE('2008-11-07 10:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53064 AND AD_Language='ro_RO' +; + +-- 07.11.2008 10:52:16 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Tab_Trl SET IsTranslated='Y',Name='Inregistrari',Updated=TO_DATE('2008-11-07 10:52:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53180 AND AD_Language='ro_RO' +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56410 +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56411 +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56414 +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56416 +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56418 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56419 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56421 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56430 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56435 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56442 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56444 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56413 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56433 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56436 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56440 +; + +-- 07.11.2008 10:58:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56445 +; + +-- 07.11.2008 10:58:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56415 +; + +-- 07.11.2008 10:58:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56420 +; + +-- 07.11.2008 10:58:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56417 +; + +-- 07.11.2008 10:58:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56437 +; + +-- 07.11.2008 10:58:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56443 +; + +-- 07.11.2008 10:58:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56432 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56431 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56441 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56427 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56428 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56422 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56423 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56438 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56439 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56425 +; + +-- 07.11.2008 10:58:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56426 +; + +-- 07.11.2008 10:58:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56412 +; + +-- 07.11.2008 10:58:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56424 +; + +-- 07.11.2008 10:58:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56434 +; + +-- 07.11.2008 11:02:20 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:02:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56433 +; + +-- 07.11.2008 11:02:34 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:02:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56440 +; + +-- 07.11.2008 11:02:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:02:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420 +; + +-- 07.11.2008 11:02:49 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-11-07 11:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420 +; + +-- 07.11.2008 11:02:55 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:02:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56417 +; + +-- 07.11.2008 11:03:10 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:03:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56415 +; + +-- 07.11.2008 11:03:15 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:03:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420 +; + +-- 07.11.2008 11:04:09 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:04:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56417 +; + +-- 07.11.2008 11:04:50 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:04:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54028 +; + +-- 07.11.2008 11:04:58 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:04:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54030 +; + +-- 07.11.2008 11:05:04 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54031 +; + +-- 07.11.2008 11:05:09 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54032 +; + +-- 07.11.2008 11:05:16 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54033 +; + +-- 07.11.2008 11:05:22 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54034 +; + +-- 07.11.2008 11:05:27 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54035 +; + +-- 07.11.2008 11:05:33 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:05:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54036 +; + +-- 07.11.2008 11:05:58 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-11-07 11:05:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54052 +; + +-- 07.11.2008 11:06:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_DATE('2008-11-07 11:06:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54056 +; + +-- 07.11.2008 11:06:31 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=22,Updated=TO_DATE('2008-11-07 11:06:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54060 +; + +-- 07.11.2008 11:06:38 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:06:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56437 +; + +-- 07.11.2008 11:06:54 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET AD_FieldGroup_ID=104,Updated=TO_DATE('2008-11-07 11:06:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56432 +; + +-- 07.11.2008 11:07:00 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56441 +; + +-- 07.11.2008 11:07:04 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56428 +; + +-- 07.11.2008 11:07:09 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-11-07 11:07:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56422 +; + +-- 07.11.2008 11:07:13 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56423 +; + +-- 07.11.2008 11:07:19 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56439 +; + +-- 07.11.2008 11:07:24 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-07 11:07:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56426 +; + +-- 07.11.2008 11:07:34 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2008-11-07 11:07:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56424 +; + +-- 07.11.2008 11:08:16 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Table SET AD_Window_ID=53064,Updated=TO_DATE('2008-11-07 11:08:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53043 +; + +-- 07.11.2008 11:12:48 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=131,Updated=TO_DATE('2008-11-07 11:12:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54038 +; + +update AD_Tab set EntityType='EE01' where AD_Tab_ID=53180; +update AD_Window set EntityType='EE01' where AD_Window_ID=53064; diff --git a/migration/352a-trunk/318_FRLiberoWorkShop_Reverted.sql b/migration/352a-trunk/318_FRLiberoWorkShop_Reverted.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/migration/352a-trunk/319_BF2273943.sql b/migration/352a-trunk/319_BF2273943.sql new file mode 100644 index 0000000000..66ba1a715a --- /dev/null +++ b/migration/352a-trunk/319_BF2273943.sql @@ -0,0 +1,2590 @@ +-- Nov 12, 2008 4:08:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Calculation Type', PrintName='Depreciation Calculation Type',Updated=TO_DATE('2008-11-12 16:08:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53588 +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53588 +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Calc_Type', Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53588 +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Calc_Type', Name='Depreciation Calculation Type', Description=NULL, Help=NULL, AD_Element_ID=53588 WHERE UPPER(ColumnName)='A_DEPRECIATION_CALC_TYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Calc_Type', Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53588 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53588) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Depreciation Calculation Type', Name='Depreciation Calculation Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53588) +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Split Percentage', PrintName='Split Percentage',Updated=TO_DATE('2008-11-12 16:17:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53541 +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53541 +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Split_Percent', Name='Split Percentage', Description=NULL, Help=NULL WHERE AD_Element_ID=53541 +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Split_Percent', Name='Split Percentage', Description=NULL, Help=NULL, AD_Element_ID=53541 WHERE UPPER(ColumnName)='A_SPLIT_PERCENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Split_Percent', Name='Split Percentage', Description=NULL, Help=NULL WHERE AD_Element_ID=53541 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Split Percentage', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53541) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Split Percentage', Name='Split Percentage' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53541) +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Asset Cost Account', PrintName='Asset Cost Account',Updated=TO_DATE('2008-11-12 16:17:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53549 +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53549 +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Asset_Acct', Name='Asset Cost Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53549 +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct', Name='Asset Cost Account', Description=NULL, Help=NULL, AD_Element_ID=53549 WHERE UPPER(ColumnName)='A_ASSET_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct', Name='Asset Cost Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53549 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Asset Cost Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53549) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Cost Account', Name='Asset Cost Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53549) +; + +-- Nov 12, 2008 4:20:14 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Accumulated Depreciation', PrintName='Accumulated Depreciation',Updated=TO_DATE('2008-11-12 16:20:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53548 +; + +-- Nov 12, 2008 4:20:14 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53548 +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Accumdepreciation_Acct', Name='Accumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Element_ID=53548 +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct', Name='Accumulated Depreciation', Description=NULL, Help=NULL, AD_Element_ID=53548 WHERE UPPER(ColumnName)='A_ACCUMDEPRECIATION_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct', Name='Accumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Element_ID=53548 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Accumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53548) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Accumulated Depreciation', Name='Accumulated Depreciation' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53548) +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Expense Account', PrintName='Depreciation Expense Account',Updated=TO_DATE('2008-11-12 16:20:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53530 +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53530 +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Acct', Name='Depreciation Expense Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53530 +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct', Name='Depreciation Expense Account', Description=NULL, Help=NULL, AD_Element_ID=53530 WHERE UPPER(ColumnName)='A_DEPRECIATION_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct', Name='Depreciation Expense Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53530 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Expense Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53530) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Depreciation Expense Account', Name='Depreciation Expense Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53530) +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Disposal Revenue', PrintName='Disposal Revenue',Updated=TO_DATE('2008-11-12 16:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53539 +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53539 +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue', Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53539 +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue', Name='Disposal Revenue', Description=NULL, Help=NULL, AD_Element_ID=53539 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue', Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53539 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53539) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Disposal Revenue', Name='Disposal Revenue' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53539) +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Loss on Disposal', PrintName='Loss on Disposal',Updated=TO_DATE('2008-11-12 16:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53540 +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53540 +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Loss', Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Element_ID=53540 +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss', Name='Loss on Disposal', Description=NULL, Help=NULL, AD_Element_ID=53540 WHERE UPPER(ColumnName)='A_DISPOSAL_LOSS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss', Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Element_ID=53540 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53540) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Loss on Disposal', Name='Loss on Disposal' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53540) +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Calculation Method', PrintName='Revaluation Calculation Method',Updated=TO_DATE('2008-11-12 16:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53509 +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53509 +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Cal_Method', Name='Revaluation Calculation Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53509 +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cal_Method', Name='Revaluation Calculation Method', Description=NULL, Help=NULL, AD_Element_ID=53509 WHERE UPPER(ColumnName)='A_REVAL_CAL_METHOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cal_Method', Name='Revaluation Calculation Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53509 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Calculation Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53509) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Revaluation Calculation Method', Name='Revaluation Calculation Method' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53509) +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Cost Offset for Current Year', PrintName='Revaluation Cost Offset for Current Year',Updated=TO_DATE('2008-11-12 16:22:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53534 +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53534 +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Cost_Offset', Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53534 +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cost_Offset', Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL, AD_Element_ID=53534 WHERE UPPER(ColumnName)='A_REVAL_COST_OFFSET' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cost_Offset', Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53534 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53534) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Revaluation Cost Offset for Current Year', Name='Revaluation Cost Offset for Current Year' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53534) +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Cost Offset for Prior Year', PrintName='Revaluation Cost Offset for Prior Year',Updated=TO_DATE('2008-11-12 16:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53533 +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53533 +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Cost_Offset_Prior', Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53533 +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cost_Offset_Prior', Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL, AD_Element_ID=53533 WHERE UPPER(ColumnName)='A_REVAL_COST_OFFSET_PRIOR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cost_Offset_Prior', Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53533 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53533) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Revaluation Cost Offset for Prior Year', Name='Revaluation Cost Offset for Prior Year' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53533) +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Accumulated Depreciation Offset for Current Year', PrintName='Revaluation Accumulated Depreciation Offset for Current Year',Updated=TO_DATE('2008-11-12 16:24:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53536 +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53536 +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Accumdep_Offset_Cur', Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53536 +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Accumdep_Offset_Cur', Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL, AD_Element_ID=53536 WHERE UPPER(ColumnName)='A_REVAL_ACCUMDEP_OFFSET_CUR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Accumdep_Offset_Cur', Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53536 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53536) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Revaluation Accumulated Depreciation Offset for Current Year', Name='Revaluation Accumulated Depreciation Offset for Current Year' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53536) +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', PrintName='Revaluation Accumulated Depreciation Offset for Prior Year',Updated=TO_DATE('2008-11-12 16:24:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53535 +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53535 +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Accumdep_Offset_Prior', Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53535 +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Accumdep_Offset_Prior', Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL, AD_Element_ID=53535 WHERE UPPER(ColumnName)='A_REVAL_ACCUMDEP_OFFSET_PRIOR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Accumdep_Offset_Prior', Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53535 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53535) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Revaluation Accumulated Depreciation Offset for Prior Year', Name='Revaluation Accumulated Depreciation Offset for Prior Year' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53535) +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Expense Offs', PrintName='Revaluation Expense Offs',Updated=TO_DATE('2008-11-12 16:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53542 +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53542 +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Depexp_Offset', Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Element_ID=53542 +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Depexp_Offset', Name='Revaluation Expense Offs', Description=NULL, Help=NULL, AD_Element_ID=53542 WHERE UPPER(ColumnName)='A_REVAL_DEPEXP_OFFSET' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Depexp_Offset', Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Element_ID=53542 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53542) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Revaluation Expense Offs', Name='Revaluation Expense Offs' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53542) +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Asset ID', PrintName='Asset ID',Updated=TO_DATE('2008-11-12 16:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53528 +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53528 +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Parent_Asset_ID', Name='Asset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53528 +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Parent_Asset_ID', Name='Asset ID', Description=NULL, Help=NULL, AD_Element_ID=53528 WHERE UPPER(ColumnName)='A_PARENT_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Parent_Asset_ID', Name='Asset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53528 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Asset ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53528) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Asset ID', Name='Asset ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53528) +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Original Qty', PrintName='Original Qty',Updated=TO_DATE('2008-11-12 16:25:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53529 +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53529 +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_QTY_Original', Name='Original Qty', Description=NULL, Help=NULL WHERE AD_Element_ID=53529 +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Original', Name='Original Qty', Description=NULL, Help=NULL, AD_Element_ID=53529 WHERE UPPER(ColumnName)='A_QTY_ORIGINAL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Original', Name='Original Qty', Description=NULL, Help=NULL WHERE AD_Element_ID=53529 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Original Qty', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53529) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Original Qty', Name='Original Qty' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53529) +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Current Qty', PrintName='Current Qty',Updated=TO_DATE('2008-11-12 16:25:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_QTY_Current', Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Current', Name='Current Qty', Description=NULL, Help=NULL, AD_Element_ID=53494 WHERE UPPER(ColumnName)='A_QTY_CURRENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Current', Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Element_ID=53494 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53494) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Current Qty', Name='Current Qty' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53494) +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Type', PrintName='Depreciation Type',Updated=TO_DATE('2008-11-12 16:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53473 +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53473 +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_ID', Name='Depreciation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53473 +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_ID', Name='Depreciation Type', Description=NULL, Help=NULL, AD_Element_ID=53473 WHERE UPPER(ColumnName)='A_DEPRECIATION_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_ID', Name='Depreciation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53473 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53473) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Depreciation Type', Name='Depreciation Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53473) +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Calculation Type', PrintName='Depreciation Calculation Type',Updated=TO_DATE('2008-11-12 16:26:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53544 +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53544 +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Method_ID', Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53544 +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Method_ID', Name='Depreciation Calculation Type', Description=NULL, Help=NULL, AD_Element_ID=53544 WHERE UPPER(ColumnName)='A_DEPRECIATION_METHOD_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Method_ID', Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53544 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53544) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Depreciation Calculation Type', Name='Depreciation Calculation Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53544) +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Convention Type', PrintName='Convention Type',Updated=TO_DATE('2008-11-12 16:27:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53546 +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53546 +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Conv_ID', Name='Convention Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53546 +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Conv_ID', Name='Convention Type', Description=NULL, Help=NULL, AD_Element_ID=53546 WHERE UPPER(ColumnName)='A_DEPRECIATION_CONV_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Conv_ID', Name='Convention Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53546 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Convention Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53546) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Convention Type', Name='Convention Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53546) +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Period Start', PrintName='Period Start',Updated=TO_DATE('2008-11-12 16:31:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53537 +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53537 +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Period_Start', Name='Period Start', Description=NULL, Help=NULL WHERE AD_Element_ID=53537 +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period_Start', Name='Period Start', Description=NULL, Help=NULL, AD_Element_ID=53537 WHERE UPPER(ColumnName)='A_PERIOD_START' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period_Start', Name='Period Start', Description=NULL, Help=NULL WHERE AD_Element_ID=53537 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Period Start', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53537) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Period Start', Name='Period Start' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53537) +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Period End', PrintName='Period End',Updated=TO_DATE('2008-11-12 16:31:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53538 +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53538 +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Period_End', Name='Period End', Description=NULL, Help=NULL WHERE AD_Element_ID=53538 +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period_End', Name='Period End', Description=NULL, Help=NULL, AD_Element_ID=53538 WHERE UPPER(ColumnName)='A_PERIOD_END' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period_End', Name='Period End', Description=NULL, Help=NULL WHERE AD_Element_ID=53538 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Period End', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53538) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Period End', Name='Period End' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53538) +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Salvage Value', PrintName='Salvage Value',Updated=TO_DATE('2008-11-12 16:31:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53493 +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53493 +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Salvage_Value', Name='Salvage Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53493 +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Salvage_Value', Name='Salvage Value', Description=NULL, Help=NULL, AD_Element_ID=53493 WHERE UPPER(ColumnName)='A_SALVAGE_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Salvage_Value', Name='Salvage Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53493 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Salvage Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53493) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Salvage Value', Name='Salvage Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53493) +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Capital vs Expense', PrintName='Capital vs Expense',Updated=TO_DATE('2008-11-12 16:32:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53641 +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53641 +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_CapvsExp', Name='Capital vs Expense', Description=NULL, Help=NULL WHERE AD_Element_ID=53641 +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_CapvsExp', Name='Capital vs Expense', Description=NULL, Help=NULL, AD_Element_ID=53641 WHERE UPPER(ColumnName)='A_CAPVSEXP' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_CapvsExp', Name='Capital vs Expense', Description=NULL, Help=NULL WHERE AD_Element_ID=53641 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Capital vs Expense', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53641) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Capital vs Expense', Name='Capital vs Expense' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53641) +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Source of Entry', PrintName='Source of Entry',Updated=TO_DATE('2008-11-12 16:32:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53640 +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53640 +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_SourceType', Name='Source of Entry', Description=NULL, Help=NULL WHERE AD_Element_ID=53640 +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_SourceType', Name='Source of Entry', Description=NULL, Help=NULL, AD_Element_ID=53640 WHERE UPPER(ColumnName)='A_SOURCETYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_SourceType', Name='Source of Entry', Description=NULL, Help=NULL WHERE AD_Element_ID=53640 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Source of Entry', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53640) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:32:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Source of Entry', Name='Source of Entry' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53640) +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Quantity', PrintName='Quantity',Updated=TO_DATE('2008-11-12 16:33:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_QTY_Current', Name='Quantity', Description=NULL, Help=NULL WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Current', Name='Quantity', Description=NULL, Help=NULL, AD_Element_ID=53494 WHERE UPPER(ColumnName)='A_QTY_CURRENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Current', Name='Quantity', Description=NULL, Help=NULL WHERE AD_Element_ID=53494 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Quantity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53494) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Quantity', Name='Quantity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53494) +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Leasor, Mortgage Company, or Rentor', PrintName='Leasor, Mortgage Company, or Rentor',Updated=TO_DATE('2008-11-12 16:33:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Finance_Meth', Name='Leasor, Mortgage Company, or Rentor', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Leasor, Mortgage Company, or Rentor', Description=NULL, Help=NULL, AD_Element_ID=53593 WHERE UPPER(ColumnName)='A_FINANCE_METH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Leasor, Mortgage Company, or Rentor', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Leasor, Mortgage Company, or Rentor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53593) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Leasor, Mortgage Company, or Rentor', Name='Leasor, Mortgage Company, or Rentor' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53593) +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Contract Date', PrintName='Contract Date',Updated=TO_DATE('2008-11-12 16:34:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53602 +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53602 +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53602 +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL, AD_Element_ID=53602 WHERE UPPER(ColumnName)='A_CONTRACT_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53602 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53602) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Contract Date', Name='Contract Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53602) +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Contract Expiration Date', PrintName='Contract Expiration Date',Updated=TO_DATE('2008-11-12 16:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53601 +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53601 +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Expired_Date', Name='Contract Expiration Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53601 +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Expired_Date', Name='Contract Expiration Date', Description=NULL, Help=NULL, AD_Element_ID=53601 WHERE UPPER(ColumnName)='A_EXPIRED_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Expired_Date', Name='Contract Expiration Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53601 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Contract Expiration Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53601) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Contract Expiration Date', Name='Contract Expiration Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53601) +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Monthly Payment', PrintName='Monthly Payment',Updated=TO_DATE('2008-11-12 16:34:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53600 +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53600 +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Monthly_Payment', Name='Monthly Payment', Description=NULL, Help=NULL WHERE AD_Element_ID=53600 +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Monthly_Payment', Name='Monthly Payment', Description=NULL, Help=NULL, AD_Element_ID=53600 WHERE UPPER(ColumnName)='A_MONTHLY_PAYMENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Monthly_Payment', Name='Monthly Payment', Description=NULL, Help=NULL WHERE AD_Element_ID=53600 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Monthly Payment', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53600) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Monthly Payment', Name='Monthly Payment' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53600) +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Payment Due Date', PrintName='Payment Due Date',Updated=TO_DATE('2008-11-12 16:35:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53595 +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53595 +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Due_On', Name='Payment Due Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53595 +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Due_On', Name='Payment Due Date', Description=NULL, Help=NULL, AD_Element_ID=53595 WHERE UPPER(ColumnName)='A_DUE_ON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Due_On', Name='Payment Due Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53595 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Payment Due Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53595) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Payment Due Date', Name='Payment Due Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53595) +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Purchase Option', PrintName='Purchase Option',Updated=TO_DATE('2008-11-12 16:35:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53596 +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53596 +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Purchase_Option', Name='Purchase Option', Description=NULL, Help=NULL WHERE AD_Element_ID=53596 +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option', Name='Purchase Option', Description=NULL, Help=NULL, AD_Element_ID=53596 WHERE UPPER(ColumnName)='A_PURCHASE_OPTION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option', Name='Purchase Option', Description=NULL, Help=NULL WHERE AD_Element_ID=53596 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Purchase Option', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53596) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Purchase Option', Name='Purchase Option' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53596) +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Option Purchase Price', PrintName='Option Purchase Price',Updated=TO_DATE('2008-11-12 16:36:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53598 +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53598 +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Purchase_Price', Name='Option Purchase Price', Description=NULL, Help=NULL WHERE AD_Element_ID=53598 +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Price', Name='Option Purchase Price', Description=NULL, Help=NULL, AD_Element_ID=53598 WHERE UPPER(ColumnName)='A_PURCHASE_PRICE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Price', Name='Option Purchase Price', Description=NULL, Help=NULL WHERE AD_Element_ID=53598 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Option Purchase Price', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53598) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Option Purchase Price', Name='Option Purchase Price' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53598) +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Purchase Option Credit', PrintName='Purchase Option Credit',Updated=TO_DATE('2008-11-12 16:36:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53599 +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53599 +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Purchase_Option_Credit', Name='Purchase Option Credit', Description=NULL, Help=NULL WHERE AD_Element_ID=53599 +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option_Credit', Name='Purchase Option Credit', Description=NULL, Help=NULL, AD_Element_ID=53599 WHERE UPPER(ColumnName)='A_PURCHASE_OPTION_CREDIT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option_Credit', Name='Purchase Option Credit', Description=NULL, Help=NULL WHERE AD_Element_ID=53599 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Purchase Option Credit', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53599) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Purchase Option Credit', Name='Purchase Option Credit' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53599) +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Purchase Option Credit %', PrintName='Purchase Option Credit %',Updated=TO_DATE('2008-11-12 16:36:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53597 +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53597 +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Purchase_Option_Credit_Per', Name='Purchase Option Credit %', Description=NULL, Help=NULL WHERE AD_Element_ID=53597 +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option_Credit_Per', Name='Purchase Option Credit %', Description=NULL, Help=NULL, AD_Element_ID=53597 WHERE UPPER(ColumnName)='A_PURCHASE_OPTION_CREDIT_PER' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option_Credit_Per', Name='Purchase Option Credit %', Description=NULL, Help=NULL WHERE AD_Element_ID=53597 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Purchase Option Credit %', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53597) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Purchase Option Credit %', Name='Purchase Option Credit %' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53597) +; + +-- Nov 12, 2008 4:37:59 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Issuing Agency', PrintName='Issuing Agency',Updated=TO_DATE('2008-11-12 16:37:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53617 +; + +-- Nov 12, 2008 4:37:59 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53617 +; + +-- Nov 12, 2008 4:37:59 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Issuing_Agency', Name='Issuing Agency', Description=NULL, Help=NULL WHERE AD_Element_ID=53617 +; + +-- Nov 12, 2008 4:38:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Issuing_Agency', Name='Issuing Agency', Description=NULL, Help=NULL, AD_Element_ID=53617 WHERE UPPER(ColumnName)='A_ISSUING_AGENCY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:38:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Issuing_Agency', Name='Issuing Agency', Description=NULL, Help=NULL WHERE AD_Element_ID=53617 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Issuing Agency', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53617) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Issuing Agency', Name='Issuing Agency' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53617) +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='License No', PrintName='License No',Updated=TO_DATE('2008-11-12 16:38:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53616 +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53616 +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_License_No', Name='License No', Description=NULL, Help=NULL WHERE AD_Element_ID=53616 +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_License_No', Name='License No', Description=NULL, Help=NULL, AD_Element_ID=53616 WHERE UPPER(ColumnName)='A_LICENSE_NO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_License_No', Name='License No', Description=NULL, Help=NULL WHERE AD_Element_ID=53616 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='License No', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53616) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='License No', Name='License No' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53616) +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='License Fee', PrintName='License Fee',Updated=TO_DATE('2008-11-12 16:38:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53614 +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53614 +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_License_Fee', Name='License Fee', Description=NULL, Help=NULL WHERE AD_Element_ID=53614 +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_License_Fee', Name='License Fee', Description=NULL, Help=NULL, AD_Element_ID=53614 WHERE UPPER(ColumnName)='A_LICENSE_FEE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_License_Fee', Name='License Fee', Description=NULL, Help=NULL WHERE AD_Element_ID=53614 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='License Fee', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53614) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='License Fee', Name='License Fee' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53614) +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Renewal Date', PrintName='Renewal Date',Updated=TO_DATE('2008-11-12 16:39:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Renewal_Date', Name='Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Renewal Date', Description=NULL, Help=NULL, AD_Element_ID=53615 WHERE UPPER(ColumnName)='A_RENEWAL_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Renewal Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53615) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Renewal Date', Name='Renewal Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53615) +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Insurance Company', PrintName='Insurance Company',Updated=TO_DATE('2008-11-12 16:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53622 +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53622 +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Element_ID=53622 +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL, AD_Element_ID=53622 WHERE UPPER(ColumnName)='A_INSURANCE_CO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Element_ID=53622 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53622) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Insurance Company', Name='Insurance Company' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53622) +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Policy Number', PrintName='Policy Number',Updated=TO_DATE('2008-11-12 16:39:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53620 +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53620 +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Policy_No', Name='Policy Number', Description=NULL, Help=NULL WHERE AD_Element_ID=53620 +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Policy_No', Name='Policy Number', Description=NULL, Help=NULL, AD_Element_ID=53620 WHERE UPPER(ColumnName)='A_POLICY_NO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Policy_No', Name='Policy Number', Description=NULL, Help=NULL WHERE AD_Element_ID=53620 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Policy Number', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53620) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Policy Number', Name='Policy Number' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53620) +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Policy Renewal Date', PrintName='Policy Renewal Date',Updated=TO_DATE('2008-11-12 16:40:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Renewal_Date', Name='Policy Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Policy Renewal Date', Description=NULL, Help=NULL, AD_Element_ID=53615 WHERE UPPER(ColumnName)='A_RENEWAL_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Policy Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Policy Renewal Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53615) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Policy Renewal Date', Name='Policy Renewal Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53615) +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Insurance Premium', PrintName='Insurance Premium',Updated=TO_DATE('2008-11-12 16:40:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53623 +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53623 +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Ins_Premium', Name='Insurance Premium', Description=NULL, Help=NULL WHERE AD_Element_ID=53623 +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Ins_Premium', Name='Insurance Premium', Description=NULL, Help=NULL, AD_Element_ID=53623 WHERE UPPER(ColumnName)='A_INS_PREMIUM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Ins_Premium', Name='Insurance Premium', Description=NULL, Help=NULL WHERE AD_Element_ID=53623 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Insurance Premium', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53623) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Insurance Premium', Name='Insurance Premium' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53623) +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Replacement Costs', PrintName='Replacement Costs',Updated=TO_DATE('2008-11-12 16:40:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53621 +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53621 +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Replace_Cost', Name='Replacement Costs', Description=NULL, Help=NULL WHERE AD_Element_ID=53621 +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Replace_Cost', Name='Replacement Costs', Description=NULL, Help=NULL, AD_Element_ID=53621 WHERE UPPER(ColumnName)='A_REPLACE_COST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Replace_Cost', Name='Replacement Costs', Description=NULL, Help=NULL WHERE AD_Element_ID=53621 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Replacement Costs', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53621) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Replacement Costs', Name='Replacement Costs' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53621) +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Insured Value', PrintName='Insured Value',Updated=TO_DATE('2008-11-12 16:41:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53619 +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53619 +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Ins_Value', Name='Insured Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53619 +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Ins_Value', Name='Insured Value', Description=NULL, Help=NULL, AD_Element_ID=53619 WHERE UPPER(ColumnName)='A_INS_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Ins_Value', Name='Insured Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53619 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Insured Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53619) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Insured Value', Name='Insured Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53619) +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Tax Entity', PrintName='Tax Entity',Updated=TO_DATE('2008-11-12 16:41:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53591 +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53591 +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Tax_Entity', Name='Tax Entity', Description=NULL, Help=NULL WHERE AD_Element_ID=53591 +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Tax_Entity', Name='Tax Entity', Description=NULL, Help=NULL, AD_Element_ID=53591 WHERE UPPER(ColumnName)='A_TAX_ENTITY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Tax_Entity', Name='Tax Entity', Description=NULL, Help=NULL WHERE AD_Element_ID=53591 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Tax Entity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53591) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Tax Entity', Name='Tax Entity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53591) +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Purchased New?', PrintName='Purchased New?',Updated=TO_DATE('2008-11-12 16:42:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53592 +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53592 +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_New_Used', Name='Purchased New?', Description=NULL, Help=NULL WHERE AD_Element_ID=53592 +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_New_Used', Name='Purchased New?', Description=NULL, Help=NULL, AD_Element_ID=53592 WHERE UPPER(ColumnName)='A_NEW_USED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_New_Used', Name='Purchased New?', Description=NULL, Help=NULL WHERE AD_Element_ID=53592 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Purchased New?', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53592) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Purchased New?', Name='Purchased New?' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53592) +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Finance Method', PrintName='Finance Method',Updated=TO_DATE('2008-11-12 16:43:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Finance_Meth', Name='Finance Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Finance Method', Description=NULL, Help=NULL, AD_Element_ID=53593 WHERE UPPER(ColumnName)='A_FINANCE_METH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Finance Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Finance Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53593) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Finance Method', Name='Finance Method' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53593) +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Investment Credit', PrintName='Investment Credit',Updated=TO_DATE('2008-11-12 16:43:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53590 +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53590 +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Investment_CR', Name='Investment Credit', Description=NULL, Help=NULL WHERE AD_Element_ID=53590 +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Investment_CR', Name='Investment Credit', Description=NULL, Help=NULL, AD_Element_ID=53590 WHERE UPPER(ColumnName)='A_INVESTMENT_CR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Investment_CR', Name='Investment Credit', Description=NULL, Help=NULL WHERE AD_Element_ID=53590 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Investment Credit', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53590) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Investment Credit', Name='Investment Credit' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53590) +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Asset Related?', PrintName='Asset Related?',Updated=TO_DATE('2008-11-12 16:44:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53646 +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53646 +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_CreateAsset', Name='Asset Related?', Description=NULL, Help=NULL WHERE AD_Element_ID=53646 +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_CreateAsset', Name='Asset Related?', Description=NULL, Help=NULL, AD_Element_ID=53646 WHERE UPPER(ColumnName)='A_CREATEASSET' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_CreateAsset', Name='Asset Related?', Description=NULL, Help=NULL WHERE AD_Element_ID=53646 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Asset Related?', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53646) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Asset Related?', Name='Asset Related?' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53646) +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Entry Type', PrintName='Entry Type',Updated=TO_DATE('2008-11-12 16:45:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53484 +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53484 +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Entry_Type', Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53484 +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Entry_Type', Name='Entry Type', Description=NULL, Help=NULL, AD_Element_ID=53484 WHERE UPPER(ColumnName)='A_ENTRY_TYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Entry_Type', Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53484 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53484) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Entry Type', Name='Entry Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53484) +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Code', PrintName='Depreciation Code',Updated=TO_DATE('2008-11-12 16:46:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53480 +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53480 +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Table_Code', Name='Depreciation Code', Description=NULL, Help=NULL WHERE AD_Element_ID=53480 +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Table_Code', Name='Depreciation Code', Description=NULL, Help=NULL, AD_Element_ID=53480 WHERE UPPER(ColumnName)='A_DEPRECIATION_TABLE_CODE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Table_Code', Name='Depreciation Code', Description=NULL, Help=NULL WHERE AD_Element_ID=53480 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Code', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53480) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Depreciation Code', Name='Depreciation Code' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53480) +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Period/Yearly', PrintName='Period/Yearly',Updated=TO_DATE('2008-11-12 16:46:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53482 +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53482 +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Term', Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Element_ID=53482 +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Term', Name='Period/Yearly', Description=NULL, Help=NULL, AD_Element_ID=53482 WHERE UPPER(ColumnName)='A_TERM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Term', Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Element_ID=53482 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53482) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Period/Yearly', Name='Period/Yearly' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53482) +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Type', PrintName='Type',Updated=TO_DATE('2008-11-12 16:46:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53478 +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53478 +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Table_Rate_Type', Name='Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53478 +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Table_Rate_Type', Name='Type', Description=NULL, Help=NULL, AD_Element_ID=53478 WHERE UPPER(ColumnName)='A_TABLE_RATE_TYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Table_Rate_Type', Name='Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53478 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53478) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Type', Name='Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53478) +; + +-- Nov 12, 2008 4:47:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Period/Yearly', PrintName='Period/Yearly',Updated=TO_DATE('2008-11-12 16:47:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53477 +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53477 +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Period', Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Element_ID=53477 +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period', Name='Period/Yearly', Description=NULL, Help=NULL, AD_Element_ID=53477 WHERE UPPER(ColumnName)='A_PERIOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period', Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Element_ID=53477 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53477) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Period/Yearly', Name='Period/Yearly' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53477) +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Rate', PrintName='Rate',Updated=TO_DATE('2008-11-12 16:47:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53479 +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53479 +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Rate', Name='Rate', Description=NULL, Help=NULL WHERE AD_Element_ID=53479 +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Rate', Name='Rate', Description=NULL, Help=NULL, AD_Element_ID=53479 WHERE UPPER(ColumnName)='A_DEPRECIATION_RATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Rate', Name='Rate', Description=NULL, Help=NULL WHERE AD_Element_ID=53479 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Rate', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53479) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Rate', Name='Rate' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53479) +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='End Aset ID', PrintName='End Aset ID',Updated=TO_DATE('2008-11-12 16:48:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53505 +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53505 +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_End_Asset_ID', Name='End Aset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53505 +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_End_Asset_ID', Name='End Aset ID', Description=NULL, Help=NULL, AD_Element_ID=53505 WHERE UPPER(ColumnName)='A_END_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_End_Asset_ID', Name='End Aset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53505 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='End Aset ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53505) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='End Aset ID', Name='End Aset ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53505) +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Asset Cost Acct', PrintName='Old Asset Cost Acct',Updated=TO_DATE('2008-11-12 16:51:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53565 +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53565 +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Asset_Acct_Str', Name='Old Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53565 +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct_Str', Name='Old Asset Cost Acct', Description=NULL, Help=NULL, AD_Element_ID=53565 WHERE UPPER(ColumnName)='A_ASSET_ACCT_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct_Str', Name='Old Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53565 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53565) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Old Asset Cost Acct', Name='Old Asset Cost Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53565) +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Asset Cost Acct', PrintName='New Asset Cost Acct',Updated=TO_DATE('2008-11-12 16:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53557 +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53557 +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Asset_Acct_New', Name='New Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53557 +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct_New', Name='New Asset Cost Acct', Description=NULL, Help=NULL, AD_Element_ID=53557 WHERE UPPER(ColumnName)='A_ASSET_ACCT_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct_New', Name='New Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53557 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53557) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='New Asset Cost Acct', Name='New Asset Cost Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53557) +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Accum Depreciation Acct', PrintName='Old Accum Depreciation Acct',Updated=TO_DATE('2008-11-12 16:52:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53567 +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53567 +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Accumdepreciation_Acct_Str', Name='Old Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53567 +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct_Str', Name='Old Accum Depreciation Acct', Description=NULL, Help=NULL, AD_Element_ID=53567 WHERE UPPER(ColumnName)='A_ACCUMDEPRECIATION_ACCT_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct_Str', Name='Old Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53567 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53567) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Old Accum Depreciation Acct', Name='Old Accum Depreciation Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53567) +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Accum Depreciation Acct', PrintName='New Accum Depreciation Acct',Updated=TO_DATE('2008-11-12 16:53:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53566 +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53566 +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Accumdepreciation_Acct_New', Name='New Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53566 +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct_New', Name='New Accum Depreciation Acct', Description=NULL, Help=NULL, AD_Element_ID=53566 WHERE UPPER(ColumnName)='A_ACCUMDEPRECIATION_ACCT_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct_New', Name='New Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53566 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53566) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='New Accum Depreciation Acct', Name='New Accum Depreciation Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53566) +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Depreciation Exp Acct', PrintName='Old Depreciation Exp Acct',Updated=TO_DATE('2008-11-12 16:54:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53558 +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53558 +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Acct_Str', Name='Old Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53558 +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct_Str', Name='Old Depreciation Exp Acct', Description=NULL, Help=NULL, AD_Element_ID=53558 WHERE UPPER(ColumnName)='A_DEPRECIATION_ACCT_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct_Str', Name='Old Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53558 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53558) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Old Depreciation Exp Acct', Name='Old Depreciation Exp Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53558) +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Depreciation Exp Acct', PrintName='New Depreciation Exp Acct',Updated=TO_DATE('2008-11-12 16:54:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53564 +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53564 +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Acct_New', Name='New Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53564 +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct_New', Name='New Depreciation Exp Acct', Description=NULL, Help=NULL, AD_Element_ID=53564 WHERE UPPER(ColumnName)='A_DEPRECIATION_ACCT_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct_New', Name='New Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53564 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53564) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='New Depreciation Exp Acct', Name='New Depreciation Exp Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53564) +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Disposal Revenue', PrintName='Old Disposal Revenue',Updated=TO_DATE('2008-11-12 16:54:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53561 +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53561 +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Str', Name='Old Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Old Disposal Revenue', Description=NULL, Help=NULL, AD_Element_ID=53561 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Old Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53561) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Old Disposal Revenue', Name='Old Disposal Revenue' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53561) +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Disposal Revenue', PrintName='New Disposal Revenue',Updated=TO_DATE('2008-11-12 16:55:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53562 +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53562 +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_New', Name='New Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53562 +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_New', Name='New Disposal Revenue', Description=NULL, Help=NULL, AD_Element_ID=53562 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_New', Name='New Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53562 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53562) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='New Disposal Revenue', Name='New Disposal Revenue' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53562) +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Disposal Loss', PrintName='Old Disposal Loss',Updated=TO_DATE('2008-11-12 16:55:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53563 +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53563 +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Loss_Str', Name='Old Disposal Loss', Description=NULL, Help=NULL WHERE AD_Element_ID=53563 +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_Str', Name='Old Disposal Loss', Description=NULL, Help=NULL, AD_Element_ID=53563 WHERE UPPER(ColumnName)='A_DISPOSAL_LOSS_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_Str', Name='Old Disposal Loss', Description=NULL, Help=NULL WHERE AD_Element_ID=53563 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Disposal Loss', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53563) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:55:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Old Disposal Loss', Name='Old Disposal Loss' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53563) +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Disposal Loss', PrintName='New Disposal Loss',Updated=TO_DATE('2008-11-12 16:56:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53559 +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53559 +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Loss_New', Name='New Disposal Loss', Description=NULL, Help=NULL WHERE AD_Element_ID=53559 +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_New', Name='New Disposal Loss', Description=NULL, Help=NULL, AD_Element_ID=53559 WHERE UPPER(ColumnName)='A_DISPOSAL_LOSS_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_New', Name='New Disposal Loss', Description=NULL, Help=NULL WHERE AD_Element_ID=53559 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Disposal Loss', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53559) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='New Disposal Loss', Name='New Disposal Loss' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53559) +; + +-- Nov 12, 2008 4:56:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Transfer Balance Sheet', PrintName='Transfer Balance Sheet',Updated=TO_DATE('2008-11-12 16:56:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53560 +; + +-- Nov 12, 2008 4:56:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53560 +; + +-- Nov 12, 2008 4:56:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Transfer_Balance', Name='Transfer Balance Sheet', Description=NULL, Help=NULL WHERE AD_Element_ID=53560 +; + +-- Nov 12, 2008 4:56:28 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance', Name='Transfer Balance Sheet', Description=NULL, Help=NULL, AD_Element_ID=53560 WHERE UPPER(ColumnName)='A_TRANSFER_BALANCE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:56:28 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance', Name='Transfer Balance Sheet', Description=NULL, Help=NULL WHERE AD_Element_ID=53560 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:28 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Transfer Balance Sheet', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53560) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:28 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Transfer Balance Sheet', Name='Transfer Balance Sheet' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53560) +; + +-- Nov 12, 2008 4:56:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Transfer IS Balance', PrintName='Transfer IS Balance',Updated=TO_DATE('2008-11-12 16:56:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:56:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:56:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Transfer_Balance_IS', Name='Transfer IS Balance', Description=NULL, Help=NULL WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:56:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance_IS', Name='Transfer IS Balance', Description=NULL, Help=NULL, AD_Element_ID=53522 WHERE UPPER(ColumnName)='A_TRANSFER_BALANCE_IS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:56:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance_IS', Name='Transfer IS Balance', Description=NULL, Help=NULL WHERE AD_Element_ID=53522 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Transfer IS Balance', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53522) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Transfer IS Balance', Name='Transfer IS Balance' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53522) +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Split Type', PrintName='Split Type',Updated=TO_DATE('2008-11-12 16:57:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53521 +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53521 +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Split_Type', Name='Split Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53521 +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Split_Type', Name='Split Type', Description=NULL, Help=NULL, AD_Element_ID=53521 WHERE UPPER(ColumnName)='A_SPLIT_TYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Split_Type', Name='Split Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53521 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Split Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53521) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Split Type', Name='Split Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53521) +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='To Asset ID', PrintName='To Asset ID',Updated=TO_DATE('2008-11-12 16:58:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53525 +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53525 +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Asset_ID_To', Name='To Asset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53525 +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_ID_To', Name='To Asset ID', Description=NULL, Help=NULL, AD_Element_ID=53525 WHERE UPPER(ColumnName)='A_ASSET_ID_TO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_ID_To', Name='To Asset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53525 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='To Asset ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53525) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='To Asset ID', Name='To Asset ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53525) +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Transfer Balance IS', PrintName='Transfer Balance IS',Updated=TO_DATE('2008-11-12 16:58:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Transfer_Balance_IS', Name='Transfer Balance IS', Description=NULL, Help=NULL WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance_IS', Name='Transfer Balance IS', Description=NULL, Help=NULL, AD_Element_ID=53522 WHERE UPPER(ColumnName)='A_TRANSFER_BALANCE_IS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance_IS', Name='Transfer Balance IS', Description=NULL, Help=NULL WHERE AD_Element_ID=53522 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Transfer Balance IS', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53522) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Transfer Balance IS', Name='Transfer Balance IS' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53522) +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Disposed Reason Code', PrintName='Disposed Reason Code',Updated=TO_DATE('2008-11-12 17:00:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53552 +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53552 +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposed_Reason', Name='Disposed Reason Code', Description=NULL, Help=NULL WHERE AD_Element_ID=53552 +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Reason', Name='Disposed Reason Code', Description=NULL, Help=NULL, AD_Element_ID=53552 WHERE UPPER(ColumnName)='A_DISPOSED_REASON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Reason', Name='Disposed Reason Code', Description=NULL, Help=NULL WHERE AD_Element_ID=53552 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Disposed Reason Code', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53552) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:00:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Disposed Reason Code', Name='Disposed Reason Code' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53552) +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Disposal Method', PrintName='Disposal Method',Updated=TO_DATE('2008-11-12 17:00:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53554 +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53554 +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposed_Method', Name='Disposal Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53554 +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Method', Name='Disposal Method', Description=NULL, Help=NULL, AD_Element_ID=53554 WHERE UPPER(ColumnName)='A_DISPOSED_METHOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Method', Name='Disposal Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53554 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Disposal Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53554) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Disposal Method', Name='Disposal Method' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53554) +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Disposed Date', PrintName='Disposed Date',Updated=TO_DATE('2008-11-12 17:01:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53551 +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53551 +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53551 +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL, AD_Element_ID=53551 WHERE UPPER(ColumnName)='A_DISPOSED_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53551 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53551) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem pi SET PrintName='Disposed Date', Name='Disposed Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53551) +; + diff --git a/migration/352a-trunk/320_FR2257170.sql b/migration/352a-trunk/320_FR2257170.sql new file mode 100644 index 0000000000..ee336f7c9f --- /dev/null +++ b/migration/352a-trunk/320_FR2257170.sql @@ -0,0 +1,133 @@ +-- 2008-nov-11 08:54:58 CET +-- [ 2257170 ] Implement shipper and freight category functionality +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56376,2111,0,13,259,'M_FreightCategory_ID',TO_DATE('2008-11-11 08:54:56','YYYY-MM-DD HH24:MI:SS'),100,'Category of the Freight','D',1,'Freight Categories are used to calculate the Freight for the Shipper selected','Y','Y','Y','N','N','N','N','N','N','N','N','N','Y','Freight Category','@DocStatus@!=CO',0,TO_DATE('2008-11-11 08:54:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56376 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +ALTER TABLE C_Order ADD M_FreightCategory_ID NUMBER(10) DEFAULT NULL +; + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56376,56446,0,186,TO_DATE('2008-11-11 09:04:37','YYYY-MM-DD HH24:MI:SS'),100,'Category of the Freight',1,'D','Freight Categories are used to calculate the Freight for the Shipper selected','Y','Y','Y','N','N','N','N','N','Freight Category',TO_DATE('2008-11-11 09:04:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56446 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56446 +; + +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=2878 +; + +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=1107 +; + +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=1104 +; + +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=1077 +; + +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=1103 +; + +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=8653 +; + +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=1098 +; + +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=3272 +; + +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=2112 +; + +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=2109 +; + +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=3113 +; + +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=1099 +; + +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=2593 +; + +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=2589 +; + +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=1324 +; + +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=7038 +; + +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=7826 +; + +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=7825 +; + +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=1112 +; + +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=1113 +; + +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=1082 +; + +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=1084 +; + +UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=6560 +; + +UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=1083 +; + +UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=3660 +; + +UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=1000169 +; + +UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=1000170 +; + +UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=52014 +; + +UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=1000171 +; + +UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=1000172 +; + +UPDATE AD_Field SET AD_FieldGroup_ID=130,Updated=TO_DATE('2008-11-11 09:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446 +; + +UPDATE AD_Field SET DisplayLogic='@DeliveryViaRule@=''S'' & @OrderType@=''SO''',Updated=TO_DATE('2008-11-11 09:13:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446 +; + +UPDATE AD_Field SET DisplayLength=14, IsSameLine='Y',Updated=TO_DATE('2008-11-11 09:13:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446 +; + +UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2008-11-11 09:28:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56376 +; + +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,Description,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52034,'M_FreightCategory_ID in (select M_FreightCategory_ID from M_Freight where M_Shipper_ID=@M_Shipper_ID@)',TO_DATE('2008-11-11 10:28:03','YYYY-MM-DD HH24:MI:SS'),100,'Select only freight categories defined at the shipper','D','Y','M_FreightCategory of Shipper','S',TO_DATE('2008-11-11 10:28:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +UPDATE AD_Column SET AD_Val_Rule_ID=52034,Updated=TO_DATE('2008-11-11 10:35:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56376 +; + +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=2878 +; + +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56446 +; \ No newline at end of file diff --git a/migration/352a-trunk/321_PosteritaSampleData.sql b/migration/352a-trunk/321_PosteritaSampleData.sql new file mode 100644 index 0000000000..d562f46675 --- /dev/null +++ b/migration/352a-trunk/321_PosteritaSampleData.sql @@ -0,0 +1,608 @@ +SET DEFINE OFF; + +-- Nov 15, 2008 10:11:57 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@AD_Client_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-11-15 10:11:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52042 +; + +-- Nov 15, 2008 10:11:58 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Reference_ID=19, DefaultValue='@#AD_Client_ID@', IsMandatory='Y',Updated=TO_DATE('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52042 +; + +-- Nov 15, 2008 10:11:58 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=104, DefaultValue='@AD_Org_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52043 +; + +-- Nov 15, 2008 10:11:59 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Reference_ID=19, DefaultValue='@#AD_Org_ID@', IsMandatory='Y',Updated=TO_DATE('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52043 +; + +-- Nov 15, 2008 10:12:07 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@AD_Client_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-11-15 10:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52077 +; + +-- Nov 15, 2008 10:12:07 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@#AD_Client_ID@', IsMandatory='Y', Name='Client',Updated=TO_DATE('2008-11-15 10:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52077 +; + +-- Nov 15, 2008 10:12:08 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=104, DefaultValue='@AD_Org_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-11-15 10:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52078 +; + +-- Nov 15, 2008 10:12:08 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=130, DefaultValue='@#AD_Org_ID@', IsMandatory='Y', Name='Organization',Updated=TO_DATE('2008-11-15 10:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52078 +; + +-- Nov 15, 2008 10:12:15 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52041, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_DATE('2008-11-15 10:12:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52091 +; + +-- Nov 15, 2008 10:12:15 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52041, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Name='Card Transfer Type',Updated=TO_DATE('2008-11-15 10:12:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52091 +; + +-- Nov 15, 2008 10:12:17 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52031, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_DATE('2008-11-15 10:12:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52080 +; + +-- Nov 15, 2008 10:12:17 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52031, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Description='Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book', IsMandatory='Y', Name='Cash Book Transfer Type',Updated=TO_DATE('2008-11-15 10:12:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52080 +; + +-- Nov 15, 2008 10:12:19 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52037, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_DATE('2008-11-15 10:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52087 +; + +-- Nov 15, 2008 10:12:20 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52037, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Name='Check Transfer Type',Updated=TO_DATE('2008-11-15 10:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52087 +; + +---------------------------- +-- Nov 15, 2008 10:22:43 AM EET +-- Posterita Integration +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,Name,Updated,UpdatedBy) VALUES (0,53196,0,TO_DATE('2008-11-15 10:22:39','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','N','N','Web POS Terminal',TO_DATE('2008-11-15 10:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:43 AM EET +-- Posterita Integration +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53196 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Nov 15, 2008 10:22:44 AM EET +-- Posterita Integration +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53065,TO_DATE('2008-11-15 10:22:43','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Web POS Terminal','N',TO_DATE('2008-11-15 10:22:43','YYYY-MM-DD HH24:MI:SS'),0,'M') +; + +-- Nov 15, 2008 10:22:44 AM EET +-- Posterita Integration +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53065 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID) +; + +-- Nov 15, 2008 10:22:46 AM EET +-- Posterita Integration +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,IsActive,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53181,52004,53065,TO_DATE('2008-11-15 10:22:44','YYYY-MM-DD HH24:MI:SS'),0,'A','N','Y','N','Y','N','N','Terminal','N',10,0,TO_DATE('2008-11-15 10:22:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:46 AM EET +-- Posterita Integration +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53181 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- Nov 15, 2008 10:22:48 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52077,56450,0,53181,TO_DATE('2008-11-15 10:22:46','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Client',10,TO_DATE('2008-11-15 10:22:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:48 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56450 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:48 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10,Updated=TO_DATE('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56450 +; + +-- Nov 15, 2008 10:22:49 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52078,56451,0,53181,TO_DATE('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Organization',20,TO_DATE('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:49 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56451 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:49 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20,Updated=TO_DATE('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56451 +; + +-- Nov 15, 2008 10:22:50 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52102,56452,0,53181,TO_DATE('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Name',30,TO_DATE('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:50 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56452 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:50 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=30,Updated=TO_DATE('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56452 +; + +-- Nov 15, 2008 10:22:51 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52097,56453,0,53181,TO_DATE('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Active',40,TO_DATE('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:51 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56453 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:51 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40,Updated=TO_DATE('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56453 +; + +-- Nov 15, 2008 10:22:52 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52095,56454,0,53181,TO_DATE('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Description',50,TO_DATE('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:52 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56454 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:52 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=255, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=50,Updated=TO_DATE('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56454 +; + +-- Nov 15, 2008 10:22:53 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52096,56455,0,53181,TO_DATE('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Comment/Help',60,TO_DATE('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:53 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56455 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:53 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=2000, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=60,Updated=TO_DATE('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56455 +; + +-- Nov 15, 2008 10:22:54 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52101,56456,0,53181,TO_DATE('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Warehouse',70,TO_DATE('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:54 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56456 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:54 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Warehouse', SeqNo=70,Updated=TO_DATE('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56456 +; + +-- Nov 15, 2008 10:22:55 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52079,56457,0,53181,TO_DATE('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Auto Lock',80,TO_DATE('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:55 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56457 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:55 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Auto Lock', SeqNo=80,Updated=TO_DATE('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56457 +; + +-- Nov 15, 2008 10:22:56 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52099,56458,0,53181,TO_DATE('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Locked',90,TO_DATE('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:56 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56458 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:56 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Locked', SeqNo=90,Updated=TO_DATE('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56458 +; + +-- Nov 15, 2008 10:22:56 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52100,56459,0,53181,TO_DATE('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Lock Time',100,TO_DATE('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56459 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=10, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Lock Time', SeqNo=100,Updated=TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56459 +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52098,56460,0,53181,TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Last Lock Time',110,TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56460 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=7, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Last Lock Time', SeqNo=110,Updated=TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56460 +; + +-- Nov 15, 2008 10:22:58 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52107,56461,0,53181,TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Unlocking Time',120,TO_DATE('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:58 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56461 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:58 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=7, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Unlocking Time', SeqNo=120,Updated=TO_DATE('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56461 +; + +-- Nov 15, 2008 10:22:59 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52094,56462,0,53181,TO_DATE('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Template BPartner',130,TO_DATE('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:59 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56462 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:59 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Template BPartner', SeqNo=130,Updated=TO_DATE('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56462 +; + +-- Nov 15, 2008 10:23:00 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52104,56463,0,53181,TO_DATE('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Printer Name',140,TO_DATE('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:00 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56463 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:00 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Printer Name', SeqNo=140,Updated=TO_DATE('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56463 +; + +-- Nov 15, 2008 10:23:01 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52103,56464,0,53181,TO_DATE('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Purchase Pricelist',150,TO_DATE('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:01 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56464 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:01 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Purchase Pricelist', SeqNo=150,Updated=TO_DATE('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56464 +; + +-- Nov 15, 2008 10:23:02 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52106,56465,0,53181,TO_DATE('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Sales Pricelist',160,TO_DATE('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:02 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56465 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:02 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Sales Pricelist', SeqNo=160,Updated=TO_DATE('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56465 +; + +-- Nov 15, 2008 10:23:03 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52105,56466,0,53181,TO_DATE('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Sales Representative',170,TO_DATE('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:03 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56466 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:03 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Sales Representative', SeqNo=170,Updated=TO_DATE('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56466 +; + +-- Nov 15, 2008 10:23:04 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52091,56467,0,53181,TO_DATE('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Card Transfer Type',180,TO_DATE('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:04 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56467 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:04 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Card Transfer Type', SeqNo=180,Updated=TO_DATE('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56467 +; + +-- Nov 15, 2008 10:23:05 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52088,56468,0,53181,TO_DATE('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Card Bank Account',190,TO_DATE('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:05 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56468 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:05 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Card Bank Account', SeqNo=190,Updated=TO_DATE('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56468 +; + +-- Nov 15, 2008 10:23:05 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52090,56469,0,53181,TO_DATE('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Card trx to Cash Book',200,TO_DATE('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:06 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56469 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:06 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Card trx to Cash Book', SeqNo=200,Updated=TO_DATE('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56469 +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52089,56470,0,53181,TO_DATE('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Card trx to Bank account',210,TO_DATE('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56470 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Card trx to Bank account', SeqNo=210,Updated=TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56470 +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52080,56471,0,53181,TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash Book Transfer Type',220,TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56471 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash Book Transfer Type', SeqNo=220,Updated=TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56471 +; + +-- Nov 15, 2008 10:23:08 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52083,56472,0,53181,TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash Book',230,TO_DATE('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:09 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56472 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:09 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash Book', SeqNo=230,Updated=TO_DATE('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56472 +; + +-- Nov 15, 2008 10:23:09 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52084,56473,0,53181,TO_DATE('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash BPartner',240,TO_DATE('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56473 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +UPDATE AD_Field SET Description='BPartner to be used for Cash transactions', DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash BPartner', SeqNo=240,Updated=TO_DATE('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56473 +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56473 +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52082,56474,0,53181,TO_DATE('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Cash trx to Cash Book',250,TO_DATE('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56474 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:11 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Cash trx to Cash Book', SeqNo=250,Updated=TO_DATE('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56474 +; + +-- Nov 15, 2008 10:23:11 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52081,56475,0,53181,TO_DATE('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Cash trx to Bank Account',260,TO_DATE('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:12 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56475 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:12 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Cash trx to Bank Account', SeqNo=260,Updated=TO_DATE('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56475 +; + +-- Nov 15, 2008 10:23:13 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52087,56476,0,53181,TO_DATE('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Check Transfer Type',270,TO_DATE('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:13 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56476 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:13 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Check Transfer Type', SeqNo=270,Updated=TO_DATE('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56476 +; + +-- Nov 15, 2008 10:23:15 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52085,56477,0,53181,TO_DATE('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Check Bank Account',280,TO_DATE('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:15 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56477 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:16 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Check Bank Account', SeqNo=280,Updated=TO_DATE('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56477 +; + +-- Nov 15, 2008 10:23:17 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52111,56478,0,53181,TO_DATE('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Check trx to Cash Book',290,TO_DATE('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:17 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56478 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:17 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Check trx to Cash Book', SeqNo=290,Updated=TO_DATE('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56478 +; + +-- Nov 15, 2008 10:23:18 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52086,56479,0,53181,TO_DATE('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Tranfer Check trx to Bank Account',300,TO_DATE('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:18 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56479 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:18 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Check trx to Bank Account', SeqNo=300,Updated=TO_DATE('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56479 +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52110,56480,0,53181,TO_DATE('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','POS Terminal',310,TO_DATE('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56480 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='N', IsReadOnly='N', IsSameLine='N', Name='POS Terminal',Updated=TO_DATE('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56480 +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +UPDATE AD_Menu SET AD_Window_ID=53065, Action='W', IsSummary='N',Updated=TO_DATE('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53196 +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID,AD_Tree_ID,Created,CreatedBy,IsActive,Node_ID,Parent_ID,SeqNo,Updated,UpdatedBy) VALUES (0,0,10,TO_DATE('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',53196,52001,60,TO_DATE('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),0) +; + + +-------------------------------- +-- Nov 15, 2008 10:38:15 AM EET +-- Posterita Integration +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy) VALUES (11,0,102,53065,TO_DATE('2008-11-15 10:38:14','YYYY-MM-DD HH24:MI:SS'),0,'Y','Y',TO_DATE('2008-11-15 10:38:14','YYYY-MM-DD HH24:MI:SS'),0) +; + + + +-------------------------------- +-- Nov 15, 2008 12:07:12 PM EET +-- Posterita Integration +INSERT INTO U_POSTerminal (AD_Client_ID,AD_Org_ID,AutoLock,C_CashBPartner_ID,C_CashBook_ID,C_TemplateBPartner_ID,CardTransferCashBook_ID,CardTransferType,CashBookTransferType,CashTransferCashBook_ID,CheckTransferCashBook_ID,CheckTransferType,Created,CreatedBy,Description,IsActive,LockTime,Locked,M_Warehouse_ID,Name,PO_PriceList_ID,SO_PriceList_ID,SalesRep_ID,U_POSTerminal_ID,Updated,UpdatedBy) VALUES (11,11,'N',119,101,119,101,'B','C',101,101,'C',TO_DATE('2008-11-15 12:06:59','YYYY-MM-DD HH24:MI:SS'),100,'GardenWorld','Y',0,'N',103,'GardenWorld',102,101,101,50000,TO_DATE('2008-11-15 12:06:59','YYYY-MM-DD HH24:MI:SS'),100) +; + + + +-------------------------------- +-- Nov 15, 2008 12:12:11 PM EET +-- Posterita Integration +UPDATE AD_User SET UserPIN='1234',Updated=TO_DATE('2008-11-15 12:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=101 WHERE AD_User_ID=101 +; + + + diff --git a/migration/352a-trunk/322_PosteritaSampleData_2.sql b/migration/352a-trunk/322_PosteritaSampleData_2.sql new file mode 100644 index 0000000000..ffe042f8b8 --- /dev/null +++ b/migration/352a-trunk/322_PosteritaSampleData_2.sql @@ -0,0 +1,1812 @@ +SET DEFINE OFF; + +-------------------------------- +-- Nov 15, 2008 2:08:42 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:08:36','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.cash.sales','TOP',1000,50282,TO_DATE('2008-11-15 14:08:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:44 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'sales.order',TO_DATE('2008-11-15 14:08:42','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','LoadOrderScreen.do?action=loadOrderScreen&isSOTrx=true&orderType=POS%20Order&menuId=','POS','smenu.cash.sales',50282,'LEFT',1010,50283,TO_DATE('2008-11-15 14:08:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:45 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'sales.order',TO_DATE('2008-11-15 14:08:44','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=POS Order&menuId=','POS','smenu.cash.sales.history',50282,'LEFT',1050,50284,TO_DATE('2008-11-15 14:08:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:47 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'returned.order',TO_DATE('2008-11-15 14:08:45','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','LoadOrderScreen.do?action=loadOrderScreen&isSOTrx=true&orderType=Customer%20Returned%20Order&menuId=','POS','smenu.customer.returned.order',50282,'LEFT',1090,50285,TO_DATE('2008-11-15 14:08:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:48 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'returned.order',TO_DATE('2008-11-15 14:08:47','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=Customer%20Returned%20Order&menuId=','POS','smenu.customer.return.history.id',50282,'LEFT',1170,50286,TO_DATE('2008-11-15 14:08:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:49 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'returned.order',TO_DATE('2008-11-15 14:08:48','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GetCustomerReturnFromPOS.do?menuId=','POS','smenu.invoke.customer.returned.order',50282,'LEFT',1100,50287,TO_DATE('2008-11-15 14:08:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:51 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'till.management',TO_DATE('2008-11-15 14:08:50','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GetCurrentTillAmount.do?action=getCurrentTillAmount&menuId=','POS','smenu.current.money.in.terminal',50282,'LEFT',1110,50288,TO_DATE('2008-11-15 14:08:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:53 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'cash.book',TO_DATE('2008-11-15 14:08:52','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','AdjustCashBook.do?menuId=','POS','smenu.adjust.cashbook',50282,'LEFT',1120,50289,TO_DATE('2008-11-15 14:08:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:55 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'cash.book',TO_DATE('2008-11-15 14:08:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CashSummaryDate.do?menuId=','POS','smenu.cashbook.report',50282,'LEFT',1130,50290,TO_DATE('2008-11-15 14:08:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:56 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'cash.book',TO_DATE('2008-11-15 14:08:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CashReportAction.do?action=initGetCashDetailsHistory&menuId=','POS','smenu.cashbook.history',50282,'LEFT',1140,50291,TO_DATE('2008-11-15 14:08:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:57 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'till.management',TO_DATE('2008-11-15 14:08:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitClosePOSTillAction.do?action=initCloseTill&menuId=','POS','smenu.close.till',50282,'LEFT',1150,50292,TO_DATE('2008-11-15 14:08:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:59 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'till.management',TO_DATE('2008-11-15 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','javascript:openCashDrawer();','POS','smenu.open.cashdrawer',50282,'LEFT',1160,50293,TO_DATE('2008-11-15 14:08:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:00 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:08:59','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.credit.sales','TOP',2000,50294,TO_DATE('2008-11-15 14:08:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:02 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:00','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreditSales.do?menuId=','POS','smenu.credit.sales',50294,'LEFT',2010,50295,TO_DATE('2008-11-15 14:09:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:05 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:02','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InvokeCreditOrder.do?menuId=','POS','smenu.creditmemo.from.creditorder.id',50294,'LEFT',2010,50296,TO_DATE('2008-11-15 14:09:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:06 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:05','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=Credit Memo&menuId=','POS','smenu.credit.memo.history.id',50294,'LEFT',2020,50297,TO_DATE('2008-11-15 14:09:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:08 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:06','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitGetBpartnerPaymentStatus.do?action=initGetBpartnerPaymentStatus&menuId=','POS','smenu.settle.payment.credit.sales',50294,'LEFT',2030,50298,TO_DATE('2008-11-15 14:09:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:09 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitPrintDunningAction.do?action=initPrintDunning&menuId=','POS','smenu.dunning.letters',50294,'LEFT',2040,50299,TO_DATE('2008-11-15 14:09:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:10 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPaymentAllocation.do?menuId=','POS','smenu.payment.allocation.history',50294,'LEFT',2050,50300,TO_DATE('2008-11-15 14:09:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:11 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=Credit Order&menuId=','POS','smenu.credit.sales.history',50294,'LEFT',2060,50301,TO_DATE('2008-11-15 14:09:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:13 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:12','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreateUnallocatedPayment.do?menuId=','POS','smenu.create.unallocated.payment.id',50294,'LEFT',2070,50302,TO_DATE('2008-11-15 14:09:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:15 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:14','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.purchases','TOP',3000,50303,TO_DATE('2008-11-15 14:09:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:16 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','LoadOrderScreen.do?action=loadOrderScreen&isSOTrx=false&orderType=POS%20Goods%20Receive%20Note&menuId=','POS','smenu.goods.received.note',50303,'LEFT',3010,50304,TO_DATE('2008-11-15 14:09:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:19 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','LoadOrderScreen.do?action=loadOrderScreen&isSOTrx=false&orderType=POS%20Goods%20Returned%20Note&menuId=','POS','smenu.goods.returned.note',50303,'LEFT',3020,50305,TO_DATE('2008-11-15 14:09:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:21 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:19','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=POS%20Goods%20Receive%20Note&menuId=','POS','smenu.goods.received.note.history',50303,'LEFT',3030,50306,TO_DATE('2008-11-15 14:09:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:22 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:21','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=POS%20Goods%20Returned%20Note&menuId=','POS','smenu.goods.returned.note.history',50303,'LEFT',3040,50307,TO_DATE('2008-11-15 14:09:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:25 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:22','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_reports.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.performance.analysis','TOP',4000,50308,TO_DATE('2008-11-15 14:09:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:27 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:25','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CustomPOSReportAction.do?action=initCustomReport&menuId=','POS','smenu.performance.analysis.report',50308,'LEFT',4010,50309,TO_DATE('2008-11-15 14:09:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:27','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','POSInfoReport.do?menuId=','POS','smenu.sales.report.per.terminal',50308,'LEFT',4020,50310,TO_DATE('2008-11-15 14:09:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:29 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:28','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitPOSHistoryAction.do?action=initPOSHistory&menuId=','POS','smenu.order.history',50308,'LEFT',4030,50311,TO_DATE('2008-11-15 14:09:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:32 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:29','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','DocumentHistoryAction.do?action=initHistory&menuId=','POS','smenu.document.history',50308,'LEFT',4040,50312,TO_DATE('2008-11-15 14:09:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:33 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:32','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewBPartnerInfoAction.do?action=getBpartnerInfo&menuId=','POS','smenu.bpartner.sales.details',50308,'LEFT',4050,50313,TO_DATE('2008-11-15 14:09:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:37 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:34','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SalesReport.do?action=getSalesReport&isSalesReport=true&menuId=','POS','smenu.sales.report',50308,'LEFT',4060,50314,TO_DATE('2008-11-15 14:09:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:39 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:37','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','POSReportAction.do?action=initBestSellingReport&menuId=','POS','smenu.best.selling.items',50308,'LEFT',4070,50315,TO_DATE('2008-11-15 14:09:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:41 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:40','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewStockSales.do?menuId=','POS','smenu.stock.sales.report',50308,'LEFT',4080,50316,TO_DATE('2008-11-15 14:09:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:43 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:41','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SalesReport.do?action=getSalesReport&isSalesReport=false&menuId=','POS','smenu.pos.purchase.report',50308,'LEFT',4090,50317,TO_DATE('2008-11-15 14:09:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:44 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:43','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.stock','TOP',5000,50318,TO_DATE('2008-11-15 14:09:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:47 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:44','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','StockMovementReport.do?menuId=','POS','smenu.stock.movement',50318,'LEFT',5010,50319,TO_DATE('2008-11-15 14:09:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:49 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:47','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GetPOSStockAction.do?action=initPOSStock&menuId=','POS','smenu.stock',50318,'LEFT',5020,50320,TO_DATE('2008-11-15 14:09:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:51 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:49','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CustomFastMovingItemsReport.do?menuId=','POS','smenu.fast.moving.items',50318,'LEFT',5030,50321,TO_DATE('2008-11-15 14:09:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:53 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:52','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CustomSlowMovingItemsReport.do?menuId=','POS','smenu.slow.moving.items',50318,'LEFT',5040,50322,TO_DATE('2008-11-15 14:09:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:57 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InventoryCartAction.do?action=newInventoryCart&menuId=','POS','smenu.adjust.stock.id',50318,'LEFT',5040,50323,TO_DATE('2008-11-15 14:09:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:59 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewInventoryHistoryAction.do?action=viewInventoryHistory&menuId=','POS','smenu.inventory.history.id',50318,'LEFT',5050,50324,TO_DATE('2008-11-15 14:09:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:00 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:09:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','AdjustWholeInventoryAction.do?action=createWholeInventory&menuId=','POS','smenu.adjust.inventory.id',50318,'LEFT',5060,50325,TO_DATE('2008-11-15 14:09:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:00 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:00','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewStock.do?action=viewStock&menuId=','POS','smenu.transfer.stock',50318,'LEFT',5060,50326,TO_DATE('2008-11-15 14:10:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:02 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:01','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','StockMovementAction.do?action=viewMMovementHistory&menuId=','POS','smenu.inventory.move',50318,'LEFT',5070,50327,TO_DATE('2008-11-15 14:10:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:03 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:02','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','StockMovementAction.do?action=viewMoveConfirm&menuId=','POS','smenu.move.confirmation',50318,'LEFT',5080,50328,TO_DATE('2008-11-15 14:10:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:05 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:03','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_administration.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.administration','TOP',6000,50329,TO_DATE('2008-11-15 14:10:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:06 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:05','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','POSCustomerAction.do?action=initSearchPOSCustomer&menuId=','POS','smenu.customers',50329,'LEFT',6010,50330,TO_DATE('2008-11-15 14:10:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:06 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:06','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SearchVendor.do?action=initSearchVendors&menuId=','POS','smenu.vendors',50329,'LEFT',6020,50331,TO_DATE('2008-11-15 14:10:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:08 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListPOSUsers.do?menuId=','POS','smenu.users',50329,'LEFT',6030,50332,TO_DATE('2008-11-15 14:10:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:09 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListPOSRoles.do?menuId=','POS','smenu.role',50329,'LEFT',6040,50333,TO_DATE('2008-11-15 14:10:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:10 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewAllPOSProduct.do?menuId=','POS','smenu.products',50329,'LEFT',6050,50334,TO_DATE('2008-11-15 14:10:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:11 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','initProductBarcodeCart.do?menuId=','POS','smenu.barcode.printing',50329,'LEFT',6060,50335,TO_DATE('2008-11-15 14:10:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:12 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:11','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitViewAttributesAction.do?action=initViewAttributeValues&menuId=','POS','smenu.edit.product.attribute.value',50329,'LEFT',6070,50336,TO_DATE('2008-11-15 14:10:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:13 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:12','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CheckSequenceAction.do?action=checkSequence&menuId=','POS','smenu.check.repair.database.integrity',50329,'LEFT',6080,50337,TO_DATE('2008-11-15 14:10:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:14 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:13','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateCommission.do?menuId=','POS','smenu.generate.commission',50329,'LEFT',6090,50338,TO_DATE('2008-11-15 14:10:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:15 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:14','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewCommissionAction.do?action=viewCommission&menuId=','POS','smenu.view.last.generated.commission',50329,'LEFT',6100,50339,TO_DATE('2008-11-15 14:10:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:16 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewAllPaymentTermAction.do?action=viewAllPaymentTerms&menuId=','POS','smenu.payment.term',50329,'LEFT',6110,50340,TO_DATE('2008-11-15 14:10:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:18 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:16','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','TaxAction.do?action=viewAllTax&menuId=','POS','smenu.tax',50329,'LEFT',6120,50341,TO_DATE('2008-11-15 14:10:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:19 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:18','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPreferences.do?menuId=','POS','smenu.preferences',50329,'LEFT',6130,50342,TO_DATE('2008-11-15 14:10:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:20 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:19','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','BusinessPartners.do?menuId=','POS','smenu.bpartners',50329,'LEFT',6140,50343,TO_DATE('2008-11-15 14:10:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:21 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:20','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','PriceCheck.do?menuId=','POS','smenu.price.check',50329,'LEFT',6150,50344,TO_DATE('2008-11-15 14:10:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:22 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:21','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListOrgs.do?menuId=','POS','smenu.organisation',50329,'LEFT',6160,50345,TO_DATE('2008-11-15 14:10:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:23 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:22','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListPriceLists.do?menuId=','POS','smenu.price.list',50329,'LEFT',6170,50346,TO_DATE('2008-11-15 14:10:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:24 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:23','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListCurrencies.do?menuId=','POS','smenu.currency',50329,'LEFT',6180,50347,TO_DATE('2008-11-15 14:10:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:25 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:24','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','PriceListAction.do?action=fromDeletePriceOnPriceList&menuId=','POS','smenu.delete.price.on.pricelist',50329,'LEFT',6190,50348,TO_DATE('2008-11-15 14:10:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:26 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:25','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SearchCashBookAction.do?action=initSearchCashBook&menuId=','POS','smenu.cashbook',50329,'LEFT',6200,50349,TO_DATE('2008-11-15 14:10:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:26','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SearchTerminalAction.do?action=initSearchTerminal&menuId=','POS','smenu.terminal',50329,'LEFT',6210,50350,TO_DATE('2008-11-15 14:10:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:28','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.help','TOP',7000,50351,TO_DATE('2008-11-15 14:10:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:30 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:29','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','javascript:void window.open("http://www.posterita.org/mediawiki/index.php/User%60s_Manual")','POS','smenu.user.manual',50351,'LEFT',7010,50352,TO_DATE('2008-11-15 14:10:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:31 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:30','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','POSHelpAction.do?action=initContactUs&menuId=','POS','smenu.contactus',50351,'LEFT',7020,50353,TO_DATE('2008-11-15 14:10:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:32 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:31','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.new.reports','TOP',8000,50354,TO_DATE('2008-11-15 14:10:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:34 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:32','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreditorDebtorAction.do?action=getDebtors&menuId=','POS','smenu.debtors.id',50294,'LEFT',2080,50355,TO_DATE('2008-11-15 14:10:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:35 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:34','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitGetBpartnerPaymentStatus.do?action=initGetCreditorPaymentStatus&menuId=','POS','smenu.settle.payment.credit.purchase',50303,'LEFT',3050,50356,TO_DATE('2008-11-15 14:10:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:36 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:35','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreditorDebtorAction.do?action=getCreditors&menuId=','POS','smenu.creditors.id',50303,'LEFT',3060,50357,TO_DATE('2008-11-15 14:10:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:39 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:36','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreateUnallocatedAPPayment.do?menuId=','POS','smenu.create.unallocated.ap.payment.id',50303,'LEFT',3070,50358,TO_DATE('2008-11-15 14:10:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:40 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:39','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewAPPaymentAllocation.do?menuId=','POS','smenu.ap.payment.allocation.history',50303,'LEFT',3080,50359,TO_DATE('2008-11-15 14:10:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:41 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:40','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=320&menuId=','POS','Commission Run Detail',50354,'LEFT',8130,50360,TO_DATE('2008-11-15 14:10:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:42 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:41','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=264&menuId=','POS','RfQ Response',50354,'LEFT',8540,50361,TO_DATE('2008-11-15 14:10:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:43 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:42','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=130&menuId=','POS','Weekly Invoice',50354,'LEFT',8250,50362,TO_DATE('2008-11-15 14:10:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:44 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:43','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=252&menuId=','POS','Accounting Fact Details',50354,'LEFT',8360,50363,TO_DATE('2008-11-15 14:10:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:46 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:44','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=284&menuId=','POS','Open Confirmation Details',50354,'LEFT',8430,50364,TO_DATE('2008-11-15 14:10:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:46 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=274&menuId=','POS','Asset Delivery Month',50354,'LEFT',8070,50365,TO_DATE('2008-11-15 14:10:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:48 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:47','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=293&menuId=','POS','Material Receipt Details',50354,'LEFT',8150,50366,TO_DATE('2008-11-15 14:10:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:49 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:48','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=234&menuId=','POS','Project Margin (Work Order)',50354,'LEFT',8240,50367,TO_DATE('2008-11-15 14:10:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:50 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:50','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=237&menuId=','POS','Transaction Detail',50354,'LEFT',8320,50368,TO_DATE('2008-11-15 14:10:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:52 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:51','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=239&menuId=','POS','Clicks Monthy',50354,'LEFT',8330,50369,TO_DATE('2008-11-15 14:10:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:53 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:52','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=226&menuId=','POS','Project Detail Accounting Report',50354,'LEFT',8020,50370,TO_DATE('2008-11-15 14:10:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:54 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=115&menuId=','POS','Vendor Selection',50354,'LEFT',8180,50371,TO_DATE('2008-11-15 14:10:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:56 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=124&menuId=','POS','Product Transaction Summary',50354,'LEFT',8620,50372,TO_DATE('2008-11-15 14:10:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:57 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=129&menuId=','POS','Monthly Invoice',50354,'LEFT',8390,50373,TO_DATE('2008-11-15 14:10:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:58 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=254&menuId=','POS','Accounting Fact Period',50354,'LEFT',8370,50374,TO_DATE('2008-11-15 14:10:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:59 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=322&menuId=','POS','Material Reference',50354,'LEFT',8480,50375,TO_DATE('2008-11-15 14:10:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:00 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:10:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=203&menuId=','POS','Update Accounting Balance',50354,'LEFT',8490,50376,TO_DATE('2008-11-15 14:10:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:02 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:00','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=127&menuId=','POS','Invoice Transactions (Acct)',50354,'LEFT',8640,50377,TO_DATE('2008-11-15 14:11:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:03 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:02','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=251&menuId=','POS','Invoice Tax',50354,'LEFT',8310,50378,TO_DATE('2008-11-15 14:11:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:04 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=240&menuId=','POS','Clicks Unprocessed',50354,'LEFT',8340,50379,TO_DATE('2008-11-15 14:11:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:06 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:04','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=222&menuId=','POS','Customer Assets',50354,'LEFT',8230,50380,TO_DATE('2008-11-15 14:11:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:07 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:06','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=121&menuId=','POS','Open Orders',50354,'LEFT',8610,50381,TO_DATE('2008-11-15 14:11:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:08 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=152&menuId=','POS','Invoice Detail & Margin',50354,'LEFT',8510,50382,TO_DATE('2008-11-15 14:11:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:09 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=161&menuId=','POS','Product Transaction Value',50354,'LEFT',8190,50383,TO_DATE('2008-11-15 14:11:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:12 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=183&menuId=','POS','Product Costing Report (old)',50354,'LEFT',8060,50384,TO_DATE('2008-11-15 14:11:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:12 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:12','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=253&menuId=','POS','Accounting Fact Daily',50354,'LEFT',8040,50385,TO_DATE('2008-11-15 14:11:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:14 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:13','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=228&menuId=','POS','Project Lines not Issued',50354,'LEFT',8100,50386,TO_DATE('2008-11-15 14:11:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:15 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:14','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=263&menuId=','POS','RfQ Unanswered',50354,'LEFT',8080,50387,TO_DATE('2008-11-15 14:11:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:17 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=331&menuId=','POS','Product Cost Detail',50354,'LEFT',8580,50388,TO_DATE('2008-11-15 14:11:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:19 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=218&menuId=','POS','Project Cycle Report',50354,'LEFT',8220,50389,TO_DATE('2008-11-15 14:11:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:22 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=316&menuId=','POS','UnAllocated Invoices',50354,'LEFT',8110,50390,TO_DATE('2008-11-15 14:11:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:23 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:22','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=285&menuId=','POS','Open Confirmations',50354,'LEFT',8440,50391,TO_DATE('2008-11-15 14:11:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:24 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:23','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=326&menuId=','POS','Invoice Not Realized Gain/Loss',50354,'LEFT',8630,50392,TO_DATE('2008-11-15 14:11:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:25 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:24','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=236&menuId=','POS','Storage Detail',50354,'LEFT',8500,50393,TO_DATE('2008-11-15 14:11:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:27 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:25','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=170&menuId=','POS','Cash Journal Detail',50354,'LEFT',8520,50394,TO_DATE('2008-11-15 14:11:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:27','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=131&menuId=','POS','Weekly Invoice Prod Cat',50354,'LEFT',8380,50395,TO_DATE('2008-11-15 14:11:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:29 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:28','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=317&menuId=','POS','UnAllocated Payments',50354,'LEFT',8050,50396,TO_DATE('2008-11-15 14:11:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:30 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:29','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=341&menuId=','POS','Quarter Invoice Product',50354,'LEFT',8010,50397,TO_DATE('2008-11-15 14:11:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:32 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:31','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=238&menuId=','POS','Aging',50354,'LEFT',8600,50398,TO_DATE('2008-11-15 14:11:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:34 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:32','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=270&menuId=','POS','Open Requisitions',50354,'LEFT',8550,50399,TO_DATE('2008-11-15 14:11:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:38 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:34','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=146&menuId=','POS','UnReconciled Payments',50354,'LEFT',8350,50400,TO_DATE('2008-11-15 14:11:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:41 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:38','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=133&menuId=','POS','Monthly Invoice Vendor',50354,'LEFT',8470,50401,TO_DATE('2008-11-15 14:11:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:43 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:41','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=148&menuId=','POS','Allocation',50354,'LEFT',8450,50402,TO_DATE('2008-11-15 14:11:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:44 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:43','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=125&menuId=','POS','Replenish Report',50354,'LEFT',8570,50403,TO_DATE('2008-11-15 14:11:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:48 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:44','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=180&menuId=','POS','Inventory Valuation Report',50354,'LEFT',8530,50404,TO_DATE('2008-11-15 14:11:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:50 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=128&menuId=','POS','Daily Invoice',50354,'LEFT',8200,50405,TO_DATE('2008-11-15 14:11:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:53 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:51','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=334&menuId=','POS','Business Partner Detail',50354,'LEFT',8140,50406,TO_DATE('2008-11-15 14:11:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:54 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=294&menuId=','POS','Shipment Details',50354,'LEFT',8300,50407,TO_DATE('2008-11-15 14:11:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:55 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=333&menuId=','POS','Order Detail',50354,'LEFT',8030,50408,TO_DATE('2008-11-15 14:11:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:57 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=138&menuId=','POS','Quarterly Invoice Customer by Product',50354,'LEFT',8590,50409,TO_DATE('2008-11-15 14:11:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:59 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=204&menuId=','POS','Statement of Accounts',50354,'LEFT',8210,50410,TO_DATE('2008-11-15 14:11:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:02 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:11:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=223&menuId=','POS','Asset Delivery Details',50354,'LEFT',8160,50411,TO_DATE('2008-11-15 14:11:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:04 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:02','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=340&menuId=','POS','Monthly Invoice Product',50354,'LEFT',8170,50412,TO_DATE('2008-11-15 14:12:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:05 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:04','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=120&menuId=','POS','Order Transactions',50354,'LEFT',8460,50413,TO_DATE('2008-11-15 14:12:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:07 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:05','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=330&menuId=','POS','Product Cost Summary',50354,'LEFT',8270,50414,TO_DATE('2008-11-15 14:12:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:10 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=310&menuId=','POS','Trial Balance',50354,'LEFT',8090,50415,TO_DATE('2008-11-15 14:12:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:12 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=229&menuId=','POS','Project POs not Issued',50354,'LEFT',8280,50416,TO_DATE('2008-11-15 14:12:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:15 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:13','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=202&menuId=','POS','Create Report',50354,'LEFT',8560,50417,TO_DATE('2008-11-15 14:12:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:16 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=318&menuId=','POS','Payment Details',50354,'LEFT',8410,50418,TO_DATE('2008-11-15 14:12:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:18 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:16','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=139&menuId=','POS','Quarterly Invoice Customer by Vendor',50354,'LEFT',8260,50419,TO_DATE('2008-11-15 14:12:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:19 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:18','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=151&menuId=','POS','Invoice Transactions (Doc)',50354,'LEFT',8420,50420,TO_DATE('2008-11-15 14:12:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:22 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:19','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=329&menuId=','POS','Product Cost',50354,'LEFT',8290,50421,TO_DATE('2008-11-15 14:12:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:27 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:22','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=132&menuId=','POS','Monthly Invoice Prod Cat',50354,'LEFT',8120,50422,TO_DATE('2008-11-15 14:12:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:27','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=145&menuId=','POS','Open Items',50354,'LEFT',8400,50423,TO_DATE('2008-11-15 14:12:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:30 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 14:12:29','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=319&menuId=','POS','Business Partner Open',50354,'LEFT',8650,50424,TO_DATE('2008-11-15 14:12:29','YYYY-MM-DD HH24:MI:SS'),100) +; + + +-------------------------------- +-- Nov 15, 2008 5:48:51 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:49','YYYY-MM-DD HH24:MI:SS'),100,'Y',50073,50303,TO_DATE('2008-11-15 17:48:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:53 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',50074,50288,TO_DATE('2008-11-15 17:48:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:54 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:53','YYYY-MM-DD HH24:MI:SS'),100,'Y',50075,50331,TO_DATE('2008-11-15 17:48:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:55 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',50076,50348,TO_DATE('2008-11-15 17:48:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:55 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',50077,50322,TO_DATE('2008-11-15 17:48:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:56 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',50078,50290,TO_DATE('2008-11-15 17:48:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:56','YYYY-MM-DD HH24:MI:SS'),100,'Y',50079,50293,TO_DATE('2008-11-15 17:48:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',50080,50330,TO_DATE('2008-11-15 17:48:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:58 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',50081,50334,TO_DATE('2008-11-15 17:48:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:59 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:58','YYYY-MM-DD HH24:MI:SS'),100,'Y',50082,50325,TO_DATE('2008-11-15 17:48:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:59 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:59','YYYY-MM-DD HH24:MI:SS'),100,'Y',50083,50354,TO_DATE('2008-11-15 17:48:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:00 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:48:59','YYYY-MM-DD HH24:MI:SS'),100,'Y',50084,50351,TO_DATE('2008-11-15 17:48:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:01 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:00','YYYY-MM-DD HH24:MI:SS'),100,'Y',50085,50296,TO_DATE('2008-11-15 17:49:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:01 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:01','YYYY-MM-DD HH24:MI:SS'),100,'Y',50086,50291,TO_DATE('2008-11-15 17:49:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:02 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:01','YYYY-MM-DD HH24:MI:SS'),100,'Y',50087,50324,TO_DATE('2008-11-15 17:49:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:02 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'Y',50088,50349,TO_DATE('2008-11-15 17:49:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:03 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',50089,50328,TO_DATE('2008-11-15 17:49:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:04 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',50090,50284,TO_DATE('2008-11-15 17:49:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:04 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:04','YYYY-MM-DD HH24:MI:SS'),100,'Y',50091,50336,TO_DATE('2008-11-15 17:49:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:05 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Y',50092,50309,TO_DATE('2008-11-15 17:49:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:06 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Y',50093,50319,TO_DATE('2008-11-15 17:49:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:06 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:06','YYYY-MM-DD HH24:MI:SS'),100,'Y',50094,50347,TO_DATE('2008-11-15 17:49:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:07 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:07','YYYY-MM-DD HH24:MI:SS'),100,'Y',50095,50350,TO_DATE('2008-11-15 17:49:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:09 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:07','YYYY-MM-DD HH24:MI:SS'),100,'Y',50096,50343,TO_DATE('2008-11-15 17:49:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:09 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',50097,50344,TO_DATE('2008-11-15 17:49:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:10 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',50098,50333,TO_DATE('2008-11-15 17:49:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:11 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',50099,50317,TO_DATE('2008-11-15 17:49:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:12 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 17:49:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',50100,50289,TO_DATE('2008-11-15 17:49:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:44 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:38','YYYY-MM-DD HH24:MI:SS'),100,'Y',50101,50346,TO_DATE('2008-11-15 18:12:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:45 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:45','YYYY-MM-DD HH24:MI:SS'),100,'Y',50102,50297,TO_DATE('2008-11-15 18:12:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:46 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:46','YYYY-MM-DD HH24:MI:SS'),100,'Y',50103,50292,TO_DATE('2008-11-15 18:12:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:47 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:47','YYYY-MM-DD HH24:MI:SS'),100,'Y',50104,50321,TO_DATE('2008-11-15 18:12:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:48 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',50105,50327,TO_DATE('2008-11-15 18:12:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:49 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:49','YYYY-MM-DD HH24:MI:SS'),100,'Y',50106,50301,TO_DATE('2008-11-15 18:12:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:50 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:49','YYYY-MM-DD HH24:MI:SS'),100,'Y',50107,50308,TO_DATE('2008-11-15 18:12:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:51 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:50','YYYY-MM-DD HH24:MI:SS'),100,'Y',50108,50315,TO_DATE('2008-11-15 18:12:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:51 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:51','YYYY-MM-DD HH24:MI:SS'),100,'Y',50109,50352,TO_DATE('2008-11-15 18:12:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:52 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',50110,50326,TO_DATE('2008-11-15 18:12:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:53 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',50111,50314,TO_DATE('2008-11-15 18:12:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:54 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:53','YYYY-MM-DD HH24:MI:SS'),100,'Y',50112,50287,TO_DATE('2008-11-15 18:12:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:54 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',50113,50340,TO_DATE('2008-11-15 18:12:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:55 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',50114,50306,TO_DATE('2008-11-15 18:12:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:56 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',50115,50342,TO_DATE('2008-11-15 18:12:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:56','YYYY-MM-DD HH24:MI:SS'),100,'Y',50116,50323,TO_DATE('2008-11-15 18:12:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',50117,50341,TO_DATE('2008-11-15 18:12:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:58 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',50118,50299,TO_DATE('2008-11-15 18:12:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:59 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:58','YYYY-MM-DD HH24:MI:SS'),100,'Y',50119,50295,TO_DATE('2008-11-15 18:12:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:59 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:59','YYYY-MM-DD HH24:MI:SS'),100,'Y',50120,50345,TO_DATE('2008-11-15 18:12:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:00 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:12:59','YYYY-MM-DD HH24:MI:SS'),100,'Y',50121,50282,TO_DATE('2008-11-15 18:12:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:00 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:00','YYYY-MM-DD HH24:MI:SS'),100,'Y',50122,50300,TO_DATE('2008-11-15 18:13:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:01 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:01','YYYY-MM-DD HH24:MI:SS'),100,'Y',50123,50286,TO_DATE('2008-11-15 18:13:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:02 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:01','YYYY-MM-DD HH24:MI:SS'),100,'Y',50124,50307,TO_DATE('2008-11-15 18:13:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:02 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:02','YYYY-MM-DD HH24:MI:SS'),100,'Y',50125,50310,TO_DATE('2008-11-15 18:13:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:03 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:02','YYYY-MM-DD HH24:MI:SS'),100,'Y',50126,50353,TO_DATE('2008-11-15 18:13:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:04 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',50127,50338,TO_DATE('2008-11-15 18:13:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:05 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:04','YYYY-MM-DD HH24:MI:SS'),100,'Y',50128,50329,TO_DATE('2008-11-15 18:13:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:06 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:05','YYYY-MM-DD HH24:MI:SS'),100,'Y',50129,50294,TO_DATE('2008-11-15 18:13:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:06 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:06','YYYY-MM-DD HH24:MI:SS'),100,'Y',50130,50335,TO_DATE('2008-11-15 18:13:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:07 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:06','YYYY-MM-DD HH24:MI:SS'),100,'Y',50131,50304,TO_DATE('2008-11-15 18:13:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:08 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:07','YYYY-MM-DD HH24:MI:SS'),100,'Y',50132,50316,TO_DATE('2008-11-15 18:13:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:08 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:08','YYYY-MM-DD HH24:MI:SS'),100,'Y',50133,50318,TO_DATE('2008-11-15 18:13:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:10 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',50134,50285,TO_DATE('2008-11-15 18:13:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:11 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',50135,50312,TO_DATE('2008-11-15 18:13:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:12 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:13:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',50136,50320,TO_DATE('2008-11-15 18:13:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:03 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,102,TO_DATE('2008-11-15 18:34:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',50137,50303,TO_DATE('2008-11-15 18:34:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:12 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:35:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',50138,50332,TO_DATE('2008-11-15 18:35:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:13 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:35:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',50139,50339,TO_DATE('2008-11-15 18:35:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:15 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:35:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',50140,50337,TO_DATE('2008-11-15 18:35:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:16 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:35:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',50141,50298,TO_DATE('2008-11-15 18:35:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:16 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:35:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',50142,50305,TO_DATE('2008-11-15 18:35:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:17 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:35:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',50143,50302,TO_DATE('2008-11-15 18:35:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:18 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:35:17','YYYY-MM-DD HH24:MI:SS'),100,'Y',50144,50313,TO_DATE('2008-11-15 18:35:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:19 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 18:35:18','YYYY-MM-DD HH24:MI:SS'),100,'Y',50145,50283,TO_DATE('2008-11-15 18:35:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:13:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_DATE('2008-11-15 19:13:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',50146,50311,TO_DATE('2008-11-15 19:13:54','YYYY-MM-DD HH24:MI:SS'),100) +; + + + +-------------------------------- +-- Nov 15, 2008 7:24:33 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:30','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.new.reports.id','1000072',50143,TO_DATE('2008-11-15 19:24:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:34 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:34','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.debtors.id','1000073',50144,TO_DATE('2008-11-15 19:24:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:35 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.settle.grn.payment','1000074',50145,TO_DATE('2008-11-15 19:24:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:36 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.creditors.id','1000075',50146,TO_DATE('2008-11-15 19:24:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:37 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.create.unallocated.ap.payment.id','1000076',50147,TO_DATE('2008-11-15 19:24:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:37 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:37','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.view.ap.payment.allocation.id','1000077',50148,TO_DATE('2008-11-15 19:24:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:38 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:37','YYYY-MM-DD HH24:MI:SS'),100,'Y','Accounting Fact Details','1000081',50149,TO_DATE('2008-11-15 19:24:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:39 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','Asset Delivery Month','1000083',50150,TO_DATE('2008-11-15 19:24:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:39 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project Margin (Work Order)','1000085',50151,TO_DATE('2008-11-15 19:24:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:40 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','Transaction Detail','1000086',50152,TO_DATE('2008-11-15 19:24:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:40 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','Clicks Monthy','1000087',50153,TO_DATE('2008-11-15 19:24:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:41 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project Detail Accounting Report','1000088',50154,TO_DATE('2008-11-15 19:24:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:42 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Transaction Summary','1000090',50155,TO_DATE('2008-11-15 19:24:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:42 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:42','YYYY-MM-DD HH24:MI:SS'),100,'Y','Monthly Invoice','1000091',50156,TO_DATE('2008-11-15 19:24:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:43 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:43','YYYY-MM-DD HH24:MI:SS'),100,'Y','Accounting Fact Period','1000092',50157,TO_DATE('2008-11-15 19:24:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:44 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:43','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Transactions (Acct)','1000095',50158,TO_DATE('2008-11-15 19:24:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:45 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','Clicks Unprocessed','1000097',50159,TO_DATE('2008-11-15 19:24:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:46 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:45','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Transaction Value','1000101',50160,TO_DATE('2008-11-15 19:24:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:46 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Costing Report (old)','1000102',50161,TO_DATE('2008-11-15 19:24:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:47 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','Accounting Fact Daily','1000103',50162,TO_DATE('2008-11-15 19:24:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:48 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:47','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Cost Detail','1000106',50163,TO_DATE('2008-11-15 19:24:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:48 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:48','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Not Realized Gain/Loss','1000110',50164,TO_DATE('2008-11-15 19:24:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:49 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:48','YYYY-MM-DD HH24:MI:SS'),100,'Y','Storage Detail','1000111',50165,TO_DATE('2008-11-15 19:24:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:50 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:49','YYYY-MM-DD HH24:MI:SS'),100,'Y','UnAllocated Payments','1000114',50166,TO_DATE('2008-11-15 19:24:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:50 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:50','YYYY-MM-DD HH24:MI:SS'),100,'Y','UnReconciled Payments','1000118',50167,TO_DATE('2008-11-15 19:24:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:51 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:50','YYYY-MM-DD HH24:MI:SS'),100,'Y','Monthly Invoice Vendor','1000119',50168,TO_DATE('2008-11-15 19:24:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:52 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','Inventory Valuation Report','1000122',50169,TO_DATE('2008-11-15 19:24:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:52 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:52','YYYY-MM-DD HH24:MI:SS'),100,'Y','Daily Invoice','1000123',50170,TO_DATE('2008-11-15 19:24:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:53 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:52','YYYY-MM-DD HH24:MI:SS'),100,'Y','Shipment Details','1000125',50171,TO_DATE('2008-11-15 19:24:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:54 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','Order Detail','1000126',50172,TO_DATE('2008-11-15 19:24:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:54 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','Asset Delivery Details','1000129',50173,TO_DATE('2008-11-15 19:24:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:55 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','Monthly Invoice Product','1000130',50174,TO_DATE('2008-11-15 19:24:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:56 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','Order Transactions','1000131',50175,TO_DATE('2008-11-15 19:24:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:57 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:56','YYYY-MM-DD HH24:MI:SS'),100,'Y','Trial Balance','1000133',50176,TO_DATE('2008-11-15 19:24:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:57 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','Create Report','1000135',50177,TO_DATE('2008-11-15 19:24:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:58 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','Monthly Invoice Prod Cat','1000140',50178,TO_DATE('2008-11-15 19:24:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:59 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:58','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Items','1000141',50179,TO_DATE('2008-11-15 19:24:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:59 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Business Partner Open','1000142',50180,TO_DATE('2008-11-15 19:24:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:01 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:24:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Commission Run Detail','1000078',50181,TO_DATE('2008-11-15 19:24:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:01 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','RfQ Response','1000079',50182,TO_DATE('2008-11-15 19:25:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:02 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','Weekly Invoice','1000080',50183,TO_DATE('2008-11-15 19:25:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:03 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Confirmation Details','1000082',50184,TO_DATE('2008-11-15 19:25:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:04 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:03','YYYY-MM-DD HH24:MI:SS'),100,'Y','Material Receipt Details','1000084',50185,TO_DATE('2008-11-15 19:25:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:05 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:04','YYYY-MM-DD HH24:MI:SS'),100,'Y','Vendor Selection','1000089',50186,TO_DATE('2008-11-15 19:25:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:06 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:05','YYYY-MM-DD HH24:MI:SS'),100,'Y','Material Reference','1000093',50187,TO_DATE('2008-11-15 19:25:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:06 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','Update Accounting Balance','1000094',50188,TO_DATE('2008-11-15 19:25:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:07 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Tax','1000096',50189,TO_DATE('2008-11-15 19:25:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:07 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:07','YYYY-MM-DD HH24:MI:SS'),100,'Y','Customer Assets','1000098',50190,TO_DATE('2008-11-15 19:25:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:08 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Orders','1000099',50191,TO_DATE('2008-11-15 19:25:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:09 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Detail & Margin','1000100',50192,TO_DATE('2008-11-15 19:25:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:10 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:09','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project Lines not Issued','1000104',50193,TO_DATE('2008-11-15 19:25:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:10 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:10','YYYY-MM-DD HH24:MI:SS'),100,'Y','RfQ Unanswered','1000105',50194,TO_DATE('2008-11-15 19:25:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:11 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:10','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project Cycle Report','1000107',50195,TO_DATE('2008-11-15 19:25:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:12 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:11','YYYY-MM-DD HH24:MI:SS'),100,'Y','UnAllocated Invoices','1000108',50196,TO_DATE('2008-11-15 19:25:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:12 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:12','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Confirmations','1000109',50197,TO_DATE('2008-11-15 19:25:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:13 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:12','YYYY-MM-DD HH24:MI:SS'),100,'Y','Cash Journal Detail','1000112',50198,TO_DATE('2008-11-15 19:25:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:13 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:13','YYYY-MM-DD HH24:MI:SS'),100,'Y','Weekly Invoice Prod Cat','1000113',50199,TO_DATE('2008-11-15 19:25:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:14 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:14','YYYY-MM-DD HH24:MI:SS'),100,'Y','Quarter Invoice Product','1000115',50200,TO_DATE('2008-11-15 19:25:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:15 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:14','YYYY-MM-DD HH24:MI:SS'),100,'Y','Aging','1000116',50201,TO_DATE('2008-11-15 19:25:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:15 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:15','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Requisitions','1000117',50202,TO_DATE('2008-11-15 19:25:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:16 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:16','YYYY-MM-DD HH24:MI:SS'),100,'Y','Allocation','1000120',50203,TO_DATE('2008-11-15 19:25:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:17 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:16','YYYY-MM-DD HH24:MI:SS'),100,'Y','Replenish Report','1000121',50204,TO_DATE('2008-11-15 19:25:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:17 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:17','YYYY-MM-DD HH24:MI:SS'),100,'Y','Business Partner Detail','1000124',50205,TO_DATE('2008-11-15 19:25:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:18 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:17','YYYY-MM-DD HH24:MI:SS'),100,'Y','Quarterly Invoice Customer by Product','1000127',50206,TO_DATE('2008-11-15 19:25:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:19 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:18','YYYY-MM-DD HH24:MI:SS'),100,'Y','Statement of Accounts','1000128',50207,TO_DATE('2008-11-15 19:25:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:19 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:19','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Cost Summary','1000132',50208,TO_DATE('2008-11-15 19:25:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:20 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:19','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project POs not Issued','1000134',50209,TO_DATE('2008-11-15 19:25:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:21 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:20','YYYY-MM-DD HH24:MI:SS'),100,'Y','Payment Details','1000136',50210,TO_DATE('2008-11-15 19:25:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:21 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:21','YYYY-MM-DD HH24:MI:SS'),100,'Y','Quarterly Invoice Customer by Vendor','1000137',50211,TO_DATE('2008-11-15 19:25:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:22 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:21','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Transactions (Doc)','1000138',50212,TO_DATE('2008-11-15 19:25:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:22 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:22','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Cost','1000139',50213,TO_DATE('2008-11-15 19:25:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:23 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:23','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.order.id','1000000',50214,TO_DATE('2008-11-15 19:25:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:24 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:23','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posorderwa.id','1000001',50215,TO_DATE('2008-11-15 19:25:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:24 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.cash.sales.history.id','1000002',50216,TO_DATE('2008-11-15 19:25:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:25 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.custretorder.id','1000003',50217,TO_DATE('2008-11-15 19:25:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:26 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:25','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.customer.return.history.id','1000004',50218,TO_DATE('2008-11-15 19:25:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:26 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:26','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.custretorderfrompos.id','1000005',50219,TO_DATE('2008-11-15 19:25:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:27 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:27','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.currenttillamout.id','1000006',50220,TO_DATE('2008-11-15 19:25:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:28 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:27','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.adjust.cashbook.id','1000007',50221,TO_DATE('2008-11-15 19:25:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:28 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:28','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.periodiccashbookdetails.id','1000008',50222,TO_DATE('2008-11-15 19:25:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:29 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:28','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.cashbookreport.id','1000009',50223,TO_DATE('2008-11-15 19:25:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:30 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:29','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.close.pos.till.id','1000010',50224,TO_DATE('2008-11-15 19:25:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:30 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:30','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.opencashdrawer.id','1000011',50225,TO_DATE('2008-11-15 19:25:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:31 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:30','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.creditsales.id','1000012',50226,TO_DATE('2008-11-15 19:25:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:31 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:31','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.creditorder.id','1000013',50227,TO_DATE('2008-11-15 19:25:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:32 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:32','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.creditmemo.from.creditorder.id','1000014',50228,TO_DATE('2008-11-15 19:25:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:33 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:32','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.credit.memo.history.id','1000015',50229,TO_DATE('2008-11-15 19:25:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:33 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:33','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.settlepayment.id','1000016',50230,TO_DATE('2008-11-15 19:25:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:34 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:33','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.printDunningLetters.id','1000017',50231,TO_DATE('2008-11-15 19:25:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:35 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:34','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewpaymentallocation.id','1000018',50232,TO_DATE('2008-11-15 19:25:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:35 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.credit.sales.history.id','1000019',50233,TO_DATE('2008-11-15 19:25:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:36 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.create.unallocated.payment.id','1000020',50234,TO_DATE('2008-11-15 19:25:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:37 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.purchases.id','1000021',50235,TO_DATE('2008-11-15 19:25:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:38 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:37','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posgoodrecnote.id','1000022',50236,TO_DATE('2008-11-15 19:25:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:38 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posgoodretnote.id','1000023',50237,TO_DATE('2008-11-15 19:25:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:39 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.goods.received.note.history.id','1000024',50238,TO_DATE('2008-11-15 19:25:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:39 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.goods.returned.note.history.id','1000025',50239,TO_DATE('2008-11-15 19:25:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:40 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.reports.id','1000026',50240,TO_DATE('2008-11-15 19:25:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:41 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.custsalesreport.id','1000027',50241,TO_DATE('2008-11-15 19:25:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:41 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posinfo.id','1000028',50242,TO_DATE('2008-11-15 19:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:42 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.orderhistory.id','1000029',50243,TO_DATE('2008-11-15 19:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:43 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:42','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.documenthistory.id','1000030',50244,TO_DATE('2008-11-15 19:25:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:44 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:43','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.view.bp.info.id','1000031',50245,TO_DATE('2008-11-15 19:25:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:44 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.pos.sales.report.id','1000032',50246,TO_DATE('2008-11-15 19:25:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:45 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.best.selling.items','1000033',50247,TO_DATE('2008-11-15 19:25:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:46 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:45','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.stock.sales.report','1000034',50248,TO_DATE('2008-11-15 19:25:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:46 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.pos.purchase.report','1000035',50249,TO_DATE('2008-11-15 19:25:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:47 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.stock.id','1000036',50250,TO_DATE('2008-11-15 19:25:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:48 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:47','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posstockmov.id','1000037',50251,TO_DATE('2008-11-15 19:25:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:48 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:48','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.mystock.id','1000038',50252,TO_DATE('2008-11-15 19:25:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:49 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:48','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.fastmovitems.id','1000039',50253,TO_DATE('2008-11-15 19:25:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:50 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:49','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.slowmovitems.id','1000040',50254,TO_DATE('2008-11-15 19:25:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:51 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:50','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.adjust.stock.id','1000041',50255,TO_DATE('2008-11-15 19:25:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:51 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.inventory.history.id','1000042',50256,TO_DATE('2008-11-15 19:25:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:52 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.adjust.inventory.id','1000043',50257,TO_DATE('2008-11-15 19:25:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:53 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:52','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.transfer.stock','1000044',50258,TO_DATE('2008-11-15 19:25:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:54 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.inventory.move','1000045',50259,TO_DATE('2008-11-15 19:25:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:55 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.move.confirmation','1000046',50260,TO_DATE('2008-11-15 19:25:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:55 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.administration.id','1000047',50261,TO_DATE('2008-11-15 19:25:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:56 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.customer.id','1000048',50262,TO_DATE('2008-11-15 19:25:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:57 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:56','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.createvendor.id','1000049',50263,TO_DATE('2008-11-15 19:25:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:57 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.user.id','1000050',50264,TO_DATE('2008-11-15 19:25:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:58 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewrole.id','1000051',50265,TO_DATE('2008-11-15 19:25:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:59 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:58','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.products.id','1000052',50266,TO_DATE('2008-11-15 19:25:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:59 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.barcode.printing','1000053',50267,TO_DATE('2008-11-15 19:25:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:00 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:25:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.edit.attribute.value.id','1000054',50268,TO_DATE('2008-11-15 19:25:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:00 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:00','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.checkSequence.id','1000055',50269,TO_DATE('2008-11-15 19:26:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:01 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.generatecommission.id','1000056',50270,TO_DATE('2008-11-15 19:26:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:02 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewgeneratedcommission.id','1000057',50271,TO_DATE('2008-11-15 19:26:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:03 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewpaymentterm.id','1000058',50272,TO_DATE('2008-11-15 19:26:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:03 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:03','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.tax.id','1000059',50273,TO_DATE('2008-11-15 19:26:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:04 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:03','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewpreferences.id','1000060',50274,TO_DATE('2008-11-15 19:26:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:05 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:04','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.bpartners.id','1000061',50275,TO_DATE('2008-11-15 19:26:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:06 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:05','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.price.check','1000062',50276,TO_DATE('2008-11-15 19:26:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:06 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.organisation','1000063',50277,TO_DATE('2008-11-15 19:26:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:07 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.price.list','1000064',50278,TO_DATE('2008-11-15 19:26:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:07 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:07','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.currency','1000065',50279,TO_DATE('2008-11-15 19:26:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:08 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.delete.price.on.pricelist','1000066',50280,TO_DATE('2008-11-15 19:26:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:09 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.cashbook','1000067',50281,TO_DATE('2008-11-15 19:26:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:10 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:09','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.terminal','1000068',50282,TO_DATE('2008-11-15 19:26:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:10 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:10','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.help.id','1000069',50283,TO_DATE('2008-11-15 19:26:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:11 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:11','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.user.manual','1000070',50284,TO_DATE('2008-11-15 19:26:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:12 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_DATE('2008-11-15 19:26:11','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.contactus','1000071',50285,TO_DATE('2008-11-15 19:26:11','YYYY-MM-DD HH24:MI:SS'),100) +; + + +-------------------------------- + +-------------------------------- diff --git a/migration/352a-trunk/323_MFreightCategory_Unique.sql b/migration/352a-trunk/323_MFreightCategory_Unique.sql new file mode 100644 index 0000000000..619fc11175 --- /dev/null +++ b/migration/352a-trunk/323_MFreightCategory_Unique.sql @@ -0,0 +1,4 @@ +-- Make combination of AD_Client_ID and Value unique! +ALTER TABLE M_FreightCategory + ADD Constraint M_FreightCat_Value UNIQUE(AD_Client_ID, Value) +; \ No newline at end of file diff --git a/migration/352a-trunk/324_BF2308332.sql b/migration/352a-trunk/324_BF2308332.sql new file mode 100644 index 0000000000..11eb501289 --- /dev/null +++ b/migration/352a-trunk/324_BF2308332.sql @@ -0,0 +1 @@ +-- 18.11.2008 09:46:47 EET -- UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2008-11-18 09:46:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2200 ; /* Records with errors: select bp.AD_Client_ID, bp.Value, bp.Name, ba.AccountNo from C_BP_BankAccount ba inner join C_BPartner bp on (bp.c_bpartner_id= ba.c_bpartner_id) where ba.C_Bank_ID IS NULL AND IsACH='Y' order by bp.AD_Client_ID, bp.Value; */ \ No newline at end of file diff --git a/migration/352a-trunk/325_BG2311021_Region_dynamic_validation.sql b/migration/352a-trunk/325_BG2311021_Region_dynamic_validation.sql new file mode 100644 index 0000000000..775bd614cb --- /dev/null +++ b/migration/352a-trunk/325_BG2311021_Region_dynamic_validation.sql @@ -0,0 +1,9 @@ +-- Nov 18, 2008 9:35:53 PM EET +-- [ 2311021 ] Window Shipper, tab Freight set proper Region validation +UPDATE AD_Column SET AD_Val_Rule_ID=153,Updated=TO_DATE('2008-11-18 21:35:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9099 +; + +-- Nov 18, 2008 9:36:21 PM EET +-- [ 2311021 ] Window Shipper, tab Freight set proper Region validation +UPDATE AD_Column SET AD_Val_Rule_ID=155,Updated=TO_DATE('2008-11-18 21:36:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9108 +; diff --git a/migration/352a-trunk/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql b/migration/352a-trunk/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql new file mode 100644 index 0000000000..695ed97256 --- /dev/null +++ b/migration/352a-trunk/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql @@ -0,0 +1,161 @@ +-- Nov 19, 2008 4:49:00 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Column SET DefaultValue='@#AD_Org_ID@', IsMandatory='Y',Updated=TO_DATE('2008-11-19 16:49:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=51006 +; + +-- Nov 19, 2008 3:55:41 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +ALTER TABLE PA_DashboardContent ADD ColumnNo NUMBER(10) DEFAULT 1 +; + +-- Nov 19, 2008 4:00:41 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +ALTER TABLE PA_DashboardContent ADD ZulFilePath NVARCHAR2(255) +; + +-- Nov 19, 2008 4:57:13 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_DATE('2008-11-19 16:57:08','YYYY-MM-DD HH24:MI:SS'),100,'Workflow activities, notices and requests','Y',0,'Activities',50000,TO_DATE('2008-11-19 16:57:08','YYYY-MM-DD HH24:MI:SS'),100,'/zul/activities.zul') +; + +-- Nov 19, 2008 4:58:26 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_DATE('2008-11-19 16:58:24','YYYY-MM-DD HH24:MI:SS'),100,'User favourities','Y',1.000000000000,'Favourites',50001,TO_DATE('2008-11-19 16:58:24','YYYY-MM-DD HH24:MI:SS'),100,'/zul/favourites.zul') +; + +-- Nov 19, 2008 4:58:52 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_DATE('2008-11-19 16:58:50','YYYY-MM-DD HH24:MI:SS'),100,'Info views','Y',2.000000000000,'Views',50002,TO_DATE('2008-11-19 16:58:50','YYYY-MM-DD HH24:MI:SS'),100,'/zul/views.zul') +; + +-- Nov 19, 2008 5:00:34 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,2,TO_DATE('2008-11-19 17:00:26','YYYY-MM-DD HH24:MI:SS'),100,'Performance meters','Y',0,'Performance',50003,TO_DATE('2008-11-19 17:00:26','YYYY-MM-DD HH24:MI:SS'),100,'/zul/performance.zul') +; + +-- Nov 19, 2008 5:02:55 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy) VALUES (11,0,1,TO_DATE('2008-11-19 17:02:54','YYYY-MM-DD HH24:MI:SS'),100,'Google Calendar','Y',0,'Calendar',50004,TO_DATE('2008-11-19 17:02:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 6:00:00 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE PA_DashboardContent SET UpdatedBy=100, ZulFilePath='/zul/calendar.zul',Updated=TO_DATE('2008-11-19 18:00:00','YYYY-MM-DD HH24:MI:SS') WHERE PA_DashboardContent_ID=50004 +; + +-- Nov 19, 2008 6:00:00 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE PA_DashboardContent SET HTML=null WHERE PA_DashboardContent_ID=50004 +; + +-- Nov 19, 2008 4:28:46 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Table SET AccessLevel='6',Updated=TO_DATE('2008-11-19 16:28:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=50010 +; + +-- Nov 19, 2008 3:54:09 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53709,0,'ColumnNo',TO_DATE('2008-11-19 15:54:08','YYYY-MM-DD HH24:MI:SS'),100,'Dashboard content column number','D','Dashboard content column number, not used by the swing client at the moment.','Y','Column No','Column No',TO_DATE('2008-11-19 15:54:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 3:54:09 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53709 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Nov 19, 2008 3:55:33 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56469,53709,0,11,50010,'ColumnNo',TO_DATE('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,'0','Dashboard content column number','D',14,'Dashboard content column number, not used by the swing client at the moment.','Y','N','N','N','N','N','N','N','N','N','Y','Column No',0,TO_DATE('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 19, 2008 3:55:33 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56469 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + + +-- Nov 19, 2008 3:59:41 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53710,0,'ZulFilePath',TO_DATE('2008-11-19 15:59:37','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D','Absolute path to zul file that is use to generate dashboard content','Y','ZUL File Path','ZUL File Path',TO_DATE('2008-11-19 15:59:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 3:59:41 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53710 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Nov 19, 2008 4:00:37 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56470,53710,0,10,50010,'ZulFilePath',TO_DATE('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D',255,'Absolute path to zul file that is use to generate dashboard content','Y','N','N','N','N','N','N','N','N','N','Y','ZUL File Path',0,TO_DATE('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 19, 2008 4:00:37 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56470 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 19, 2008 4:01:04 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56469,56485,0,50010,TO_DATE('2008-11-19 16:01:03','YYYY-MM-DD HH24:MI:SS'),100,'Dashboard content column number',14,'D','Dashboard content column number, not used by the swing client at the moment.','Y','Y','Y','N','N','N','N','N','Column No',TO_DATE('2008-11-19 16:01:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 4:01:05 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56485 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 19, 2008 4:01:12 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56470,56486,0,50010,TO_DATE('2008-11-19 16:01:05','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file',255,'D','Absolute path to zul file that is use to generate dashboard content','Y','Y','Y','N','N','N','N','N','ZUL File Path',TO_DATE('2008-11-19 16:01:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 4:01:12 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56486 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56485 +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=51009 +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=51010 +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=51011 +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56486 +; + +-- Nov 19, 2008 4:01:26 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=51012 +; + +-- Nov 19, 2008 4:01:26 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=51013 +; + +-- Nov 19, 2008 4:01:54 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET DisplayLength=255,Updated=TO_DATE('2008-11-19 16:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=51011 +; + +-- Nov 19, 2008 4:09:07 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Column SET DefaultValue='1',Updated=TO_DATE('2008-11-19 16:09:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56469 +; + diff --git a/migration/352a-trunk/327_BF2319604.sql b/migration/352a-trunk/327_BF2319604.sql new file mode 100644 index 0000000000..a61b3a8212 --- /dev/null +++ b/migration/352a-trunk/327_BF2319604.sql @@ -0,0 +1,4 @@ +-- Nov 21, 2008 12:14:31 PM SGT +-- [ 2319604 ] Wrong SQL where clause in Inbound Asset Entry window +UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type = ''New''',Updated=TO_DATE('2008-11-21 12:14:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53166 +; diff --git a/migration/352a-trunk/328_BF2319302.sql b/migration/352a-trunk/328_BF2319302.sql new file mode 100644 index 0000000000..ec14e36dc6 --- /dev/null +++ b/migration/352a-trunk/328_BF2319302.sql @@ -0,0 +1,9 @@ +-- Nov 21, 2008 2:17:03 PM MYT +-- [ 2319302 ] Can't create new asset +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2008-11-21 14:17:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8061 +; + +-- Nov 21, 2008 2:17:10 PM MYT +-- [ 2319302 ] Can't create new asset +ALTER TABLE A_Asset MODIFY Processing CHAR(1) DEFAULT 'N' +; diff --git a/migration/352a-trunk/329_BF2320411.sql b/migration/352a-trunk/329_BF2320411.sql new file mode 100644 index 0000000000..9893c42c95 --- /dev/null +++ b/migration/352a-trunk/329_BF2320411.sql @@ -0,0 +1,15 @@ +-- 21.11.2008 14:21:33 EET +-- BF [ 2320411 ] Translate "Already posted to" message +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53046,0,TO_DATE('2008-11-21 14:21:30','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Already posted to this account.','E',TO_DATE('2008-11-21 14:21:30','YYYY-MM-DD HH24:MI:SS'),0,'AlreadyPostedTo') +; + +-- 21.11.2008 14:21:33 EET +-- BF [ 2320411 ] Translate "Already posted to" message +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53046 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- 21.11.2008 14:22:08 EET +-- BF [ 2320411 ] Translate "Already posted to" message +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Exista inregistrari contabile pe acest cont.',Updated=TO_DATE('2008-11-21 14:22:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53046 AND AD_Language='ro_RO' +; + diff --git a/migration/352a-trunk/330_PosteritaExampleTerminal.sql b/migration/352a-trunk/330_PosteritaExampleTerminal.sql new file mode 100644 index 0000000000..cf149143c5 --- /dev/null +++ b/migration/352a-trunk/330_PosteritaExampleTerminal.sql @@ -0,0 +1,5 @@ +-- Nov 23, 2008 1:14:30 AM EET +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE U_POSTerminal SET CardTransferBankAccount_ID=100, Card_BankAccount_ID=100, CashTransferBankAccount_ID=100, CheckTransferBankAccount_ID=100, Check_BankAccount_ID=100,Updated=TO_DATE('2008-11-23 01:14:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE U_POSTerminal_ID=50000 +; + diff --git a/migration/352a-trunk/331_BF2339528_AccessLevelU_Web_Properties.sql b/migration/352a-trunk/331_BF2339528_AccessLevelU_Web_Properties.sql new file mode 100644 index 0000000000..f4917bef39 --- /dev/null +++ b/migration/352a-trunk/331_BF2339528_AccessLevelU_Web_Properties.sql @@ -0,0 +1,8 @@ +-- [ 2339528 ] Proper access level U_Web_Properties +UPDATE AD_Table SET AccessLevel='7',Updated=TO_DATE('2008-11-24 19:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52001 +; + +-- [ 2339528 ] Proper access level U_Web_Properties +UPDATE AD_Table SET AD_Window_ID=52002,Updated=TO_DATE('2008-11-24 19:31:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52001 +; + diff --git a/migration/352a-trunk/332_placeholder.sql b/migration/352a-trunk/332_placeholder.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/migration/352a-trunk/333_BF2344776_PrintMO.sql b/migration/352a-trunk/333_BF2344776_PrintMO.sql new file mode 100644 index 0000000000..42c7a92392 --- /dev/null +++ b/migration/352a-trunk/333_BF2344776_PrintMO.sql @@ -0,0 +1,2098 @@ +-- Nov 24, 2008 5:04:59 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Manufacturing Order ** TEMPLATE ** ',Updated=TO_DATE('2008-11-24 17:04:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50001 +; + +-- Nov 24, 2008 5:05:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintAreaType='C', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 17:05:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 24, 2008 5:08:16 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=56101, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 17:08:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50117 +; + +-- Nov 24, 2008 5:08:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=56102, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 17:08:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50118 +; + +-- Nov 24, 2008 5:08:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=56111, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 17:08:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50119 +; + +-- Nov 24, 2008 5:08:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=56103, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 17:08:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50120 +; + +-- Nov 24, 2008 5:14:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=53659, IsGroupBy='N', IsPageBreak='N', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 17:14:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 24, 2008 5:16:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsActive='N', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 17:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50059 +; + +-- Nov 24, 2008 5:27:32 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Operation Activity ** TEMPLATE **', Name='Operation Activity ** TEMPLATE **',Updated=TO_DATE('2008-11-24 17:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50009 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50351 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=40,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50352 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=50,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50353 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=60,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50354 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=70,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50355 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=80,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50356 +; + +-- Nov 24, 2008 5:29:55 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=53659, AD_PrintFormatChild_ID=50009, IsActive='Y', IsGroupBy='N', IsPageBreak='N', PrintFormatType='P', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 17:29:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 5:31:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintFont_ID=119,Updated=TO_DATE('2008-11-24 17:31:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50001 +; + +-- Nov 24, 2008 5:32:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintFont_ID=119,Updated=TO_DATE('2008-11-24 17:32:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50009 +; + +-- Nov 24, 2008 5:35:07 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Name='Manufacturing_Order_ ** TEMPLATE **',Updated=TO_DATE('2008-11-24 17:35:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50001 +; + +-- Nov 24, 2008 5:35:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Manufacturing Order', Name='Manufacturing_Order_Header ** TEMPLATE **',Updated=TO_DATE('2008-11-24 17:35:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50001 +; + +-- Nov 24, 2008 5:36:54 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Manufacturing Order BOM Line', Name='Manufacturing_Order_BOMLine ** TEMPLATE **',Updated=TO_DATE('2008-11-24 17:36:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50002 +; + +-- Nov 24, 2008 5:37:22 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='MRP Detail',Updated=TO_DATE('2008-11-24 17:37:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50000 +; + + +--------------------------------------------- + +-- Nov 24, 2008 6:01:41 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,Description,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53158,'3',TO_DATE('2008-11-24 18:01:39','YYYY-MM-DD HH24:MI:SS'),0,'View Product Workflow','EE01','N','Y','N','N','N','N','Y','View Product Workflow','L','RV_PP_Product_Workflow',TO_DATE('2008-11-24 18:01:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 24, 2008 6:01:41 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53158 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Nov 24, 2008 6:03:19 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_Table SET Description='View Order Workflow', Name='View Order Workflow', TableName='RV_PP_Order_Workflow',Updated=TO_DATE('2008-11-24 18:03:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53158 +; + +-- Nov 24, 2008 6:03:19 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53158 +; + +-- Nov 24, 2008 6:05:58 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56483,102,0,19,53158,'AD_Client_ID',TO_DATE('2008-11-24 18:05:56','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','N','N','N','N','N','Client',TO_DATE('2008-11-24 18:05:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:05:58 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56483 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56484,113,0,19,53158,'AD_Org_ID',TO_DATE('2008-11-24 18:05:59','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','N','N','Organization',TO_DATE('2008-11-24 18:05:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56484 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56485,245,0,16,53158,'Created',TO_DATE('2008-11-24 18:06:00','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','EE01',29,'The Created field indicates the date that this record was created.','Y','N','N','N','N','N','N','N','N','N','Created',TO_DATE('2008-11-24 18:06:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56485 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:01 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56486,246,0,18,110,53158,'CreatedBy',TO_DATE('2008-11-24 18:06:00','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','EE01',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','N','N','N','N','N','Created By',TO_DATE('2008-11-24 18:06:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:01 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56486 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:02 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56487,348,0,20,53158,'IsActive',TO_DATE('2008-11-24 18:06:01','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','N','N','N','N','N','Active',TO_DATE('2008-11-24 18:06:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:02 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56487 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:04 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56488,607,0,16,53158,'Updated',TO_DATE('2008-11-24 18:06:02','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','EE01',29,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','N','N','N','N','N','Updated',TO_DATE('2008-11-24 18:06:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:04 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56488 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:08 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56489,608,0,18,110,53158,'UpdatedBy',TO_DATE('2008-11-24 18:06:04','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','EE01',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','N','N','N','N','N','Updated By',TO_DATE('2008-11-24 18:06:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:08 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56489 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56490,53276,0,19,53158,'PP_Order_ID',TO_DATE('2008-11-24 18:06:08','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Manufacturing Order',TO_DATE('2008-11-24 18:06:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56490 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:11 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56491,289,0,17,53158,'DocStatus',TO_DATE('2008-11-24 18:06:10','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document','EE01',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','N','N','N','N','N','Document Status',TO_DATE('2008-11-24 18:06:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:11 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56491 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:13 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56492,620,0,10,53158,'Value',TO_DATE('2008-11-24 18:06:11','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique','EE01',40,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','N','N','Search Key',TO_DATE('2008-11-24 18:06:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:13 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56492 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:18 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56493,1777,0,19,53158,'S_Resource_ID',TO_DATE('2008-11-24 18:06:13','YYYY-MM-DD HH24:MI:SS'),0,'Resource','EE01',10,'Y','N','N','N','N','N','N','N','N','N','Resource',TO_DATE('2008-11-24 18:06:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:18 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56493 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:19 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56494,53284,0,11,53158,'DurationRequiered',TO_DATE('2008-11-24 18:06:18','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Duration Requiered',TO_DATE('2008-11-24 18:06:18','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:19 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56494 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:20 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56495,53283,0,11,53158,'DurationReal',TO_DATE('2008-11-24 18:06:19','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Duration Real',TO_DATE('2008-11-24 18:06:19','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:20 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56495 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:22 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56496,2320,0,22,53158,'Duration',TO_DATE('2008-11-24 18:06:20','YYYY-MM-DD HH24:MI:SS'),0,'Normal Duration in Duration Unit','EE01',131089,'Expected (normal) Length of time for the execution','Y','N','N','N','N','N','N','N','N','N','Duration',TO_DATE('2008-11-24 18:06:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:22 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56496 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:23 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56497,528,0,29,53158,'QtyDelivered',TO_DATE('2008-11-24 18:06:22','YYYY-MM-DD HH24:MI:SS'),0,'Delivered Quantity','EE01',131089,'The Delivered Quantity indicates the quantity of a product that has been delivered.','Y','N','N','N','N','N','N','N','N','N','Delivered Quantity',TO_DATE('2008-11-24 18:06:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:23 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56497 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:24 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56498,53287,0,29,53158,'QtyReject',TO_DATE('2008-11-24 18:06:23','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','N','N','Qty Reject',TO_DATE('2008-11-24 18:06:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:24 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56498 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:26 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56499,53289,0,29,53158,'QtyScrap',TO_DATE('2008-11-24 18:06:24','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','N','N','Qty Scrap',TO_DATE('2008-11-24 18:06:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:26 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56499 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:27 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56500,53281,0,16,53158,'DateStartSchedule',TO_DATE('2008-11-24 18:06:26','YYYY-MM-DD HH24:MI:SS'),0,'EE01',29,'Y','N','N','N','N','N','N','N','N','N','DateStartSchedule',TO_DATE('2008-11-24 18:06:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:27 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56500 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56501,53278,0,16,53158,'DateFinishSchedule',TO_DATE('2008-11-24 18:06:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01',29,'Y','N','N','N','N','N','N','N','N','N','DateFinishSchedule',TO_DATE('2008-11-24 18:06:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56501 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:08:52 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56502,53286,0,19,53158,'PP_Order_Workflow_ID',TO_DATE('2008-11-24 18:08:50','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Manufacturing Order Workflow',TO_DATE('2008-11-24 18:08:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:08:52 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56502 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:11:42 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormat (AD_Client_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFont_ID,AD_PrintFormat_ID,AD_PrintPaper_ID,AD_PrintTableFormat_ID,AD_Table_ID,CreateCopy,Created,CreatedBy,Description,FooterMargin,HeaderMargin,IsActive,IsDefault,IsForm,IsStandardHeaderFooter,IsTableBased,Name,Updated,UpdatedBy) VALUES (0,0,100,120,50037,101,100,53158,'N',TO_DATE('2008-11-24 18:11:39','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturing Order Workflow',0,0,'Y','N','N','N','Y','Manufacturing_Order_Workflow ** TEMPLATE **',TO_DATE('2008-11-24 18:11:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 24, 2008 6:12:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintFont_ID=119,Updated=TO_DATE('2008-11-24 18:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:12:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintColor_ID=100, AD_PrintFont_ID=130, AD_PrintPaper_ID=100, AD_Table_ID=53158, Name='RV_PP_Order_Workflow_2',Updated=TO_DATE('2008-11-24 18:12:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:13:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56487,0,50964,50037,0,TO_DATE('2008-11-24 18:12:58','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Active','C','F','Active',0,'N',0,TO_DATE('2008-11-24 18:12:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50964 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56487) WHERE AD_PrintFormatItem_ID = 50964 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56487 AND trl.AD_PrintFormatItem_ID = 50964) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:21 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56483,0,50965,50037,0,TO_DATE('2008-11-24 18:13:12','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Client','C','F','Client',0,'N',0,TO_DATE('2008-11-24 18:13:12','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:21 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50965 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56483) WHERE AD_PrintFormatItem_ID = 50965 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56483 AND trl.AD_PrintFormatItem_ID = 50965) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:32 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56485,0,50966,50037,0,TO_DATE('2008-11-24 18:13:21','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Created','C','F','Created',0,'N',0,TO_DATE('2008-11-24 18:13:21','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:32 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50966 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:32 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56485) WHERE AD_PrintFormatItem_ID = 50966 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56485 AND trl.AD_PrintFormatItem_ID = 50966) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:36 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56486,0,50967,50037,0,TO_DATE('2008-11-24 18:13:32','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Created By','C','F','Created By',0,'N',0,TO_DATE('2008-11-24 18:13:32','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:36 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50967 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56486) WHERE AD_PrintFormatItem_ID = 50967 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56486 AND trl.AD_PrintFormatItem_ID = 50967) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:40 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56501,0,50968,50037,0,TO_DATE('2008-11-24 18:13:36','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'DateFinishSchedule','C','F','DateFinishSchedule',5,'N',0,TO_DATE('2008-11-24 18:13:36','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:40 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50968 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56501) WHERE AD_PrintFormatItem_ID = 50968 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56501 AND trl.AD_PrintFormatItem_ID = 50968) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:42 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56500,0,50969,50037,0,TO_DATE('2008-11-24 18:13:40','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'DateStartSchedule','C','F','DateStartSchedule',6,'N',0,TO_DATE('2008-11-24 18:13:40','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:43 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50969 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:43 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56500) WHERE AD_PrintFormatItem_ID = 50969 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56500 AND trl.AD_PrintFormatItem_ID = 50969) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:46 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56497,0,50970,50037,0,TO_DATE('2008-11-24 18:13:43','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Delivered Quantity','C','F','Delivered Qty',7,'N',0,TO_DATE('2008-11-24 18:13:43','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:46 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50970 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56497) WHERE AD_PrintFormatItem_ID = 50970 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56497 AND trl.AD_PrintFormatItem_ID = 50970) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:48 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56491,0,50971,50037,0,TO_DATE('2008-11-24 18:13:46','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Document Status','C','F','Doc Status',8,'N',0,TO_DATE('2008-11-24 18:13:46','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:48 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50971 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56491) WHERE AD_PrintFormatItem_ID = 50971 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56491 AND trl.AD_PrintFormatItem_ID = 50971) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:50 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56496,0,50972,50037,0,TO_DATE('2008-11-24 18:13:49','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Duration','C','F','Duration',9,'N',0,TO_DATE('2008-11-24 18:13:49','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:50 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50972 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56496) WHERE AD_PrintFormatItem_ID = 50972 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56496 AND trl.AD_PrintFormatItem_ID = 50972) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:52 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56495,0,50973,50037,0,TO_DATE('2008-11-24 18:13:50','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Duration Real','C','F','Duration Real',10,'N',0,TO_DATE('2008-11-24 18:13:50','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:52 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50973 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:52 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56495) WHERE AD_PrintFormatItem_ID = 50973 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56495 AND trl.AD_PrintFormatItem_ID = 50973) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:54 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56494,0,50974,50037,0,TO_DATE('2008-11-24 18:13:52','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Duration Requiered','C','F','Duration Requiered',11,'N',0,TO_DATE('2008-11-24 18:13:52','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:54 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50974 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:54 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56494) WHERE AD_PrintFormatItem_ID = 50974 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56494 AND trl.AD_PrintFormatItem_ID = 50974) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:57 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56490,0,50975,50037,0,TO_DATE('2008-11-24 18:13:54','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Manufacturing Order','C','F','Manufacturing Order',12,'N',0,TO_DATE('2008-11-24 18:13:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:57 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50975 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56490) WHERE AD_PrintFormatItem_ID = 50975 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56490 AND trl.AD_PrintFormatItem_ID = 50975) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:59 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56502,0,50976,50037,0,TO_DATE('2008-11-24 18:13:57','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Manufacturing Order Workflow','C','F','Manufacturing Order Workflow',13,'N',0,TO_DATE('2008-11-24 18:13:57','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:59 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50976 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:59 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56502) WHERE AD_PrintFormatItem_ID = 50976 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56502 AND trl.AD_PrintFormatItem_ID = 50976) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56484,0,50977,50037,0,TO_DATE('2008-11-24 18:13:59','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Organization','C','F','Organization',0,'N',0,TO_DATE('2008-11-24 18:13:59','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50977 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56484) WHERE AD_PrintFormatItem_ID = 50977 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56484 AND trl.AD_PrintFormatItem_ID = 50977) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:04 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56498,0,50978,50037,0,TO_DATE('2008-11-24 18:14:00','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Qty Reject','C','F','Qty Reject',15,'N',0,TO_DATE('2008-11-24 18:14:00','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:04 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50978 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56498) WHERE AD_PrintFormatItem_ID = 50978 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56498 AND trl.AD_PrintFormatItem_ID = 50978) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:07 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56499,0,50979,50037,0,TO_DATE('2008-11-24 18:14:04','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Qty Scrap','C','F','Qty Scrap',16,'N',0,TO_DATE('2008-11-24 18:14:04','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:07 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50979 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:07 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56499) WHERE AD_PrintFormatItem_ID = 50979 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56499 AND trl.AD_PrintFormatItem_ID = 50979) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56493,0,50980,50037,0,TO_DATE('2008-11-24 18:14:07','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Resource','C','F','Resource',17,'N',0,TO_DATE('2008-11-24 18:14:07','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50980 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56493) WHERE AD_PrintFormatItem_ID = 50980 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56493 AND trl.AD_PrintFormatItem_ID = 50980) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:15 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56492,0,50981,50037,0,TO_DATE('2008-11-24 18:14:12','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Search Key','C','F','Search Key',18,'N',0,TO_DATE('2008-11-24 18:14:12','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:15 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50981 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:15 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56492) WHERE AD_PrintFormatItem_ID = 50981 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56492 AND trl.AD_PrintFormatItem_ID = 50981) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:19 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56488,0,50982,50037,0,TO_DATE('2008-11-24 18:14:15','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Updated','C','F','Updated',0,'N',0,TO_DATE('2008-11-24 18:14:15','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:19 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50982 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:19 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56488) WHERE AD_PrintFormatItem_ID = 50982 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56488 AND trl.AD_PrintFormatItem_ID = 50982) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:21 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56489,0,50983,50037,0,TO_DATE('2008-11-24 18:14:19','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Updated By','C','F','Updated By',0,'N',0,TO_DATE('2008-11-24 18:14:19','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:21 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50983 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56489) WHERE AD_PrintFormatItem_ID = 50983 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56489 AND trl.AD_PrintFormatItem_ID = 50983) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:15:06 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Name='Manufacturing Order Workflow ** TEMPLATE **',Updated=TO_DATE('2008-11-24 18:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:15:20 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Name='Manufacturing_Order_Workflow ** TEMPLATE **',Updated=TO_DATE('2008-11-24 18:15:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50970 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50973 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50975 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50976 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50978 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50979 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=10,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50980 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=20,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=30,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=40,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=50,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=60,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=70,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:17:15 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56503,469,0,10,53158,'Name',TO_DATE('2008-11-24 18:17:13','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','EE01',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','N','N','N','N','N','Name',1,TO_DATE('2008-11-24 18:17:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:17:15 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56503 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:18:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56503,0,50984,50037,0,TO_DATE('2008-11-24 18:18:10','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Name','C','F','Name',35,'N',0,TO_DATE('2008-11-24 18:18:10','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:18:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50984 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:18:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56503) WHERE AD_PrintFormatItem_ID = 50984 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56503 AND trl.AD_PrintFormatItem_ID = 50984) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:24:59 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56504,53240,0,11,53158,'MovingTime',TO_DATE('2008-11-24 18:24:57','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Moving Time',TO_DATE('2008-11-24 18:24:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:24:59 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56504 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:02 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56505,2331,0,11,53158,'WaitingTime',TO_DATE('2008-11-24 18:24:59','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Simulation Waiting time','EE01',10,'Amount of time needed to prepare the performance of the task on Duration Units','Y','N','N','N','N','N','N','N','N','N','Waiting Time',TO_DATE('2008-11-24 18:24:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:02 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56505 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:03 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56506,2777,0,11,53158,'SetupTime',TO_DATE('2008-11-24 18:25:02','YYYY-MM-DD HH24:MI:SS'),0,'Setup time before starting Production','EE01',10,'Once per operation','Y','N','N','N','N','N','N','N','N','N','Setup Time',TO_DATE('2008-11-24 18:25:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:03 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56506 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:06 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56507,53234,0,11,53158,'QueuingTime',TO_DATE('2008-11-24 18:25:03','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Queuing Time',TO_DATE('2008-11-24 18:25:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:06 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56507 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:08 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56508,187,0,19,53158,'C_BPartner_ID',TO_DATE('2008-11-24 18:25:06','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','EE01',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','N','N','Business Partner ',TO_DATE('2008-11-24 18:25:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:08 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56508 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56509,275,0,10,53158,'Description',TO_DATE('2008-11-24 18:25:08','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','EE01',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','N','N','Description',TO_DATE('2008-11-24 18:25:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56509 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56510,53237,0,20,53158,'IsMilestone',TO_DATE('2008-11-24 18:25:10','YYYY-MM-DD HH24:MI:SS'),0,'EE01',1,'Y','N','N','N','N','N','N','N','N','N','Is Milestone',TO_DATE('2008-11-24 18:25:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56510 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:14 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56511,53238,0,20,53158,'IsSubcontracting',TO_DATE('2008-11-24 18:25:12','YYYY-MM-DD HH24:MI:SS'),0,'EE01',1,'Y','N','N','N','N','N','N','N','N','N','Is Subcontracting',TO_DATE('2008-11-24 18:25:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:14 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56511 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:26:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56509,0,100,50985,50037,0,0,TO_DATE('2008-11-24 18:26:24','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Description','C','F',20,80,'N',0,TO_DATE('2008-11-24 18:26:24','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:26:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50985 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:26:53 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56508,0,100,50986,50037,0,0,TO_DATE('2008-11-24 18:26:51','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Business Partner','C','F',20,90,'N',0,TO_DATE('2008-11-24 18:26:51','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:26:53 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50986 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:27:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56510,0,100,50987,50037,0,0,TO_DATE('2008-11-24 18:27:26','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Is Milestone','C','F',20,100,'N',0,TO_DATE('2008-11-24 18:27:26','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:27:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50987 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:27:45 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56511,0,100,50988,50037,0,0,TO_DATE('2008-11-24 18:27:43','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'IsSubcontracting','C','F',20,110,'N',0,TO_DATE('2008-11-24 18:27:43','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:27:45 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50988 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:28:22 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56504,0,100,50989,50037,0,0,TO_DATE('2008-11-24 18:28:19','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'MovingTime','C','F',20,120,'N',0,TO_DATE('2008-11-24 18:28:19','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:28:22 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50989 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:28:46 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56507,0,100,50990,50037,0,0,TO_DATE('2008-11-24 18:28:45','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Queuing Time','C','F',20,130,'N',0,TO_DATE('2008-11-24 18:28:45','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:28:46 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50990 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:29:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56505,0,100,50991,50037,0,0,TO_DATE('2008-11-24 18:29:08','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Waiting Time','C','F',20,140,'N',0,TO_DATE('2008-11-24 18:29:08','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:29:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50991 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:29:26 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:29:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:29:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:29:32 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:29:33 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:29:35 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:29:43 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', PrintName='Description', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:29:43 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:29:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Business Partner', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:29:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:29:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Is Milestone', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:29:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:29:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Is Subcontracting', PrintName='IsSubcontracting', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:29:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:29:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:30:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Moving Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:30:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Moving Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:30:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:30:07 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Queuing Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:30:07 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:30:25 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Waiting Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:30:25 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:30:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:30:35 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:30:39 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:30:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:30:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:30:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:30:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:30:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:30:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:31:09 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:31:10 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:31:11 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:31:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:31:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:31:14 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:31:16 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:31:17 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:31:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:31:26 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:31:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:31:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SeqNo=100, SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:31:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SeqNo=90, SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:31:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:31:49 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:31:52 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:31:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:31:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=30,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=40,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=50,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=60,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=70,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=80,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=90,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=100,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=110,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=120,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=130,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=140,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=150,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:33:47 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56506,0,100,50992,50037,0,0,TO_DATE('2008-11-24 18:33:46','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Setup Time','C','F',20,160,'N',0,TO_DATE('2008-11-24 18:33:46','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:33:47 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50992 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=80,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=90,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=100,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=110,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=120,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=130,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=140,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=150,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=160,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:34:08 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50980 +; + +-- Nov 24, 2008 6:34:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50980 +; + +-- Nov 24, 2008 6:34:22 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:34:25 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:34:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:34:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:34:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:34:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:34:39 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:34:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:34:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:35:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintFormatChild_ID=50037, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:35:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 6:38:10 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Manufacturing Order Node', Name='Manufacturing_Order_Node ** TEMPLATE **',Updated=TO_DATE('2008-11-24 18:38:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:39:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, FieldAlignmentType='L', IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', PrintName='Setup Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:39:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:39:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:40:08 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintFont_ID=119,Updated=TO_DATE('2008-11-24 18:40:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:43:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Start', PrintName='Start', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:43:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:43:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:45:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Finish', PrintName='Finish', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:45:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:45:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:45:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Waiting T', PrintName='Waiting T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:45:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:45:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:45:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Setup T', PrintName='Setup T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:45:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:45:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:45:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Duration T', PrintName='Duration T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:45:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:45:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:45:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Moving T', PrintName='Moving T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:45:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:45:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:46:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Queuing T', PrintName='Queuing T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:46:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:46:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:46:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Status', PrintName='Status', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:46:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:46:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:46:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Is Subcontracting', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:46:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:47:45 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='B.P.', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:47:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:47:45 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:48:01 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Requiered', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:48:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:48:01 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:48:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S.K.', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:48:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:48:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:49:05 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=3, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:49:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +------------------------------------------------ +-- Nov 24, 2008 6:49:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:49:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50974 +; + + +-- Nov 24, 2008 6:50:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=2, IsGroupBy='N', IsNextLine='Y', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:51:11 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='B', IsGroupBy='N', IsNextLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:51:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:51:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=5, IsGroupBy='N', IsNextLine='Y', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:51:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=9, IsGroupBy='N', IsNextLine='Y', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:51:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:52:09 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=14, IsGroupBy='N', IsNextLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:52:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:52:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S.K.- Name', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:52:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:52:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:52:38 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Start - Finish', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:52:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:52:38 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:52:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Duration T - Requiered', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:52:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:52:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:55:20 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S.K./ Name', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:55:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:55:20 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:55:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S.K.', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:55:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:55:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:55:38 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsNextLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:55:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:55:43 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsNextLine='Y', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:55:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:55:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Start/Finish', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:55:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:55:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:56:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Name/Description', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:56:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:56:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:56:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Duration/Total', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:56:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:56:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:56:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='M', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:56:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:56:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:56:39 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:56:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:56:39 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:58:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Queuing', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:58:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:58:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:58:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Moving', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:58:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:58:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:58:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Setup', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:58:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:58:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:58:52 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Waiting', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:58:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:58:52 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:59:06 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsFixedWidth='Y', IsGroupBy='N', IsHeightOneLine='Y', IsPageBreak='N', MaxWidth=40, SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 18:59:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50980 +; + +-- Nov 24, 2008 7:01:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Drt/Req', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 19:01:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 7:01:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 7:07:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Finish Date', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:07:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50091 +; + +-- Nov 24, 2008 7:07:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50091 +; + +-- Nov 24, 2008 7:07:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Warehouse :', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 19:07:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:07:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:07:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Product :', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:07:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50082 +; + +-- Nov 24, 2008 7:07:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50082 +; + +-- Nov 24, 2008 7:07:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Quantity :', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:07:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50083 +; + +-- Nov 24, 2008 7:07:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50083 +; + +-- Nov 24, 2008 7:07:56 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Orden Date:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:07:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:07:56 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:08:06 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Promised D:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:08:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:08:06 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:08:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Date:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:08:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:08:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:08:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Promised:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:08:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:08:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:08:26 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Delivered Date:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:08:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50094 +; + +-- Nov 24, 2008 7:08:26 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50094 +; + +-- Nov 24, 2008 7:08:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Lot', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 19:08:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50095 +; + +-- Nov 24, 2008 7:08:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50095 +; + +-- Nov 24, 2008 7:08:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Workflow:', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 19:08:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 7:08:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 7:10:14 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Warehouse:', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 19:10:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:10:14 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:10:23 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Document Status:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:10:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:10:23 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:10:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET PrintName='Document No:', XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:10:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:10:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:11:15 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 19:11:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=30,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=40,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=50,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50080 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=60,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=70,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50082 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=80,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50083 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=90,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50084 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=100,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50085 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=110,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=120,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50079 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=130,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=140,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=150,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50089 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=160,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50090 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=170,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50091 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=180,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50092 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=190,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50093 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=200,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50094 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=210,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50095 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=220,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=230,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=240,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50059 +; + +-- Nov 24, 2008 7:14:49 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='N', SortNo=0, XPosition=340, XSpace=0, YPosition=10, YSpace=0,Updated=TO_DATE('2008-11-24 19:14:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:15:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=130, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:15:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='Y', IsPageBreak='N', SortNo=0, XPosition=20, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:16:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:17:23 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='Y', PrintAreaType='H', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 19:17:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:18:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET XPosition=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:18:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:18:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:19:25 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET XPosition=20, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:19:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:19:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, XSpace=200, YPosition=0,Updated=TO_DATE('2008-11-24 19:19:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:19:35 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=20, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:19:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:19:54 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='N', SortNo=0, XPosition=200, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:19:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:20:15 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0, YSpace=40,Updated=TO_DATE('2008-11-24 19:20:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:20:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XSpace=0, YPosition=50, YSpace=0,Updated=TO_DATE('2008-11-24 19:20:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:21:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET XPosition=5, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:21:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:22:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='N', SortNo=0, XPosition=200, XSpace=0, YPosition=40, YSpace=0,Updated=TO_DATE('2008-11-24 19:22:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:22:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=520, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:22:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:22:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=5, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:24:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Reserved Qty:', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-24 19:24:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50080 +; + +-- Nov 24, 2008 7:24:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50080 +; + +-- Nov 24, 2008 7:24:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Qty Reject:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50084 +; + +-- Nov 24, 2008 7:24:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50084 +; + +-- Nov 24, 2008 7:24:55 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Qty Scrap:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50085 +; + +-- Nov 24, 2008 7:24:55 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50085 +; + +-- Nov 24, 2008 7:25:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Qty Batchs:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:25:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 7:25:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 7:25:08 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Qty Batch Size:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50079 +; + +-- Nov 24, 2008 7:25:08 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50079 +; + +-- Nov 24, 2008 7:25:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='# Batch:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_DATE('2008-11-24 19:25:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 7:25:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 6:49:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:49:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50974 +; + +UPDATE AD_PrintFormatItem SET AD_PrintFormatChild_ID=50002, IsGroupBy='N', IsPageBreak='N', PrintFormatType='P', SortNo=0, XPosition=0, YPosition=0,Updated=TO_DATE('2008-11-25 17:15:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 25, 2008 2:22:37 PM ECT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_PrintForm SET Distrib_Order_PrintFormat_ID=50011, Manuf_Order_PrintFormat_ID=50001,Updated=TO_DATE('2008-11-25 14:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintForm_ID=101 +; + +CREATE VIEW rv_pp_order_workflow AS + SELECT n.ad_client_id, n.ad_org_id, n.created, n.createdby, n.isactive, n.updated, n.updatedby, owf.PP_Order_Workflow_ID, + n.name,n.pp_order_id, n.docstatus, n.value, n.s_resource_id, + n.durationrequiered, n.durationreal, n.durationrequiered - n.durationreal AS duration,n.movingtime,n.waitingtime,n.setuptime,n.queuingtime, + n.qtydelivered, n.qtyreject, n.qtyscrap, n.datestartschedule, n.datefinishschedule, n.c_bpartner_id, n.description,n.ismilestone,n.issubcontracting + FROM pp_order_workflow owf INNER JOIN PP_Order_Node n ON (n.PP_Order_Workflow_ID=owf.PP_Order_Workflow_ID); diff --git a/migration/352a-trunk/334_FR2353794.sql b/migration/352a-trunk/334_FR2353794.sql new file mode 100644 index 0000000000..4ceee398b1 --- /dev/null +++ b/migration/352a-trunk/334_FR2353794.sql @@ -0,0 +1,12 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Nov 28, 2008 4:45:06 PM MYT +-- [ 2353794 ] Financial Report: Add Natural Balance amount type +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53441,235,TO_DATE('2008-11-28 16:44:54','YYYY-MM-DD HH24:MI:SS'),100,'BY for P & L account, BT for Balance Sheet account','D','Y','Natural Balance',TO_DATE('2008-11-28 16:44:54','YYYY-MM-DD HH24:MI:SS'),100,'BN') +; + +-- Nov 28, 2008 4:45:06 PM MYT +-- [ 2353794 ] Financial Report: Add Natural Balance amount type +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53441 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; diff --git a/migration/352a-trunk/335_BF1936311_migrate_bomtype.sql b/migration/352a-trunk/335_BF1936311_migrate_bomtype.sql new file mode 100644 index 0000000000..317badf44f --- /dev/null +++ b/migration/352a-trunk/335_BF1936311_migrate_bomtype.sql @@ -0,0 +1,29 @@ +update pp_product_bomline pbl +set (componenttype, feature) = + (select (case + when mbl.bomtype = 'O' then 'OP' + when mbl.bomtype in ('1','2','3','4','5','6','7','8','9') then 'VA' + else 'CO' + end), + (case + when mbl.bomtype in ('1','2','3','4','5','6','7','8','9') + then (select name + from ad_ref_list + where ad_reference_id = 279 + and value = mbl.bomtype) + else null + end) + from m_product_bom mbl, pp_product_bom pb, pp_product_bomline pbl2 + where pbl2.pp_product_bomline_id = pbl.pp_product_bomline_id + and pb.m_product_id = mbl.m_product_id + and pbl2.pp_product_bom_id = pb.pp_product_bom_id + and mbl.m_productbom_id = pbl2.m_product_id) +where exists + (select * + from m_product_bom mbl, pp_product_bom pb, pp_product_bomline pbl2 + where (mbl.bomtype <> 'P' or pbl2.componenttype <> 'CO') + and pbl2.pp_product_bomline_id = pbl.pp_product_bomline_id + and pb.m_product_id = mbl.m_product_id + and pbl2.pp_product_bom_id = pb.pp_product_bom_id + and mbl.m_productbom_id = pbl2.m_product_id) +; diff --git a/migration/352a-trunk/336_BF2227971_planning_window.sql b/migration/352a-trunk/336_BF2227971_planning_window.sql new file mode 100644 index 0000000000..c29c8c8088 --- /dev/null +++ b/migration/352a-trunk/336_BF2227971_planning_window.sql @@ -0,0 +1,205 @@ +-- 2/12/2008 11:11:17 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53606 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53566 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53567 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53568 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53569 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53570 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53571 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53572 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53573 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53574 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53575 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53576 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53577 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53578 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53579 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53580 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53581 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53582 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53583 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53584 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53585 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53586 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53587 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53588 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53589 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53590 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53591 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53592 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53593 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53594 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53595 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=53596 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=53597 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=53598 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=53599 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=53600 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=53601 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=53602 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=53603 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=53604 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=53605 +; + diff --git a/migration/352a-trunk/337_FR2380080_Implement_drop_shipment.sql b/migration/352a-trunk/337_FR2380080_Implement_drop_shipment.sql new file mode 100644 index 0000000000..e823439f0b --- /dev/null +++ b/migration/352a-trunk/337_FR2380080_Implement_drop_shipment.sql @@ -0,0 +1,553 @@ +-- INSERTING into AD_ELEMENT +Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53460,0,0,'Y',to_date('01/MAY/08','DD/MON/RR'),100,to_date('01/MAY/08','DD/MON/RR'),100,'DropShip_User_ID','U','Drop Shipment Contact','Drop Shipment Contact','Business Partner Contact for drop shipment',null,null,null,null,null); +Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53459,0,0,'Y',to_date('01/MAY/08','DD/MON/RR'),100,to_date('07/MAY/08','DD/MON/RR'),100,'DropShip_Location_ID','D','Drop Shipment Location','Drop Shipment Location','Business Partner Location for shipping to',null,null,null,null,null); +Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53458,0,0,'Y',to_date('01/MAY/08','DD/MON/RR'),100,to_date('01/MAY/08','DD/MON/RR'),100,'DropShip_BPartner_ID','U','Drop Shipment Partner','Drop Shipment Partner','Business Partner to ship to','If empty the business partner will be shipped to.',null,null,null,null); + +-- INSERTING into AD_Column +Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS) values (55314,0,0,'Y',to_date('07/MAY/08','DD/MON/RR'),to_date('07/MAY/08','DD/MON/RR'),100,100,'Drop Shipment Partner','Business Partner to ship to','If empty the business partner will be shipped to.',1,'D','DropShip_BPartner_ID',259,30,138,230,22,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',53458,null,'N','N',null,null,null); + +-- 7/05/2008 11:35:44 +-- Drop shipment +ALTER TABLE C_Order ADD DropShip_BPartner_ID NUMBER(10) +; + +-- 7/05/2008 11:40:02 +-- Drop shipment +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52022,'C_BPartner_Location.C_BPartner_ID=@DropShip_BPartner_ID@ AND C_BPartner_Location.IsShipTo=''Y'' AND C_BPartner_Location.IsActive=''Y''',TO_DATE('2008-05-07 11:39:57','YYYY-MM-DD HH24:MI:SS'),100,'U','Y','C_BPartner_Loc Ship - Drop Ship BPartner','S',TO_DATE('2008-05-07 11:39:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- INSERTING into AD_Column +Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE, +COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY, +ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN, +AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS) +values (55315,0,0,'Y',to_date('07/MAY/08','DD/MON/RR'),to_date('07/MAY/08','DD/MON/RR'),100,100,'Drop Shipment Location', +'Business Partner Location for shipping to',null,1,'D','DropShip_Location_ID',259,18,159,52022,22,null,'N','N','N','Y', +null,'N',0,'N','N',null,null,null,null,'N',53459,null,'N','N',null,null,null); + +-- 7/05/2008 11:41:42 +-- Drop shipment +ALTER TABLE C_Order ADD DropShip_Location_ID NUMBER(10) +; + +-- INSERTING +Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION, +HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH, +DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED, +CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE, +COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS) + values (55316,0,0,'Y',to_date('07/MAY/08','DD/MON/RR'),to_date('07/MAY/08','DD/MON/RR'),100,100, +'Drop Shipment Contact','Business Partner Contact for drop shipment',null,1,'D','DropShip_User_ID', +259,18,110,168,22,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',53460,null,'N','N',null,null,null); + + +-- 7/05/2008 11:42:43 +-- Drop shipment +ALTER TABLE C_Order ADD DropShip_User_ID NUMBER(10) +; + +-- 7/05/2008 11:46:47 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55317,2466,0,20,319,'IsDropShip',TO_DATE('2008-05-07 11:46:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Drop Shipments are sent from the Vendor directly to the Customer','D',1,'Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment',0,TO_DATE('2008-05-07 11:46:46','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 7/05/2008 11:47:15 +-- Drop shipment +ALTER TABLE M_InOut ADD IsDropShip CHAR(1) DEFAULT 'N' CHECK (IsDropShip IN ('Y','N')) +; + +-- 7/05/2008 11:48:17 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55318,53458,0,18,138,319,'DropShip_BPartner_ID',TO_DATE('2008-05-07 11:48:16','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to','D',10,'If empty the business partner will be shipped to.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment Partner',0,TO_DATE('2008-05-07 11:48:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 7/05/2008 11:48:21 +-- Drop shipment +ALTER TABLE M_InOut ADD DropShip_BPartner_ID NUMBER(10) +; + + +-- 7/05/2008 11:49:16 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55319,53459,0,18,159,319,120,'DropShip_Location_ID',TO_DATE('2008-05-07 11:49:15','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to','D',10,'Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment Location',0,TO_DATE('2008-05-07 11:49:15','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 7/05/2008 11:49:18 +-- Drop shipment +ALTER TABLE M_InOut ADD DropShip_Location_ID NUMBER(10) +; + + +-- 7/05/2008 11:49:58 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName, +Created,CreatedBy,Description,EntityType,FieldLength, +IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated, +IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55320,53460,0,18,110,319,168,'DropShip_User_ID', +TO_DATE('2008-05-07 11:49:57','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment','D',10, +'Y','N','N','N','N','N','N','N','N','N', +'Y','Drop Shipment Contact',0,TO_DATE('2008-05-07 11:49:57','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 7/05/2008 11:50:00 +-- Drop shipment +ALTER TABLE M_InOut ADD DropShip_User_ID NUMBER(10) +; + +-- 7/05/2008 11:58:45 +-- Drop shipment +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2008-05-07 11:58:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11580 +; + +-- 7/05/2008 12:03:04 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55314,55410,0,186,TO_DATE('2008-05-07 12:03:03','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',192,0,TO_DATE('2008-05-07 12:03:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:03:04 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55410 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:04:09 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55315,130,55411,0,186,TO_DATE('2008-05-07 12:04:08','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Location',194,0,TO_DATE('2008-05-07 12:04:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:04:09 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55411 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:04:17 +-- Drop shipment +UPDATE AD_Field SET AD_FieldGroup_ID=130,Updated=TO_DATE('2008-05-07 12:04:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55410 +; + +-- 7/05/2008 12:05:27 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55316,130,55412,0,186,TO_DATE('2008-05-07 12:05:26','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',196,0,TO_DATE('2008-05-07 12:05:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:05:27 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55412 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:08:49 +-- Drop shipment +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-05-07 12:08:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55411 +; + +-- 7/05/2008 12:15:15 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55314,124,55413,0,294,TO_DATE('2008-05-07 12:15:13','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',402,0,TO_DATE('2008-05-07 12:15:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:15:15 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55413 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:16:35 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55315,124,55414,0,294,TO_DATE('2008-05-07 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',404,0,TO_DATE('2008-05-07 12:16:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:16:35 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55414 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:17:34 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55316,124,55415,0,294,TO_DATE('2008-05-07 12:17:33','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',406,0,TO_DATE('2008-05-07 12:17:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:17:34 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55415 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:17:50 +-- Drop shipment +UPDATE AD_Field SET IsReadOnly='N',Updated=TO_DATE('2008-05-07 12:17:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10123 +; + + +-- 8/05/2008 10:32:31 +-- Drop shipment +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53461,0,'DropShip_Warehouse_ID',TO_DATE('2008-05-08 10:32:26','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.','D','The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','Drop Ship Warehouse','Drop Ship Warehouse',TO_DATE('2008-05-08 10:32:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 8/05/2008 10:32:31 +-- Drop shipment +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53461 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 8/05/2008 10:33:53 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55321,53461,0,18,197,228,'DropShip_Warehouse_ID',TO_DATE('2008-05-08 10:33:51','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.','D',22,'The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Ship Warehouse',0,TO_DATE('2008-05-08 10:33:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 8/05/2008 10:33:53 +-- Drop shipment +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55321 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 8/05/2008 10:33:56 +-- Drop shipment +ALTER TABLE AD_OrgInfo ADD DropShip_Warehouse_ID NUMBER(10) +; + +-- 8/05/2008 10:35:33 +-- Drop shipment +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-05-08 10:35:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9245 +; + +-- 8/05/2008 10:36:37 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55321,55416,0,170,TO_DATE('2008-05-08 10:36:36','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.',22,'D','The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','Y','Y','N','N','N','N','N','Drop Ship Warehouse',65,0,TO_DATE('2008-05-08 10:36:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 8/05/2008 10:36:37 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55416 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 8/05/2008 10:39:12 +-- Drop shipment +UPDATE AD_Column SET AD_Val_Rule_ID=189,Updated=TO_DATE('2008-05-08 10:39:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55321 +; + +-- 8/05/2008 10:39:12 +-- Drop shipment +UPDATE AD_Field SET Name='Drop Ship Warehouse', Description='The (logical) warehouse to use for recording drop ship receipts and shipments.', Help='The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.' WHERE AD_Column_ID=55321 AND IsCentrallyMaintained='Y' +; + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55317,124,55419,0,257,TO_DATE('2008-05-16 09:33:44','YYYY-MM-DD HH24:MI:SS'),100,'Drop Shipments are sent from the Vendor directly to the Customer',0,'D','Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','Y','Y','N','N','N','N','N','Drop Shipment',282,0,TO_DATE('2008-05-16 09:33:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55419 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55319,55425,0,296,TO_DATE('2008-05-16 09:43:45','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',246,0,TO_DATE('2008-05-16 09:43:45','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55425 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55317,55426,0,296,TO_DATE('2008-05-16 09:44:49','YYYY-MM-DD HH24:MI:SS'),100,'Drop Shipments are sent from the Vendor directly to the Customer',1,'D','Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','Y','Y','N','N','N','N','N','Drop Shipment',242,0,TO_DATE('2008-05-16 09:44:49','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55426 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55318,55427,0,296,TO_DATE('2008-05-16 09:45:31','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',244,0,TO_DATE('2008-05-16 09:45:31','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55427 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55320,55428,0,296,TO_DATE('2008-05-16 09:46:13','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',248,0,TO_DATE('2008-05-16 09:46:13','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55428 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55318,124,55429,0,257,TO_DATE('2008-05-16 09:48:43','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',0,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',284,0,TO_DATE('2008-05-16 09:48:43','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55429 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55319,124,55430,0,257,TO_DATE('2008-05-16 09:49:38','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',286,0,TO_DATE('2008-05-16 09:49:38','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55430 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55320,124,55431,0,257,TO_DATE('2008-05-16 09:50:20','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',288,0,TO_DATE('2008-05-16 09:50:20','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55431 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +CREATE OR REPLACE VIEW "M_INOUT_CANDIDATE_V" +AS +SELECT + o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID, + o.POReference, o.Description, o.SalesRep_ID, + l.M_Warehouse_ID, + SUM((l.QtyOrdered-l.QtyDelivered)*l.PriceActual) AS TotalLines +FROM C_Order o + INNER JOIN C_OrderLine l ON (o.C_Order_ID=l.C_Order_ID) +WHERE (o.DocStatus = 'CO' AND o.IsDelivered='N') -- Status must be CO - not CL/RE +-- not Offers and open Walkin-Receipts +AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType + WHERE DocBaseType='SOO' AND DocSubTypeSO NOT IN ('ON','OB','WR')) +-- Delivery Rule - not manual +AND o.DeliveryRule<>'M' +AND (l.M_Product_ID IS NULL OR EXISTS + (SELECT * FROM M_Product p + WHERE l.M_Product_ID=p.M_Product_ID AND p.IsExcludeAutoDelivery='N')) +-- we need to ship +AND l.QtyOrdered <> l.QtyDelivered +-- AND o.IsDropShip='N' +-- no vendor drop shipment order has been raised +AND NOT EXISTS (SELECT 1 FROM C_Order lo + INNER JOIN C_OrderLine ll ON (ll.C_Order_ID=lo.C_Order_ID) + WHERE ll.C_Orderline_ID=l.Link_OrderLine_ID + AND lo.IsDropShip = 'Y') +AND (l.M_Product_ID IS NOT NULL OR l.C_Charge_ID IS NOT NULL) + -- Not confirmed shipment + AND NOT EXISTS (SELECT * FROM M_InOutLine iol + INNER JOIN M_InOut io ON (iol.M_InOut_ID=io.M_InOut_ID) + WHERE iol.C_OrderLine_ID=l.C_OrderLine_ID AND io.DocStatus IN ('IP','WC')) + -- +GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID, + o.POReference, o.Description, o.SalesRep_ID, l.M_Warehouse_ID; + + + + CREATE OR REPLACE VIEW "C_ORDER_HEADER_V" + AS + SELECT o.AD_Client_ID, o.AD_Org_ID, o.IsActive, o.Created, o.CreatedBy, o.Updated, o.UpdatedBy, + 'en_US' AS AD_Language, + o.C_Order_ID, o.IsSOTrx, o.DocumentNo, o.DocStatus, o.C_DocType_ID, + o.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS, + oi.C_Location_ID AS Org_Location_ID, oi.TaxID, + o.M_Warehouse_ID, wh.C_Location_ID AS Warehouse_Location_ID, + dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote, + o.SalesRep_ID, COALESCE(ubp.Name, u.Name) AS SalesRep_Name, + o.DateOrdered, o.DatePromised, + bpg.Greeting AS BPGreeting, + bp.Name, bp.Name2, + bpcg.Greeting AS BPContactGreeting, + bpc.Title, bpc.Phone, + NULLIF (bpc.Name, bp.Name) AS ContactName, + bpl.C_Location_ID, l.Postal || l.Postal_Add AS Postal, + bp.ReferenceNo, + -- Bill to + o.Bill_BPartner_ID, o.Bill_Location_ID, o.Bill_User_ID, + bbp.Value AS Bill_BPValue, bbp.TaxID AS Bill_BPTaxID, + bbp.Name AS Bill_Name, bbp.Name2 AS Bill_Name2, + bbpc.Title AS Bill_Title, bbpc.Phone AS Bill_Phone, + NULLIF (bbpc.Name, bbp.Name) AS Bill_ContactName, + bbpl.C_Location_ID AS Bill_C_Location_ID, + -- Ship to + o.IsDropShip, + COALESCE(o.DropShip_BPartner_ID, o.C_BPartner_ID) AS Ship_BPartner_ID, + COALESCE(o.DropShip_Location_ID, o.C_BPartner_Location_ID) AS Ship_Location_ID, + COALESCE(o.DropShip_User_ID, o.AD_User_ID) AS Ship_User_ID, + COALESCE(dsbp.Value, bp.Value) AS Ship_BPValue, COALESCE(dsbp.TaxID, bp.TaxID) AS Ship_BPTaxID, + COALESCE(dsbp.Name, bp.Name) AS Ship_Name, COALESCE(dsbp.Name2, bp.Name2) AS Ship_Name2, + COALESCE(dsbpc.Title, bpc.Title) AS Ship_Title, COALESCE(dsbpc.Phone, bpc.Phone) AS Ship_Phone, + NULLIF (COALESCE(dsbpc.Name, bpc.Name),COALESCE(dsbp.Name, bp.Name)) AS Ship_ContactName, + COALESCE(dsbpl.C_Location_ID, bpl.C_Location_ID) AS Ship_C_Location_ID, + o.Description, + o.POReference, + o.C_Currency_ID, + pt.Name AS PaymentTerm, pt.DocumentNote AS PaymentTermNote, + o.C_Charge_ID, o.ChargeAmt, + o.TotalLines, + o.GrandTotal, o.GrandTotal AS AmtInWords, + o.M_PriceList_ID, + o.IsTaxIncluded, o.Volume, o.Weight, + o.C_Campaign_ID, o.C_Project_ID, o.C_Activity_ID, + o.M_Shipper_ID, o.DeliveryRule, o.DeliveryViaRule, o.PriorityRule, o.InvoiceRule +FROM C_Order o + INNER JOIN C_DocType dt ON (o.C_DocType_ID=dt.C_DocType_ID) + INNER JOIN M_Warehouse wh ON (o.M_Warehouse_ID=wh.M_Warehouse_ID) + INNER JOIN C_PaymentTerm pt ON (o.C_PaymentTerm_ID=pt.C_PaymentTerm_ID) + INNER JOIN C_BPartner bp ON (o.C_BPartner_ID=bp.C_BPartner_ID) + LEFT OUTER JOIN C_Greeting bpg ON (bp.C_Greeting_ID=bpg.C_Greeting_ID) + INNER JOIN C_BPartner_Location bpl ON (o.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID) + INNER JOIN C_Location l ON (bpl.C_Location_ID=l.C_Location_ID) + LEFT OUTER JOIN AD_User bpc ON (o.AD_User_ID=bpc.AD_User_ID) + LEFT OUTER JOIN C_Greeting bpcg ON (bpc.C_Greeting_ID=bpcg.C_Greeting_ID) + INNER JOIN AD_OrgInfo oi ON (o.AD_Org_ID=oi.AD_Org_ID) + LEFT OUTER JOIN AD_User u ON (o.SalesRep_ID=u.AD_User_ID) + LEFT OUTER JOIN C_BPartner ubp ON (u.C_BPartner_ID=ubp.C_BPartner_ID) + INNER JOIN C_BPartner bbp ON (o.Bill_BPartner_ID=bbp.C_BPartner_ID) + INNER JOIN C_BPartner_Location bbpl ON (o.Bill_Location_ID=bbpl.C_BPartner_Location_ID) + LEFT OUTER JOIN AD_User bbpc ON (o.Bill_User_ID=bbpc.AD_User_ID) + LEFT OUTER JOIN C_BPartner dsbp ON (o.DropShip_BPartner_ID=dsbp.C_BPartner_ID) + LEFT OUTER JOIN C_BPartner_Location dsbpl ON (o.DropShip_Location_ID=dsbpl.C_BPartner_Location_ID) + LEFT OUTER JOIN AD_User dsbpc ON (o.DropShip_User_ID=dsbpc.AD_User_ID); + + CREATE OR REPLACE VIEW "C_ORDER_HEADER_VT" + AS + SELECT o.AD_Client_ID, o.AD_Org_ID, o.IsActive, o.Created, o.CreatedBy, o.Updated, o.UpdatedBy, + dt.AD_Language, + o.C_Order_ID, o.IsSOTrx, o.DocumentNo, o.DocStatus, o.C_DocType_ID, + o.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS, + oi.C_Location_ID AS Org_Location_ID, oi.TaxID, + o.M_Warehouse_ID, wh.C_Location_ID AS Warehouse_Location_ID, + dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote, + o.SalesRep_ID, COALESCE(ubp.Name, u.Name) AS SalesRep_Name, + o.DateOrdered, o.DatePromised, + bpg.Greeting AS BPGreeting, + bp.Name, bp.Name2, + bpcg.Greeting AS BPContactGreeting, + bpc.Title, bpc.Phone, + NULLIF (bpc.Name, bp.Name) AS ContactName, + bpl.C_Location_ID, l.Postal || l.Postal_Add AS Postal, + bp.ReferenceNo, + -- Bill to + o.Bill_BPartner_ID, o.Bill_Location_ID, o.Bill_User_ID, + bbp.Value AS Bill_BPValue, bbp.TaxID AS Bill_BPTaxID, + bbp.Name AS Bill_Name, bbp.Name2 AS Bill_Name2, + bbpc.Title AS Bill_Title, bbpc.Phone AS Bill_Phone, + NULLIF (bbpc.Name, bbp.Name) AS Bill_ContactName, + bbpl.C_Location_ID AS Bill_C_Location_ID, +-- Ship to + o.IsDropShip, + COALESCE(o.DropShip_BPartner_ID, o.C_BPartner_ID) AS Ship_BPartner_ID, + COALESCE(o.DropShip_Location_ID, o.C_BPartner_Location_ID) AS Ship_Location_ID, + COALESCE(o.DropShip_User_ID, o.AD_User_ID) AS Ship_User_ID, + COALESCE(dsbp.Value, bp.Value) AS Ship_BPValue, COALESCE(dsbp.TaxID, bp.TaxID) AS Ship_BPTaxID, + COALESCE(dsbp.Name, bp.Name) AS Ship_Name, COALESCE(dsbp.Name2, bp.Name2) AS Ship_Name2, + COALESCE(dsbpc.Title, bpc.Title) AS Ship_Title, COALESCE(dsbpc.Phone, bpc.Phone) AS Ship_Phone, + NULLIF (COALESCE(dsbpc.Name, bpc.Name),COALESCE(dsbp.Name, bp.Name)) AS Ship_ContactName, + COALESCE(dsbpl.C_Location_ID, bpl.C_Location_ID) AS Ship_C_Location_ID, + o.Description, + o.POReference, + o.C_Currency_ID, + pt.Name AS PaymentTerm, pt.DocumentNote AS PaymentTermNote, + o.C_Charge_ID, o.ChargeAmt, + o.TotalLines, + o.GrandTotal, o.GrandTotal AS AmtInWords, + o.M_PriceList_ID, + o.IsTaxIncluded, o.Volume, o.Weight, + o.C_Campaign_ID, o.C_Project_ID, o.C_Activity_ID, + o.M_Shipper_ID, o.DeliveryRule, o.DeliveryViaRule, o.PriorityRule, o.InvoiceRule +FROM C_Order o + INNER JOIN C_DocType_Trl dt ON (o.C_DocType_ID=dt.C_DocType_ID) + INNER JOIN M_Warehouse wh ON (o.M_Warehouse_ID=wh.M_Warehouse_ID) + INNER JOIN C_PaymentTerm_Trl pt ON (o.C_PaymentTerm_ID=pt.C_PaymentTerm_ID AND dt.AD_Language=pt.AD_Language) + INNER JOIN C_BPartner bp ON (o.C_BPartner_ID=bp.C_BPartner_ID) + LEFT OUTER JOIN C_Greeting_Trl bpg ON (bp.C_Greeting_ID=bpg.C_Greeting_ID AND dt.AD_Language=bpg.AD_Language) + INNER JOIN C_BPartner_Location bpl ON (o.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID) + INNER JOIN C_Location l ON (bpl.C_Location_ID=l.C_Location_ID) + LEFT OUTER JOIN AD_User bpc ON (o.AD_User_ID=bpc.AD_User_ID) + LEFT OUTER JOIN C_Greeting_Trl bpcg ON (bpc.C_Greeting_ID=bpcg.C_Greeting_ID AND dt.AD_Language=bpcg.AD_Language) + INNER JOIN AD_OrgInfo oi ON (o.AD_Org_ID=oi.AD_Org_ID) + LEFT OUTER JOIN AD_User u ON (o.SalesRep_ID=u.AD_User_ID) + LEFT OUTER JOIN C_BPartner ubp ON (u.C_BPartner_ID=ubp.C_BPartner_ID) + INNER JOIN C_BPartner bbp ON (o.Bill_BPartner_ID=bbp.C_BPartner_ID) + INNER JOIN C_BPartner_Location bbpl ON (o.Bill_Location_ID=bbpl.C_BPartner_Location_ID) + LEFT OUTER JOIN AD_User bbpc ON (o.Bill_User_ID=bbpc.AD_User_ID) + LEFT OUTER JOIN C_BPartner dsbp ON (o.DropShip_BPartner_ID=dsbp.C_BPartner_ID) + LEFT OUTER JOIN C_BPartner_Location dsbpl ON (o.DropShip_Location_ID=dsbpl.C_BPartner_Location_ID) + LEFT OUTER JOIN AD_User dsbpc ON (o.DropShip_User_ID=dsbpc.AD_User_ID); + + CREATE OR REPLACE VIEW "M_INOUT_HEADER_V" + AS + SELECT io.AD_Client_ID, io.AD_Org_ID, io.IsActive, io.Created, io.CreatedBy, io.Updated, io.UpdatedBy, + 'en_US' AS AD_Language, + io.M_InOut_ID, io.IsSOTrx, io.DocumentNo, io.DocStatus, io.C_DocType_ID, + io.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS, + oi.C_Location_ID AS Org_Location_ID, oi.TaxID, + io.M_Warehouse_ID, wh.C_Location_ID AS Warehouse_Location_ID, + dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote, + io.C_Order_ID, + io.MovementDate, io.MovementType, + bpg.Greeting AS BPGreeting, + bp.Name, bp.Name2, + bpcg.Greeting AS BPContactGreeting, + bpc.Title, bpc.Phone, + NULLIF (bpc.Name, bp.Name) AS ContactName, + bpl.C_Location_ID, l.Postal || l.Postal_Add AS Postal, + bp.ReferenceNo, + io.Description, + io.POReference, + io.DateOrdered, io.Volume, io.Weight, + io.M_Shipper_ID, io.DeliveryRule, io.DeliveryViaRule, io.PriorityRule, + -- Ship to + io.IsDropShip, + COALESCE(io.DropShip_BPartner_ID, io.C_BPartner_ID) AS Ship_BPartner_ID, + COALESCE(io.DropShip_Location_ID, io.C_BPartner_Location_ID) AS Ship_Location_ID, + COALESCE(io.DropShip_User_ID, io.AD_User_ID) AS Ship_User_ID, + COALESCE(dsbp.Value, bp.Value) AS Ship_BPValue, COALESCE(dsbp.TaxID, bp.TaxID) AS Ship_BPTaxID, + COALESCE(dsbp.Name, bp.Name) AS Ship_Name, COALESCE(dsbp.Name2, bp.Name2) AS Ship_Name2, + COALESCE(dsbpc.Title, bpc.Title) AS Ship_Title, COALESCE(dsbpc.Phone, bpc.Phone) AS Ship_Phone, + NULLIF (COALESCE(dsbpc.Name, bpc.Name),COALESCE(dsbp.Name, bp.Name)) AS Ship_ContactName, + COALESCE(dsbpl.C_Location_ID, bpl.C_Location_ID) AS Ship_C_Location_ID +FROM M_InOut io + INNER JOIN C_DocType dt ON (io.C_DocType_ID=dt.C_DocType_ID) + INNER JOIN C_BPartner bp ON (io.C_BPartner_ID=bp.C_BPartner_ID) + LEFT OUTER JOIN C_Greeting bpg ON (bp.C_Greeting_ID=bpg.C_Greeting_ID) + INNER JOIN C_BPartner_Location bpl ON (io.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID) + INNER JOIN C_Location l ON (bpl.C_Location_ID=l.C_Location_ID) + LEFT OUTER JOIN AD_User bpc ON (io.AD_User_ID=bpc.AD_User_ID) + LEFT OUTER JOIN C_Greeting bpcg ON (bpc.C_Greeting_ID=bpcg.C_Greeting_ID) + INNER JOIN AD_OrgInfo oi ON (io.AD_Org_ID=oi.AD_Org_ID) + INNER JOIN M_Warehouse wh ON (io.M_Warehouse_ID=wh.M_Warehouse_ID) + LEFT OUTER JOIN C_BPartner dsbp ON (io.DropShip_BPartner_ID=dsbp.C_BPartner_ID) + LEFT OUTER JOIN C_BPartner_Location dsbpl ON (io.DropShip_Location_ID=dsbpl.C_BPartner_Location_ID) + LEFT OUTER JOIN AD_User dsbpc ON (io.DropShip_User_ID=dsbpc.AD_User_ID); + + CREATE OR REPLACE VIEW "M_INOUT_HEADER_VT" + AS + SELECT io.AD_Client_ID, io.AD_Org_ID, io.IsActive, io.Created, io.CreatedBy, io.Updated, io.UpdatedBy, + dt.AD_Language, + io.M_InOut_ID, io.IsSOTrx, io.DocumentNo, io.DocStatus, io.C_DocType_ID, + io.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS, + oi.C_Location_ID AS Org_Location_ID, oi.TaxID, + io.M_Warehouse_ID, wh.C_Location_ID AS Warehouse_Location_ID, + dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote, + io.C_Order_ID, bpc.Phone, + io.MovementDate, io.MovementType, + bpg.Greeting AS BPGreeting, + bp.Name, bp.Name2, + bpcg.Greeting AS BPContactGreeting, + bpc.Title, + NULLIF (bpc.Name, bp.Name) AS ContactName, + bpl.C_Location_ID, l.Postal || l.Postal_Add AS Postal, + bp.ReferenceNo, + io.Description, + io.POReference, + io.DateOrdered, io.Volume, io.Weight, + io.M_Shipper_ID, io.DeliveryRule, io.DeliveryViaRule, io.PriorityRule, + -- Ship to + io.IsDropShip, + COALESCE(io.DropShip_BPartner_ID, io.C_BPartner_ID) AS Ship_BPartner_ID, + COALESCE(io.DropShip_Location_ID, io.C_BPartner_Location_ID) AS Ship_Location_ID, + COALESCE(io.DropShip_User_ID, io.AD_User_ID) AS Ship_User_ID, + COALESCE(dsbp.Value, bp.Value) AS Ship_BPValue, COALESCE(dsbp.TaxID, bp.TaxID) AS Ship_BPTaxID, + COALESCE(dsbp.Name, bp.Name) AS Ship_Name, COALESCE(dsbp.Name2, bp.Name2) AS Ship_Name2, + COALESCE(dsbpc.Title, bpc.Title) AS Ship_Title, COALESCE(dsbpc.Phone, bpc.Phone) AS Ship_Phone, + NULLIF (COALESCE(dsbpc.Name, bpc.Name),COALESCE(dsbp.Name, bp.Name)) AS Ship_ContactName, + COALESCE(dsbpl.C_Location_ID, bpl.C_Location_ID) AS Ship_C_Location_ID +FROM M_InOut io + INNER JOIN C_DocType_Trl dt ON (io.C_DocType_ID=dt.C_DocType_ID) + INNER JOIN C_BPartner bp ON (io.C_BPartner_ID=bp.C_BPartner_ID) + LEFT OUTER JOIN C_Greeting_Trl bpg ON (bp.C_Greeting_ID=bpg.C_Greeting_ID AND dt.AD_Language=bpg.AD_Language) + INNER JOIN C_BPartner_Location bpl ON (io.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID) + INNER JOIN C_Location l ON (bpl.C_Location_ID=l.C_Location_ID) + LEFT OUTER JOIN AD_User bpc ON (io.AD_User_ID=bpc.AD_User_ID) + LEFT OUTER JOIN C_Greeting_Trl bpcg ON (bpc.C_Greeting_ID=bpcg.C_Greeting_ID AND dt.AD_Language=bpcg.AD_Language) + INNER JOIN AD_OrgInfo oi ON (io.AD_Org_ID=oi.AD_Org_ID) + INNER JOIN M_Warehouse wh ON (io.M_Warehouse_ID=wh.M_Warehouse_ID) + LEFT OUTER JOIN C_BPartner dsbp ON (io.DropShip_BPartner_ID=dsbp.C_BPartner_ID) + LEFT OUTER JOIN C_BPartner_Location dsbpl ON (io.DropShip_Location_ID=dsbpl.C_BPartner_Location_ID) + LEFT OUTER JOIN AD_User dsbpc ON (io.DropShip_User_ID=dsbpc.AD_User_ID); + \ No newline at end of file diff --git a/migration/352a-trunk/338_BF2374272.sql b/migration/352a-trunk/338_BF2374272.sql new file mode 100644 index 0000000000..8fdb673742 --- /dev/null +++ b/migration/352a-trunk/338_BF2374272.sql @@ -0,0 +1,4 @@ +-- Dez 02, 2008 12:27:12 PM ECT +-- fix Region Alaksa +update c_region set Description='Alaska',Updated=TO_DATE('2008-12-02 12:27:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 where c_region_id=118 +; diff --git a/migration/352a-trunk/339_fixPaymentWindow.sql b/migration/352a-trunk/339_fixPaymentWindow.sql new file mode 100644 index 0000000000..cfc270dc4d --- /dev/null +++ b/migration/352a-trunk/339_fixPaymentWindow.sql @@ -0,0 +1,3 @@ +-- Set Proper Where clause +UPDATE AD_Tab SET WhereClause='C_BPartner_ID IS NOT null',Updated=sysdate,UpdatedBy=100 WHERE AD_Tab_ID=330 +; \ No newline at end of file diff --git a/migration/352a-trunk/340_FR2391012_Invoke_AD_Form_from_button.sql b/migration/352a-trunk/340_FR2391012_Invoke_AD_Form_from_button.sql new file mode 100644 index 0000000000..3b1ef1a41e --- /dev/null +++ b/migration/352a-trunk/340_FR2391012_Invoke_AD_Form_from_button.sql @@ -0,0 +1,25 @@ +-- 4/12/2008 17:08:52 +-- Call form from button +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56515,1298,0,19,284,'AD_Form_ID',TO_DATE('2008-12-04 17:08:50','YYYY-MM-DD HH24:MI:SS'),100,'Special Form','D',10,'The Special Form field identifies a unique Special Form in the system.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Special Form',0,TO_DATE('2008-12-04 17:08:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 4/12/2008 17:08:52 +-- Call form from button +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56515 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 4/12/2008 17:08:57 +-- Call form from button +ALTER TABLE AD_Process ADD AD_Form_ID NUMBER(10) +; + +-- 4/12/2008 17:11:17 +-- Call form from button +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56515,56497,0,245,TO_DATE('2008-12-04 17:11:03','YYYY-MM-DD HH24:MI:SS'),100,'Special Form',14,'D','The Special Form field identifies a unique Special Form in the system.','Y','Y','Y','N','N','N','N','N','Special Form',155,0,TO_DATE('2008-12-04 17:11:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/12/2008 17:11:17 +-- Call form from button +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56497 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + diff --git a/migration/352a-trunk/341_FR2350428_LocatorInReplenishTab.sql b/migration/352a-trunk/341_FR2350428_LocatorInReplenishTab.sql new file mode 100644 index 0000000000..3b14d7b93c --- /dev/null +++ b/migration/352a-trunk/341_FR2350428_LocatorInReplenishTab.sql @@ -0,0 +1,55 @@ +-- 2008-dec-05 09:18:11 CET +-- [ 2350428 ] Add default locator to replenishment line +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56518,448,0,19,249,127,'M_Locator_ID',TO_DATE('2008-12-05 09:18:10','YYYY-MM-DD HH24:MI:SS'),100,'Warehouse Locator','D',1,'The Locator indicates where in a Warehouse a product is located.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Locator',0,TO_DATE('2008-12-05 09:18:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 2008-dec-05 09:18:11 CET +-- [ 2350428 ] Add default locator to replenishment line +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56518 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2008-dec-05 09:18:34 CET +-- [ 2350428 ] Add default locator to replenishment line +ALTER TABLE M_Replenish ADD M_Locator_ID NUMBER(10) +; + +-- 2008-dec-05 09:19:11 CET +-- [ 2350428 ] Add default locator to replenishment line +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56518,56500,0,182,TO_DATE('2008-12-05 09:19:10','YYYY-MM-DD HH24:MI:SS'),100,'Warehouse Locator',1,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','N','Locator',TO_DATE('2008-12-05 09:19:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2008-dec-05 09:19:11 CET +-- [ 2350428 ] Add default locator to replenishment line +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56500 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56500 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=1051 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=1052 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=1053 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=1054 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=12133 +; + diff --git a/migration/352a-trunk/342_FR2337778.sql b/migration/352a-trunk/342_FR2337778.sql new file mode 100644 index 0000000000..2555aaf204 --- /dev/null +++ b/migration/352a-trunk/342_FR2337778.sql @@ -0,0 +1 @@ +-- placeholder for experimental \ No newline at end of file diff --git a/migration/352a-trunk/343_nextBusinessDay.sql b/migration/352a-trunk/343_nextBusinessDay.sql new file mode 100644 index 0000000000..c01c71113a --- /dev/null +++ b/migration/352a-trunk/343_nextBusinessDay.sql @@ -0,0 +1 @@ +-- Just for PostgreSQL diff --git a/migration/352a-trunk/344_BF1895317.sql b/migration/352a-trunk/344_BF1895317.sql new file mode 100644 index 0000000000..16b7d6fddc --- /dev/null +++ b/migration/352a-trunk/344_BF1895317.sql @@ -0,0 +1,15 @@ +-- 08.12.2008 11:38:06 EET +-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53047,0,TO_DATE('2008-12-08 11:37:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Invoice is fully matched.','E',TO_DATE('2008-12-08 11:37:49','YYYY-MM-DD HH24:MI:SS'),0,'InvoiceFullyMatched') +; + +-- 08.12.2008 11:38:07 EET +-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53047 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- 08.12.2008 11:39:11 EET +-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Factura este integral receptionata.',Updated=TO_DATE('2008-12-08 11:39:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53047 AND AD_Language='ro_RO' +; + diff --git a/migration/352a-trunk/345_FR2406777.sql b/migration/352a-trunk/345_FR2406777.sql new file mode 100644 index 0000000000..1b55313cb0 --- /dev/null +++ b/migration/352a-trunk/345_FR2406777.sql @@ -0,0 +1,15 @@ +-- 08.12.2008 18:04:07 EET +-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53048,0,TO_DATE('2008-12-08 18:04:06','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','No Current Vendor Selected','Indicates that the Product has no Current Vendor selected','I',TO_DATE('2008-12-08 18:04:06','YYYY-MM-DD HH24:MI:SS'),0,'MRP-130') +; + +-- 08.12.2008 18:04:07 EET +-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53048 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- 08.12.2008 18:06:55 EET +-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Furnizorul curent nu este specificat',MsgTip='Produsul nu are furnizor curent specificat',Updated=TO_DATE('2008-12-08 18:06:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53048 AND AD_Language='ro_RO' +; + diff --git a/migration/352a-trunk/346_placeholder.sql b/migration/352a-trunk/346_placeholder.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/migration/352a-trunk/347_recoverDICTIONARY_ID_COMMENTS.sql b/migration/352a-trunk/347_recoverDICTIONARY_ID_COMMENTS.sql new file mode 100644 index 0000000000..bc196e5df2 --- /dev/null +++ b/migration/352a-trunk/347_recoverDICTIONARY_ID_COMMENTS.sql @@ -0,0 +1,4 @@ +-- Dec 8, 2008 9:36:58 PM COT +UPDATE AD_SysConfig SET Value='I forgot to set the DICTIONARY_ID_COMMENTS System Configurator',Updated=TO_DATE('2008-12-08 21:36:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50003 +; + diff --git a/migration/352a-trunk/348_FR2408411_AD_Workflow_IsBetaFunctionality.sql b/migration/352a-trunk/348_FR2408411_AD_Workflow_IsBetaFunctionality.sql new file mode 100644 index 0000000000..e47a5d7438 --- /dev/null +++ b/migration/352a-trunk/348_FR2408411_AD_Workflow_IsBetaFunctionality.sql @@ -0,0 +1,90 @@ +-- Dec 8, 2008 9:45:04 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56519,2554,0,20,117,'IsBetaFunctionality',TO_DATE('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,'N','This functionality is considered Beta','D',1,'Beta functionality is not fully tested or completed.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Beta Functionality',0,TO_DATE('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Dec 8, 2008 9:45:04 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56519 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Dec 8, 2008 9:46:03 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +ALTER TABLE AD_Workflow ADD IsBetaFunctionality CHAR(1) DEFAULT 'N' CHECK (IsBetaFunctionality IN ('Y','N')) NOT NULL +; + +-- Dec 8, 2008 9:47:56 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56519,56501,0,148,TO_DATE('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100,'This functionality is considered Beta',1,'D','Beta functionality is not fully tested or completed.','Y','Y','Y','N','N','N','N','N','Beta Functionality',310,0,TO_DATE('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 8, 2008 9:47:56 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56501 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56501 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=10084 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=3665 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=9495 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8752 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8745 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=8747 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=8750 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=8744 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=8753 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=10085 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=10919 +; + +-- Dec 8, 2008 9:48:43 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-12-08 21:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56501 +; + diff --git a/migration/352a-trunk/349_MarkBetaFunctionalities.sql b/migration/352a-trunk/349_MarkBetaFunctionalities.sql new file mode 100644 index 0000000000..9d0bc9c608 --- /dev/null +++ b/migration/352a-trunk/349_MarkBetaFunctionalities.sql @@ -0,0 +1,450 @@ +/* Mark unstable processes/windows/forms as beta functionalities */ + +update ad_process set isbetafunctionality='Y' where ad_process_id=53004 /* PP_Product_BOM CopyFrom */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53006 /* Multi Level BOM and Formula Detail */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53008 /* Mutiple Components Change */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53010 /* Create Product Planning */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53012 /* Calculate Low Level */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53014 /* Create Record MRP */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53016 /* Calculate Material Plan */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53018 /* MRP Details */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53020 /* Calculate Capacity Plan */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53022 /* Calculate Distribution Plan */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53024 /* DRP Details */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53026 /* Process Manufacturing Order */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53028 /* Manufacturing Order */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53030 /* Manufacturing Orders Review */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53032 /* Component Check */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53034 /* Print and Release Order */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53036 /* Inventory in Process */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53038 /* Process Cost Collector */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53040 /* Shop Floor Transaction Details */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53042 /* Process Distribution Order */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53044 /* Distribution Order Print */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53046 /* Generate Movement */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53048 /* Print Test Results */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53050 /* Create Doc Type to Manufacturing */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53052 /* Create Element */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53054 /* Product Costing */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53056 /* Copy Price to Standard Cost */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53058 /* Workflow Cost Roll-Up */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53060 /* Cost Workflow and Process Details */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53062 /* Bill of Material and Formula Cost Roll-UP */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53072 /* C_Invoce Calculate Tax */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53074 /* Test Import Model */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53076 /* Process Payroll */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53078 /* Create Concept for Payroll */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53080 /* HRPayroll Create Periods */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53082 /* Payroll Processing */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53084 /* Payroll Send EMail */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53085 /* Export Format Generator */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53089 /* Test Export Model */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53091 /* Import FA Journal */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53093 /* Build Depreciation Forecast File */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53095 /* Process Entry */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53097 /* Asset Disposal Expense Entry Rpt */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53099 /* Asset Transfer Entry */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53101 /* A_Asset_Split */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53103 /* A_Asset_Disposal */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53105 /* A_Depreciation_Transfer */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53107 /* Asset Split Entry */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53109 /* Depreciation Expense Entry */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53111 /* Build Depreciation Workfile */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53113 /* Asset Depreciation Forecast */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53115 /* RV_Asset_Parent_Report */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53117 /* RV_Depreciation_Table */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53119 /* Spread Report */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53121 /* RV_Asset_Depreciation_Method */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53123 /* Create Depreciation Function */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53125 /* RV_Asset_Convention_Rpt */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53127 /* A_Depreciation_Entry_Cleanup */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53129 /* RV_Depreciation_Calculation_Methods */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53131 /* RV_Asset_Group_Defaults */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53133 /* Inbound Charges for GL */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53135 /* Inbound Charge Entry Report */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53137 /* Inbound Charges for AP */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53139 /* Import Asset */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53144 /* Forecast Report */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53146 /* Forecast Report by Period */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53148 /* Calculate Forecast */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53150 /* Distribution Run Orders */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53151 /* Distribution Order Detail */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53004 /* Manufacturing Resource */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53005 /* Manufacturing Workflows */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53006 /* Bill of Materials and Formula */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53007 /* Product Planning */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53008 /* MRP Notice */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53009 /* Manufacturing Order */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53010 /* Spare parts */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53011 /* Activity Control Report */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53012 /* Distribution Order */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53013 /* Quality Specifications */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53014 /* Cost Collector */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53018 /* Distribution Network */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53020 /* Tax Group */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53021 /* Tax Definition */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53022 /* Tax Rate Parent */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53023 /* Tax Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53024 /* Tax Base */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53025 /* Export Format */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53026 /* Export Processor */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53027 /* Export Processor Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53028 /* Import Processor */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53029 /* Import Processor Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53032 /* Payroll Contract */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53033 /* Payroll Employee */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53034 /* Payroll Department */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53035 /* Payroll Job */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53036 /* Payroll Concept Catalog */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53037 /* Payroll Process */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53038 /* Payroll Definition */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53039 /* Payroll Concept Category */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53040 /* Payroll Table Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53041 /* Payroll Table */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53042 /* Payroll Movement */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53044 /* Asset Revaluation Processing */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53045 /* Asset Revaluation Index */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53046 /* Transfer Asset Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53047 /* Disposed Asset Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53048 /* Asset Split */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53049 /* Asset Disposal */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53050 /* Asset Transfers */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53051 /* Split Asset Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53052 /* Build Depreciation Workfile */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53053 /* Post Depreciation Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53054 /* Build Depreciation Forecast */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53055 /* Inbound Asset Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53056 /* Post Imported Assets */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53057 /* Depreciation Period Spread Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53058 /* Depreciation Methods */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53059 /* Depreciation Tables */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53060 /* Depreciation First Year Conventions */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53061 /* Depreciation Calculation Method */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53064 /* View MRP Records */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53065 /* Web POS Terminal */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53001 /* BOM and Formula Info */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53002 /* Product Configuration BOM */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53003 /* MRP Info */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53004 /* Planned Order Approval */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53005 /* CRP Info */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53006 /* Resource Load View */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53007 /* Order Receipt and Issue */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53008 /* Generate Movement Manual */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53009 /* Payroll Action Notice */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53010 /* Generate Shipments and Invoices (manual) */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53012 /* Material Receipt Distribution Order */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53013 /* Manufacturing Workflow Editor */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50000 /* Manufacturing Management Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50001 /* Manufacturing Workflow Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50002 /* Bill of Material and Formula Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50003 /* Planning Management Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50004 /* Material Requirement Planning Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50005 /* Capacity Requirement Planning Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50006 /* Distribution Resource Planning Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50007 /* Discrete Manufacturing Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50008 /* Process_Manufacturing_Order */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50009 /* Process_CostCollector */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50010 /* Distribution Management Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50011 /* Process_Distribution_Order */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50012 /* Setup Replication */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50013 /* Process_Payroll */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50014 /* Setup Human Resource and Payroll */ +; + + diff --git a/migration/352a-trunk/350_RF2408898_CostCollectorType.sql b/migration/352a-trunk/350_RF2408898_CostCollectorType.sql new file mode 100644 index 0000000000..b309f15856 --- /dev/null +++ b/migration/352a-trunk/350_RF2408898_CostCollectorType.sql @@ -0,0 +1,259 @@ +-- Dec 8, 2008 9:17:03 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53712,0,'CostCollectorType',TO_DATE('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0,'Transaction Type for Manufacturing Management','EE01','Y','Cost Collector Type','Cost Collector Type',TO_DATE('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Dec 8, 2008 9:17:03 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53712 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Dec 8, 2008 9:20:29 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53287,TO_DATE('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','PP_CostCollectorType Transaction Manufacturing Management',TO_DATE('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,' ','L') +; + +-- Dec 8, 2008 9:20:29 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53287 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Dec 8, 2008 9:32:54 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53442,53287,TO_DATE('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Receipt Material',TO_DATE('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'100') +; + +-- Dec 8, 2008 9:32:54 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53442 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:34:41 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53443,53287,TO_DATE('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Component Issue',TO_DATE('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'110') +; + +-- Dec 8, 2008 9:34:41 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53443 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:38:41 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Ref_List SET Name='Material Receipt',Updated=TO_DATE('2008-12-08 21:38:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53442 +; + +-- Dec 8, 2008 9:38:41 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53442 +; + +-- Dec 8, 2008 9:40:03 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53444,53287,TO_DATE('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Usege Variance',TO_DATE('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'120') +; + +-- Dec 8, 2008 9:40:03 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53444 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:43:53 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53445,53287,TO_DATE('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Method Change Variance',TO_DATE('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'130') +; + +-- Dec 8, 2008 9:43:53 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53445 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:44:06 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53446,53287,TO_DATE('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Rate Variance',TO_DATE('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'140') +; + +-- Dec 8, 2008 9:44:06 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53446 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:44:23 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53447,53287,TO_DATE('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Mix Variance',TO_DATE('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'150') +; + +-- Dec 8, 2008 9:44:23 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53447 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:52:18 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Column SET AD_Element_ID=53712, AD_Reference_Value_ID=53287, ColumnName='CostCollectorType', Description='Transaction Type for Manufacturing Management', Help=NULL, Name='Cost Collector Type',Updated=TO_DATE('2008-12-08 21:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827 +; + +-- Dec 8, 2008 9:52:18 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53827 +; + +-- Dec 8, 2008 9:52:19 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET Name='Cost Collector Type', Description='Transaction Type for Manufacturing Management', Help=NULL WHERE AD_Column_ID=53827 AND IsCentrallyMaintained='Y' +; + +-- Dec 8, 2008 10:01:03 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=54082 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54106 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54107 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54108 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54109 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54110 +; + +-- Dec 8, 2008 10:01:19 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-12-08 22:01:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082 +; + +-- Dec 8, 2008 10:02:35 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-12-08 22:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082 +; + +-- Dec 8, 2008 10:03:21 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53448,53287,TO_DATE('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Activity Control Report',TO_DATE('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'160') +; + +-- Dec 8, 2008 10:03:21 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53448 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 10:07:24 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53231 +; + +-- Dec 8, 2008 10:07:24 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53231 +; + +-- Dec 8, 2008 10:07:33 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53233 +; + +-- Dec 8, 2008 10:07:33 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53233 +; + +-- Dec 8, 2008 10:07:42 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53234 +; + +-- Dec 8, 2008 10:07:42 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53234 +; + +-- Dec 8, 2008 10:07:49 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53236 +; + +-- Dec 8, 2008 10:07:49 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53236 +; + +-- Dec 8, 2008 10:07:53 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53237 +; + + +-- Dec 8, 2008 10:07:53 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53237 +; + +-- Dec 8, 2008 10:07:57 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53238 +; + +-- Dec 8, 2008 10:07:57 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53238 +; + +-- Dec 8, 2008 10:08:27 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Ref_Table SET WhereClause='C_DocType.AD_Client_ID=@#AD_Client_ID@ AND C_DocType.DocBaseType IN (''MOP'',''MOF'',''MQO'') ',Updated=TO_DATE('2008-12-08 22:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53233 +; + + + + + + + + + + +ALTER TABLE PP_Cost_Collector ADD CostCollectorType NVARCHAR2(3); +update PP_Cost_Collector set CostCollectorType='100' where MovementType in ('P+','W+'); +update PP_Cost_Collector set CostCollectorType='110' where CostCollectorType is null; +alter table PP_Cost_Collector drop column MovementType; + +-- 09.12.2008 19:25:45 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE PP_Cost_Collector ADD CostCollectorType NVARCHAR2(2) +; + +-- 09.12.2008 19:27:54 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET FieldLength=3,Updated=TO_DATE('2008-12-09 19:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827 +; +-- 09.12.2008 19:32:27 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-12-09 19:32:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827 +; + +-- 09.12.2008 19:32:30 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE PP_Cost_Collector MODIFY CostCollectorType NVARCHAR2(3) DEFAULT NULL +; + +-- 09.12.2008 19:32:30 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE PP_Cost_Collector MODIFY CostCollectorType NOT NULL +; + diff --git a/migration/352a-trunk/351_FR2391399_dunning_run_org_filter.sql b/migration/352a-trunk/351_FR2391399_dunning_run_org_filter.sql new file mode 100644 index 0000000000..e3ab5e46cd --- /dev/null +++ b/migration/352a-trunk/351_FR2391399_dunning_run_org_filter.sql @@ -0,0 +1,10 @@ +-- 5/12/2008 11:49:33 +-- Dunning run create requires AD_Org +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,289,53261,19,104,'AD_Org_ID',TO_DATE('2008-12-05 11:49:31','YYYY-MM-DD HH24:MI:SS'),100,'0',NULL,'D',12,'Y','Y','Y','N','Organization',5,TO_DATE('2008-12-05 11:49:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 5/12/2008 11:49:34 +-- Dunning run create requires AD_Org +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53261 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + diff --git a/migration/352a-trunk/352_BF2412212_PP_Cost_Collector.sql b/migration/352a-trunk/352_BF2412212_PP_Cost_Collector.sql new file mode 100644 index 0000000000..c409bbab78 --- /dev/null +++ b/migration/352a-trunk/352_BF2412212_PP_Cost_Collector.sql @@ -0,0 +1,51 @@ +-- 09.12.2008 19:27:42 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Val_Rule_ID=189,Updated=TO_DATE('2008-12-09 19:27:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53824 +; + +-- 09.12.2008 19:27:47 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE PP_Cost_Collector MODIFY M_Warehouse_ID NUMBER(10) DEFAULT NULL +; + +-- 09.12.2008 19:54:39 EET +-- [ 2412212 ] Fix Activity Control Report Window +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52035,'PP_Order_Node.PP_Order_Workflow_ID=@PP_Order_Workflow_ID@',TO_DATE('2008-12-09 19:54:37','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','PP_Order_Node of PP_Order_Workflow','S',TO_DATE('2008-12-09 19:54:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 09.12.2008 19:54:39 EET +-- [ 2412212 ] Fix Activity Control Report Window +INSERT INTO AD_Val_Rule_Trl (AD_Language,AD_Val_Rule_ID, Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Val_Rule_ID, t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Val_Rule t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Val_Rule_ID=52035 AND EXISTS (SELECT * FROM AD_Val_Rule_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Val_Rule_ID!=t.AD_Val_Rule_ID) +; + +-- 09.12.2008 19:55:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET AD_Val_Rule_ID=52035,Updated=TO_DATE('2008-12-09 19:55:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53831 +; + +-- 09.12.2008 19:55:29 EET +-- [ 2412212 ] Fix Activity Control Report Window +ALTER TABLE PP_Cost_Collector MODIFY PP_Order_Node_ID NUMBER(10) DEFAULT NULL +; + +-- 09.12.2008 20:11:54 EET +-- [ 2412212 ] Fix Activity Control Report Window +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52036,'PP_Order_Workflow.PP_Order_ID=@PP_Order_ID@',TO_DATE('2008-12-09 20:11:53','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','PP_Order_Workflow_ID of PP_Order_ID','S',TO_DATE('2008-12-09 20:11:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 09.12.2008 20:11:54 EET +-- [ 2412212 ] Fix Activity Control Report Window +INSERT INTO AD_Val_Rule_Trl (AD_Language,AD_Val_Rule_ID, Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Val_Rule_ID, t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Val_Rule t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Val_Rule_ID=52036 AND EXISTS (SELECT * FROM AD_Val_Rule_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Val_Rule_ID!=t.AD_Val_Rule_ID) +; + +-- 09.12.2008 20:14:34 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET AD_Val_Rule_ID=52036,Updated=TO_DATE('2008-12-09 20:14:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53832 +; + +update AD_Val_Rule set entitytype='EE01' where AD_Val_Rule_ID in (52035, 52036); + +-- 09.12.2008 21:53:16 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET AD_Val_Rule_ID=164,Updated=TO_DATE('2008-12-09 21:53:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53806 +; diff --git a/migration/352a-trunk/353_PA_DashboardContent_IsCollapsible.sql b/migration/352a-trunk/353_PA_DashboardContent_IsCollapsible.sql new file mode 100644 index 0000000000..0aa8a59c4e --- /dev/null +++ b/migration/352a-trunk/353_PA_DashboardContent_IsCollapsible.sql @@ -0,0 +1,35 @@ +-- Dec 10, 2008 3:05:18 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53715,0,'IsCollapsible',TO_DATE('2008-12-10 15:05:17','YYYY-MM-DD HH24:MI:SS'),100,'Flag to indicate the state of the dashboard panel','D','Flag to indicate the state of the dashboard panel (i.e. collapsible or static)','Y','Collapsible','Collapsible',TO_DATE('2008-12-10 15:05:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 10, 2008 3:05:19 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53715 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Dec 10, 2008 3:05:44 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56522,53715,0,20,50010,'IsCollapsible',TO_DATE('2008-12-10 15:05:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','Flag to indicate the state of the dashboard panel','D',1,'Flag to indicate the state of the dashboard panel (i.e. collapsible or static)','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Collapsible',0,TO_DATE('2008-12-10 15:05:40','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Dec 10, 2008 3:05:44 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56522 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Dec 10, 2008 3:05:47 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +ALTER TABLE PA_DashboardContent ADD IsCollapsible CHAR(1) DEFAULT 'Y' CHECK (IsCollapsible IN ('Y','N')) NOT NULL +; + +-- Dec 10, 2008 3:06:04 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56522,56504,0,50010,TO_DATE('2008-12-10 15:06:00','YYYY-MM-DD HH24:MI:SS'),100,'Flag to indicate the state of the dashboard panel',1,'D','Flag to indicate the state of the dashboard panel (i.e. collapsible or static)','Y','Y','Y','N','N','N','N','N','Collapsible',TO_DATE('2008-12-10 15:06:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 10, 2008 3:06:04 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56504 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + diff --git a/migration/352a-trunk/354_OrderDistributionDetail.sql b/migration/352a-trunk/354_OrderDistributionDetail.sql new file mode 100644 index 0000000000..0cef7bbf78 --- /dev/null +++ b/migration/352a-trunk/354_OrderDistributionDetail.sql @@ -0,0 +1,96 @@ +DROP VIEW RV_DD_ORDERDETAIL; +CREATE OR REPLACE VIEW RV_DD_ORDERDETAIL AS +SELECT l.AD_Client_ID, l.AD_Org_ID, + l.IsActive, l.Created, l.CreatedBy, l.Updated, l.UpdatedBy,o.DD_Order_ID, + o.C_Order_ID, o.DocStatus, o.DocAction, o.C_DocType_ID, o.IsApproved, --o.IsCreditApproved, + o.SalesRep_ID, + o.IsDropShip, + o.C_BPartner_ID, + bp.C_BP_Group_ID, + o.AD_User_ID, + o.POReference, + o.IsSOTrx, + l.C_Campaign_ID, l.C_Project_ID, l.C_Activity_ID, + --l.C_ProjectPhase_ID, l.C_ProjectTask_ID, + l.DD_OrderLine_ID, l.DateOrdered, l.DatePromised, l.M_Product_ID, l.M_Locator_ID,l.M_LocatorTo_ID, + l.M_AttributeSetInstance_ID, productAttribute(l.M_AttributeSetInstance_ID) AS ProductAttribute, + l.M_AttributeSetInstanceTo_ID, productAttribute(l.M_AttributeSetInstanceTo_ID) AS ProductAttributeTo, + pasi.M_AttributeSet_ID, pasi.M_Lot_ID, pasi.GuaranteeDate, pasi.Lot, pasi.SerNo, + l.C_UOM_ID, l.QtyEntered, l.QtyOrdered, l.QtyReserved, l.QtyDelivered, l.Confirmedqty, l.Qtyintransit, l.TargetQty, + l.QtyOrdered-l.QtyDelivered AS QtyToDeliver +FROM DD_Order o + INNER JOIN DD_OrderLine l ON (l.DD_Order_ID=o.DD_Order_ID) + INNER JOIN C_BPartner bp ON (bp.C_BPartner_ID=o.C_BPartner_ID) + LEFT OUTER JOIN M_AttributeSetInstance pasi ON (l.M_AttributeSetInstance_ID=pasi.M_AttributeSetInstance_ID) + LEFT OUTER JOIN M_AttributeSetInstance pasito ON (l.M_AttributeSetInstanceTo_ID=pasito.M_AttributeSetInstance_ID); + +-- Dec 10, 2008 10:54:34 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1383,0,53151,53262,19,'C_BP_Group_ID',TO_DATE('2008-12-10 22:54:33','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner Group','EE01',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','N','N','Business Partner Group',30,TO_DATE('2008-12-10 22:54:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Dec 10, 2008 10:54:35 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53262 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Dec 10, 2008 10:54:54 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-12-10 22:54:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53262 +; + +-- Dec 10, 2008 10:54:57 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-12-10 22:54:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53227 +; + +-- Dec 10, 2008 10:54:59 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-12-10 22:54:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53228 +; + +-- Dec 10, 2008 10:55:02 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2008-12-10 22:55:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53230 +; + +-- Dec 10, 2008 10:55:07 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2008-12-10 22:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53231 +; + +-- Dec 10, 2008 10:55:16 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_DATE('2008-12-10 22:55:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53229 +; + +-- Dec 10, 2008 11:01:58 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56523,187,0,19,53144,'C_BPartner_ID',TO_DATE('2008-12-10 23:01:55','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','EE01',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','N','N','Business Partner ',TO_DATE('2008-12-10 23:01:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Dec 10, 2008 11:01:58 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56523 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Dec 10, 2008 11:01:58 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56524,1383,0,19,53144,'C_BP_Group_ID',TO_DATE('2008-12-10 23:01:58','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner Group','EE01',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','N','N','N','N','N','N','N','N','N','Business Partner Group',TO_DATE('2008-12-10 23:01:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Dec 10, 2008 11:01:58 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56524 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Dec 10, 2008 11:04:31 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-12-10 23:04:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53226 +; + +-- Dec 10, 2008 11:04:37 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-12-10 23:04:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53262 +; + diff --git a/migration/352a-trunk/355_BF2417012.sql b/migration/352a-trunk/355_BF2417012.sql new file mode 100644 index 0000000000..fc9ef6ba8b --- /dev/null +++ b/migration/352a-trunk/355_BF2417012.sql @@ -0,0 +1,13 @@ +-- 11.12.2008 15:19:17 EET +-- [ 2417012 ] Create PO from Requsition display all requisitions +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52037,'M_Requisition.DocStatus IN (''CO'') +AND EXISTS (SELECT 1 FROM M_RequisitionLine rl + WHERE rl.M_Requisition_ID=M_Requisition.M_Requisition_ID + AND rl.C_OrderLine_ID IS NULL)',TO_DATE('2008-12-11 15:19:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','M_Requistion PO Create Candidate','S',TO_DATE('2008-12-11 15:19:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 11.12.2008 15:19:55 EET +-- [ 2417012 ] Create PO from Requsition display all requisitions +UPDATE AD_Process_Para SET AD_Val_Rule_ID=52037,Updated=TO_DATE('2008-12-11 15:19:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=697 +; + diff --git a/migration/352a-trunk/356_FR2419089_Hide_Fields_WFM.sql b/migration/352a-trunk/356_FR2419089_Hide_Fields_WFM.sql new file mode 100644 index 0000000000..7ccef6ed30 --- /dev/null +++ b/migration/352a-trunk/356_FR2419089_Hide_Fields_WFM.sql @@ -0,0 +1,435 @@ +-- Dec 11, 2008 9:04:56 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53302 +; + +-- Dec 11, 2008 9:04:56 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53301 +; + +-- Dec 11, 2008 9:04:56 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53303 +; + +-- Dec 11, 2008 9:04:56 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53304 +; + +-- Dec 11, 2008 9:06:42 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53439 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53438 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53440 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53437 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53450 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53441 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53452 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53442 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53443 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53444 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53445 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53446 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53447 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53448 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53449 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53451 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53453 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53454 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53455 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53456 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53457 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53458 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53459 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53460 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53388 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53397 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53398 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53396 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53399 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53411 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53412 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53379 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53385 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53389 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53392 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53395 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53391 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53384 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53394 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53390 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53393 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53382 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53404 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53380 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53381 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53383 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53386 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53387 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53400 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53401 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53402 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53403 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53405 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53406 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53407 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53408 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53409 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53410 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53404 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53400 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53401 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53402 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53403 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53405 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53406 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53407 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53408 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53409 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53410 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53452 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53453 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53454 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53455 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53456 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53457 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53458 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53459 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53460 +; + +-- Dec 11, 2008 9:43:44 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET DefaultValue='EE01',Updated=TO_DATE('2008-12-11 09:43:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53423 +; + +-- Dec 11, 2008 9:47:59 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53422 +; + +-- Dec 11, 2008 9:47:59 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53423 +; + +-- Dec 11, 2008 9:55:37 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET DefaultValue='M',Updated=TO_DATE('2008-12-11 09:55:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53433 +; + +-- Dec 11, 2008 4:51:54 PM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET DefaultValue='160', IsReadOnly='Y',Updated=TO_DATE('2008-12-11 16:51:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54001 +; + diff --git a/migration/352a-trunk/357_BF2412212_PP_Cost_Collector.sql b/migration/352a-trunk/357_BF2412212_PP_Cost_Collector.sql new file mode 100644 index 0000000000..1e61c69e7f --- /dev/null +++ b/migration/352a-trunk/357_BF2412212_PP_Cost_Collector.sql @@ -0,0 +1,740 @@ +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:17:56 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:17:56 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:19:37 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@#AD_Client_ID@', IsReadOnly='Y',Updated=TO_DATE('2008-12-11 17:19:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53976 +; + +-- 11.12.2008 17:20:12 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:20:12 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53981 +; + +-- 11.12.2008 17:20:12 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53982 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53983 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53984 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53985 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53986 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53987 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53988 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53989 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53990 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53991 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53992 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53993 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53994 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53995 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53996 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53997 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53998 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:20:14 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:20:14 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:20:14 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:20:14 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:20:48 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-12-11 17:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:24:34 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@#AD_Org_ID@',Updated=TO_DATE('2008-12-11 17:24:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53977 +; + +-- 11.12.2008 17:24:51 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53979 +; + +-- 11.12.2008 17:24:56 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2008-12-11 17:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53981 +; + +-- 11.12.2008 17:25:00 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:25:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53982 +; + +-- 11.12.2008 17:25:03 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:25:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53983 +; + +-- 11.12.2008 17:25:10 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53984 +; + +-- 11.12.2008 17:25:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53985 +; + +-- 11.12.2008 17:25:36 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:25:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53996 +; + +-- 11.12.2008 17:25:39 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:25:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53997 +; + +-- 11.12.2008 17:25:42 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:25:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53998 +; + +-- 11.12.2008 17:25:48 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-12-11 17:25:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:25:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsReadOnly='Y', IsSameLine='Y',Updated=TO_DATE('2008-12-11 17:25:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:26:01 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-12-11 17:26:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:26:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-12-11 17:26:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:26:38 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@Processed@=Y & @#ShowAcct@=Y', IsSameLine='N',Updated=TO_DATE('2008-12-11 17:26:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:26:58 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_PJ@=''Y''',Updated=TO_DATE('2008-12-11 17:26:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:27:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_AY@=''Y''',Updated=TO_DATE('2008-12-11 17:27:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:27:15 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_MC@=''Y''',Updated=TO_DATE('2008-12-11 17:27:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:27:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_OT@=Y',Updated=TO_DATE('2008-12-11 17:27:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:27:28 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_U1@=Y',Updated=TO_DATE('2008-12-11 17:27:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:27:35 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_U2@=Y',Updated=TO_DATE('2008-12-11 17:27:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:28:57 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DefaultValue='@#AD_Client_ID@', DisplayLogic=NULL,Updated=TO_DATE('2008-12-11 17:28:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53976 +; + +-- 11.12.2008 17:29:02 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-12-11 17:29:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53977 +; + +-- 11.12.2008 17:29:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DefaultValue='@#AD_Org_ID@',Updated=TO_DATE('2008-12-11 17:29:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53977 +; + +-- 11.12.2008 17:30:24 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-12-11 17:30:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:30:29 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:30:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53976 +; + +-- 11.12.2008 17:30:32 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:30:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53977 +; + +-- 11.12.2008 17:30:36 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:30:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53978 +; + +-- 11.12.2008 17:32:11 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2008-12-11 17:32:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:32:20 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_DATE('2008-12-11 17:32:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:33:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=104,Updated=TO_DATE('2008-12-11 17:33:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:33:34 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_DATE('2008-12-11 17:33:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:33:38 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:33:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:33:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='N',Updated=TO_DATE('2008-12-11 17:33:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:34:00 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_DATE('2008-12-11 17:34:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:34:15 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_DATE('2008-12-11 17:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:34:19 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_DATE('2008-12-11 17:34:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:34:35 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2008-12-11 17:34:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:34:38 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2008-12-11 17:34:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:34:42 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2008-12-11 17:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:34:57 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2008-12-11 17:34:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:35:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_DATE('2008-12-11 17:35:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53986 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53987 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53988 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53989 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53990 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53991 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53992 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53993 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53994 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53995 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53996 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53997 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53998 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:41:26 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:41:26 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:41:26 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:41:26 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:42:49 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DefaultValue='160',Updated=TO_DATE('2008-12-11 17:42:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:48:40 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET DefaultValue='0',Updated=TO_DATE('2008-12-11 17:48:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53810 +; + +-- 11.12.2008 17:54:07 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET AD_Reference_Value_ID=NULL,Updated=TO_DATE('2008-12-11 17:54:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53810 +; + diff --git a/migration/352a-trunk/358_FR2419954.sql b/migration/352a-trunk/358_FR2419954.sql new file mode 100644 index 0000000000..12147ff493 --- /dev/null +++ b/migration/352a-trunk/358_FR2419954.sql @@ -0,0 +1,16 @@ +-- 12.12.2008 10:46:47 EET +-- +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53049,0,TO_DATE('2008-12-12 10:46:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Check attached file','I',TO_DATE('2008-12-12 10:46:44','YYYY-MM-DD HH24:MI:SS'),0,'SeeAttachment') +; + +-- 12.12.2008 10:46:47 EET +-- +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53049 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- 12.12.2008 10:47:44 EET +-- +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Vezi fisierul atasat ',Updated=TO_DATE('2008-12-12 10:47:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53049 AND AD_Language='ro_RO' +; + + diff --git a/migration/352a-trunk/359_BF2420918.sql b/migration/352a-trunk/359_BF2420918.sql new file mode 100644 index 0000000000..063e4c45d3 --- /dev/null +++ b/migration/352a-trunk/359_BF2420918.sql @@ -0,0 +1,4 @@ +-- 12.12.2008 15:10:33 EET +UPDATE AD_Column SET DefaultValue='Z',Updated=TO_DATE('2008-12-12 15:10:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53457 +; + diff --git a/migration/352a-trunk/360_BF2431049.sql b/migration/352a-trunk/360_BF2431049.sql new file mode 100644 index 0000000000..71e790cde1 --- /dev/null +++ b/migration/352a-trunk/360_BF2431049.sql @@ -0,0 +1,10 @@ +-- 15.12.2008 16:46:02 EET +-- +UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2008-12-15 16:46:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5584 +; + +-- 15.12.2008 16:46:08 EET +-- +UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2008-12-15 16:46:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5579 +; + diff --git a/migration/352a-trunk/361_BF2431285.sql b/migration/352a-trunk/361_BF2431285.sql new file mode 100644 index 0000000000..1a5f50e4fc --- /dev/null +++ b/migration/352a-trunk/361_BF2431285.sql @@ -0,0 +1,4 @@ +-- Dec 15, 2008 6:21:13 PM EET +-- [ 2431285 ] Discount Schema - Wrong tab level +UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-12-15 18:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=406 +; \ No newline at end of file diff --git a/migration/352a-trunk/README.txt b/migration/352a-trunk/README.txt new file mode 100644 index 0000000000..f858d77b93 --- /dev/null +++ b/migration/352a-trunk/README.txt @@ -0,0 +1,2 @@ +Please review the sequence in trunk to number the migration script files. +Please create a placeholder with the number also in trunk. \ No newline at end of file diff --git a/migration/352a-trunk/build.xml b/migration/352a-trunk/build.xml new file mode 100644 index 0000000000..aca9391a55 --- /dev/null +++ b/migration/352a-trunk/build.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + File ${file.name} status ${sqlplus.result} + + + + + + diff --git a/migration/352a-trunk/postgresql/250_BF2034138.sql b/migration/352a-trunk/postgresql/250_BF2034138.sql new file mode 100644 index 0000000000..963681ba63 --- /dev/null +++ b/migration/352a-trunk/postgresql/250_BF2034138.sql @@ -0,0 +1,10 @@ +-- Jul 31, 2008 12:23:46 PM COT +-- [ 2034138 ] HR_Employee.ImageURL wrongly defined +UPDATE AD_Column SET AD_Reference_ID=40, FieldLength=120,Updated=TO_TIMESTAMP('2008-07-31 12:23:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54750 +; + +ALTER TABLE HR_Employee DROP COLUMN ImageURL +; + +ALTER TABLE HR_Employee ADD ImageURL VARCHAR(120) DEFAULT NULL +; \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/251_BF2031818.sql b/migration/352a-trunk/postgresql/251_BF2031818.sql new file mode 100644 index 0000000000..ac738e4729 --- /dev/null +++ b/migration/352a-trunk/postgresql/251_BF2031818.sql @@ -0,0 +1,26 @@ +-- Jul 31, 2008 9:16:30 PM COT +-- [ 2031818 ] AD_Element.ColumnName length should be 30 +UPDATE AD_Column SET FieldLength=30,Updated=TO_TIMESTAMP('2008-07-31 21:16:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11819 +; + +insert into t_alter_column values('a_registrationattribute','ColumnName','VARCHAR(30)',null,'NULL') +; + +UPDATE AD_Column SET FieldLength=30,Updated=TO_TIMESTAMP('2008-07-31 21:16:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4017 +; + +insert into t_alter_column values('ad_process_para','ColumnName','VARCHAR(30)',null,'NULL') +; + +UPDATE AD_Column SET FieldLength=30,Updated=TO_TIMESTAMP('2008-07-31 21:17:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2602 +; + +insert into t_alter_column values('ad_element','ColumnName','VARCHAR(30)',null,'NULL') +; + +UPDATE AD_Column SET FieldLength=30,Updated=TO_TIMESTAMP('2008-07-31 21:17:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=116 +; + +insert into t_alter_column values('ad_column','ColumnName','VARCHAR(30)',null,'NULL') +; + diff --git a/migration/352a-trunk/postgresql/252_BF2033473_RV_PP_Product_BOMLine.sql b/migration/352a-trunk/postgresql/252_BF2033473_RV_PP_Product_BOMLine.sql new file mode 100644 index 0000000000..7fd27d2aca --- /dev/null +++ b/migration/352a-trunk/postgresql/252_BF2033473_RV_PP_Product_BOMLine.sql @@ -0,0 +1,31 @@ +-- BF2033473 RV_PP_Product_BOMLine +-- fix missing columns, add Order By and TM_Product print name +DROP VIEW rv_pp_product_bomline; + +CREATE OR REPLACE VIEW rv_pp_product_bomline + AS + SELECT t.seqno, t.levelno, t.levels, t.ad_client_id, + t.ad_org_id, t.createdby, t.updatedby, t.updated, + t.created, t.ad_pinstance_id, t.implosion, t.sel_product_id as m_product_id, + bl.isactive, bl.pp_product_bom_id, bl.pp_product_bomline_id, bl.description, + bl.iscritical, bl.componenttype, t.m_product_id as tm_product_id, bl.c_uom_id, + bl.issuemethod, bl.line, bl.m_attributesetinstance_id, bl.scrap, + bl.validfrom, bl.validto, bl.qtybom, bl.qtybatch, bl.isqtypercentage + FROM t_bomline t LEFT OUTER JOIN pp_product_bomline bl + ON t.pp_product_bomline_id = bl.pp_product_bomline_id +; + +-- Aug 1, 2008 2:55:39 PM EST +-- Default comment for updating dictionary +UPDATE AD_Element SET PrintName='Product',Updated=TO_TIMESTAMP('2008-08-01 14:55:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53465 +; + +-- Aug 1, 2008 2:55:39 PM EST +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53465 +; + +-- Aug 1, 2008 2:55:39 PM EST +-- Default comment for updating dictionary +UPDATE AD_PrintFormatItem SET PrintName='Product', Name='TM_Product_ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53465) +; diff --git a/migration/352a-trunk/postgresql/253_FR2035176_ImmediateBankTransfer.sql b/migration/352a-trunk/postgresql/253_FR2035176_ImmediateBankTransfer.sql new file mode 100644 index 0000000000..26472f8c21 --- /dev/null +++ b/migration/352a-trunk/postgresql/253_FR2035176_ImmediateBankTransfer.sql @@ -0,0 +1,338 @@ +-- Aug 1, 2008 2:16:27 PM COT +-- 2035176 - Immediate Bank Transfer +INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('3',0,0,53152,'org.adempiere.process.ImmediateBankTransfer',TO_TIMESTAMP('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','Immediate Bank Transfer','Y',0,0,TO_TIMESTAMP('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'ImmediateBankTransfer') +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53152 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,0,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,102,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,103,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50002,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:16:27 PM COT +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50001,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:20:59 PM COT +INSERT INTO AD_Menu ("action",AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('P',0,53187,0,53152,TO_TIMESTAMP('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','Bank Transfer',TO_TIMESTAMP('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:21:00 PM COT +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53187 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Aug 1, 2008 2:21:00 PM COT +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53187, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53187) +; + +-- Aug 1, 2008 2:23:09 PM COT +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53283,TO_TIMESTAMP('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','C_BankAccount',TO_TIMESTAMP('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'T') +; + +-- Aug 1, 2008 2:23:09 PM COT +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53283 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Aug 1, 2008 2:23:49 PM COT +INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy) VALUES (0,3074,3077,0,53283,297,TO_TIMESTAMP('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_TIMESTAMP('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:24:43 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53232,18,53283,'From_C_BankAccount_ID',TO_TIMESTAMP('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account From',10,TO_TIMESTAMP('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:24:44 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53232 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:24:59 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53233,18,53283,'To_C_BankAccount_ID',TO_TIMESTAMP('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account To',20,TO_TIMESTAMP('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:24:59 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53233 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:26:21 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53234,19,'C_CashBook_ID',TO_TIMESTAMP('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book for recording petty cash transactions','D',0,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','Y','Y','N','Intermediate Cash Book',30,TO_TIMESTAMP('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:26:21 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53234 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:27:29 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1367,0,53152,53235,12,'Amount',TO_TIMESTAMP('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100,'U',0,'Y','Y','Y','N','Amount in a defined currency',40,TO_TIMESTAMP('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:27:29 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53235 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:27:32 PM COT +UPDATE AD_Process_Para SET EntityType='D',Updated=TO_TIMESTAMP('2008-08-01 14:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:28:55 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,469,0,53152,53236,10,'Name',TO_TIMESTAMP('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100,'D',60,'Y','Y','Y','N','Name',50,TO_TIMESTAMP('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:28:55 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53236 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:29:14 PM COT +UPDATE AD_Process_Para SET FieldLength=22,Updated=TO_TIMESTAMP('2008-08-01 14:29:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:29:18 PM COT +UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_TIMESTAMP('2008-08-01 14:29:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 +; + +-- Aug 1, 2008 2:29:58 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,275,0,53152,53237,10,'Description',TO_TIMESTAMP('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100,'D',255,'Y','Y','N','N','Description',60,TO_TIMESTAMP('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:29:58 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53237 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:30:26 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1434,0,53152,53238,15,'StatementDate',TO_TIMESTAMP('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','U',7,'Y','Y','Y','N','StatementDate',70,TO_TIMESTAMP('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:30:26 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53238 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:30:53 PM COT +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53152,53239,15,'DateAcct',TO_TIMESTAMP('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','D',0,'Y','Y','N','N','DateAcct',80,TO_TIMESTAMP('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Aug 1, 2008 2:30:53 PM COT +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53239 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 1, 2008 2:31:01 PM COT +UPDATE AD_Process_Para SET Description='Accounting Date', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.',Updated=TO_TIMESTAMP('2008-08-01 14:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 +; + +-- Aug 1, 2008 2:31:01 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53239 +; + +-- Aug 1, 2008 2:31:15 PM COT +UPDATE AD_Process_Para SET Description='Date of the statement', EntityType='D', Help='The Statement Date field defines the date of the statement.',Updated=TO_TIMESTAMP('2008-08-01 14:31:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238 +; + +-- Aug 1, 2008 2:31:15 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53238 +; + +-- Aug 1, 2008 2:31:18 PM COT +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-01 14:31:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 +; + +-- Aug 1, 2008 2:31:37 PM COT +UPDATE AD_Process_Para SET Description='Optional short description of the record', Help='A description is limited to 255 characters.',Updated=TO_TIMESTAMP('2008-08-01 14:31:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237 +; + +-- Aug 1, 2008 2:31:37 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53237 +; + +-- Aug 1, 2008 2:31:53 PM COT +UPDATE AD_Process_Para SET Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',Updated=TO_TIMESTAMP('2008-08-01 14:31:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236 +; + +-- Aug 1, 2008 2:31:53 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53236 +; + +-- Aug 1, 2008 2:32:24 PM COT +UPDATE AD_Process_Para SET AD_Element_ID=NULL, Description='Amount to be transferred', Name='Transfer Amount',Updated=TO_TIMESTAMP('2008-08-01 14:32:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:32:24 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:32:39 PM COT +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2008-08-01 14:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 +; + +-- Aug 1, 2008 2:32:43 PM COT +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-08-01 14:32:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 +; + +-- Aug 1, 2008 2:33:22 PM COT +UPDATE AD_Process_Trl SET IsTranslated='Y',Name='Transferencia Bancaria Inmediata',Updated=TO_TIMESTAMP('2008-08-01 14:33:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53152 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:33:34 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Desde',Updated=TO_TIMESTAMP('2008-08-01 14:33:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53232 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:33:41 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Hacia',Updated=TO_TIMESTAMP('2008-08-01 14:33:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53233 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:33:50 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cantidad a transferir',Updated=TO_TIMESTAMP('2008-08-01 14:33:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:03 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Caja menor intermedia',Updated=TO_TIMESTAMP('2008-08-01 14:34:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:11 PM COT +UPDATE AD_Process_Para_Trl SET Description=NULL,Help=NULL,Updated=TO_TIMESTAMP('2008-08-01 14:34:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:18 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Nombre',Updated=TO_TIMESTAMP('2008-08-01 14:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236 AND AD_Language LIKE 'es_%' +; + +set client_encoding='LATIN1'; + +-- Aug 1, 2008 2:34:24 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Descripción',Updated=TO_TIMESTAMP('2008-08-01 14:34:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:31 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha Transferencia',Updated=TO_TIMESTAMP('2008-08-01 14:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238 AND AD_Language LIKE 'es_%' +; + +-- Aug 1, 2008 2:34:40 PM COT +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha contable',Updated=TO_TIMESTAMP('2008-08-01 14:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 AND AD_Language LIKE 'es_%' +; + + +-- 2035176 - Immediate Bank Transfer +-- MOVE MENU + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=241 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=288 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=432 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=243 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=413 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=538 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=462 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=505 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=235 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=511 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=245 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=251 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=246 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=509 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=510 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=496 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=497 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=304 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=255 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=286 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=287 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=438 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=234 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=244 +; + +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53187 +; + diff --git a/migration/352a-trunk/postgresql/254_FR1795398.sql b/migration/352a-trunk/postgresql/254_FR1795398.sql new file mode 100644 index 0000000000..cc6aeb52fd --- /dev/null +++ b/migration/352a-trunk/postgresql/254_FR1795398.sql @@ -0,0 +1,96 @@ +-- Jul 30, 2008 5:03:19 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56299,1663,0,14,285,'ReadOnlyLogic',TO_TIMESTAMP('2008-07-30 17:03:16','YYYY-MM-DD HH24:MI:SS'),100,'Logic to determine if field is read only (applies only when field is read-write)','D',2000,'format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional)','Y','N','N','N','N','N','N','N','N','N','Y','Read Only Logic',0,TO_TIMESTAMP('2008-07-30 17:03:16','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000) +; + +-- Jul 30, 2008 5:03:19 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56299 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jul 30, 2008 5:03:26 PM COT +-- [ 1795398 ] Process Parameter: add display logic +ALTER TABLE AD_Process_Para ADD COLUMN ReadOnlyLogic VARCHAR(2000) +; + +-- Jul 30, 2008 5:08:57 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56299,56333,0,246,TO_TIMESTAMP('2008-07-30 17:08:55','YYYY-MM-DD HH24:MI:SS'),100,'Logic to determine if field is read only (applies only when field is read-write)',60,'D','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional)','Y','Y','Y','N','N','N','N','N','Read Only Logic',250,0,TO_TIMESTAMP('2008-07-30 17:08:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jul 30, 2008 5:08:57 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56333 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +-- Jul 30, 2008 6:11:14 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56300,283,0,14,285,'DisplayLogic',TO_TIMESTAMP('2008-07-30 18:11:09','YYYY-MM-DD HH24:MI:SS'),100,'If the Field is displayed, the result determines if the field is actually displayed','D',2000,'format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional) +','Y','N','N','N','N','N','N','N','N','N','Y','Display Logic',0,TO_TIMESTAMP('2008-07-30 18:11:09','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000) +; + +-- Jul 30, 2008 6:11:16 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56300 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jul 30, 2008 6:11:19 PM COT +-- [ 1795398 ] Process Parameter: add display logic +ALTER TABLE AD_Process_Para ADD COLUMN DisplayLogic VARCHAR(2000) +; + +-- Jul 30, 2008 6:19:21 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56300,56334,0,246,TO_TIMESTAMP('2008-07-30 18:19:20','YYYY-MM-DD HH24:MI:SS'),100,'If the Field is displayed, the result determines if the field is actually displayed',60,null,'D','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional) +','Y','Y','Y','N','N','N','N','N','Display Logic',260,0,TO_TIMESTAMP('2008-07-30 18:19:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jul 30, 2008 6:19:22 PM COT +-- [ 1795398 ] Process Parameter: add display logic +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56334 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; diff --git a/migration/352a-trunk/postgresql/255_FR_2038014_Material_Receipt_To_DRP.sql b/migration/352a-trunk/postgresql/255_FR_2038014_Material_Receipt_To_DRP.sql new file mode 100644 index 0000000000..d4489c72b4 --- /dev/null +++ b/migration/352a-trunk/postgresql/255_FR_2038014_Material_Receipt_To_DRP.sql @@ -0,0 +1,65 @@ +-- Aug 4, 2008 3:37:34 PM CDT +-- DRP Functionality +INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53012,0,'3','org.eevolution.form.VOrderDistributionReceipt',TO_TIMESTAMP('2008-08-04 15:37:25','YYYY-MM-DD HH24:MI:SS'),0,'Material Receipt Distribution Order','EE01','Y','N','Material Receipt Distribution Order',TO_TIMESTAMP('2008-08-04 15:37:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 4, 2008 3:37:34 PM CDT +-- DRP Functionality +INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53012 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID) +; + +-- Aug 4, 2008 3:37:34 PM CDT +-- DRP Functionality +INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53012,0,0,TO_TIMESTAMP('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 4, 2008 3:37:35 PM CDT +-- DRP Functionality +INSERT INTO AD_Menu (AD_Client_ID,AD_Form_ID,AD_Menu_ID,AD_Org_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53012,53188,0,'X',TO_TIMESTAMP('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0,'Material Receipt Distribution Order','EE01','Y','N','N','N','Material Receipt Distribution Order',TO_TIMESTAMP('2008-08-04 15:37:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 4, 2008 3:37:35 PM CDT +-- DRP Functionality +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53188 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Aug 4, 2008 3:37:35 PM CDT +-- DRP Functionality +Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53066,12, 10, 53188) +; + + +--DROP VIEW M_Movement_Candidate_v; +CREATE OR REPLACE VIEW M_Movement_Candidate_v AS +SELECT + o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.DD_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID, + o.POReference, o.Description, o.SalesRep_ID, + l.M_Locator_ID, l.M_LocatorTo_ID + --l.ConfirmedQty + --SUM((l.QtyOrdered-l.QtyDelivered)*l.PriceActual) AS TotalLines +FROM DD_Order o +INNER JOIN DD_OrderLine l ON (o.DD_Order_ID=l.DD_Order_ID) +--INNER JOIN M_Locator loc ON (loc.M_Locator_ID=l.M_Locator_ID) +WHERE (o.DocStatus = 'CO' AND o.IsDelivered='N') -- Status must be CO - not CL/RE + -- not Offers and open Walkin-Receipts + AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType + WHERE DocBaseType='DOO') + -- Delivery Rule - not manual + AND o.DeliveryRule<>'M' + AND (l.M_Product_ID IS NULL OR EXISTS + (SELECT * FROM M_Product p + WHERE l.M_Product_ID=p.M_Product_ID AND p.IsExcludeAutoDelivery='N')) + -- we need to ship + AND l.QtyOrdered <> l.QtyDelivered AND ConfirmedQty > 0 + AND o.IsDropShip='N' + AND (l.M_Product_ID IS NOT NULL OR l.C_Charge_ID IS NOT NULL) + -- Not confirmed shipment + AND NOT EXISTS (SELECT * FROM M_MovementLine iol + INNER JOIN M_Movement io ON (iol.M_Movement_ID=io.M_Movement_ID) + WHERE iol.DD_OrderLine_ID=l.DD_OrderLine_ID AND io.DocStatus IN ('IP','WC')) + -- +GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.DD_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID, + o.POReference, o.Description, o.SalesRep_ID, l.M_Locator_ID, l.M_LocatorTo_ID; + diff --git a/migration/352a-trunk/postgresql/256_BF_2037027.sql b/migration/352a-trunk/postgresql/256_BF_2037027.sql new file mode 100644 index 0000000000..852f868b73 --- /dev/null +++ b/migration/352a-trunk/postgresql/256_BF_2037027.sql @@ -0,0 +1,40 @@ +-- Aug 4, 2008 5:26:52 PM CDT +-- DRP Functionality +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-04 17:26:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53869 +; + +-- Aug 4, 2008 5:27:00 PM CDT +-- DRP Functionality +insert into t_alter_column values('dd_order','C_BPartner_ID','NUMERIC(10)',null,'NULL') +; + +-- Aug 4, 2008 5:27:00 PM CDT +-- DRP Functionality +insert into t_alter_column values('dd_order','C_BPartner_ID',null,'NOT NULL',null) +; + +-- Aug 4, 2008 5:27:25 PM CDT +-- DRP Functionality +insert into t_alter_column values('pp_order_node','EntityType','VARCHAR(40)',null,'U') +; + +-- Aug 4, 2008 5:27:27 PM CDT +-- DRP Functionality +UPDATE PP_Order_Node SET EntityType='U' WHERE EntityType IS NULL +; + +-- Aug 4, 2008 5:27:46 PM CDT +-- DRP Functionality +insert into t_alter_column values('pp_order_nodenext','EntityType','VARCHAR(40)',null,'U') +; + +-- Aug 4, 2008 5:27:47 PM CDT +-- DRP Functionality +UPDATE PP_Order_NodeNext SET EntityType='U' WHERE EntityType IS NULL +; + +-- Aug 4, 2008 5:29:27 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-04 17:29:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53043 +; + diff --git a/migration/352a-trunk/postgresql/257_FR_2030865_Distribution_Run_DO.sql b/migration/352a-trunk/postgresql/257_FR_2030865_Distribution_Run_DO.sql new file mode 100644 index 0000000000..946427598e --- /dev/null +++ b/migration/352a-trunk/postgresql/257_FR_2030865_Distribution_Run_DO.sql @@ -0,0 +1,49 @@ +-- Aug 4, 2008 7:48:17 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsMandatory='Y', IsRange='Y',Updated=TO_TIMESTAMP('2008-08-04 19:48:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53218 +; + +-- Aug 4, 2008 7:48:21 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_TIMESTAMP('2008-08-04 19:48:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221 +; + +-- Aug 4, 2008 7:50:08 PM CDT +-- DRP Functionality +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2182,0,53150,53240,20,'ConsolidateDocument',TO_TIMESTAMP('2008-08-04 19:49:59','YYYY-MM-DD HH24:MI:SS'),0,'Consolidate Lines into one Document','EE01',1,'Y','Y','N','N','Consolidate to one Document',60,TO_TIMESTAMP('2008-08-04 19:49:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 4, 2008 7:50:08 PM CDT +-- DRP Functionality +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53240 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 4, 2008 7:51:49 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsActive='N',Updated=TO_TIMESTAMP('2008-08-04 19:51:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 4, 2008 8:09:12 PM CDT +-- DRP Functionality +UPDATE AD_Process SET Description='Create Distribution Run Orders based on Distribution List or The Quantity Demand the Distribution Order and redistribute the quantity into Distribution Plan line items', Help='Distribution List do not selected then the redistribute the quantity is based in % of Demand + +Please note that due to rounding, the total quantity of the order(s) is likely to be higher then the quantity entered. + +Consolidate to one Document let the distribution in current Documents with ranges dates promised, if do not is selected then a new Order is generate.',Updated=TO_TIMESTAMP('2008-08-04 20:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53150 +; + +-- Aug 4, 2008 8:09:12 PM CDT +-- DRP Functionality +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53150 +; + +-- Aug 4, 2008 8:09:12 PM CDT +-- DRP Functionality +UPDATE AD_Menu SET Description='Create Distribution Run Orders based on Distribution List or The Quantity Demand the Distribution Order and redistribute the quantity into Distribution Plan line items', IsActive='Y', Name='Distribution Run Orders',Updated=TO_TIMESTAMP('2008-08-04 20:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53184 +; + +-- Aug 4, 2008 8:09:12 PM CDT +-- DRP Functionality +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53184 +; + diff --git a/migration/352a-trunk/postgresql/258_BF_2038848_OrderPolicy.sql b/migration/352a-trunk/postgresql/258_BF_2038848_OrderPolicy.sql new file mode 100644 index 0000000000..16451b45b1 --- /dev/null +++ b/migration/352a-trunk/postgresql/258_BF_2038848_OrderPolicy.sql @@ -0,0 +1,10 @@ +-- Aug 5, 2008 10:34:58 AM CDT +-- Manufaturing +UPDATE AD_Ref_List SET Name='Fixed Order Quantity', Value='FOQ',Updated=TO_TIMESTAMP('2008-08-05 10:34:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53272 +; + +-- Aug 5, 2008 10:34:58 AM CDT +-- Manufaturing +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53272 +; + diff --git a/migration/352a-trunk/postgresql/259_BF2039050_Terminology.sql b/migration/352a-trunk/postgresql/259_BF2039050_Terminology.sql new file mode 100644 index 0000000000..7c4af3d3a6 --- /dev/null +++ b/migration/352a-trunk/postgresql/259_BF2039050_Terminology.sql @@ -0,0 +1,4266 @@ +-- Aug 5, 2008 11:44:57 AM CDT +-- DRP Functionality +UPDATE AD_Table SET Name='Cost Collector',Updated=TO_TIMESTAMP('2008-08-05 11:44:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53035 +; + +-- Aug 5, 2008 11:44:57 AM CDT +-- DRP Functionality +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53035 +; + +-- Aug 5, 2008 11:45:02 AM CDT +-- Terminology +UPDATE AD_Table SET Name='MRP',Updated=TO_TIMESTAMP('2008-08-05 11:45:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53043 +; + +-- Aug 5, 2008 11:45:02 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53043 +; + +-- Aug 5, 2008 11:45:10 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order',Updated=TO_TIMESTAMP('2008-08-05 11:45:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53027 +; + +-- Aug 5, 2008 11:45:10 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53027 +; + +-- Aug 5, 2008 11:45:19 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Order BOM',Updated=TO_TIMESTAMP('2008-08-05 11:45:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53026 +; + +-- Aug 5, 2008 11:45:19 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53026 +; + +-- Aug 5, 2008 11:45:29 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Order BOM Line',Updated=TO_TIMESTAMP('2008-08-05 11:45:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53025 +; + +-- Aug 5, 2008 11:45:29 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53025 +; + +-- Aug 5, 2008 11:46:09 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Order BOM Line MA',Updated=TO_TIMESTAMP('2008-08-05 11:46:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53062 +; + +-- Aug 5, 2008 11:46:09 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53062 +; + +-- Aug 5, 2008 11:46:22 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Order Cost',Updated=TO_TIMESTAMP('2008-08-05 11:46:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53024 +; + +-- Aug 5, 2008 11:46:22 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53024 +; + +-- Aug 5, 2008 11:46:55 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order Activity Next',Updated=TO_TIMESTAMP('2008-08-05 11:46:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53023 +; + +-- Aug 5, 2008 11:46:55 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53023 +; + +-- Aug 5, 2008 11:47:21 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order Activity Asset',Updated=TO_TIMESTAMP('2008-08-05 11:47:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53031 +; + +-- Aug 5, 2008 11:47:21 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53031 +; + +-- Aug 5, 2008 11:47:54 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order Activity Product',Updated=TO_TIMESTAMP('2008-08-05 11:47:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53030 +; + +-- Aug 5, 2008 11:47:54 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53030 +; + +-- Aug 5, 2008 11:48:08 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Manufacturing Order Workflow',Updated=TO_TIMESTAMP('2008-08-05 11:48:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53029 +; + +-- Aug 5, 2008 11:48:08 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53029 +; + +-- Aug 5, 2008 11:48:31 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Product Planning',Updated=TO_TIMESTAMP('2008-08-05 11:48:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53020 +; + +-- Aug 5, 2008 11:48:31 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53020 +; + +-- Aug 5, 2008 11:48:47 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Workflow Node Asset',Updated=TO_TIMESTAMP('2008-08-05 11:48:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53017 +; + +-- Aug 5, 2008 11:48:47 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53017 +; + +-- Aug 5, 2008 11:49:03 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Workflow Node Product',Updated=TO_TIMESTAMP('2008-08-05 11:49:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53016 +; + +-- Aug 5, 2008 11:49:03 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53016 +; + +-- Aug 5, 2008 11:49:17 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Quality Specification',Updated=TO_TIMESTAMP('2008-08-05 11:49:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53040 +; + +-- Aug 5, 2008 11:49:17 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53040 +; + +-- Aug 5, 2008 11:49:23 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Quality Specification Line',Updated=TO_TIMESTAMP('2008-08-05 11:49:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53041 +; + +-- Aug 5, 2008 11:49:23 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53041 +; + +-- Aug 5, 2008 11:49:58 AM CDT +-- Terminology +UPDATE AD_Table SET Name='View Working In Process',Updated=TO_TIMESTAMP('2008-08-05 11:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53033 +; + +-- Aug 5, 2008 11:49:58 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53033 +; + +-- Aug 5, 2008 11:50:22 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Temporal BOM Line',Updated=TO_TIMESTAMP('2008-08-05 11:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53045 +; + +-- Aug 5, 2008 11:50:22 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53045 +; + +-- Aug 5, 2008 11:50:37 AM CDT +-- Terminology +UPDATE AD_Table SET Name='Temporal MRP & CRP',Updated=TO_TIMESTAMP('2008-08-05 11:50:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53044 +; + +-- Aug 5, 2008 11:50:37 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53044 +; + +-- Aug 5, 2008 11:51:46 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Network Distribution',Updated=TO_TIMESTAMP('2008-08-05 11:51:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53060 +; + +-- Aug 5, 2008 11:51:59 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Network Distribution Line', Name='Network Distribution Line',Updated=TO_TIMESTAMP('2008-08-05 11:51:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53061 +; + +-- Aug 5, 2008 11:51:59 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53061 +; + +-- Aug 5, 2008 11:52:02 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Distribution Order',Updated=TO_TIMESTAMP('2008-08-05 11:52:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53037 +; + +-- Aug 5, 2008 11:52:08 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Distribution Order Line',Updated=TO_TIMESTAMP('2008-08-05 11:52:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53038 +; + +-- Aug 5, 2008 11:52:13 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Cost Collector',Updated=TO_TIMESTAMP('2008-08-05 11:52:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53035 +; + +-- Aug 5, 2008 11:54:27 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Material Requirement Planning', Name='Material Requirement Planning',Updated=TO_TIMESTAMP('2008-08-05 11:54:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53043 +; + +-- Aug 5, 2008 11:54:27 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53043 +; + +-- Aug 5, 2008 11:54:34 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order',Updated=TO_TIMESTAMP('2008-08-05 11:54:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53027 +; + +-- Aug 5, 2008 11:54:37 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Order BOM',Updated=TO_TIMESTAMP('2008-08-05 11:54:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53026 +; + +-- Aug 5, 2008 11:54:42 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Order BOM Line',Updated=TO_TIMESTAMP('2008-08-05 11:54:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53025 +; + +-- Aug 5, 2008 11:54:45 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Order BOM Line MA',Updated=TO_TIMESTAMP('2008-08-05 11:54:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53062 +; + +-- Aug 5, 2008 11:54:50 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Order Cost',Updated=TO_TIMESTAMP('2008-08-05 11:54:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53024 +; + +-- Aug 5, 2008 11:54:54 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Activity',Updated=TO_TIMESTAMP('2008-08-05 11:54:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53022 +; + +-- Aug 5, 2008 11:54:59 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Activity Next',Updated=TO_TIMESTAMP('2008-08-05 11:54:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53023 +; + +-- Aug 5, 2008 11:55:03 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Activity Asset',Updated=TO_TIMESTAMP('2008-08-05 11:55:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53031 +; + +-- Aug 5, 2008 11:55:08 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Activity Product',Updated=TO_TIMESTAMP('2008-08-05 11:55:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53030 +; + +-- Aug 5, 2008 11:55:13 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Manufacturing Order Workflow',Updated=TO_TIMESTAMP('2008-08-05 11:55:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53029 +; + +-- Aug 5, 2008 11:55:17 AM CDT +-- Terminology +UPDATE AD_Table SET Description='BOM Line',Updated=TO_TIMESTAMP('2008-08-05 11:55:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53019 +; + +-- Aug 5, 2008 11:55:22 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Product Planning',Updated=TO_TIMESTAMP('2008-08-05 11:55:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53020 +; + +-- Aug 5, 2008 11:55:25 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Workflow Node Asset',Updated=TO_TIMESTAMP('2008-08-05 11:55:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53017 +; + +-- Aug 5, 2008 11:55:29 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Workflow Node Product',Updated=TO_TIMESTAMP('2008-08-05 11:55:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53016 +; + +-- Aug 5, 2008 11:55:33 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Quality Specification',Updated=TO_TIMESTAMP('2008-08-05 11:55:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53040 +; + +-- Aug 5, 2008 11:55:38 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Quality Specification Line',Updated=TO_TIMESTAMP('2008-08-05 11:55:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53041 +; + +-- Aug 5, 2008 11:55:43 AM CDT +-- Terminology +UPDATE AD_Table SET Description='MRP View',Updated=TO_TIMESTAMP('2008-08-05 11:55:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:55:56 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Operation_Activity', Name='View Operation_Activity',Updated=TO_TIMESTAMP('2008-08-05 11:55:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53036 +; + +-- Aug 5, 2008 11:55:56 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53036 +; + +-- Aug 5, 2008 11:56:14 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Order BOM Line', Name='View Order BOM Line',Updated=TO_TIMESTAMP('2008-08-05 11:56:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53028 +; + +-- Aug 5, 2008 11:56:14 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53028 +; + +-- Aug 5, 2008 11:56:32 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Order Storage', Name='View Order Storage',Updated=TO_TIMESTAMP('2008-08-05 11:56:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53032 +; + +-- Aug 5, 2008 11:56:32 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53032 +; + +-- Aug 5, 2008 11:56:42 AM CDT +-- Terminology +UPDATE AD_Table SET Name='View Manufacturing Order Transactions',Updated=TO_TIMESTAMP('2008-08-05 11:56:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53034 +; + +-- Aug 5, 2008 11:56:42 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53034 +; + +-- Aug 5, 2008 11:56:51 AM CDT +-- Terminology +UPDATE AD_Table SET Name='View Product BOM Line',Updated=TO_TIMESTAMP('2008-08-05 11:56:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53063 +; + +-- Aug 5, 2008 11:56:51 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53063 +; + +-- Aug 5, 2008 11:56:55 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Manufacturing Order Transactions',Updated=TO_TIMESTAMP('2008-08-05 11:56:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53034 +; + +-- Aug 5, 2008 11:57:00 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Product BOM Line',Updated=TO_TIMESTAMP('2008-08-05 11:57:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53063 +; + +-- Aug 5, 2008 11:57:03 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Product Costing',Updated=TO_TIMESTAMP('2008-08-05 11:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53042 +; + +-- Aug 5, 2008 11:57:09 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Product Costing', Name='View Product Costing',Updated=TO_TIMESTAMP('2008-08-05 11:57:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53033 +; + +-- Aug 5, 2008 11:57:09 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53033 +; + +-- Aug 5, 2008 11:57:17 AM CDT +-- Terminology +UPDATE AD_Table SET Name='View ',Updated=TO_TIMESTAMP('2008-08-05 11:57:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:57:17 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:57:28 AM CDT +-- Terminology +UPDATE AD_Table SET Description='View Material Requirement Planning', Name='View Material Requirement Planning',Updated=TO_TIMESTAMP('2008-08-05 11:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:57:28 AM CDT +-- Terminology +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53021 +; + +-- Aug 5, 2008 11:57:35 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Temporal BOM Line',Updated=TO_TIMESTAMP('2008-08-05 11:57:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53045 +; + +-- Aug 5, 2008 11:57:45 AM CDT +-- Terminology +UPDATE AD_Table SET Description='Temporal MRP & CRP',Updated=TO_TIMESTAMP('2008-08-05 11:57:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53044 +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Concept Account', PrintName='Payroll Concept Account',Updated=TO_TIMESTAMP('2008-08-05 11:58:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53411 +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53411 +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Concept_Acct', Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53411 +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct', Name='Payroll Concept Account', Description=NULL, Help=NULL, AD_Element_ID=53411 WHERE UPPER(ColumnName)='HR_CONCEPT_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct', Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53411 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53411) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:58:53 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Concept Account', Name='Payroll Concept Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53411) +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Concept Account ID', PrintName='Payroll Concept Account ID',Updated=TO_TIMESTAMP('2008-08-05 11:59:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account ID', Description=NULL, Help=NULL, AD_Element_ID=53404 WHERE UPPER(ColumnName)='HR_CONCEPT_ACCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53404 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Concept Account ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53404) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:16 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Concept Account ID', Name='Payroll Concept Account ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53404) +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Concept', PrintName='Payroll Concept',Updated=TO_TIMESTAMP('2008-08-05 11:59:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53398 +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53398 +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Concept_ID', Name='Payroll Concept', Description=NULL, Help=NULL WHERE AD_Element_ID=53398 +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_ID', Name='Payroll Concept', Description=NULL, Help=NULL, AD_Element_ID=53398 WHERE UPPER(ColumnName)='HR_CONCEPT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_ID', Name='Payroll Concept', Description=NULL, Help=NULL WHERE AD_Element_ID=53398 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Concept', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53398) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:25 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Concept', Name='Payroll Concept' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53398) +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Department', PrintName='Payroll Department',Updated=TO_TIMESTAMP('2008-08-05 11:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53390 +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53390 +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Department_ID', Name='Payroll Department', Description=NULL, Help=NULL WHERE AD_Element_ID=53390 +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Department_ID', Name='Payroll Department', Description=NULL, Help=NULL, AD_Element_ID=53390 WHERE UPPER(ColumnName)='HR_DEPARTMENT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Department_ID', Name='Payroll Department', Description=NULL, Help=NULL WHERE AD_Element_ID=53390 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Department', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53390) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:33 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Department', Name='Payroll Department' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53390) +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Employee', PrintName='Payroll Employee',Updated=TO_TIMESTAMP('2008-08-05 11:59:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53391 +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53391 +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Employee_ID', Name='Payroll Employee', Description=NULL, Help=NULL WHERE AD_Element_ID=53391 +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Employee_ID', Name='Payroll Employee', Description=NULL, Help=NULL, AD_Element_ID=53391 WHERE UPPER(ColumnName)='HR_EMPLOYEE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Employee_ID', Name='Payroll Employee', Description=NULL, Help=NULL WHERE AD_Element_ID=53391 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Employee', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53391) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 11:59:51 AM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Employee', Name='Payroll Employee' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53391) +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Expense Account', PrintName='Payroll Expense Account',Updated=TO_TIMESTAMP('2008-08-05 12:00:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53406 +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53406 +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Expense_Acct', Name='Payroll Expense Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53406 +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Expense_Acct', Name='Payroll Expense Account', Description=NULL, Help=NULL, AD_Element_ID=53406 WHERE UPPER(ColumnName)='HR_EXPENSE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Expense_Acct', Name='Payroll Expense Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53406 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Expense Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53406) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:00:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Expense Account', Name='Payroll Expense Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53406) +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Job', PrintName='Payroll Job',Updated=TO_TIMESTAMP('2008-08-05 12:00:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53392 +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53392 +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Job_ID', Name='Payroll Job', Description=NULL, Help=NULL WHERE AD_Element_ID=53392 +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Job_ID', Name='Payroll Job', Description=NULL, Help=NULL, AD_Element_ID=53392 WHERE UPPER(ColumnName)='HR_JOB_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Job_ID', Name='Payroll Job', Description=NULL, Help=NULL WHERE AD_Element_ID=53392 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Job', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53392) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:00:28 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Job', Name='Payroll Job' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53392) +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Revenue Account', PrintName='Payroll Revenue Account',Updated=TO_TIMESTAMP('2008-08-05 12:01:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53405 +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53405 +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Revenue_Acct', Name='Payroll Revenue Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53405 +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Revenue_Acct', Name='Payroll Revenue Account', Description=NULL, Help=NULL, AD_Element_ID=53405 WHERE UPPER(ColumnName)='HR_REVENUE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Revenue_Acct', Name='Payroll Revenue Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53405 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Revenue Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53405) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:01:05 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Revenue Account', Name='Payroll Revenue Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53405) +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Network Distribution Line', PrintName='Network Distribution Line',Updated=TO_TIMESTAMP('2008-08-05 12:03:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53341 +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53341 +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='DD_NetworkDistributionLine_ID', Name='Network Distribution Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53341 +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DD_NetworkDistributionLine_ID', Name='Network Distribution Line', Description=NULL, Help=NULL, AD_Element_ID=53341 WHERE UPPER(ColumnName)='DD_NETWORKDISTRIBUTIONLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DD_NetworkDistributionLine_ID', Name='Network Distribution Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53341 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Network Distribution Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53341) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:07 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Network Distribution Line', Name='Network Distribution Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53341) +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Cost Collector ID', PrintName='Cost Collector ID',Updated=TO_TIMESTAMP('2008-08-05 12:03:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector ID', Description=NULL, Help=NULL, AD_Element_ID=53310 WHERE UPPER(ColumnName)='PP_COST_COLLECTOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:17 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Cost Collector ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53310) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:18 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Cost Collector ID', Name='Cost Collector ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53310) +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Element SET Name='MRP ID',Updated=TO_TIMESTAMP('2008-08-05 12:03:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_MRP_ID', Name='MRP ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_MRP_ID', Name='MRP ID', Description=NULL, Help=NULL, AD_Element_ID=53316 WHERE UPPER(ColumnName)='PP_MRP_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_MRP_ID', Name='MRP ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53316 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_Field SET Name='MRP ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53316) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:22 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='PP_MRP_ID', Name='MRP ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53316) +; + +-- Aug 5, 2008 12:03:27 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='MRP ID',Updated=TO_TIMESTAMP('2008-08-05 12:03:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:27 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:03:27 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='MRP ID', Name='MRP ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53316) +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM Line MA ID', PrintName='Order BOM Line MA ID',Updated=TO_TIMESTAMP('2008-08-05 12:03:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA ID', Description=NULL, Help=NULL, AD_Element_ID=53343 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINEMA_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM Line MA ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53343) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:03:41 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM Line MA ID', Name='Order BOM Line MA ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM Line ID', PrintName='Order BOM Line ID',Updated=TO_TIMESTAMP('2008-08-05 12:04:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line ID', Description=NULL, Help=NULL, AD_Element_ID=53275 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM Line ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53275) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:04:01 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM Line ID', Name='Order BOM Line ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:04:11 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM ID', PrintName='Order BOM ID',Updated=TO_TIMESTAMP('2008-08-05 12:04:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:04:11 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:04:11 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOM_ID', Name='Order BOM ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:04:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Order BOM ID', Description=NULL, Help=NULL, AD_Element_ID=53298 WHERE UPPER(ColumnName)='PP_ORDER_BOM_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:04:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Order BOM ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:04:12 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53298) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:04:12 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM ID', Name='Order BOM ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:04:55 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Order BOM Line MA',Updated=TO_TIMESTAMP('2008-08-05 12:04:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:04:55 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:04:55 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM Line MA', Name='Order BOM Line MA ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:04:59 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Cost Collector',Updated=TO_TIMESTAMP('2008-08-05 12:04:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:04:59 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:04:59 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Cost Collector', Name='Cost Collector ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53310) +; + +-- Aug 5, 2008 12:05:01 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Order BOM Line',Updated=TO_TIMESTAMP('2008-08-05 12:05:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:01 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:01 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM Line', Name='Order BOM Line ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:05:04 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Order BOM',Updated=TO_TIMESTAMP('2008-08-05 12:05:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:04 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:04 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM', Name='Order BOM ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:05:11 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Order_Cost_ID',Updated=TO_TIMESTAMP('2008-08-05 12:05:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:05:11 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:05:11 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order_Cost_ID', Name='PP_Order_Cost_ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53297) +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM Line MA',Updated=TO_TIMESTAMP('2008-08-05 12:05:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA', Description=NULL, Help=NULL, AD_Element_ID=53343 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINEMA_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53343) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM Line MA', Name='Order BOM Line MA' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM Line',Updated=TO_TIMESTAMP('2008-08-05 12:05:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line', Description=NULL, Help=NULL, AD_Element_ID=53275 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Order BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53275) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:18 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM Line', Name='Order BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:05:20 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order BOM',Updated=TO_TIMESTAMP('2008-08-05 12:05:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:20 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOM_ID', Name='Order BOM', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Order BOM', Description=NULL, Help=NULL, AD_Element_ID=53298 WHERE UPPER(ColumnName)='PP_ORDER_BOM_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Order BOM', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order BOM', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53298) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:21 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM', Name='Order BOM' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Cost Collector',Updated=TO_TIMESTAMP('2008-08-05 12:05:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector', Description=NULL, Help=NULL, AD_Element_ID=53310 WHERE UPPER(ColumnName)='PP_COST_COLLECTOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Cost Collector', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Cost Collector', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53310) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:05:23 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Cost Collector', Name='Cost Collector' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53310) +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Material Requirement Planning', PrintName='Material Requirement Planning',Updated=TO_TIMESTAMP('2008-08-05 12:06:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_MRP_ID', Name='Material Requirement Planning', Description=NULL, Help=NULL WHERE AD_Element_ID=53316 +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_MRP_ID', Name='Material Requirement Planning', Description=NULL, Help=NULL, AD_Element_ID=53316 WHERE UPPER(ColumnName)='PP_MRP_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_MRP_ID', Name='Material Requirement Planning', Description=NULL, Help=NULL WHERE AD_Element_ID=53316 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Material Requirement Planning', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53316) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:05 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Material Requirement Planning', Name='Material Requirement Planning' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53316) +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order Cost', PrintName='Order Cost',Updated=TO_TIMESTAMP('2008-08-05 12:06:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Cost_ID', Name='Order Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Cost_ID', Name='Order Cost', Description=NULL, Help=NULL, AD_Element_ID=53297 WHERE UPPER(ColumnName)='PP_ORDER_COST_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Cost_ID', Name='Order Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53297 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order Cost', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53297) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order Cost', Name='Order Cost' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53297) +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order', PrintName='Manufacturing Order',Updated=TO_TIMESTAMP('2008-08-05 12:06:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53276 +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53276 +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_ID', Name='Manufacturing Order', Description=NULL, Help=NULL WHERE AD_Element_ID=53276 +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_ID', Name='Manufacturing Order', Description=NULL, Help=NULL, AD_Element_ID=53276 WHERE UPPER(ColumnName)='PP_ORDER_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_ID', Name='Manufacturing Order', Description=NULL, Help=NULL WHERE AD_Element_ID=53276 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:34 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53276) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:35 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order', Name='Manufacturing Order' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53276) +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Cost',Updated=TO_TIMESTAMP('2008-08-05 12:06:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Cost_ID', Name='Manufacturing Order Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Cost_ID', Name='Manufacturing Order Cost', Description=NULL, Help=NULL, AD_Element_ID=53297 WHERE UPPER(ColumnName)='PP_ORDER_COST_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Cost_ID', Name='Manufacturing Order Cost', Description=NULL, Help=NULL WHERE AD_Element_ID=53297 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Cost', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53297) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:37 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order Cost', Name='Manufacturing Order Cost' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53297) +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order BOM',Updated=TO_TIMESTAMP('2008-08-05 12:06:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOM_ID', Name='Manufacturing Order BOM', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Manufacturing Order BOM', Description=NULL, Help=NULL, AD_Element_ID=53298 WHERE UPPER(ColumnName)='PP_ORDER_BOM_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOM_ID', Name='Manufacturing Order BOM', Description=NULL, Help=NULL WHERE AD_Element_ID=53298 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order BOM', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53298) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:42 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM', Name='Manufacturing Order BOM' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order BOM Line',Updated=TO_TIMESTAMP('2008-08-05 12:06:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLine_ID', Name='Manufacturing Order BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Manufacturing Order BOM Line', Description=NULL, Help=NULL, AD_Element_ID=53275 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLine_ID', Name='Manufacturing Order BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53275 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order BOM Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53275) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:45 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM Line', Name='Manufacturing Order BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order BOM Line MA',Updated=TO_TIMESTAMP('2008-08-05 12:06:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_BOMLineMA_ID', Name='Manufacturing Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Manufacturing Order BOM Line MA', Description=NULL, Help=NULL, AD_Element_ID=53343 WHERE UPPER(ColumnName)='PP_ORDER_BOMLINEMA_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_BOMLineMA_ID', Name='Manufacturing Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Element_ID=53343 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order BOM Line MA', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53343) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:48 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order BOM Line MA', Name='Manufacturing Order BOM Line MA' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Cost Collector', PrintName='Manufacturing Cost Collector',Updated=TO_TIMESTAMP('2008-08-05 12:06:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Cost_Collector_ID', Name='Manufacturing Cost Collector', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Manufacturing Cost Collector', Description=NULL, Help=NULL, AD_Element_ID=53310 WHERE UPPER(ColumnName)='PP_COST_COLLECTOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Cost_Collector_ID', Name='Manufacturing Cost Collector', Description=NULL, Help=NULL WHERE AD_Element_ID=53310 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Cost Collector', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53310) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:06:56 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Cost Collector', Name='Manufacturing Cost Collector' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53310) +; + +-- Aug 5, 2008 12:07:08 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Manufacturing Cost Collector',Updated=TO_TIMESTAMP('2008-08-05 12:07:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:07:08 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53343 +; + +-- Aug 5, 2008 12:07:08 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Cost Collector', Name='Manufacturing Order BOM Line MA' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53343) +; + +-- Aug 5, 2008 12:07:13 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Manufacturing Order BOM Line',Updated=TO_TIMESTAMP('2008-08-05 12:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:07:13 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53275 +; + +-- Aug 5, 2008 12:07:13 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order BOM Line', Name='Manufacturing Order BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53275) +; + +-- Aug 5, 2008 12:07:17 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Manufacturing Order BOM',Updated=TO_TIMESTAMP('2008-08-05 12:07:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:07:17 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53298 +; + +-- Aug 5, 2008 12:07:17 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order BOM', Name='Manufacturing Order BOM' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53298) +; + +-- Aug 5, 2008 12:07:34 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Manufacturing Order Cost',Updated=TO_TIMESTAMP('2008-08-05 12:07:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:07:34 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53297 +; + +-- Aug 5, 2008 12:07:34 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order Cost', Name='Manufacturing Order Cost' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53297) +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Overlap Units', PrintName='Overlap Units',Updated=TO_TIMESTAMP('2008-08-05 12:07:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53241 +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53241 +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='OverlapUnits', Name='Overlap Units', Description=NULL, Help=NULL WHERE AD_Element_ID=53241 +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='OverlapUnits', Name='Overlap Units', Description=NULL, Help=NULL, AD_Element_ID=53241 WHERE UPPER(ColumnName)='OVERLAPUNITS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='OverlapUnits', Name='Overlap Units', Description=NULL, Help=NULL WHERE AD_Element_ID=53241 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Overlap Units', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53241) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:07:41 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Overlap Units', Name='Overlap Units' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53241) +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity', PrintName='Manufacturing Order Activity',Updated=TO_TIMESTAMP('2008-08-05 12:08:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL, AD_Element_ID=53292 WHERE UPPER(ColumnName)='PP_ORDER_NEXT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53292 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53292) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:03 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order Activity', Name='Manufacturing Order Activity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53292) +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity Next', PrintName='Manufacturing Order Activity Next',Updated=TO_TIMESTAMP('2008-08-05 12:08:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53293 +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53293 +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_NodeNext_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Element_ID=53293 +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_NodeNext_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL, AD_Element_ID=53293 WHERE UPPER(ColumnName)='PP_ORDER_NODENEXT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_NodeNext_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Element_ID=53293 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53293) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:14 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order Activity Next', Name='Manufacturing Order Activity Next' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53293) +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity Asset', PrintName='Manufacturing Order Activity Asset',Updated=TO_TIMESTAMP('2008-08-05 12:08:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53304 +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53304 +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Node_Asset_ID', Name='Manufacturing Order Activity Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53304 +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_Asset_ID', Name='Manufacturing Order Activity Asset', Description=NULL, Help=NULL, AD_Element_ID=53304 WHERE UPPER(ColumnName)='PP_ORDER_NODE_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_Asset_ID', Name='Manufacturing Order Activity Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53304 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity Asset', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53304) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:29 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order Activity Asset', Name='Manufacturing Order Activity Asset' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53304) +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity Next', PrintName='Manufacturing Order Activity Next',Updated=TO_TIMESTAMP('2008-08-05 12:08:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Element_ID=53292 +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL, AD_Element_ID=53292 WHERE UPPER(ColumnName)='PP_ORDER_NEXT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Next_ID', Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Element_ID=53292 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity Next', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53292) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:08:58 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order Activity Next', Name='Manufacturing Order Activity Next' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53292) +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Activity Product', PrintName='Manufacturing Order Activity Product',Updated=TO_TIMESTAMP('2008-08-05 12:09:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53303 +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53303 +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Node_Product_ID', Name='Manufacturing Order Activity Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53303 +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_Product_ID', Name='Manufacturing Order Activity Product', Description=NULL, Help=NULL, AD_Element_ID=53303 WHERE UPPER(ColumnName)='PP_ORDER_NODE_PRODUCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_Product_ID', Name='Manufacturing Order Activity Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53303 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Activity Product', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53303) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:18 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order Activity Product', Name='Manufacturing Order Activity Product' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53303) +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Manufacturing Order Workflow', PrintName='Manufacturing Order Workflow',Updated=TO_TIMESTAMP('2008-08-05 12:09:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53286 +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53286 +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Order_Workflow_ID', Name='Manufacturing Order Workflow', Description=NULL, Help=NULL WHERE AD_Element_ID=53286 +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Workflow_ID', Name='Manufacturing Order Workflow', Description=NULL, Help=NULL, AD_Element_ID=53286 WHERE UPPER(ColumnName)='PP_ORDER_WORKFLOW_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Order_Workflow_ID', Name='Manufacturing Order Workflow', Description=NULL, Help=NULL WHERE AD_Element_ID=53286 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Manufacturing Order Workflow', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53286) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:38 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Manufacturing Order Workflow', Name='Manufacturing Order Workflow' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53286) +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Product Planning', PrintName='Product Planning',Updated=TO_TIMESTAMP('2008-08-05 12:09:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53268 +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53268 +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_Product_Planning_ID', Name='Product Planning', Description=NULL, Help=NULL WHERE AD_Element_ID=53268 +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Product_Planning_ID', Name='Product Planning', Description=NULL, Help=NULL, AD_Element_ID=53268 WHERE UPPER(ColumnName)='PP_PRODUCT_PLANNING_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_Product_Planning_ID', Name='Product Planning', Description=NULL, Help=NULL WHERE AD_Element_ID=53268 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Product Planning', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53268) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:09:50 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Product Planning', Name='Product Planning' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53268) +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Workflow Node Asset', PrintName='Workflow Node Asset',Updated=TO_TIMESTAMP('2008-08-05 12:10:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53236 +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53236 +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_WF_Node_Asset_ID', Name='Workflow Node Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53236 +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_WF_Node_Asset_ID', Name='Workflow Node Asset', Description=NULL, Help=NULL, AD_Element_ID=53236 WHERE UPPER(ColumnName)='PP_WF_NODE_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_WF_Node_Asset_ID', Name='Workflow Node Asset', Description=NULL, Help=NULL WHERE AD_Element_ID=53236 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Workflow Node Asset', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53236) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:09 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Workflow Node Asset', Name='Workflow Node Asset' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53236) +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Workflow Node Product', PrintName='Workflow Node Product',Updated=TO_TIMESTAMP('2008-08-05 12:10:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53235 +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53235 +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PP_WF_Node_Product_ID', Name='Workflow Node Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53235 +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_WF_Node_Product_ID', Name='Workflow Node Product', Description=NULL, Help=NULL, AD_Element_ID=53235 WHERE UPPER(ColumnName)='PP_WF_NODE_PRODUCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PP_WF_Node_Product_ID', Name='Workflow Node Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53235 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Workflow Node Product', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53235) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:28 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Workflow Node Product', Name='Workflow Node Product' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53235) +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Element SET Name='% Utilization', PrintName='% Utilization',Updated=TO_TIMESTAMP('2008-08-05 12:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53230 +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53230 +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PercentUtilization', Name='% Utilization', Description=NULL, Help=NULL WHERE AD_Element_ID=53230 +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PercentUtilization', Name='% Utilization', Description=NULL, Help=NULL, AD_Element_ID=53230 WHERE UPPER(ColumnName)='PERCENTUTILIZATION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PercentUtilization', Name='% Utilization', Description=NULL, Help=NULL WHERE AD_Element_ID=53230 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_Field SET Name='% Utilization', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53230) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:43 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='% Utilization', Name='% Utilization' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53230) +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Process Type', PrintName='Process Type',Updated=TO_TIMESTAMP('2008-08-05 12:10:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53242 +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53242 +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='ProcessType', Name='Process Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53242 +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='ProcessType', Name='Process Type', Description=NULL, Help=NULL, AD_Element_ID=53242 WHERE UPPER(ColumnName)='PROCESSTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='ProcessType', Name='Process Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53242 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Process Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53242) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:10:49 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Process Type', Name='Process Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53242) +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Quality Specification', PrintName='Quality Specification',Updated=TO_TIMESTAMP('2008-08-05 12:11:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53314 +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53314 +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QM_Specification_ID', Name='Quality Specification', Description=NULL, Help=NULL WHERE AD_Element_ID=53314 +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QM_Specification_ID', Name='Quality Specification', Description=NULL, Help=NULL, AD_Element_ID=53314 WHERE UPPER(ColumnName)='QM_SPECIFICATION_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QM_Specification_ID', Name='Quality Specification', Description=NULL, Help=NULL WHERE AD_Element_ID=53314 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Quality Specification', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53314) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:05 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Quality Specification', Name='Quality Specification' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53314) +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Batch Size', PrintName='Qty Batch Size',Updated=TO_TIMESTAMP('2008-08-05 12:11:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53243 +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53243 +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyBatchSize', Name='Qty Batch Size', Description=NULL, Help=NULL WHERE AD_Element_ID=53243 +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatchSize', Name='Qty Batch Size', Description=NULL, Help=NULL, AD_Element_ID=53243 WHERE UPPER(ColumnName)='QTYBATCHSIZE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatchSize', Name='Qty Batch Size', Description=NULL, Help=NULL WHERE AD_Element_ID=53243 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Batch Size', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53243) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:21 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Batch Size', Name='Qty Batch Size' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53243) +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Batchs', PrintName='Qty Batchs',Updated=TO_TIMESTAMP('2008-08-05 12:11:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53302 +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53302 +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyBatchs', Name='Qty Batchs', Description=NULL, Help=NULL WHERE AD_Element_ID=53302 +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatchs', Name='Qty Batchs', Description=NULL, Help=NULL, AD_Element_ID=53302 WHERE UPPER(ColumnName)='QTYBATCHS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatchs', Name='Qty Batchs', Description=NULL, Help=NULL WHERE AD_Element_ID=53302 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Batchs', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53302) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:25 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Batchs', Name='Qty Batchs' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53302) +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Delivered Line', PrintName='Qty Delivered Line',Updated=TO_TIMESTAMP('2008-08-05 12:11:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53305 +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53305 +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyDeliveredLine', Name='Qty Delivered Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53305 +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyDeliveredLine', Name='Qty Delivered Line', Description=NULL, Help=NULL, AD_Element_ID=53305 WHERE UPPER(ColumnName)='QTYDELIVEREDLINE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyDeliveredLine', Name='Qty Delivered Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53305 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:31 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Delivered Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53305) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:32 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Delivered Line', Name='Qty Delivered Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53305) +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty In Transit', PrintName='Qty In Transit',Updated=TO_TIMESTAMP('2008-08-05 12:11:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53312 +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53312 +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyInTransit', Name='Qty In Transit', Description=NULL, Help=NULL WHERE AD_Element_ID=53312 +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyInTransit', Name='Qty In Transit', Description=NULL, Help=NULL, AD_Element_ID=53312 WHERE UPPER(ColumnName)='QTYINTRANSIT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyInTransit', Name='Qty In Transit', Description=NULL, Help=NULL WHERE AD_Element_ID=53312 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty In Transit', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53312) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:41 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty In Transit', Name='Qty In Transit' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53312) +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Issue Scrap Should Be', PrintName='Qty Issue Scrap Should Be',Updated=TO_TIMESTAMP('2008-08-05 12:11:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53306 +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53306 +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyIssueScrapShouldBe', Name='Qty Issue Scrap Should Be', Description=NULL, Help=NULL WHERE AD_Element_ID=53306 +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyIssueScrapShouldBe', Name='Qty Issue Scrap Should Be', Description=NULL, Help=NULL, AD_Element_ID=53306 WHERE UPPER(ColumnName)='QTYISSUESCRAPSHOULDBE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyIssueScrapShouldBe', Name='Qty Issue Scrap Should Be', Description=NULL, Help=NULL WHERE AD_Element_ID=53306 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Issue Scrap Should Be', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53306) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:11:56 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Issue Scrap Should Be', Name='Qty Issue Scrap Should Be' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53306) +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Issue Should Be', PrintName='Qty Issue Should Be',Updated=TO_TIMESTAMP('2008-08-05 12:12:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53307 +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53307 +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyIssueShouldBe', Name='Qty Issue Should Be', Description=NULL, Help=NULL WHERE AD_Element_ID=53307 +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyIssueShouldBe', Name='Qty Issue Should Be', Description=NULL, Help=NULL, AD_Element_ID=53307 WHERE UPPER(ColumnName)='QTYISSUESHOULDBE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyIssueShouldBe', Name='Qty Issue Should Be', Description=NULL, Help=NULL WHERE AD_Element_ID=53307 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:09 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Issue Should Be', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53307) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:10 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Issue Should Be', Name='Qty Issue Should Be' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53307) +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Post', PrintName='Qty Post',Updated=TO_TIMESTAMP('2008-08-05 12:12:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53299 +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53299 +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyPost', Name='Qty Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53299 +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyPost', Name='Qty Post', Description=NULL, Help=NULL, AD_Element_ID=53299 WHERE UPPER(ColumnName)='QTYPOST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyPost', Name='Qty Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53299 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Post', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53299) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:13 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Post', Name='Qty Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53299) +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Reject', PrintName='Qty Reject',Updated=TO_TIMESTAMP('2008-08-05 12:12:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53287 +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53287 +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyReject', Name='Qty Reject', Description=NULL, Help=NULL WHERE AD_Element_ID=53287 +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyReject', Name='Qty Reject', Description=NULL, Help=NULL, AD_Element_ID=53287 WHERE UPPER(ColumnName)='QTYREJECT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyReject', Name='Qty Reject', Description=NULL, Help=NULL WHERE AD_Element_ID=53287 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Reject', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53287) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:17 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Reject', Name='Qty Reject' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53287) +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Requiered', PrintName='Qty Required',Updated=TO_TIMESTAMP('2008-08-05 12:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53288 +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53288 +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyRequiered', Name='Qty Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53288 +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyRequiered', Name='Qty Requiered', Description=NULL, Help=NULL, AD_Element_ID=53288 WHERE UPPER(ColumnName)='QTYREQUIERED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyRequiered', Name='Qty Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53288 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Requiered', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53288) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:21 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Required', Name='Qty Requiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53288) +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Scrap', PrintName='Qty Scrap',Updated=TO_TIMESTAMP('2008-08-05 12:12:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53289 +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53289 +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyScrap', Name='Qty Scrap', Description=NULL, Help=NULL WHERE AD_Element_ID=53289 +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyScrap', Name='Qty Scrap', Description=NULL, Help=NULL, AD_Element_ID=53289 WHERE UPPER(ColumnName)='QTYSCRAP' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyScrap', Name='Qty Scrap', Description=NULL, Help=NULL WHERE AD_Element_ID=53289 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Scrap', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53289) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:26 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Scrap', Name='Qty Scrap' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53289) +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Qty Scrap Line', PrintName='Qty Scrap Line',Updated=TO_TIMESTAMP('2008-08-05 12:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53308 +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53308 +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyScrapLine', Name='Qty Scrap Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53308 +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyScrapLine', Name='Qty Scrap Line', Description=NULL, Help=NULL, AD_Element_ID=53308 WHERE UPPER(ColumnName)='QTYSCRAPLINE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyScrapLine', Name='Qty Scrap Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53308 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Qty Scrap Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53308) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:40 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Qty Scrap Line', Name='Qty Scrap Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53308) +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Units Cycles', PrintName='Units Cycles',Updated=TO_TIMESTAMP('2008-08-05 12:12:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53239 +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53239 +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='UnitsCycles', Name='Units Cycles', Description=NULL, Help=NULL WHERE AD_Element_ID=53239 +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units Cycles', Description=NULL, Help=NULL, AD_Element_ID=53239 WHERE UPPER(ColumnName)='UNITSCYCLES' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units Cycles', Description=NULL, Help=NULL WHERE AD_Element_ID=53239 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Units Cycles', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53239) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:12:54 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Units Cycles', Name='Units Cycles' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53239) +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Temporal MRP & CRP', PrintName='Temporal MRP & CRP',Updated=TO_TIMESTAMP('2008-08-05 12:13:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53317 +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53317 +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='T_MRP_CRP_ID', Name='Temporal MRP & CRP', Description=NULL, Help=NULL WHERE AD_Element_ID=53317 +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='T_MRP_CRP_ID', Name='Temporal MRP & CRP', Description=NULL, Help=NULL, AD_Element_ID=53317 WHERE UPPER(ColumnName)='T_MRP_CRP_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='T_MRP_CRP_ID', Name='Temporal MRP & CRP', Description=NULL, Help=NULL WHERE AD_Element_ID=53317 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Temporal MRP & CRP', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53317) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:13:10 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Temporal MRP & CRP', Name='Temporal MRP & CRP' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53317) +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Temporal BOM Line',Updated=TO_TIMESTAMP('2008-08-05 12:13:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='T_BOMLine_ID', Name='Temporal BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='T_BOMLine_ID', Name='Temporal BOM Line', Description=NULL, Help=NULL, AD_Element_ID=53319 WHERE UPPER(ColumnName)='T_BOMLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='T_BOMLine_ID', Name='Temporal BOM Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53319 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Temporal BOM Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53319) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:13:18 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='T_BOMLine_ID', Name='Temporal BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53319) +; + +-- Aug 5, 2008 12:13:25 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Temporal BOM Line',Updated=TO_TIMESTAMP('2008-08-05 12:13:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:25 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53319 +; + +-- Aug 5, 2008 12:13:25 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Temporal BOM Line', Name='Temporal BOM Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53319) +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Element SET Description=NULL, Name='Product',Updated=TO_TIMESTAMP('2008-08-05 12:14:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53465 +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53465 +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='TM_Product_ID', Name='Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53465 +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='TM_Product_ID', Name='Product', Description=NULL, Help=NULL, AD_Element_ID=53465 WHERE UPPER(ColumnName)='TM_PRODUCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='TM_Product_ID', Name='Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53465 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Product', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53465) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:14:34 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Product', Name='Product' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53465) +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Current Cost Price Lower Level', PrintName='Current Cost Price Lower Level',Updated=TO_TIMESTAMP('2008-08-05 12:15:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53296 +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53296 +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='CurrentCostPriceLL', Name='Current Cost Price Lower Level', Description=NULL, Help=NULL WHERE AD_Element_ID=53296 +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CurrentCostPriceLL', Name='Current Cost Price Lower Level', Description=NULL, Help=NULL, AD_Element_ID=53296 WHERE UPPER(ColumnName)='CURRENTCOSTPRICELL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CurrentCostPriceLL', Name='Current Cost Price Lower Level', Description=NULL, Help=NULL WHERE AD_Element_ID=53296 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Current Cost Price Lower Level', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53296) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:03 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Current Cost Price Lower Level', Name='Current Cost Price Lower Level' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53296) +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Cumulated Amt Post',Updated=TO_TIMESTAMP('2008-08-05 12:15:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='CumulatedAmtPost', Name='Cumulated Amt Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CumulatedAmtPost', Name='Cumulated Amt Post', Description=NULL, Help=NULL, AD_Element_ID=53294 WHERE UPPER(ColumnName)='CUMULATEDAMTPOST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CumulatedAmtPost', Name='Cumulated Amt Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53294 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Cumulated Amt Post', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53294) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:07 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='CumulatedAmtPost', Name='Cumulated Amt Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53294) +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Cumulated Qty Post',Updated=TO_TIMESTAMP('2008-08-05 12:15:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='CumulatedQtyPost', Name='Cumulated Qty Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CumulatedQtyPost', Name='Cumulated Qty Post', Description=NULL, Help=NULL, AD_Element_ID=53295 WHERE UPPER(ColumnName)='CUMULATEDQTYPOST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='CumulatedQtyPost', Name='Cumulated Qty Post', Description=NULL, Help=NULL WHERE AD_Element_ID=53295 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Cumulated Qty Post', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53295) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:10 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='CumulatedQtyPost', Name='Cumulated Qty Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53295) +; + +-- Aug 5, 2008 12:15:13 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Cumulated Amt Post',Updated=TO_TIMESTAMP('2008-08-05 12:15:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:13 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53294 +; + +-- Aug 5, 2008 12:15:13 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Cumulated Amt Post', Name='Cumulated Amt Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53294) +; + +-- Aug 5, 2008 12:15:21 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Cumulated Qty Post',Updated=TO_TIMESTAMP('2008-08-05 12:15:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:21 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53295 +; + +-- Aug 5, 2008 12:15:21 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Cumulated Qty Post', Name='Cumulated Qty Post' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53295) +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Daily Capacity', PrintName='Daily Capacity',Updated=TO_TIMESTAMP('2008-08-05 12:15:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53231 +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53231 +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='DailyCapacity', Name='Daily Capacity', Description=NULL, Help=NULL WHERE AD_Element_ID=53231 +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DailyCapacity', Name='Daily Capacity', Description=NULL, Help=NULL, AD_Element_ID=53231 WHERE UPPER(ColumnName)='DAILYCAPACITY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DailyCapacity', Name='Daily Capacity', Description=NULL, Help=NULL WHERE AD_Element_ID=53231 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Daily Capacity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53231) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:26 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Daily Capacity', Name='Daily Capacity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53231) +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Duration Real', PrintName='Duration Real',Updated=TO_TIMESTAMP('2008-08-05 12:15:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53283 +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53283 +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='DurationReal', Name='Duration Real', Description=NULL, Help=NULL WHERE AD_Element_ID=53283 +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DurationReal', Name='Duration Real', Description=NULL, Help=NULL, AD_Element_ID=53283 WHERE UPPER(ColumnName)='DURATIONREAL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DurationReal', Name='Duration Real', Description=NULL, Help=NULL WHERE AD_Element_ID=53283 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:29 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Duration Real', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53283) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:30 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Duration Real', Name='Duration Real' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53283) +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Duration Requiered', PrintName='Duration Requiered',Updated=TO_TIMESTAMP('2008-08-05 12:15:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53284 +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53284 +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='DurationRequiered', Name='Duration Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53284 +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DurationRequiered', Name='Duration Requiered', Description=NULL, Help=NULL, AD_Element_ID=53284 WHERE UPPER(ColumnName)='DURATIONREQUIERED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='DurationRequiered', Name='Duration Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53284 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Duration Requiered', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53284) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:36 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Duration Requiered', Name='Duration Requiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53284) +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Float After', PrintName='Float After',Updated=TO_TIMESTAMP('2008-08-05 12:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53300 +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53300 +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='FloatAfter', Name='Float After', Description=NULL, Help=NULL WHERE AD_Element_ID=53300 +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='FloatAfter', Name='Float After', Description=NULL, Help=NULL, AD_Element_ID=53300 WHERE UPPER(ColumnName)='FLOATAFTER' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='FloatAfter', Name='Float After', Description=NULL, Help=NULL WHERE AD_Element_ID=53300 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Float After', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53300) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:42 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Float After', Name='Float After' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53300) +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Float Befored', PrintName='Float Befored',Updated=TO_TIMESTAMP('2008-08-05 12:15:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53301 +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53301 +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='FloatBefored', Name='Float Befored', Description=NULL, Help=NULL WHERE AD_Element_ID=53301 +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='FloatBefored', Name='Float Befored', Description=NULL, Help=NULL, AD_Element_ID=53301 WHERE UPPER(ColumnName)='FLOATBEFORED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='FloatBefored', Name='Float Befored', Description=NULL, Help=NULL WHERE AD_Element_ID=53301 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Float Befored', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53301) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:51 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Float Befored', Name='Float Befored' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53301) +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Is BatchTime', PrintName='Is BatchTime',Updated=TO_TIMESTAMP('2008-08-05 12:15:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53309 +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53309 +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IsBatchTime', Name='Is BatchTime', Description=NULL, Help=NULL WHERE AD_Element_ID=53309 +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsBatchTime', Name='Is BatchTime', Description=NULL, Help=NULL, AD_Element_ID=53309 WHERE UPPER(ColumnName)='ISBATCHTIME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsBatchTime', Name='Is BatchTime', Description=NULL, Help=NULL WHERE AD_Element_ID=53309 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Is BatchTime', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53309) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:15:58 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Is BatchTime', Name='Is BatchTime' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53309) +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Is Milestone', PrintName='Is Milestone',Updated=TO_TIMESTAMP('2008-08-05 12:16:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53237 +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53237 +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IsMilestone', Name='Is Milestone', Description=NULL, Help=NULL WHERE AD_Element_ID=53237 +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsMilestone', Name='Is Milestone', Description=NULL, Help=NULL, AD_Element_ID=53237 WHERE UPPER(ColumnName)='ISMILESTONE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsMilestone', Name='Is Milestone', Description=NULL, Help=NULL WHERE AD_Element_ID=53237 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Is Milestone', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53237) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:14 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Is Milestone', Name='Is Milestone' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53237) +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Is Subcontracting', PrintName='Is Subcontracting',Updated=TO_TIMESTAMP('2008-08-05 12:16:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53238 +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53238 +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IsSubcontracting', Name='Is Subcontracting', Description=NULL, Help=NULL WHERE AD_Element_ID=53238 +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsSubcontracting', Name='Is Subcontracting', Description=NULL, Help=NULL, AD_Element_ID=53238 WHERE UPPER(ColumnName)='ISSUBCONTRACTING' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsSubcontracting', Name='Is Subcontracting', Description=NULL, Help=NULL WHERE AD_Element_ID=53238 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Is Subcontracting', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53238) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:22 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Is Subcontracting', Name='Is Subcontracting' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53238) +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Low Level', PrintName='Low Level',Updated=TO_TIMESTAMP('2008-08-05 12:16:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53274 +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53274 +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='LowLevel', Name='Low Level', Description=NULL, Help=NULL WHERE AD_Element_ID=53274 +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='LowLevel', Name='Low Level', Description=NULL, Help=NULL, AD_Element_ID=53274 WHERE UPPER(ColumnName)='LOWLEVEL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='LowLevel', Name='Low Level', Description=NULL, Help=NULL WHERE AD_Element_ID=53274 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Low Level', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53274) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:27 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Low Level', Name='Low Level' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53274) +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Moving Time', PrintName='Moving Time',Updated=TO_TIMESTAMP('2008-08-05 12:16:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53240 +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53240 +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MovingTime', Name='Moving Time', Description=NULL, Help=NULL WHERE AD_Element_ID=53240 +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MovingTime', Name='Moving Time', Description=NULL, Help=NULL, AD_Element_ID=53240 WHERE UPPER(ColumnName)='MOVINGTIME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MovingTime', Name='Moving Time', Description=NULL, Help=NULL WHERE AD_Element_ID=53240 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Moving Time', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53240) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:16:47 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Moving Time', Name='Moving Time' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53240) +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Quantity in %', PrintName='Quantity in %',Updated=TO_TIMESTAMP('2008-08-05 12:17:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53256 +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53256 +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QtyBatch', Name='Quantity in %', Description='Indicate the Quantity % use in this Formula', Help='Exist two way the add a compenent to a BOM or Formula: + +1.- Adding a Component based in quantity to use in this BOM +2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula. +' WHERE AD_Element_ID=53256 +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatch', Name='Quantity in %', Description='Indicate the Quantity % use in this Formula', Help='Exist two way the add a compenent to a BOM or Formula: + +1.- Adding a Component based in quantity to use in this BOM +2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula. +', AD_Element_ID=53256 WHERE UPPER(ColumnName)='QTYBATCH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QtyBatch', Name='Quantity in %', Description='Indicate the Quantity % use in this Formula', Help='Exist two way the add a compenent to a BOM or Formula: + +1.- Adding a Component based in quantity to use in this BOM +2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula. +' WHERE AD_Element_ID=53256 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Quantity in %', Description='Indicate the Quantity % use in this Formula', Help='Exist two way the add a compenent to a BOM or Formula: + +1.- Adding a Component based in quantity to use in this BOM +2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula. +' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53256) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:08 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Quantity in %', Name='Quantity in %' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53256) +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Setup Time Real',Updated=TO_TIMESTAMP('2008-08-05 12:17:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='SetupTimeReal', Name='Setup Time Real', Description=NULL, Help=NULL WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='SetupTimeReal', Name='Setup Time Real', Description=NULL, Help=NULL, AD_Element_ID=53290 WHERE UPPER(ColumnName)='SETUPTIMEREAL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='SetupTimeReal', Name='Setup Time Real', Description=NULL, Help=NULL WHERE AD_Element_ID=53290 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Setup Time Real', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53290) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:12 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='SetupTimeReal', Name='Setup Time Real' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53290) +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Setup Time Requiered',Updated=TO_TIMESTAMP('2008-08-05 12:17:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='SetupTimeRequiered', Name='Setup Time Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='SetupTimeRequiered', Name='Setup Time Requiered', Description=NULL, Help=NULL, AD_Element_ID=53291 WHERE UPPER(ColumnName)='SETUPTIMEREQUIERED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='SetupTimeRequiered', Name='Setup Time Requiered', Description=NULL, Help=NULL WHERE AD_Element_ID=53291 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Setup Time Requiered', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53291) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:17:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='SetupTimeRequiered', Name='Setup Time Requiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53291) +; + +-- Aug 5, 2008 12:17:19 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Setup Time Real',Updated=TO_TIMESTAMP('2008-08-05 12:17:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:19 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53290 +; + +-- Aug 5, 2008 12:17:19 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Setup Time Real', Name='Setup Time Real' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53290) +; + +-- Aug 5, 2008 12:17:32 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Setup Time Requiered',Updated=TO_TIMESTAMP('2008-08-05 12:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:32 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53291 +; + +-- Aug 5, 2008 12:17:32 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Setup Time Requiered', Name='Setup Time Requiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53291) +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Selected Product',Updated=TO_TIMESTAMP('2008-08-05 12:18:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53464 +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53464 +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='Sel_Product_ID', Name='Selected Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53464 +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='Sel_Product_ID', Name='Selected Product', Description=NULL, Help=NULL, AD_Element_ID=53464 WHERE UPPER(ColumnName)='SEL_PRODUCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='Sel_Product_ID', Name='Selected Product', Description=NULL, Help=NULL WHERE AD_Element_ID=53464 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Selected Product', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53464) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:18:07 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Selected Product', Name='Selected Product' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53464) +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Queuing Time', PrintName='Queuing Time',Updated=TO_TIMESTAMP('2008-08-05 12:18:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53234 +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53234 +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='QueuingTime', Name='Queuing Time', Description=NULL, Help=NULL WHERE AD_Element_ID=53234 +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QueuingTime', Name='Queuing Time', Description=NULL, Help=NULL, AD_Element_ID=53234 WHERE UPPER(ColumnName)='QUEUINGTIME' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='QueuingTime', Name='Queuing Time', Description=NULL, Help=NULL WHERE AD_Element_ID=53234 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Queuing Time', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53234) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:18:12 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Queuing Time', Name='Queuing Time' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53234) +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Tax Base', PrintName='Tax Base',Updated=TO_TIMESTAMP('2008-08-05 12:19:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53357 +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53357 +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='C_TaxBase_ID', Name='Tax Base', Description=NULL, Help=NULL WHERE AD_Element_ID=53357 +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxBase_ID', Name='Tax Base', Description=NULL, Help=NULL, AD_Element_ID=53357 WHERE UPPER(ColumnName)='C_TAXBASE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxBase_ID', Name='Tax Base', Description=NULL, Help=NULL WHERE AD_Element_ID=53357 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Tax Base', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53357) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:14 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Tax Base', Name='Tax Base' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53357) +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Tax Definition', PrintName='Tax Definition',Updated=TO_TIMESTAMP('2008-08-05 12:19:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53358 +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53358 +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='C_TaxDefinition_ID', Name='Tax Definition', Description=NULL, Help=NULL WHERE AD_Element_ID=53358 +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxDefinition_ID', Name='Tax Definition', Description=NULL, Help=NULL, AD_Element_ID=53358 WHERE UPPER(ColumnName)='C_TAXDEFINITION_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxDefinition_ID', Name='Tax Definition', Description=NULL, Help=NULL WHERE AD_Element_ID=53358 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Tax Definition', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53358) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:25 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Tax Definition', Name='Tax Definition' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53358) +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Tax Type', PrintName='Tax Type',Updated=TO_TIMESTAMP('2008-08-05 12:19:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53359 +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53359 +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='C_TaxType_ID', Name='Tax Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53359 +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxType_ID', Name='Tax Type', Description=NULL, Help=NULL, AD_Element_ID=53359 WHERE UPPER(ColumnName)='C_TAXTYPE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='C_TaxType_ID', Name='Tax Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53359 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Tax Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53359) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:39 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Tax Type', Name='Tax Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53359) +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Max Taxable',Updated=TO_TIMESTAMP('2008-08-05 12:19:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MaxTaxable', Name='Max Taxable', Description=NULL, Help=NULL WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MaxTaxable', Name='Max Taxable', Description=NULL, Help=NULL, AD_Element_ID=53360 WHERE UPPER(ColumnName)='MAXTAXABLE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MaxTaxable', Name='Max Taxable', Description=NULL, Help=NULL WHERE AD_Element_ID=53360 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Max Taxable', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53360) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:40 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='MaxTaxable', Name='Max Taxable' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53360) +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Min Taxable',Updated=TO_TIMESTAMP('2008-08-05 12:19:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MinTaxable', Name='Min Taxable', Description=NULL, Help=NULL WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MinTaxable', Name='Min Taxable', Description=NULL, Help=NULL, AD_Element_ID=53361 WHERE UPPER(ColumnName)='MINTAXABLE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MinTaxable', Name='Min Taxable', Description=NULL, Help=NULL WHERE AD_Element_ID=53361 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Min Taxable', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53361) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:19:41 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='MinTaxable', Name='Min Taxable' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53361) +; + +-- Aug 5, 2008 12:19:42 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Max Taxable',Updated=TO_TIMESTAMP('2008-08-05 12:19:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:42 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53360 +; + +-- Aug 5, 2008 12:19:42 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Max Taxable', Name='Max Taxable' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53360) +; + +-- Aug 5, 2008 12:19:47 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Min Taxable',Updated=TO_TIMESTAMP('2008-08-05 12:19:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:47 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53361 +; + +-- Aug 5, 2008 12:19:47 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Min Taxable', Name='Min Taxable' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53361) +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Attribute Account',Updated=TO_TIMESTAMP('2008-08-05 12:20:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description='Account for Employee Attribute', Help=NULL WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description='Account for Employee Attribute', Help=NULL, AD_Element_ID=53396 WHERE UPPER(ColumnName)='HR_ATTRIBUTE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description='Account for Employee Attribute', Help=NULL WHERE AD_Element_ID=53396 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Attribute Account', Description='Account for Employee Attribute', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53396) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:20:39 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Account Payroll Employee Attribute', Name='Payroll Attribute Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53396) +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Payroll Concept Account',Updated=TO_TIMESTAMP('2008-08-05 12:20:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account', Description=NULL, Help=NULL, AD_Element_ID=53404 WHERE UPPER(ColumnName)='HR_CONCEPT_ACCT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Concept_Acct_ID', Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53404 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Concept Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53404) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:20:43 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Concept Account ID', Name='Payroll Concept Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53404) +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Element SET Description=NULL, PrintName='Payroll Attribute Account',Updated=TO_TIMESTAMP('2008-08-05 12:21:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53396 +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description=NULL, Help=NULL, AD_Element_ID=53396 WHERE UPPER(ColumnName)='HR_ATTRIBUTE_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='HR_Attribute_Acct', Name='Payroll Attribute Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53396 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Payroll Attribute Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53396) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:06 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Attribute Account', Name='Payroll Attribute Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53396) +; + +-- Aug 5, 2008 12:21:10 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Payroll Concept Account',Updated=TO_TIMESTAMP('2008-08-05 12:21:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:21:10 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53404 +; + +-- Aug 5, 2008 12:21:10 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Payroll Concept Account', Name='Payroll Concept Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53404) +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Max Value', PrintName='Max Value',Updated=TO_TIMESTAMP('2008-08-05 12:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53399 +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53399 +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MaxValue', Name='Max Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53399 +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MaxValue', Name='Max Value', Description=NULL, Help=NULL, AD_Element_ID=53399 WHERE UPPER(ColumnName)='MAXVALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MaxValue', Name='Max Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53399 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Max Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53399) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:35 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Max Value', Name='Max Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53399) +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Min Value', PrintName='Min Value',Updated=TO_TIMESTAMP('2008-08-05 12:21:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53400 +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53400 +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='MinValue', Name='Min Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53400 +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MinValue', Name='Min Value', Description=NULL, Help=NULL, AD_Element_ID=53400 WHERE UPPER(ColumnName)='MINVALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='MinValue', Name='Min Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53400 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Min Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53400) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:21:46 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Min Value', Name='Min Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53400) +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Order Max',Updated=TO_TIMESTAMP('2008-08-05 12:22:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53264 +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53264 +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='Order_Max', Name='Order Max', Description=NULL, Help=NULL WHERE AD_Element_ID=53264 +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='Order_Max', Name='Order Max', Description=NULL, Help=NULL, AD_Element_ID=53264 WHERE UPPER(ColumnName)='ORDER_MAX' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='Order_Max', Name='Order Max', Description=NULL, Help=NULL WHERE AD_Element_ID=53264 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:22:32 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Order Max', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53264) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:22:33 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Order Max', Name='Order Max' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53264) +; + +-- Aug 5, 2008 12:23:58 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Replication Document', PrintName='Replication Document',Updated=TO_TIMESTAMP('2008-08-05 12:23:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53366 +; + +-- Aug 5, 2008 12:23:58 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53366 +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='AD_ReplicationDocument_ID', Name='Replication Document', Description=NULL, Help=NULL WHERE AD_Element_ID=53366 +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='AD_ReplicationDocument_ID', Name='Replication Document', Description=NULL, Help=NULL, AD_Element_ID=53366 WHERE UPPER(ColumnName)='AD_REPLICATIONDOCUMENT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='AD_ReplicationDocument_ID', Name='Replication Document', Description=NULL, Help=NULL WHERE AD_Element_ID=53366 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Replication Document', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53366) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:23:59 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Replication Document', Name='Replication Document' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53366) +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Embedded Format', PrintName='Embedded Format',Updated=TO_TIMESTAMP('2008-08-05 12:24:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53371 +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53371 +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_EmbeddedFormat_ID', Name='Embedded Format', Description=NULL, Help=NULL WHERE AD_Element_ID=53371 +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_EmbeddedFormat_ID', Name='Embedded Format', Description=NULL, Help=NULL, AD_Element_ID=53371 WHERE UPPER(ColumnName)='EXP_EMBEDDEDFORMAT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_EmbeddedFormat_ID', Name='Embedded Format', Description=NULL, Help=NULL WHERE AD_Element_ID=53371 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Embedded Format', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53371) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:11 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Embedded Format', Name='Embedded Format' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53371) +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Format Line',Updated=TO_TIMESTAMP('2008-08-05 12:24:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_FormatLine_ID', Name='Format Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_FormatLine_ID', Name='Format Line', Description=NULL, Help=NULL, AD_Element_ID=53370 WHERE UPPER(ColumnName)='EXP_FORMATLINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_FormatLine_ID', Name='Format Line', Description=NULL, Help=NULL WHERE AD_Element_ID=53370 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Format Line', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53370) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:24 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='EXP_FormatLine_ID', Name='Format Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53370) +; + +-- Aug 5, 2008 12:24:26 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Format Line',Updated=TO_TIMESTAMP('2008-08-05 12:24:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:26 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53370 +; + +-- Aug 5, 2008 12:24:26 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Format Line', Name='Format Line' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53370) +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Export Format', PrintName='Export Format',Updated=TO_TIMESTAMP('2008-08-05 12:24:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53368 +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53368 +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Format_ID', Name='Export Format', Description=NULL, Help=NULL WHERE AD_Element_ID=53368 +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Format_ID', Name='Export Format', Description=NULL, Help=NULL, AD_Element_ID=53368 WHERE UPPER(ColumnName)='EXP_FORMAT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Format_ID', Name='Export Format', Description=NULL, Help=NULL WHERE AD_Element_ID=53368 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Export Format', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53368) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:33 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Export Format', Name='Export Format' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53368) +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Processor Parameter', PrintName='Processor Parameter',Updated=TO_TIMESTAMP('2008-08-05 12:24:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53378 +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53378 +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_ProcessorParameter_ID', Name='Processor Parameter', Description=NULL, Help=NULL WHERE AD_Element_ID=53378 +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_ProcessorParameter_ID', Name='Processor Parameter', Description=NULL, Help=NULL, AD_Element_ID=53378 WHERE UPPER(ColumnName)='EXP_PROCESSORPARAMETER_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_ProcessorParameter_ID', Name='Processor Parameter', Description=NULL, Help=NULL WHERE AD_Element_ID=53378 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:43 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Processor Parameter', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53378) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:44 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Processor Parameter', Name='Processor Parameter' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53378) +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Processor', PrintName='Processor',Updated=TO_TIMESTAMP('2008-08-05 12:24:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Processor_ID', Name='Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Processor', Description=NULL, Help=NULL, AD_Element_ID=53367 WHERE UPPER(ColumnName)='EXP_PROCESSOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Processor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53367) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:24:53 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Processor', Name='Processor' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53367) +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Export Processor', PrintName='Export Processor',Updated=TO_TIMESTAMP('2008-08-05 12:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL, AD_Element_ID=53367 WHERE UPPER(ColumnName)='EXP_PROCESSOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53367) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:02 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Export Processor', Name='Export Processor' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53367) +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Export Processor Type',Updated=TO_TIMESTAMP('2008-08-05 12:25:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Processor_Type_ID', Name='Export Processor Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_Type_ID', Name='Export Processor Type', Description=NULL, Help=NULL, AD_Element_ID=53373 WHERE UPPER(ColumnName)='EXP_PROCESSOR_TYPE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_Type_ID', Name='Export Processor Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53373 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:14 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Export Processor Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53373) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='EXP_Processor_Type_ID', Name='Export Processor Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53373) +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Element SET Description=NULL,Updated=TO_TIMESTAMP('2008-08-05 12:25:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL, AD_Element_ID=53367 WHERE UPPER(ColumnName)='EXP_PROCESSOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='EXP_Processor_ID', Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53367 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:15 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Export Processor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53367) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:19 PM CDT +-- Terminology +UPDATE AD_Element SET PrintName='Export Processor Type',Updated=TO_TIMESTAMP('2008-08-05 12:25:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:19 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53373 +; + +-- Aug 5, 2008 12:25:19 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Export Processor Type', Name='Export Processor Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53373) +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Import Processor Log', PrintName='Import Processor Log',Updated=TO_TIMESTAMP('2008-08-05 12:25:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53384 +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53384 +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IMP_ProcessorLog_ID', Name='Import Processor Log', Description=NULL, Help=NULL WHERE AD_Element_ID=53384 +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_ProcessorLog_ID', Name='Import Processor Log', Description=NULL, Help=NULL, AD_Element_ID=53384 WHERE UPPER(ColumnName)='IMP_PROCESSORLOG_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_ProcessorLog_ID', Name='Import Processor Log', Description=NULL, Help=NULL WHERE AD_Element_ID=53384 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Import Processor Log', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53384) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:33 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Import Processor Log', Name='Import Processor Log' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53384) +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Import Processor Parameter', PrintName='Import Processor Parameter',Updated=TO_TIMESTAMP('2008-08-05 12:25:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53383 +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53383 +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IMP_ProcessorParameter_ID', Name='Import Processor Parameter', Description=NULL, Help=NULL WHERE AD_Element_ID=53383 +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_ProcessorParameter_ID', Name='Import Processor Parameter', Description=NULL, Help=NULL, AD_Element_ID=53383 WHERE UPPER(ColumnName)='IMP_PROCESSORPARAMETER_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_ProcessorParameter_ID', Name='Import Processor Parameter', Description=NULL, Help=NULL WHERE AD_Element_ID=53383 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Import Processor Parameter', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53383) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:25:47 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Import Processor Parameter', Name='Import Processor Parameter' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53383) +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Import Processor', PrintName='Import Processor',Updated=TO_TIMESTAMP('2008-08-05 12:26:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53381 +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53381 +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IMP_Processor_ID', Name='Import Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53381 +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_Processor_ID', Name='Import Processor', Description=NULL, Help=NULL, AD_Element_ID=53381 WHERE UPPER(ColumnName)='IMP_PROCESSOR_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_Processor_ID', Name='Import Processor', Description=NULL, Help=NULL WHERE AD_Element_ID=53381 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Import Processor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53381) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:02 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Import Processor', Name='Import Processor' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53381) +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Import Processor Type', PrintName='Import Processor Type',Updated=TO_TIMESTAMP('2008-08-05 12:26:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53382 +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53382 +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IMP_Processor_Type_ID', Name='Import Processor Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53382 +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_Processor_Type_ID', Name='Import Processor Type', Description=NULL, Help=NULL, AD_Element_ID=53382 WHERE UPPER(ColumnName)='IMP_PROCESSOR_TYPE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IMP_Processor_Type_ID', Name='Import Processor Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53382 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:12 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Import Processor Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53382) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:13 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Import Processor Type', Name='Import Processor Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53382) +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Is Part Unique Index', PrintName='Is Part Unique Index',Updated=TO_TIMESTAMP('2008-08-05 12:26:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53372 +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53372 +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='IsPartUniqueIndex', Name='Is Part Unique Index', Description=NULL, Help=NULL WHERE AD_Element_ID=53372 +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsPartUniqueIndex', Name='Is Part Unique Index', Description=NULL, Help=NULL, AD_Element_ID=53372 WHERE UPPER(ColumnName)='ISPARTUNIQUEINDEX' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='IsPartUniqueIndex', Name='Is Part Unique Index', Description=NULL, Help=NULL WHERE AD_Element_ID=53372 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Is Part Unique Index', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53372) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:25 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Is Part Unique Index', Name='Is Part Unique Index' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53372) +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Java Class', PrintName='Java Class',Updated=TO_TIMESTAMP('2008-08-05 12:26:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53380 +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53380 +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='JavaClass', Name='Java Class', Description=NULL, Help=NULL WHERE AD_Element_ID=53380 +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='JavaClass', Name='Java Class', Description=NULL, Help=NULL, AD_Element_ID=53380 WHERE UPPER(ColumnName)='JAVACLASS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='JavaClass', Name='Java Class', Description=NULL, Help=NULL WHERE AD_Element_ID=53380 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:28 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Java Class', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53380) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:29 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Java Class', Name='Java Class' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53380) +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Parameter Value', PrintName='Parameter Value',Updated=TO_TIMESTAMP('2008-08-05 12:26:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53379 +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53379 +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='ParameterValue', Name='Parameter Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53379 +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='ParameterValue', Name='Parameter Value', Description=NULL, Help=NULL, AD_Element_ID=53379 WHERE UPPER(ColumnName)='PARAMETERVALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='ParameterValue', Name='Parameter Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53379 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Parameter Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53379) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:33 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Parameter Value', Name='Parameter Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53379) +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Password Info', PrintName='Password Info',Updated=TO_TIMESTAMP('2008-08-05 12:26:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53377 +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53377 +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='PasswordInfo', Name='Password Info', Description=NULL, Help=NULL WHERE AD_Element_ID=53377 +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PasswordInfo', Name='Password Info', Description=NULL, Help=NULL, AD_Element_ID=53377 WHERE UPPER(ColumnName)='PASSWORDINFO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='PasswordInfo', Name='Password Info', Description=NULL, Help=NULL WHERE AD_Element_ID=53377 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Password Info', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53377) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:36 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Password Info', Name='Password Info' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53377) +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Element SET Name='Test Import Model', PrintName='Test Import Model',Updated=TO_TIMESTAMP('2008-08-05 12:26:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53369 +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53369 +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Column SET ColumnName='TestImportModel', Name='Test Import Model', Description=NULL, Help=NULL WHERE AD_Element_ID=53369 +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='TestImportModel', Name='Test Import Model', Description=NULL, Help=NULL, AD_Element_ID=53369 WHERE UPPER(ColumnName)='TESTIMPORTMODEL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Process_Para SET ColumnName='TestImportModel', Name='Test Import Model', Description=NULL, Help=NULL WHERE AD_Element_ID=53369 AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_Field SET Name='Test Import Model', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53369) AND IsCentrallyMaintained='Y' +; + +-- Aug 5, 2008 12:26:49 PM CDT +-- Terminology +UPDATE AD_PrintFormatItem SET PrintName='Test Import Model', Name='Test Import Model' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53369) +; + diff --git a/migration/352a-trunk/postgresql/260_BF_FixParameterDistributionOrders.sql b/migration/352a-trunk/postgresql/260_BF_FixParameterDistributionOrders.sql new file mode 100644 index 0000000000..5098f498fb --- /dev/null +++ b/migration/352a-trunk/postgresql/260_BF_FixParameterDistributionOrders.sql @@ -0,0 +1,69 @@ +-- Aug 5, 2008 9:09:09 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2008-08-05 21:09:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53220 +; + +-- Aug 5, 2008 9:09:14 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-08-05 21:09:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53240 +; + +-- Aug 5, 2008 9:12:37 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET AD_Element_ID=53470, ColumnName='IsRequiredDRP', Description='Based in DRP Demand', IsActive='Y', IsCentrallyMaintained='N', Name='Based in DRP Demand',Updated=TO_TIMESTAMP('2008-08-05 21:12:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:12:37 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:12:54 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsCentrallyMaintained='Y',Updated=TO_TIMESTAMP('2008-08-05 21:12:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221 +; + +-- Aug 5, 2008 9:13:03 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET Help=NULL,Updated=TO_TIMESTAMP('2008-08-05 21:13:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:13:03 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:23:05 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-08-05 21:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:23:17 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2008-08-05 21:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 5, 2008 9:23:24 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-05 21:23:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53221 +; + +-- Aug 5, 2008 9:24:13 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET AD_Val_Rule_ID=189,Updated=TO_TIMESTAMP('2008-08-05 21:24:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53222 +; + +-- Aug 5, 2008 9:25:30 PM CDT +-- DRP Functionality +UPDATE AD_Process SET Help='Based in DRP Demand is selected then the redistribute the quantity is based in % of Demand + +Please note that due to rounding, the total quantity of the order(s) is likely to be higher then the quantity entered. + +Consolidate to one Document let the distribution in current Documents with ranges dates promised, if do not is selected then a new Order is generate.',Updated=TO_TIMESTAMP('2008-08-05 21:25:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53150 +; + +-- Aug 5, 2008 9:25:30 PM CDT +-- DRP Functionality +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53150 +; + diff --git a/migration/352a-trunk/postgresql/261_FR_2039663_NewParameterDistributionRun.sql b/migration/352a-trunk/postgresql/261_FR_2039663_NewParameterDistributionRun.sql new file mode 100644 index 0000000000..ba65d49c99 --- /dev/null +++ b/migration/352a-trunk/postgresql/261_FR_2039663_NewParameterDistributionRun.sql @@ -0,0 +1,20 @@ +-- Aug 5, 2008 10:14:58 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET IsRange='Y',Updated=TO_TIMESTAMP('2008-08-05 22:14:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=484 +; + +-- Aug 5, 2008 10:16:37 PM CDT +-- DRP Functionality +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2182,0,271,53241,20,'ConsolidateDocument',TO_TIMESTAMP('2008-08-05 22:16:27','YYYY-MM-DD HH24:MI:SS'),0,'Consolidate Lines into one Document','EE01',1,'Y','Y','N','N','Consolidate to one Document',30,TO_TIMESTAMP('2008-08-05 22:16:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 5, 2008 10:16:37 PM CDT +-- DRP Functionality +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53241 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 5, 2008 10:16:49 PM CDT +-- DRP Functionality +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-08-05 22:16:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=486 +; + diff --git a/migration/352a-trunk/postgresql/262_BF2041299.sql b/migration/352a-trunk/postgresql/262_BF2041299.sql new file mode 100644 index 0000000000..5aae2721ec --- /dev/null +++ b/migration/352a-trunk/postgresql/262_BF2041299.sql @@ -0,0 +1 @@ +-- Placeholder \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/263_BF1991574.sql b/migration/352a-trunk/postgresql/263_BF1991574.sql new file mode 100644 index 0000000000..d874080ee9 --- /dev/null +++ b/migration/352a-trunk/postgresql/263_BF1991574.sql @@ -0,0 +1,4 @@ + +UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_DATE('2008-06-28 22:10:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13468 +; + diff --git a/migration/352a-trunk/postgresql/264_FR_2011567_Background_Image.sql b/migration/352a-trunk/postgresql/264_FR_2011567_Background_Image.sql new file mode 100644 index 0000000000..58f71260d2 --- /dev/null +++ b/migration/352a-trunk/postgresql/264_FR_2011567_Background_Image.sql @@ -0,0 +1,227 @@ +-- Aug 7, 2008 9:55:42 PM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56301,1639,0,19,523,'AD_Image_ID',TO_TIMESTAMP('2008-08-07 21:55:41','YYYY-MM-DD HH24:MI:SS'),0,'Image or Icon','D',22,'Images and Icon can be used to display supported graphic formats (gif, jpg, png). +You can either load the image (in the database) or point to a graphic via a URI (i.e. it can point to a resource, http address)','Y','N','N','N','N','N','N','N','N','N','N','N','Y','Image',0,TO_TIMESTAMP('2008-08-07 21:55:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Aug 7, 2008 9:55:42 PM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56301 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Aug 7, 2008 10:05:02 PM CDT +-- Water Mark for Document Printed +ALTER TABLE AD_PrintTableFormat ADD COLUMN AD_Image_ID NUMERIC(10) +; + +-- Aug 7, 2008 10:05:41 PM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56301,56335,0,435,TO_TIMESTAMP('2008-08-07 22:05:40','YYYY-MM-DD HH24:MI:SS'),0,'Image or Icon',22,'D','Images and Icon can be used to display supported graphic formats (gif, jpg, png). +You can either load the image (in the database) or point to a graphic via a URI (i.e. it can point to a resource, http address)','Y','Y','Y','N','N','N','N','N','Image',TO_TIMESTAMP('2008-08-07 22:05:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 7, 2008 10:05:41 PM CDT +-- Water Mark for Document Printed +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56335 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8299 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8303 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8302 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8298 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8304 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8301 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=5794 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=5796 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=5798 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=5803 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=5786 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=5790 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=8305 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=5791 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=5800 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=5792 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=8948 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5787 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=8947 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=8946 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=5802 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=5788 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=5789 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=5799 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=8949 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=8950 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=5801 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=5797 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=5795 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=5793 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8306 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8300 +; + +-- Aug 7, 2008 10:05:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56335 +; + +-- Aug 7, 2008 10:06:41 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET DisplayLogic='@ImageIsAttached@=''N''',Updated=TO_TIMESTAMP('2008-08-07 22:06:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8300 +; + +-- Aug 7, 2008 10:06:45 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-08-07 22:06:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=8300 +; +-- Aug 7, 2008 9:47:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8306 +; + +-- Aug 7, 2008 9:47:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8300 +; + +-- Aug 7, 2008 9:47:57 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56335 +; + +-- Aug 7, 2008 9:52:03 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field SET Description='Image Water Mark', Help='This Image is show when a document is printed for second time',Updated=TO_TIMESTAMP('2008-08-07 21:52:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56335 +; + +-- Aug 7, 2008 9:52:03 PM CDT +-- Water Mark for Document Printed +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56335 +; + + diff --git a/migration/352a-trunk/postgresql/265_BF2046200.sql b/migration/352a-trunk/postgresql/265_BF2046200.sql new file mode 100644 index 0000000000..6a59e087e0 --- /dev/null +++ b/migration/352a-trunk/postgresql/265_BF2046200.sql @@ -0,0 +1,45 @@ +-- 11.08.2008 14:20:51 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:20:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53579 +; + +-- 11.08.2008 14:20:56 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:20:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53578 +; + +-- 11.08.2008 14:21:01 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:21:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53580 +; + +-- 11.08.2008 14:21:09 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:21:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53581 +; + +-- 11.08.2008 14:21:15 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:21:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53582 +; + +-- 11.08.2008 14:21:20 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:21:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53583 +; + +-- 11.08.2008 14:21:24 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:21:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53584 +; + +-- 11.08.2008 14:21:29 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:21:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53585 +; + +-- 11.08.2008 14:21:35 EEST +-- - +UPDATE AD_Column SET AD_Reference_ID=29,Updated=TO_TIMESTAMP('2008-08-11 14:21:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53586 +; + diff --git a/migration/352a-trunk/postgresql/266_FR2048081.sql b/migration/352a-trunk/postgresql/266_FR2048081.sql new file mode 100644 index 0000000000..3794f7f25a --- /dev/null +++ b/migration/352a-trunk/postgresql/266_FR2048081.sql @@ -0,0 +1,25 @@ +-- 12.08.2008 18:05:13 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53013,0,'6','org.eevolution.form.WFPanelManufacturing',TO_TIMESTAMP('2008-08-12 18:05:12','YYYY-MM-DD HH24:MI:SS'),0,'Edit Manufacturing Workflows','D','Edit the graphical layout of manufacturing workflows','Y','N','Manufacturing Workflow Editor',TO_TIMESTAMP('2008-08-12 18:05:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 12.08.2008 18:05:13 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53013 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID) +; + +-- 12.08.2008 18:05:13 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53013,0,0,TO_TIMESTAMP('2008-08-12 18:05:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2008-08-12 18:05:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 12.08.2008 18:07:33 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +UPDATE AD_Menu SET AD_Form_ID=53013, Description='Edit Manufacturing Workflows', Name='Manufacturing Workflow Editor',Updated=TO_TIMESTAMP('2008-08-12 18:07:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53128 +; + +-- 12.08.2008 18:07:33 EEST +-- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53128 +; + diff --git a/migration/352a-trunk/postgresql/267_BF2049497.sql b/migration/352a-trunk/postgresql/267_BF2049497.sql new file mode 100644 index 0000000000..c0e7a45155 --- /dev/null +++ b/migration/352a-trunk/postgresql/267_BF2049497.sql @@ -0,0 +1,260 @@ +-- 13.08.2008 15:37:55 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:37:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50198 +; + +-- 13.08.2008 15:37:58 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Account','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:37:58 EEST +-- +UPDATE AD_Role SET Allow_Info_Account='N' WHERE Allow_Info_Account IS NULL +; + +-- 13.08.2008 15:37:58 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Account',null,'NOT NULL',null) +; + +-- 13.08.2008 15:38:17 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:38:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50199 +; + +-- 13.08.2008 15:38:19 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Asset','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:38:19 EEST +-- +UPDATE AD_Role SET Allow_Info_Asset='N' WHERE Allow_Info_Asset IS NULL +; + +-- 13.08.2008 15:38:19 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Asset',null,'NOT NULL',null) +; + +-- 13.08.2008 15:38:23 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:38:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50200 +; + +-- 13.08.2008 15:38:25 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_BPartner','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:38:25 EEST +-- +UPDATE AD_Role SET Allow_Info_BPartner='N' WHERE Allow_Info_BPartner IS NULL +; + +-- 13.08.2008 15:38:25 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_BPartner',null,'NOT NULL',null) +; + +-- 13.08.2008 15:38:28 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:38:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50201 +; + +-- 13.08.2008 15:38:30 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_CashJournal','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:38:30 EEST +-- +UPDATE AD_Role SET Allow_Info_CashJournal='N' WHERE Allow_Info_CashJournal IS NULL +; + +-- 13.08.2008 15:38:30 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_CashJournal',null,'NOT NULL',null) +; + +-- 13.08.2008 15:38:38 EEST +-- +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:38:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55333 +; + +-- 13.08.2008 15:38:40 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_CRP','CHAR(1)',null,'Y') +; + +-- 13.08.2008 15:38:40 EEST +-- +UPDATE AD_Role SET Allow_Info_CRP='Y' WHERE Allow_Info_CRP IS NULL +; + +-- 13.08.2008 15:38:40 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_CRP',null,'NOT NULL',null) +; + +-- 13.08.2008 15:38:47 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:38:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50202 +; + +-- 13.08.2008 15:38:48 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_InOut','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:38:48 EEST +-- +UPDATE AD_Role SET Allow_Info_InOut='N' WHERE Allow_Info_InOut IS NULL +; + +-- 13.08.2008 15:38:48 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_InOut',null,'NOT NULL',null) +; + +-- 13.08.2008 15:38:54 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:38:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50203 +; + +-- 13.08.2008 15:38:56 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Invoice','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:38:56 EEST +-- +UPDATE AD_Role SET Allow_Info_Invoice='N' WHERE Allow_Info_Invoice IS NULL +; + +-- 13.08.2008 15:38:56 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Invoice',null,'NOT NULL',null) +; + +-- 13.08.2008 15:39:00 EEST +-- +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:39:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55332 +; + +-- 13.08.2008 15:39:02 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_MRP','CHAR(1)',null,'Y') +; + +-- 13.08.2008 15:39:02 EEST +-- +UPDATE AD_Role SET Allow_Info_MRP='Y' WHERE Allow_Info_MRP IS NULL +; + +-- 13.08.2008 15:39:02 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_MRP',null,'NOT NULL',null) +; + +-- 13.08.2008 15:39:08 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:39:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50204 +; + +-- 13.08.2008 15:39:09 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Order','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:39:09 EEST +-- +UPDATE AD_Role SET Allow_Info_Order='N' WHERE Allow_Info_Order IS NULL +; + +-- 13.08.2008 15:39:09 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Order',null,'NOT NULL',null) +; + +-- 13.08.2008 15:39:14 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:39:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50205 +; + +-- 13.08.2008 15:39:15 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Payment','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:39:15 EEST +-- +UPDATE AD_Role SET Allow_Info_Payment='N' WHERE Allow_Info_Payment IS NULL +; + +-- 13.08.2008 15:39:15 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Payment',null,'NOT NULL',null) +; + +-- 13.08.2008 15:39:21 EEST +-- +UPDATE AD_Column SET DefaultValue='Y', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:39:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50206 +; + +-- 13.08.2008 15:39:22 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Product','CHAR(1)',null,'Y') +; + +-- 13.08.2008 15:39:22 EEST +-- +UPDATE AD_Role SET Allow_Info_Product='Y' WHERE Allow_Info_Product IS NULL +; + +-- 13.08.2008 15:39:22 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Product',null,'NOT NULL',null) +; + +-- 13.08.2008 15:39:27 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:39:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50207 +; + +-- 13.08.2008 15:39:29 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Resource','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:39:29 EEST +-- +UPDATE AD_Role SET Allow_Info_Resource='N' WHERE Allow_Info_Resource IS NULL +; + +-- 13.08.2008 15:39:29 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Resource',null,'NOT NULL',null) +; + +-- 13.08.2008 15:39:34 EEST +-- +UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-13 15:39:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50208 +; + +-- 13.08.2008 15:39:35 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Schedule','CHAR(1)',null,'N') +; + +-- 13.08.2008 15:39:35 EEST +-- +UPDATE AD_Role SET Allow_Info_Schedule='N' WHERE Allow_Info_Schedule IS NULL +; + +-- 13.08.2008 15:39:35 EEST +-- +insert into t_alter_column values('ad_role','Allow_Info_Schedule',null,'NOT NULL',null) +; + diff --git a/migration/352a-trunk/postgresql/268_BF2056097_MultipleChangeComponent.sql b/migration/352a-trunk/postgresql/268_BF2056097_MultipleChangeComponent.sql new file mode 100644 index 0000000000..445de1cd60 --- /dev/null +++ b/migration/352a-trunk/postgresql/268_BF2056097_MultipleChangeComponent.sql @@ -0,0 +1,100 @@ +-- Aug 17, 2008 10:49:37 AM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53008,53242,19,'M_Product_ID',TO_TIMESTAMP('2008-08-17 10:49:34','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','Product',50,TO_TIMESTAMP('2008-08-17 10:49:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 17, 2008 10:49:38 AM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53242 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 17, 2008 10:52:26 AM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,617,0,53008,53243,15,'ValidFrom',TO_TIMESTAMP('2008-08-17 10:52:25','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)','EE01',10,'The Valid From date indicates the first day of a date range','Y','Y','N','N','Valid from',10,TO_TIMESTAMP('2008-08-17 10:52:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 17, 2008 10:52:26 AM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53243 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 17, 2008 10:52:43 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET AD_Element_ID=618,Updated=TO_TIMESTAMP('2008-08-17 10:52:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53031 +; + +-- Aug 17, 2008 10:54:17 AM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,526,0,53008,53244,29,'Qty',TO_TIMESTAMP('2008-08-17 10:54:16','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',10,'The Quantity indicates the number of a specific product or item for this document.','Y','Y','N','N','Quantity',60,TO_TIMESTAMP('2008-08-17 10:54:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 17, 2008 10:54:17 AM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53244 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Aug 17, 2008 10:54:41 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET IsCentrallyMaintained='N',Updated=TO_TIMESTAMP('2008-08-17 10:54:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53243 +; + +-- Aug 17, 2008 10:55:07 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET SeqNo=10,Updated=TO_TIMESTAMP('2008-08-17 10:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53242 +; + +-- Aug 17, 2008 10:55:14 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2008-08-17 10:55:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53031 +; + +-- Aug 17, 2008 10:55:18 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_TIMESTAMP('2008-08-17 10:55:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53243 +; + +-- Aug 17, 2008 10:55:34 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_TIMESTAMP('2008-08-17 10:55:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 10:55:41 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_TIMESTAMP('2008-08-17 10:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53032 +; + +-- Aug 17, 2008 10:55:56 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-08-17 10:55:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53032 +; + +-- Aug 17, 2008 10:56:02 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2008-08-17 10:56:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 10:57:03 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET AD_Element_ID=454,Updated=TO_TIMESTAMP('2008-08-17 10:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 11:00:31 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-08-17 11:00:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 11:03:26 AM CDT +-- Multi Change Component +UPDATE AD_Process_Para SET DisplayLogic='@Action@=''A'' | @Action@=''R'' | @Action@=''RE'' ',Updated=TO_TIMESTAMP('2008-08-17 11:03:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53030 +; + +-- Aug 17, 2008 12:04:00 PM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2783,0,53008,53245,19,'M_ChangeNotice_ID',TO_TIMESTAMP('2008-08-17 12:03:59','YYYY-MM-DD HH24:MI:SS'),0,'Change Notice','EE01',10,'Bill of Materials (Engineering) Change Notice (Version)','Y','Y','N','N','Change Notice',70,TO_TIMESTAMP('2008-08-17 12:03:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Aug 17, 2008 12:04:00 PM CDT +-- Multi Change Component +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53245 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + diff --git a/migration/352a-trunk/postgresql/269_BF2059012_ViewPI.sql b/migration/352a-trunk/postgresql/269_BF2059012_ViewPI.sql new file mode 100644 index 0000000000..4fd25dbf02 --- /dev/null +++ b/migration/352a-trunk/postgresql/269_BF2059012_ViewPI.sql @@ -0,0 +1,4 @@ +-- Aug 19, 2008 3:25:12 PM EST +-- BF2059012_ViewPI +UPDATE AD_Form SET Classname='org.adempiere.apps.graph.ViewPI',Updated=TO_TIMESTAMP('2008-08-19 15:25:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Form_ID=119 +; diff --git a/migration/352a-trunk/postgresql/270_BF2064671.sql b/migration/352a-trunk/postgresql/270_BF2064671.sql new file mode 100644 index 0000000000..d8547579b6 --- /dev/null +++ b/migration/352a-trunk/postgresql/270_BF2064671.sql @@ -0,0 +1,15 @@ +-- Aug 21, 2008 3:09:16 PM EEST +-- +UPDATE AD_Column SET FieldLength=255,Updated=TO_TIMESTAMP('2008-08-21 15:09:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=4656 +; + +-- Aug 21, 2008 3:09:19 PM EEST +-- +insert into t_alter_column values('ad_process','Classname','VARCHAR(255)',null,'NULL') +; + +-- Aug 21, 2008 3:10:08 PM EEST +-- +UPDATE AD_Column SET AD_Reference_ID=10,Updated=TO_TIMESTAMP('2008-08-21 15:10:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=50182 +; + diff --git a/migration/352a-trunk/postgresql/271_FR2065395_Implement_New_Document.sql b/migration/352a-trunk/postgresql/271_FR2065395_Implement_New_Document.sql new file mode 100644 index 0000000000..ad42249ae7 --- /dev/null +++ b/migration/352a-trunk/postgresql/271_FR2065395_Implement_New_Document.sql @@ -0,0 +1,30 @@ +-- Aug 21, 2008 12:18:36 PM CDT +-- Implementing new document +UPDATE AD_Ref_List SET Name='Manufacturing Order Method Variance ',Updated=TO_TIMESTAMP('2008-08-21 12:18:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53234 +; + +-- Aug 21, 2008 12:18:36 PM CDT +-- Implementing new document +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53234 +; + +-- Aug 21, 2008 12:18:46 PM CDT +-- Implementing new document +UPDATE AD_Ref_List SET Name='Manufacturing Order Use Variance ',Updated=TO_TIMESTAMP('2008-08-21 12:18:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53237 +; + +-- Aug 21, 2008 12:18:46 PM CDT +-- Implementing new document +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53237 +; + +-- Aug 21, 2008 12:18:54 PM CDT +-- Implementing new document +UPDATE AD_Ref_List SET Name='Manufacturing Order Rate Variance',Updated=TO_TIMESTAMP('2008-08-21 12:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53238 +; + +-- Aug 21, 2008 12:18:54 PM CDT +-- Implementing new document +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53238 +; + diff --git a/migration/352a-trunk/postgresql/272_FR_2039663_FixParameters.sql b/migration/352a-trunk/postgresql/272_FR_2039663_FixParameters.sql new file mode 100644 index 0000000000..6cda686735 --- /dev/null +++ b/migration/352a-trunk/postgresql/272_FR_2039663_FixParameters.sql @@ -0,0 +1,35 @@ +-- Aug 22, 2008 12:46:29 PM CDT +-- Distribution +UPDATE AD_Process_Para SET IsRange='N',Updated=TO_TIMESTAMP('2008-08-22 12:46:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53218 +; + +-- Aug 22, 2008 12:46:56 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_TIMESTAMP('2008-08-22 12:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53219 +; + +-- Aug 22, 2008 12:47:18 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_TIMESTAMP('2008-08-22 12:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53240 +; + +-- Aug 22, 2008 12:56:36 PM CDT +-- Distribution +UPDATE AD_Process_Para SET IsRange='N',Updated=TO_TIMESTAMP('2008-08-22 12:56:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=484 +; + +-- Aug 22, 2008 1:00:58 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''', DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-08-22 13:00:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53241 +; + +-- Aug 22, 2008 1:02:08 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_TIMESTAMP('2008-08-22 13:02:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53220 +; + +-- Aug 22, 2008 1:02:23 PM CDT +-- Distribution +UPDATE AD_Process_Para SET DefaultValue='''Y''',Updated=TO_TIMESTAMP('2008-08-22 13:02:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=486 +; + diff --git a/migration/352a-trunk/postgresql/273_BF2073605.sql b/migration/352a-trunk/postgresql/273_BF2073605.sql new file mode 100644 index 0000000000..8f7e8988d9 --- /dev/null +++ b/migration/352a-trunk/postgresql/273_BF2073605.sql @@ -0,0 +1,14 @@ +-- 25/08/2008 16:00:57 +-- +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-25 16:00:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54742 +; + +-- 25/08/2008 16:13:53 +-- +insert into t_alter_column values('hr_employee','C_BPartner_ID','NUMERIC(10)',null,'NULL') +; + +-- 25/08/2008 16:13:53 +-- +insert into t_alter_column values('hr_employee','C_BPartner_ID',null,'NOT NULL',null) +; \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/274_BF2073737.sql b/migration/352a-trunk/postgresql/274_BF2073737.sql new file mode 100644 index 0000000000..86485c6835 --- /dev/null +++ b/migration/352a-trunk/postgresql/274_BF2073737.sql @@ -0,0 +1,25 @@ +-- Aug 25, 2008 5:23:17 PM EEST +-- +UPDATE AD_Window SET Description='View MRP Notices',Updated=TO_TIMESTAMP('2008-08-25 17:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53008 +; + +-- Aug 25, 2008 5:23:17 PM EEST +-- +UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53008 +; + +-- Aug 25, 2008 5:23:17 PM EEST +-- +UPDATE AD_Menu SET Description='View MRP Notices', IsActive='Y', Name='MRP Notice',Updated=TO_TIMESTAMP('2008-08-25 17:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53040 +; + +-- Aug 25, 2008 5:23:17 PM EEST +-- +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53040 +; + +-- Aug 25, 2008 5:26:15 PM EEST +-- +UPDATE AD_Tab SET WhereClause='(AD_User_ID IN (0,@#AD_User_ID@) OR AD_User_ID IS NULL) AND EXISTS (SELECT 1 FROM AD_Message m WHERE m.AD_Message_ID=AD_Note.AD_Message_ID AND m.Value like ''MRP-%'')',Updated=TO_TIMESTAMP('2008-08-25 17:26:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53035 +; + diff --git a/migration/352a-trunk/postgresql/275_PP_Cost_Collector_default_window.sql b/migration/352a-trunk/postgresql/275_PP_Cost_Collector_default_window.sql new file mode 100644 index 0000000000..66365c0cd1 --- /dev/null +++ b/migration/352a-trunk/postgresql/275_PP_Cost_Collector_default_window.sql @@ -0,0 +1,5 @@ +-- Aug 25, 2008 7:52:50 PM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53014,Updated=TO_TIMESTAMP('2008-08-25 19:52:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53035 +; + diff --git a/migration/352a-trunk/postgresql/276_UniqueIndexPPProductBOM.sql b/migration/352a-trunk/postgresql/276_UniqueIndexPPProductBOM.sql new file mode 100644 index 0000000000..9fdf1f7524 --- /dev/null +++ b/migration/352a-trunk/postgresql/276_UniqueIndexPPProductBOM.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX PPProductBOMUnique ON PP_Product_BOM (AD_Client_ID,Value); \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/277_BF2081237_C_Payment_Available.sql b/migration/352a-trunk/postgresql/277_BF2081237_C_Payment_Available.sql new file mode 100755 index 0000000000..44206201d7 --- /dev/null +++ b/migration/352a-trunk/postgresql/277_BF2081237_C_Payment_Available.sql @@ -0,0 +1 @@ +-- just for oracle diff --git a/migration/352a-trunk/postgresql/278_FR_2083255_MRP.sql b/migration/352a-trunk/postgresql/278_FR_2083255_MRP.sql new file mode 100644 index 0000000000..b353c02d70 --- /dev/null +++ b/migration/352a-trunk/postgresql/278_FR_2083255_MRP.sql @@ -0,0 +1,15 @@ +-- Aug 29, 2008 7:06:38 PM CDT +-- MRP Run to Multiple Plant +UPDATE AD_Process_Para SET AD_Val_Rule_ID=148, IsMandatory='N',Updated=TO_TIMESTAMP('2008-08-29 19:06:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53054 +; + +-- Aug 29, 2008 7:09:28 PM CDT +-- MRP Run to Multiple Plant +UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_TIMESTAMP('2008-08-29 19:09:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53132 +; + +-- Aug 29, 2008 7:10:33 PM CDT +-- MRP Run to Multiple Plant +UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_TIMESTAMP('2008-08-29 19:10:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53207 +; + diff --git a/migration/352a-trunk/postgresql/279_FR2086964.sql b/migration/352a-trunk/postgresql/279_FR2086964.sql new file mode 100644 index 0000000000..170f5932e8 --- /dev/null +++ b/migration/352a-trunk/postgresql/279_FR2086964.sql @@ -0,0 +1,25 @@ +-- Sep 1, 2008 3:49:12 PM EEST +-- +UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_TIMESTAMP('2008-09-01 15:48:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53751 +; + +-- Sep 1, 2008 6:05:39 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-01 18:05:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53592 +; + +-- Sep 1, 2008 6:05:43 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-01 18:05:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53890 +; + +-- Sep 1, 2008 6:05:46 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-01 18:05:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=3743 +; + +-- Sep 1, 2008 6:05:52 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-01 18:05:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11782 +; + diff --git a/migration/352a-trunk/postgresql/280_FB_1926882_Fix_C_Invoice_v.sql b/migration/352a-trunk/postgresql/280_FB_1926882_Fix_C_Invoice_v.sql new file mode 100644 index 0000000000..ad2b68c8b4 --- /dev/null +++ b/migration/352a-trunk/postgresql/280_FB_1926882_Fix_C_Invoice_v.sql @@ -0,0 +1,110 @@ +DROP VIEW C_INVOICELINE_V; +DROP VIEW RV_BPARTNEROPEN; +DROP VIEW C_INVOICE_V; + +CREATE OR REPLACE VIEW C_INVOICE_V +(C_INVOICE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, + CREATEDBY, UPDATED, UPDATEDBY, ISSOTRX, DOCUMENTNO, + DOCSTATUS, DOCACTION, PROCESSING, PROCESSED, C_DOCTYPE_ID, + C_DOCTYPETARGET_ID, C_ORDER_ID, DESCRIPTION, ISAPPROVED, ISTRANSFERRED, + SALESREP_ID, DATEINVOICED, DATEPRINTED, DATEACCT, C_BPARTNER_ID, + C_BPARTNER_LOCATION_ID, AD_USER_ID, POREFERENCE, DATEORDERED, C_CURRENCY_ID, + C_CONVERSIONTYPE_ID, PAYMENTRULE, C_PAYMENTTERM_ID, C_CHARGE_ID, M_PRICELIST_ID, + C_CAMPAIGN_ID, C_PROJECT_ID, C_ACTIVITY_ID, ISPRINTED, ISDISCOUNTPRINTED, + ISPAID, ISINDISPUTE, ISPAYSCHEDULEVALID, C_INVOICEPAYSCHEDULE_ID, INVOICECOLLECTIONTYPE,DUNNINGGRACE, + CHARGEAMT, TOTALLINES, GRANDTOTAL, MULTIPLIER, MULTIPLIERAP, + DOCBASETYPE, DUEDATE + ) +AS +SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy, + i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID, + i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred, + i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID, + i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule, + i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID, + i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute, + i.IsPayScheduleValid, cast(null as numeric) AS C_InvoicePaySchedule_ID, i.InvoiceCollectionType,i.DunningGrace, + CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.ChargeAmt*-1 ELSE i.ChargeAmt END AS ChargeAmt, + CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.TotalLines*-1 ELSE i.TotalLines END AS TotalLines, + CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.GrandTotal*-1 ELSE i.GrandTotal END AS GrandTotal, + CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1.0 ELSE 1.0 END AS Multiplier, + CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1.0 ELSE 1.0 END AS MultiplierAP, + d.DocBaseType + , paymentTermDueDate(i.C_PaymentTerm_ID, i.DateInvoiced) as DueDate +FROM C_Invoice i + INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID) +WHERE i.IsPayScheduleValid<>'Y' +UNION +SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy, + i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID, + i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred, + i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID, + i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule, + i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID, + i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute, + i.IsPayScheduleValid, ips.C_InvoicePaySchedule_ID, i.InvoiceCollectionType, i.DunningGrace, + null AS ChargeAmt, + null AS TotalLines, + CASE WHEN charAt(d.DocBaseType,3)='C' THEN ips.DueAmt*-1 ELSE ips.DueAmt END AS GrandTotal, + CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier, + CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP, + d.DocBaseType + , ips.DueDate +FROM C_Invoice i + INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID) + INNER JOIN C_InvoicePaySchedule ips ON (i.C_Invoice_ID=ips.C_Invoice_ID) +WHERE i.IsPayScheduleValid='Y' + AND ips.IsValid='Y'; + +CREATE OR REPLACE VIEW C_INVOICELINE_V +(AD_CLIENT_ID, AD_ORG_ID, C_INVOICELINE_ID, C_INVOICE_ID, SALESREP_ID, + C_BPARTNER_ID, M_PRODUCT_ID, DOCUMENTNO, DATEINVOICED, DATEACCT, + ISSOTRX, DOCSTATUS, LINENETAMT, LINELISTAMT, LINELIMITAMT, + LINEDISCOUNTAMT, LINEOVERLIMITAMT, QTYINVOICED, QTYENTERED, LINE, + C_ORDERLINE_ID, C_UOM_ID, C_CAMPAIGN_ID, C_PROJECT_ID, C_ACTIVITY_ID, + C_PROJECTPHASE_ID, C_PROJECTTASK_ID) +AS +SELECT il.AD_Client_ID, il.AD_Org_ID, + il.C_InvoiceLine_ID, i.C_Invoice_ID, i.SalesRep_ID, + i.C_BPartner_ID, il.M_Product_ID, + i.DocumentNo, i.DateInvoiced, i.DateAcct, + i.IsSOTrx, i.DocStatus, + ROUND(i.Multiplier*LineNetAmt, 2) AS LineNetAmt, + ROUND(i.Multiplier*PriceList*QtyInvoiced, 2) AS LineListAmt, + CASE WHEN COALESCE(il.PriceLimit, 0)=0 THEN ROUND(i.Multiplier*LineNetAmt,2) ELSE ROUND(i.Multiplier*il.PriceLimit*il.QtyInvoiced,2) END AS LineLimitAmt, + ROUND(i.Multiplier*il.PriceList*il.QtyInvoiced-il.LineNetAmt,2) AS LineDiscountAmt, + CASE WHEN COALESCE(il.PriceLimit,0)=0 THEN 0 ELSE ROUND(i.Multiplier*il.LineNetAmt-il.PriceLimit*il.QtyInvoiced,2) END AS LineOverLimitAmt, + il.QtyInvoiced, il.QtyEntered, + il.Line, il.C_OrderLine_ID, il.C_UOM_ID, + il.C_Campaign_ID, il.C_Project_ID, il.C_Activity_ID, il.C_ProjectPhase_ID, il.C_ProjectTask_ID +FROM C_Invoice_v i, C_InvoiceLine il +WHERE i.C_Invoice_ID=il.C_Invoice_ID; + +CREATE OR REPLACE VIEW RV_BPARTNEROPEN +(AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, + UPDATED, UPDATEDBY, C_BPARTNER_ID, C_CURRENCY_ID, AMT, + OPENAMT, DATEDOC, DAYSDUE, C_CAMPAIGN_ID, C_PROJECT_ID, + C_ACTIVITY_ID) +AS +SELECT i.AD_Client_ID,i.AD_Org_ID, i.IsActive, i.Created,i.CreatedBy,i.Updated,i.UpdatedBy, + i.C_BPartner_ID, i.C_Currency_ID, + i.GrandTotal*i.MultiplierAP AS Amt, + invoiceOpen (i.C_Invoice_ID, i.C_InvoicePaySchedule_ID)*i.MultiplierAP AS OpenAmt, + i.DateInvoiced AS DateDoc, + COALESCE(daysBetween(getdate(),ips.DueDate), paymentTermDueDays(C_PaymentTerm_ID,DateInvoiced,getdate())) AS DaysDue, + i.C_Campaign_ID, i.C_Project_ID, i.C_Activity_ID +FROM C_Invoice_v i + LEFT OUTER JOIN C_InvoicePaySchedule ips ON (i.C_InvoicePaySchedule_ID=ips.C_InvoicePaySchedule_ID) +WHERE i.IsPaid='N' + AND i.DocStatus IN ('CO','CL') +UNION +SELECT p.AD_Client_ID,p.AD_Org_ID, p.IsActive, p.Created,p.CreatedBy,p.Updated,p.UpdatedBy, + p.C_BPartner_ID, p.C_Currency_ID, + p.PayAmt*MultiplierAP*-1 AS Amt, + paymentAvailable(p.C_Payment_ID)*p.MultiplierAP*-1 AS OpenAmt, + p.DateTrx AS DateDoc, + null, + p.C_Campaign_ID, p.C_Project_ID, p.C_Activity_ID +FROM C_Payment_v p +WHERE p.IsAllocated='N' AND p.C_BPartner_ID IS NOT NULL + AND p.DocStatus IN ('CO','CL'); diff --git a/migration/352a-trunk/postgresql/281_FR2026347_Fin_Report_Line_Operand_display_order.sql b/migration/352a-trunk/postgresql/281_FR2026347_Fin_Report_Line_Operand_display_order.sql new file mode 100644 index 0000000000..f6560268f4 --- /dev/null +++ b/migration/352a-trunk/postgresql/281_FR2026347_Fin_Report_Line_Operand_display_order.sql @@ -0,0 +1 @@ +update ad_ref_table set orderbyclause='SeqNo' where ad_reference_id=240; \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/282_BF2081237_C_Payment_Allocated.sql b/migration/352a-trunk/postgresql/282_BF2081237_C_Payment_Allocated.sql new file mode 100644 index 0000000000..053556a658 --- /dev/null +++ b/migration/352a-trunk/postgresql/282_BF2081237_C_Payment_Allocated.sql @@ -0,0 +1 @@ +-- oracle only diff --git a/migration/352a-trunk/postgresql/283_BF_2088779.sql b/migration/352a-trunk/postgresql/283_BF_2088779.sql new file mode 100644 index 0000000000..f9cd95296f --- /dev/null +++ b/migration/352a-trunk/postgresql/283_BF_2088779.sql @@ -0,0 +1,24 @@ +-- 2/09/2008 14:38:46 +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-09-02 14:38:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54945 +; + +-- 2/09/2008 14:38:49 +insert into t_alter_column values('hr_payrollconcept','HR_Concept_ID','NUMERIC(10)',null,'NULL') +; + +-- 2/09/2008 14:38:49 +insert into t_alter_column values('hr_payrollconcept','HR_Concept_ID',null,'NOT NULL',null) +; + +-- 2/09/2008 14:39:06 +UPDATE AD_Column SET IsMandatory='Y', IsUpdateable='N',Updated=TO_TIMESTAMP('2008-09-02 14:39:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54947 +; + +-- 2/09/2008 14:39:08 +insert into t_alter_column values('hr_payrollconcept','HR_Payroll_ID','NUMERIC(10)',null,'NULL') +; + +-- 2/09/2008 14:39:08 +insert into t_alter_column values('hr_payrollconcept','HR_Payroll_ID',null,'NOT NULL',null) +; + diff --git a/migration/352a-trunk/postgresql/284_BF2090815.sql b/migration/352a-trunk/postgresql/284_BF2090815.sql new file mode 100644 index 0000000000..e0aa8ee1b7 --- /dev/null +++ b/migration/352a-trunk/postgresql/284_BF2090815.sql @@ -0,0 +1,25 @@ +-- Sep 3, 2008 12:46:45 PM EEST +-- +UPDATE AD_Column SET AD_Reference_ID=22, DefaultValue='100', IsMandatory='Y', ValueMin='0',Updated=TO_TIMESTAMP('2008-09-03 12:46:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53272 +; + +-- Sep 3, 2008 12:46:49 PM EEST +-- +insert into t_alter_column values('s_resource','PercentUtilization','NUMERIC',null,'100') +; + +-- Sep 3, 2008 12:46:49 PM EEST +-- +UPDATE S_Resource SET PercentUtilization=100 WHERE PercentUtilization IS NULL +; + +-- Sep 3, 2008 12:46:49 PM EEST +-- +insert into t_alter_column values('s_resource','PercentUtilization',null,'NOT NULL',null) +; + +-- Sep 3, 2008 12:46:49 PM EEST +-- +ALTER TABLE S_Resource ADD CONSTRAINT CHK_COL_53272 CHECK (PercentUtilization>=0) +; + diff --git a/migration/352a-trunk/postgresql/285_BF2091203.sql b/migration/352a-trunk/postgresql/285_BF2091203.sql new file mode 100644 index 0000000000..bf35d3d0b0 --- /dev/null +++ b/migration/352a-trunk/postgresql/285_BF2091203.sql @@ -0,0 +1,92 @@ +-- Sep 3, 2008 5:01:15 PM EEST +-- +UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53034 +; + +-- Sep 3, 2008 5:01:27 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53635 +; + +-- Sep 3, 2008 5:01:29 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53634 +; + +-- Sep 3, 2008 5:01:48 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53623 +; + +-- Sep 3, 2008 5:01:49 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53624 +; + +-- Sep 3, 2008 5:01:50 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53625 +; + +-- Sep 3, 2008 5:01:51 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53626 +; + +-- Sep 3, 2008 5:01:52 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53627 +; + +-- Sep 3, 2008 5:01:53 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53628 +; + +-- Sep 3, 2008 5:01:54 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53629 +; + +-- Sep 3, 2008 5:01:55 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53630 +; + +-- Sep 3, 2008 5:01:55 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53631 +; + +-- Sep 3, 2008 5:01:56 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53632 +; + +-- Sep 3, 2008 5:01:57 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53633 +; + +-- Sep 3, 2008 5:01:58 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53636 +; + +-- Sep 3, 2008 5:01:59 PM EEST +-- +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-03 17:01:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53637 +; + + + + + + + + +-- Sep 3, 2008 5:05:25 PM EEST +-- +UPDATE AD_Tab SET DisplayLogic='@IsPurchased@=Y',Updated=TO_TIMESTAMP('2008-09-03 17:05:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53031 +; + diff --git a/migration/352a-trunk/postgresql/286_BF2052847.sql b/migration/352a-trunk/postgresql/286_BF2052847.sql new file mode 100644 index 0000000000..559aa7ee43 --- /dev/null +++ b/migration/352a-trunk/postgresql/286_BF2052847.sql @@ -0,0 +1,4 @@ +-- 29.08.2008 16:50:06 EEST +-- Fix BOM Window, Line order +UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_TIMESTAMP('2008-08-29 16:50:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53485 +; diff --git a/migration/352a-trunk/postgresql/287_BF2091231.sql b/migration/352a-trunk/postgresql/287_BF2091231.sql new file mode 100644 index 0000000000..1aaf15d66f --- /dev/null +++ b/migration/352a-trunk/postgresql/287_BF2091231.sql @@ -0,0 +1,51 @@ +drop table PP_WF_NODE_ASSET +; + +CREATE TABLE pp_wf_node_asset ( + pp_wf_node_asset_id numeric(10,0) NOT NULL, + -- + ad_client_id numeric(10,0) NOT NULL, + ad_org_id numeric(10,0) NOT NULL, + created timestamp NOT NULL, + createdby numeric(10,0) NOT NULL, + updated timestamp NOT NULL, + updatedby numeric(10,0) NOT NULL, + isactive char(1) NOT NULL, + -- + ad_wf_node_id numeric(10,0) NOT NULL, + a_asset_id numeric(10,0) NOT NULL, + seqno numeric(10,0) NOT NULL +) +; + +ALTER TABLE pp_wf_node_asset + ADD CONSTRAINT PP_WF_NODE_ASSET_KEY + PRIMARY KEY(PP_WF_NODE_ASSET_ID) +; + +ALTER TABLE pp_wf_node_asset + ADD CONSTRAINT pp_wf_node_asset_isactive_check + CHECK (isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])) +; + +ALTER TABLE pp_wf_node_asset + ADD CONSTRAINT adwfnode_ppwfnodeasset + FOREIGN KEY(ad_wf_node_id) + REFERENCES ad_wf_node(ad_wf_node_id) +; + +ALTER TABLE pp_wf_node_asset + ADD CONSTRAINT aasset_ppwfnodeasset + FOREIGN KEY(a_asset_id) + REFERENCES a_asset(a_asset_id) +; + +-- 29.08.2008 18:32:06 EEST +-- +UPDATE AD_Column SET IsKey='N', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-29 18:32:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53300 +; + +-- 29.08.2008 18:32:28 EEST +-- +UPDATE AD_Column SET IsKey='Y', IsUpdateable='N',Updated=TO_TIMESTAMP('2008-08-29 18:32:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53299 +; diff --git a/migration/352a-trunk/postgresql/288_FR2092739.sql b/migration/352a-trunk/postgresql/288_FR2092739.sql new file mode 100644 index 0000000000..8d7687935b --- /dev/null +++ b/migration/352a-trunk/postgresql/288_FR2092739.sql @@ -0,0 +1,6 @@ +-- Aug 27, 2008 1:30:18 PM EEST +-- Update PP_Order.M_Product_ID column: set callout and reference value +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutOrder.product',Updated=TO_TIMESTAMP('2008-08-27 13:30:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53623 +; +UPDATE AD_Column SET AD_Reference_Value_ID=211,Updated=TO_TIMESTAMP('2008-08-27 13:31:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53623 +; diff --git a/migration/352a-trunk/postgresql/289_FR2092751.sql b/migration/352a-trunk/postgresql/289_FR2092751.sql new file mode 100644 index 0000000000..03d6d4e2ec --- /dev/null +++ b/migration/352a-trunk/postgresql/289_FR2092751.sql @@ -0,0 +1,5 @@ +-- Sep 1, 2008 3:49:12 PM EEST +-- +UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_TIMESTAMP('2008-09-01 15:48:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53751 +; + diff --git a/migration/352a-trunk/postgresql/290_FR_2094162_Bank_Transfer.sql b/migration/352a-trunk/postgresql/290_FR_2094162_Bank_Transfer.sql new file mode 100644 index 0000000000..2b79960327 --- /dev/null +++ b/migration/352a-trunk/postgresql/290_FR_2094162_Bank_Transfer.sql @@ -0,0 +1,615 @@ +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53153,'3','org.eevolution.process.BankTransfer',TO_TIMESTAMP('2008-09-04 19:13:03','YYYY-MM-DD HH24:MI:SS'),100,'C','Y','N','N','N','N','Bank Transfer','Y',1,4,TO_TIMESTAMP('2008-09-04 19:13:03','YYYY-MM-DD HH24:MI:SS'),100,'BankTransfer') +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53153 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,0,TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,102,TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,103,TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,50002,TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:13:13 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53153,50001,TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-04 19:13:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:14:31 PM CDT +-- Transfer Bank +UPDATE AD_Menu SET Name='Bank Transfer via Cash',Updated=TO_TIMESTAMP('2008-09-04 19:14:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53187 +; + +-- 4/09/2008 07:14:31 PM CDT +-- Transfer Bank +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53187 +; + +-- 4/09/2008 07:15:10 PM CDT +-- Transfer Bank +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53190,0,53153,'P',TO_TIMESTAMP('2008-09-04 19:15:08','YYYY-MM-DD HH24:MI:SS'),100,'C','Y','N','N','N','Bank Transfer via Payment',TO_TIMESTAMP('2008-09-04 19:15:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/09/2008 07:15:10 PM CDT +-- Transfer Bank +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53190 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- 4/09/2008 07:15:10 PM CDT +-- Transfer Bank +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53190, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53190) +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=241 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=288 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=432 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=243 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=413 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=538 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=462 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=505 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=235 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=511 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=245 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=251 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=246 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=509 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=510 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=496 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=497 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=304 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=255 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=286 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=287 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=438 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=234 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=244 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53187 +; + +-- 4/09/2008 07:15:14 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=25, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53190 +; + +-- Sep 4, 2008 7:16:38 PM CDT +-- Transfer Bank +UPDATE AD_Process SET Value='C_BankStatement BankTransfer',Updated=TO_TIMESTAMP('2008-09-04 19:16:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153 +; + +-- Sep 4, 2008 7:20:15 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53246,18,53283,'From_C_BankAccount_ID',TO_TIMESTAMP('2008-09-04 19:20:14','YYYY-MM-DD HH24:MI:SS'),0,'D',0,'Y','Y','N','N','Bank Account From',10,TO_TIMESTAMP('2008-09-04 19:20:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:20:15 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53246 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:20:20 PM CDT +-- Transfer Bank +UPDATE AD_Process SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-04 19:20:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153 +; + +-- Sep 4, 2008 7:22:29 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53247,18,53283,'To_C_BankAccount_ID',TO_TIMESTAMP('2008-09-04 19:22:28','YYYY-MM-DD HH24:MI:SS'),0,'D',10,'Y','Y','N','N','Bank Account To',20,TO_TIMESTAMP('2008-09-04 19:22:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:22:29 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53247 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:22:35 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_TIMESTAMP('2008-09-04 19:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53246 +; + +-- Sep 4, 2008 7:23:37 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53153,53248,12,'Amount',TO_TIMESTAMP('2008-09-04 19:23:36','YYYY-MM-DD HH24:MI:SS'),0,'Amount to be transferred','D',22,'Y','Y','N','N','Transfer Amount',30,TO_TIMESTAMP('2008-09-04 19:23:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:23:37 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53248 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:25:41 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,187,0,53153,53249,30,'C_BPartner_ID',TO_TIMESTAMP('2008-09-04 19:25:38','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','D',22,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','Business Partner ',40,TO_TIMESTAMP('2008-09-04 19:25:38','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:25:41 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53249 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:26:49 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,968,0,53153,53250,19,'C_Charge_ID',TO_TIMESTAMP('2008-09-04 19:26:41','YYYY-MM-DD HH24:MI:SS'),0,'Additional document charges','D',22,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','Charge',40,TO_TIMESTAMP('2008-09-04 19:26:41','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:26:49 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53250 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:27:09 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2008-09-04 19:27:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53249 +; + +-- Sep 4, 2008 7:27:24 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2008-09-04 19:27:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248 +; + +-- Sep 4, 2008 7:29:09 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,290,0,53153,53251,10,'DocumentNo',TO_TIMESTAMP('2008-09-04 19:29:08','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','D',40,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>".','Y','Y','Y','N','Document No',50,TO_TIMESTAMP('2008-09-04 19:29:08','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:29:09 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53251 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:33:17 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,275,0,53153,53252,10,'Description',TO_TIMESTAMP('2008-09-04 19:33:13','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','Description',70,TO_TIMESTAMP('2008-09-04 19:33:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:33:17 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53252 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:34:53 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1434,0,53153,53253,15,'StatementDate',TO_TIMESTAMP('2008-09-04 19:34:52','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Date of the statement','D',7,'The Statement Date field defines the date of the statement.','Y','Y','Y','N','StatementDate',80,TO_TIMESTAMP('2008-09-04 19:34:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:34:53 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53253 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:36:24 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET FieldLength=7,Updated=TO_TIMESTAMP('2008-09-04 19:36:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53239 +; + +-- Sep 4, 2008 7:36:37 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53153,53254,15,'DateAcct',TO_TIMESTAMP('2008-09-04 19:36:36','YYYY-MM-DD HH24:MI:SS'),0,'@#Date@','Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','Y','N','Account Date',90,TO_TIMESTAMP('2008-09-04 19:36:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:36:37 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53254 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:38:45 PM CDT +-- Transfer Bank +UPDATE AD_Menu SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-04 19:38:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53190 +; + +-- Sep 4, 2008 7:49:55 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-09-04 19:49:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53246 +; + +-- Sep 4, 2008 7:50:03 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-09-04 19:50:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53247 +; + +-- Sep 4, 2008 7:50:38 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-09-04 19:50:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248 +; + +-- Sep 4, 2008 7:55:20 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2278,0,53153,53255,19,'C_ConversionType_ID',TO_TIMESTAMP('2008-09-04 19:55:19','YYYY-MM-DD HH24:MI:SS'),0,'Currency Conversion Rate Type','@C_Currency_ID@!@$C_Currency_ID@','D',22,'The Currency Conversion Rate Type lets you define different type of rates, e.g. Spot, Corporate and/or Sell/Buy rates.','Y','Y','N','N','Currency Type',30,TO_TIMESTAMP('2008-09-04 19:55:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:55:20 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53255 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:55:31 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-09-04 19:55:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53255 +; + +-- Sep 4, 2008 7:56:53 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,193,0,53153,53256,19,'C_Currency_ID',TO_TIMESTAMP('2008-09-04 19:56:53','YYYY-MM-DD HH24:MI:SS'),0,'The Currency for this record',NULL,'D',22,'Indicates the Currency to be used when processing or reporting on this record','Y','Y','Y','N','Currency',40,TO_TIMESTAMP('2008-09-04 19:56:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 4, 2008 7:56:53 PM CDT +-- Transfer Bank +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53256 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 4, 2008 7:57:12 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2008-09-04 19:57:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53256 +; + +-- Sep 4, 2008 7:57:15 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2008-09-04 19:57:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53250 +; + +-- Sep 4, 2008 7:57:17 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2008-09-04 19:57:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53251 +; + +-- Sep 4, 2008 7:57:20 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_TIMESTAMP('2008-09-04 19:57:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53248 +; + +-- Sep 4, 2008 7:57:25 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_TIMESTAMP('2008-09-04 19:57:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53252 +; + +-- Sep 4, 2008 7:57:31 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_TIMESTAMP('2008-09-04 19:57:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53253 +; + +-- Sep 4, 2008 7:57:35 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_TIMESTAMP('2008-09-04 19:57:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53254 +; + +-- Sep 4, 2008 7:58:50 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-09-04 19:58:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53256 +; + +-- Sep 4, 2008 7:58:54 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2008-09-04 19:58:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53255 +; + +-- Sep 4, 2008 8:13:10 PM CDT +-- Transfer Bank +UPDATE AD_Process SET Description='Bank Transfer let money tranfer between Banks',Updated=TO_TIMESTAMP('2008-09-04 20:13:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_ID=53153 +; + +-- Sep 4, 2008 8:13:10 PM CDT +-- Transfer Bank +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=53153 +; + +-- Sep 4, 2008 8:13:10 PM CDT +-- Transfer Bank +UPDATE AD_Menu SET Description='Bank Transfer let money tranfer between Banks', IsActive='Y', Name='Bank Transfer',Updated=TO_TIMESTAMP('2008-09-04 20:13:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53190 +; + +-- Sep 4, 2008 8:13:10 PM CDT +-- Transfer Bank +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53190 +; + +-- Sep 4, 2008 8:20:11 PM CDT +-- Transfer Bank +UPDATE AD_Process_Para SET FieldLength=30,Updated=TO_TIMESTAMP('2008-09-04 20:20:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53251 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=241 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=288 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=432 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=243 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=413 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=538 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=462 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=505 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=235 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=511 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=245 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=251 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=246 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=509 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=510 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=496 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=497 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=304 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=255 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=286 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=287 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=438 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=234 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=244 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53190 +; + +-- Sep 4, 2008 8:34:54 PM CDT +-- Transfer Bank +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=25, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53187 +; + diff --git a/migration/352a-trunk/postgresql/291_FR_2074600_HouseKeeping.sql b/migration/352a-trunk/postgresql/291_FR_2074600_HouseKeeping.sql new file mode 100644 index 0000000000..29cc8f54d0 --- /dev/null +++ b/migration/352a-trunk/postgresql/291_FR_2074600_HouseKeeping.sql @@ -0,0 +1,1258 @@ +-- Sep 6, 2008 7:47:20 PM COT +-- Default comment for updating dictionary +UPDATE AD_SysConfig SET Value='[ 2074600 ] Housekeeping - Process to delete historic information',Updated=TO_TIMESTAMP('2008-09-06 19:47:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50003 +; + +-- Sep 6, 2008 7:49:18 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Table (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Table_ID,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES ('4',0,0,53147,'N',TO_TIMESTAMP('2008-09-06 19:49:15','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','Y','Y','N','N','N',0,'House Keeping Configuration','L','AD_HouseKeeping',TO_TIMESTAMP('2008-09-06 19:49:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 7:49:18 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53147 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Sep 6, 2008 7:49:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53168,TO_TIMESTAMP('2008-09-06 19:49:18','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table AD_HouseKeeping',1,'Y','N','Y','Y','AD_HouseKeeping','N',1000000,TO_TIMESTAMP('2008-09-06 19:49:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 7:50:23 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56327,102,0,19,53147,'AD_Client_ID',TO_TIMESTAMP('2008-09-06 19:50:21','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',0,TO_TIMESTAMP('2008-09-06 19:50:21','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:23 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56327 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56328,113,0,19,53147,104,'AD_Org_ID',TO_TIMESTAMP('2008-09-06 19:50:23','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',0,TO_TIMESTAMP('2008-09-06 19:50:23','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56328 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56329,245,0,16,53147,'Created',TO_TIMESTAMP('2008-09-06 19:50:24','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',0,TO_TIMESTAMP('2008-09-06 19:50:24','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56329 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56330,246,0,18,110,53147,'CreatedBy',TO_TIMESTAMP('2008-09-06 19:50:27','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',0,TO_TIMESTAMP('2008-09-06 19:50:27','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56330 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:29 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56331,275,0,10,53147,'Description',TO_TIMESTAMP('2008-09-06 19:50:28','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',0,TO_TIMESTAMP('2008-09-06 19:50:28','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:29 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56331 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:31 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56332,326,0,14,53147,'Help',TO_TIMESTAMP('2008-09-06 19:50:29','YYYY-MM-DD HH24:MI:SS'),100,'Comment or Hint','D',2000,'The Help field contains a hint, comment or help about the use of this item.','Y','N','N','N','N','N','N','N','Y','N','Y','Comment/Help',0,TO_TIMESTAMP('2008-09-06 19:50:29','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:36 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56332 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56333,348,0,20,53147,'IsActive',TO_TIMESTAMP('2008-09-06 19:50:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',0,TO_TIMESTAMP('2008-09-06 19:50:36','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56333 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53680,0,'AD_HouseKeeping_ID',TO_TIMESTAMP('2008-09-06 19:50:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','House Keeping Configuration','House Keeping Configuration',TO_TIMESTAMP('2008-09-06 19:50:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 7:50:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53680 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 7:50:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56334,53680,0,13,53147,'AD_HouseKeeping_ID',TO_TIMESTAMP('2008-09-06 19:50:37','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','Y','N','N','House Keeping Configuration',0,TO_TIMESTAMP('2008-09-06 19:50:37','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56334 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56335,469,0,10,53147,'Name',TO_TIMESTAMP('2008-09-06 19:50:43','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','D',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','N','Y','N','Y','Name',1,TO_TIMESTAMP('2008-09-06 19:50:43','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56335 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56336,607,0,16,53147,'Updated',TO_TIMESTAMP('2008-09-06 19:50:47','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',0,TO_TIMESTAMP('2008-09-06 19:50:47','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56336 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:48 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56337,608,0,18,110,53147,'UpdatedBy',TO_TIMESTAMP('2008-09-06 19:50:47','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',0,TO_TIMESTAMP('2008-09-06 19:50:47','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:48 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56337 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:50:49 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56338,620,0,10,53147,'Value',TO_TIMESTAMP('2008-09-06 19:50:48','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','D',40,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','Y','N','N','Y','N','Y','Search Key',0,TO_TIMESTAMP('2008-09-06 19:50:48','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- Sep 6, 2008 7:50:49 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56338 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 7:51:03 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Table SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 19:51:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53147 +; + +-- Sep 6, 2008 7:57:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Element SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 19:57:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53680 +; + +-- Sep 6, 2008 7:59:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53681,0,'LastDeleted',TO_TIMESTAMP('2008-09-06 19:59:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Last Deleted','Last Deleted',TO_TIMESTAMP('2008-09-06 19:59:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 7:59:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53681 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:00:44 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56339,53681,0,11,53147,'LastDeleted',TO_TIMESTAMP('2008-09-06 20:00:43','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Last Deleted',0,TO_TIMESTAMP('2008-09-06 20:00:43','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:00:44 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56339 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:02:01 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53682,0,'BackupFolder',TO_TIMESTAMP('2008-09-06 20:02:00','YYYY-MM-DD HH24:MI:SS'),100,'Backup Folder','D','Y','Backup Folder','Backup Folder',TO_TIMESTAMP('2008-09-06 20:02:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:02:01 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53682 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:02:32 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56340,53682,0,38,53147,'BackupFolder',TO_TIMESTAMP('2008-09-06 20:02:32','YYYY-MM-DD HH24:MI:SS'),100,'Backup Folder','D',255,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Backup Folder',0,TO_TIMESTAMP('2008-09-06 20:02:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:02:32 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56340 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:03:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53683,0,'IsExportXMLBackup',TO_TIMESTAMP('2008-09-06 20:03:27','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Expor tXML Backup','Export XML Backup',TO_TIMESTAMP('2008-09-06 20:03:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:03:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53683 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:03:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56341,53683,0,20,53147,'IsExportXMLBackup',TO_TIMESTAMP('2008-09-06 20:03:57','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Expor tXML Backup',0,TO_TIMESTAMP('2008-09-06 20:03:57','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:03:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56341 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:04:38 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53684,0,'IsSaveInHistoric',TO_TIMESTAMP('2008-09-06 20:04:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Save In Historic','Save In Historic',TO_TIMESTAMP('2008-09-06 20:04:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:04:38 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53684 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:05:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56342,53684,0,20,53147,'IsSaveInHistoric',TO_TIMESTAMP('2008-09-06 20:05:00','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Save In Historic',0,TO_TIMESTAMP('2008-09-06 20:05:00','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:05:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56342 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:05:36 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53685,0,'LastRun',TO_TIMESTAMP('2008-09-06 20:05:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Last Run','Last Run',TO_TIMESTAMP('2008-09-06 20:05:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:05:36 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53685 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 6, 2008 8:05:56 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56343,53685,0,16,53147,'LastRun',TO_TIMESTAMP('2008-09-06 20:05:55','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Last Run',0,TO_TIMESTAMP('2008-09-06 20:05:55','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:05:56 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56343 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:07:09 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56344,524,0,28,53147,'Processing',TO_TIMESTAMP('2008-09-06 20:07:03','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Process Now',0,TO_TIMESTAMP('2008-09-06 20:07:03','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:07:09 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56344 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:07:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56345,630,0,10,53147,'WhereClause',TO_TIMESTAMP('2008-09-06 20:07:53','YYYY-MM-DD HH24:MI:SS'),100,'Fully qualified SQL WHERE clause','D',255,'The Where Clause indicates the SQL WHERE clause to use for record selection. The WHERE clause is added to the query. Fully qualified means "tablename.columnname".','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Sql WHERE',0,TO_TIMESTAMP('2008-09-06 20:07:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:07:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56345 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:10:43 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56346,126,0,19,53147,'AD_Table_ID',TO_TIMESTAMP('2008-09-06 20:10:37','YYYY-MM-DD HH24:MI:SS'),100,'Database Table information','D',10,'The Database Table provides the information of the table definition','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Table',0,TO_TIMESTAMP('2008-09-06 20:10:37','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 6, 2008 8:10:43 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56346 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 6, 2008 8:10:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +CREATE TABLE AD_HouseKeeping (AD_Client_ID NUMERIC(10) DEFAULT NULL NOT NULL, AD_HouseKeeping_ID NUMERIC(10) NOT NULL, AD_Org_ID NUMERIC(10) DEFAULT NULL NOT NULL, AD_Table_ID NUMERIC(10) NOT NULL, BackupFolder VARCHAR(255), Created TIMESTAMP NOT NULL, CreatedBy NUMERIC(10) NOT NULL, Description VARCHAR(255), Help VARCHAR(2000), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, IsExportXMLBackup CHAR(1) CHECK (IsExportXMLBackup IN ('Y','N')), IsSaveInHistoric CHAR(1) CHECK (IsSaveInHistoric IN ('Y','N')), LastDeleted NUMERIC(10), LastRun TIMESTAMP, Name VARCHAR(60) NOT NULL, Processing CHAR(1), Updated TIMESTAMP NOT NULL, UpdatedBy NUMERIC(10) NOT NULL, Value VARCHAR(40) NOT NULL, WhereClause VARCHAR(255), CONSTRAINT AD_HouseKeeping_Key PRIMARY KEY (AD_HouseKeeping_ID)) +; + +-- Sep 6, 2008 8:12:13 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType,WinHeight,WinWidth) VALUES (0,0,53063,TO_TIMESTAMP('2008-09-06 20:12:10','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','Y','House Keeping','N',TO_TIMESTAMP('2008-09-06 20:12:10','YYYY-MM-DD HH24:MI:SS'),100,'M',0,0) +; + +-- Sep 6, 2008 8:12:13 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53063 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID) +; + +-- Sep 6, 2008 8:12:13 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50002,53063,TO_TIMESTAMP('2008-09-06 20:12:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:12:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:12:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53063,TO_TIMESTAMP('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:12:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53063,TO_TIMESTAMP('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:12:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53063,TO_TIMESTAMP('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:12:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53063,TO_TIMESTAMP('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:12:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:13:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53178,53147,53063,TO_TIMESTAMP('2008-09-06 20:13:39','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','Y','N','N','House Keeping','N',10,0,TO_TIMESTAMP('2008-09-06 20:13:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:13:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53178 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- Sep 6, 2008 8:14:05 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56333,56353,0,53178,TO_TIMESTAMP('2008-09-06 20:13:58','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_TIMESTAMP('2008-09-06 20:13:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:05 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56353 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56340,56354,0,53178,TO_TIMESTAMP('2008-09-06 20:14:05','YYYY-MM-DD HH24:MI:SS'),100,'Backup Folder',255,'D','Y','Y','Y','N','N','N','N','N','Backup Folder',TO_TIMESTAMP('2008-09-06 20:14:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56354 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56327,56355,0,53178,TO_TIMESTAMP('2008-09-06 20:14:14','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_TIMESTAMP('2008-09-06 20:14:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56355 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:20 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56332,56356,0,53178,TO_TIMESTAMP('2008-09-06 20:14:15','YYYY-MM-DD HH24:MI:SS'),100,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','N','Comment/Help',TO_TIMESTAMP('2008-09-06 20:14:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:21 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56356 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56331,56357,0,53178,TO_TIMESTAMP('2008-09-06 20:14:21','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_TIMESTAMP('2008-09-06 20:14:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56357 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:25 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56341,56358,0,53178,TO_TIMESTAMP('2008-09-06 20:14:24','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Expor tXML Backup',TO_TIMESTAMP('2008-09-06 20:14:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:25 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56358 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56334,56359,0,53178,TO_TIMESTAMP('2008-09-06 20:14:25','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','House Keeping Configuration',TO_TIMESTAMP('2008-09-06 20:14:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56359 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56339,56360,0,53178,TO_TIMESTAMP('2008-09-06 20:14:30','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','Last Deleted',TO_TIMESTAMP('2008-09-06 20:14:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56360 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:34 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56343,56361,0,53178,TO_TIMESTAMP('2008-09-06 20:14:30','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','Last Run',TO_TIMESTAMP('2008-09-06 20:14:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:34 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56361 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56335,56362,0,53178,TO_TIMESTAMP('2008-09-06 20:14:34','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_TIMESTAMP('2008-09-06 20:14:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56362 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:45 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56328,56363,0,53178,TO_TIMESTAMP('2008-09-06 20:14:42','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_TIMESTAMP('2008-09-06 20:14:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:46 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56363 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56344,56364,0,53178,TO_TIMESTAMP('2008-09-06 20:14:46','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_TIMESTAMP('2008-09-06 20:14:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56364 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:55 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56342,56365,0,53178,TO_TIMESTAMP('2008-09-06 20:14:52','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Save In Historic',TO_TIMESTAMP('2008-09-06 20:14:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:55 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56365 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:14:58 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56338,56366,0,53178,TO_TIMESTAMP('2008-09-06 20:14:55','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',40,'D','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_TIMESTAMP('2008-09-06 20:14:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:14:58 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56366 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:15:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56345,56367,0,53178,TO_TIMESTAMP('2008-09-06 20:14:58','YYYY-MM-DD HH24:MI:SS'),100,'Fully qualified SQL WHERE clause',255,'D','The Where Clause indicates the SQL WHERE clause to use for record selection. The WHERE clause is added to the query. Fully qualified means "tablename.columnname".','Y','Y','Y','N','N','N','N','N','Sql WHERE',TO_TIMESTAMP('2008-09-06 20:14:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:15:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56367 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:15:01 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56346,56368,0,53178,TO_TIMESTAMP('2008-09-06 20:15:01','YYYY-MM-DD HH24:MI:SS'),100,'Database Table information',10,'D','The Database Table provides the information of the table definition','Y','Y','Y','N','N','N','N','N','Table',TO_TIMESTAMP('2008-09-06 20:15:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:15:01 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56368 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56355 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56363 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56366 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56362 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56357 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56356 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56368 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56367 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56365 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56358 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56354 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56364 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56361 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56360 +; + +-- Sep 6, 2008 8:16:54 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56353 +; + +-- Sep 6, 2008 8:17:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET Name='Expor XML Backup',Updated=TO_TIMESTAMP('2008-09-06 20:17:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56341 +; + +-- Sep 6, 2008 8:17:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56341 +; + +-- Sep 6, 2008 8:17:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET Name='Expor XML Backup', Description=NULL, Help=NULL WHERE AD_Column_ID=56341 AND IsCentrallyMaintained='Y' +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Element SET Name='Export XML Backup',Updated=TO_TIMESTAMP('2008-09-06 20:18:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53683 +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53683 +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET ColumnName='IsExportXMLBackup', Name='Export XML Backup', Description=NULL, Help=NULL WHERE AD_Element_ID=53683 +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process_Para SET ColumnName='IsExportXMLBackup', Name='Export XML Backup', Description=NULL, Help=NULL, AD_Element_ID=53683 WHERE UPPER(ColumnName)='ISEXPORTXMLBACKUP' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Sep 6, 2008 8:18:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process_Para SET ColumnName='IsExportXMLBackup', Name='Export XML Backup', Description=NULL, Help=NULL WHERE AD_Element_ID=53683 AND IsCentrallyMaintained='Y' +; + +-- Sep 6, 2008 8:18:20 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET Name='Export XML Backup', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53683) AND IsCentrallyMaintained='Y' +; + +-- Sep 6, 2008 8:18:20 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_PrintFormatItem SET PrintName='Export XML Backup', Name='Export XML Backup' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53683) +; + +-- Sep 6, 2008 8:18:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-09-06 20:18:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56363 +; + +-- Sep 6, 2008 8:19:20 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET DisplayLength=20,Updated=TO_TIMESTAMP('2008-09-06 20:19:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56366 +; + +-- Sep 6, 2008 8:21:45 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET DisplayLogic='@IsExportXMLBackup@=Y',Updated=TO_TIMESTAMP('2008-09-06 20:21:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56354 +; + +-- Sep 6, 2008 8:22:02 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-09-06 20:22:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56360 +; + +-- Sep 6, 2008 8:23:21 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Menu ("action",AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('W',0,53191,0,53063,TO_TIMESTAMP('2008-09-06 20:23:20','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','House Keeping',TO_TIMESTAMP('2008-09-06 20:23:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:23:21 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53191 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Sep 6, 2008 8:23:21 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53191, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53191) +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 6, 2008 8:23:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 6, 2008 8:23:53 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 6, 2008 8:25:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('7',0,0,53154,'org.adempiere.process.HouseKeeping',TO_TIMESTAMP('2008-09-06 20:25:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','HouseKeeping','Y',0,0,TO_TIMESTAMP('2008-09-06 20:25:38','YYYY-MM-DD HH24:MI:SS'),100,'10000000') +; + +-- Sep 6, 2008 8:25:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53154 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,50002,TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,0,TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,102,TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,103,TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:25:41 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53154,50001,TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:26:29 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53680,0,53154,53257,19,'AD_HouseKeeping_ID',TO_TIMESTAMP('2008-09-06 20:26:28','YYYY-MM-DD HH24:MI:SS'),100,'D',0,'Y','Y','N','N','AD_HouseKeeping_ID',10,TO_TIMESTAMP('2008-09-06 20:26:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:26:29 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53257 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Sep 6, 2008 8:26:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET AccessLevel='4',Updated=TO_TIMESTAMP('2008-09-06 20:26:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53154 +; + +-- Sep 6, 2008 8:27:38 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('4',0,0,53155,TO_TIMESTAMP('2008-09-06 20:27:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','House Keeping','Y',0,0,TO_TIMESTAMP('2008-09-06 20:27:38','YYYY-MM-DD HH24:MI:SS'),100,'10000001') +; + +-- Sep 6, 2008 8:27:38 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53155 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,50002,TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,0,TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,102,TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,103,TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53155,50001,TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-09-06 20:27:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:27:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET Classname='org.adempiere.process.HouseKeeping',Updated=TO_TIMESTAMP('2008-09-06 20:27:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53155 +; + +-- Sep 6, 2008 8:29:26 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Menu ("action",AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('P',0,53192,0,53154,TO_TIMESTAMP('2008-09-06 20:29:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','House Keeping',TO_TIMESTAMP('2008-09-06 20:29:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 6, 2008 8:29:26 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53192 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Sep 6, 2008 8:29:26 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53192, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53192) +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53192 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 6, 2008 8:29:37 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 6, 2008 8:33:06 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET AD_Process_ID=53155,Updated=TO_TIMESTAMP('2008-09-06 20:33:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56344 +; + +-- Sep 6, 2008 8:38:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET Value='HouseKeeping',Updated=TO_TIMESTAMP('2008-09-06 20:38:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53154 +; + +-- Sep 6, 2008 8:38:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET Value='HouseKeepingPara',Updated=TO_TIMESTAMP('2008-09-06 20:38:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53154 +; + +-- Sep 6, 2008 8:38:40 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process SET Value='HouseKeeping',Updated=TO_TIMESTAMP('2008-09-06 20:38:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53155 +; + +-- Sep 6, 2008 8:39:06 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-09-06 20:39:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 +; + +-- Sep 6, 2008 8:39:14 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53192 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 6, 2008 8:39:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53192 +; + +-- Sep 6, 2008 8:39:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 6, 2008 8:39:17 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 6, 2008 8:39:17 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 6, 2008 8:39:17 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 6, 2008 8:39:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:39:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56355 +; + +-- Sep 6, 2008 8:40:02 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56363 +; + +-- Sep 6, 2008 8:40:05 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56366 +; + +-- Sep 6, 2008 8:40:07 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56362 +; + +-- Sep 6, 2008 8:40:10 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56357 +; + +-- Sep 6, 2008 8:40:23 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56356 +; + +-- Sep 6, 2008 8:40:26 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56368 +; + +-- Sep 6, 2008 8:40:28 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56367 +; + +-- Sep 6, 2008 8:40:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56365 +; + +-- Sep 6, 2008 8:40:32 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56358 +; + +-- Sep 6, 2008 8:40:34 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56354 +; + +-- Sep 6, 2008 8:40:36 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56364 +; + +-- Sep 6, 2008 8:40:39 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56361 +; + +-- Sep 6, 2008 8:40:42 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56360 +; + +-- Sep 6, 2008 8:40:45 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:40:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56353 +; + +-- Sep 6, 2008 8:41:47 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:41:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56327 +; + +-- Sep 6, 2008 8:41:59 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D', IsUpdateable='N',Updated=TO_TIMESTAMP('2008-09-06 20:41:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56334 +; + +-- Sep 6, 2008 8:42:03 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56328 +; + +-- Sep 6, 2008 8:42:12 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56346 +; + +-- Sep 6, 2008 8:42:16 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56340 +; + +-- Sep 6, 2008 8:42:19 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56329 +; + +-- Sep 6, 2008 8:42:24 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56330 +; + +-- Sep 6, 2008 8:42:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56331 +; + +-- Sep 6, 2008 8:42:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56332 +; + +-- Sep 6, 2008 8:42:33 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56333 +; + +-- Sep 6, 2008 8:42:46 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56341 +; + +-- Sep 6, 2008 8:42:49 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56342 +; + +-- Sep 6, 2008 8:42:52 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56339 +; + +-- Sep 6, 2008 8:42:57 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56343 +; + +-- Sep 6, 2008 8:43:00 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56335 +; + +-- Sep 6, 2008 8:43:04 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:43:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56344 +; + +-- Sep 6, 2008 8:43:09 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:43:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56336 +; + +-- Sep 6, 2008 8:43:11 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:43:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56337 +; + +-- Sep 6, 2008 8:43:15 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:43:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56338 +; + +-- Sep 6, 2008 8:43:18 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-06 20:43:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56345 +; + +-- Sep 6, 2008 8:43:27 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-06 20:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56360 +; + +-- Sep 6, 2008 8:43:30 PM COT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-06 20:43:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56361 +; + diff --git a/migration/352a-trunk/postgresql/292_BF2112805_Cost_Element.sql b/migration/352a-trunk/postgresql/292_BF2112805_Cost_Element.sql new file mode 100644 index 0000000000..cbd92815d0 --- /dev/null +++ b/migration/352a-trunk/postgresql/292_BF2112805_Cost_Element.sql @@ -0,0 +1,45 @@ +-- Sep 15, 2008 12:51:48 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET ColumnName='M_CostElement_ID', AD_Element_ID=2700, Description='Product Cost Element', Help=NULL, FieldLength=22, IsActive='Y', Name='Cost Element',Updated=TO_TIMESTAMP('2008-09-15 12:51:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53091 +; + +-- Sep 15, 2008 12:51:48 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53091 +; + +-- Sep 15, 2008 12:53:09 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET ColumnName='M_Product_Category_ID', AD_Element_ID=453, Description='Category of a Product', Help='Identifies the category which this product belongs to. Product categories are used for pricing and selection.', IsActive='Y', Name='Product Category',Updated=TO_TIMESTAMP('2008-09-15 12:53:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53088 +; + +-- Sep 15, 2008 12:53:09 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53088 +; + +-- Sep 15, 2008 12:55:19 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2008-09-15 12:55:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53093 +; + +-- Sep 15, 2008 12:55:25 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-09-15 12:55:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53091 +; + +-- Sep 15, 2008 12:55:34 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2008-09-15 12:55:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53092 +; + +-- Sep 15, 2008 12:55:41 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2008-09-15 12:55:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53092 +; + +-- Sep 15, 2008 12:55:49 PM CDT +-- Fix Cost Parameter +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2008-09-15 12:55:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53088 +; + diff --git a/migration/352a-trunk/postgresql/293_PP_SetWindows.sql b/migration/352a-trunk/postgresql/293_PP_SetWindows.sql new file mode 100644 index 0000000000..c07f336bb5 --- /dev/null +++ b/migration/352a-trunk/postgresql/293_PP_SetWindows.sql @@ -0,0 +1,85 @@ +-- Sep 17, 2008 8:53:11 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53018,Updated=TO_TIMESTAMP('2008-09-17 08:53:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53060 +; + +-- Sep 17, 2008 8:53:25 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53018,Updated=TO_TIMESTAMP('2008-09-17 08:53:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53061 +; + +-- Sep 17, 2008 8:53:36 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53012,Updated=TO_TIMESTAMP('2008-09-17 08:53:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53038 +; + +-- Sep 17, 2008 8:53:44 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:53:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53026 +; + +-- Sep 17, 2008 8:53:48 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:53:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53025 +; + +-- Sep 17, 2008 8:53:53 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:53:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53062 +; + +-- Sep 17, 2008 8:53:58 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:53:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53022 +; + +-- Sep 17, 2008 8:54:03 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:54:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53023 +; + +-- Sep 17, 2008 8:54:08 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:54:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53031 +; + +-- Sep 17, 2008 8:54:15 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:54:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53030 +; + +-- Sep 17, 2008 8:54:19 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:54:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53029 +; + +-- Sep 17, 2008 8:54:29 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53009,Updated=TO_TIMESTAMP('2008-09-17 08:54:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53019 +; + +-- Sep 17, 2008 8:54:51 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53007,Updated=TO_TIMESTAMP('2008-09-17 08:54:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53020 +; + +-- Sep 17, 2008 8:55:16 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53006,Updated=TO_TIMESTAMP('2008-09-17 08:55:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53019 +; + +-- Sep 17, 2008 8:55:23 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53005,Updated=TO_TIMESTAMP('2008-09-17 08:55:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53017 +; + +-- Sep 17, 2008 8:55:31 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53005,Updated=TO_TIMESTAMP('2008-09-17 08:55:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53016 +; + +-- Sep 17, 2008 8:55:35 AM EEST +-- +UPDATE AD_Table SET AD_Window_ID=53013,Updated=TO_TIMESTAMP('2008-09-17 08:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53041 +; + diff --git a/migration/352a-trunk/postgresql/294_FR2117145_rv_unposted.sql b/migration/352a-trunk/postgresql/294_FR2117145_rv_unposted.sql new file mode 100644 index 0000000000..c7e4c78012 --- /dev/null +++ b/migration/352a-trunk/postgresql/294_FR2117145_rv_unposted.sql @@ -0,0 +1,278 @@ +-- Sep 17, 2008 5:24:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56347,1308,0,20,635,'Posted',TO_TIMESTAMP('2008-09-17 17:24:29','YYYY-MM-DD HH24:MI:SS'),100,'Posting status','U',1,'The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','N','N','N','N','N','N','N','N','N','Posted',TO_TIMESTAMP('2008-09-17 17:24:29','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 17, 2008 5:24:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56347 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 17, 2008 5:24:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56348,524,0,20,635,'Processing',TO_TIMESTAMP('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,'U',1,'Y','N','N','N','N','N','N','N','N','N','Process Now',TO_TIMESTAMP('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 17, 2008 5:24:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56348 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 17, 2008 5:24:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56349,1047,0,20,635,'Processed',TO_TIMESTAMP('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','U',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Processed',TO_TIMESTAMP('2008-09-17 17:24:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 17, 2008 5:24:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56349 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 17, 2008 5:24:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56350,289,0,14,635,'DocStatus',TO_TIMESTAMP('2008-09-17 17:24:32','YYYY-MM-DD HH24:MI:SS'),100,'The current status of the document','U',2147483647,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','N','N','N','N','N','Document Status',TO_TIMESTAMP('2008-09-17 17:24:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 17, 2008 5:24:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56350 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 17, 2008 5:24:46 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-17 17:24:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56347 +; + +-- Sep 17, 2008 5:24:54 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-17 17:24:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56349 +; + +-- Sep 17, 2008 5:24:58 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-17 17:24:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56348 +; + +-- Sep 17, 2008 5:25:04 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2008-09-17 17:25:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56350 +; + +-- Sep 17, 2008 5:25:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56350,56369,0,662,TO_TIMESTAMP('2008-09-17 17:25:30','YYYY-MM-DD HH24:MI:SS'),100,'The current status of the document',2147483647,'D','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','N','Document Status',TO_TIMESTAMP('2008-09-17 17:25:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 17, 2008 5:25:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56369 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 17, 2008 5:25:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56347,56370,0,662,TO_TIMESTAMP('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100,'Posting status',1,'D','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','N','N','Posted',TO_TIMESTAMP('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 17, 2008 5:25:31 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56370 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 17, 2008 5:25:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56349,56371,0,662,TO_TIMESTAMP('2008-09-17 17:25:31','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed',1,'D','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','N','Processed',TO_TIMESTAMP('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 17, 2008 5:25:32 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56371 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 17, 2008 5:25:33 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56348,56372,0,662,TO_TIMESTAMP('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_TIMESTAMP('2008-09-17 17:25:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 17, 2008 5:25:33 PM COT +-- Improvements on RV_Unposted +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56372 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 17, 2008 5:26:13 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-09-17 17:26:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56372 +; + +-- Sep 17, 2008 5:26:19 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-09-17 17:26:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369 +; + +-- Sep 17, 2008 5:29:05 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=131, FieldLength=2,Updated=TO_TIMESTAMP('2008-09-17 17:29:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56350 +; + +-- Sep 17, 2008 5:29:35 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-17 17:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56370 +; + +-- Sep 17, 2008 5:29:36 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-17 17:29:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56372 +; + +-- Sep 17, 2008 5:29:38 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-17 17:29:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56371 +; + +-- Sep 17, 2008 5:29:40 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-09-17 17:29:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369 +; + +-- Sep 17, 2008 5:30:52 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56370 +; + +-- Sep 17, 2008 5:30:52 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56372 +; + +-- Sep 17, 2008 5:30:52 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56369 +; + +-- Sep 17, 2008 5:30:52 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56371 +; + +-- Sep 17, 2008 5:31:01 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET DisplayLength=1,Updated=TO_TIMESTAMP('2008-09-17 17:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369 +; + +drop view rv_unposted; + +create or replace view rv_unposted +as + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateDoc, DateAcct, 224 AS AD_Table_ID, + GL_Journal_ID AS Record_ID, 'N' AS IsSOTrx, posted, processing, + processed, docstatus + from GL_JOURNAL + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT pi.AD_Client_ID, pi.AD_Org_ID, pi.Created, pi.CreatedBy, pi.Updated, + pi.UpdatedBy, pi.IsActive, p.NAME || '_' || pi.Line, + pi.MovementDate, pi.MovementDate, 623, pi.C_ProjectIssue_ID, 'N', + posted, pi.processing, pi.processed, 'CO' as DocStatus + from C_PROJECTISSUE pi INNER JOIN C_PROJECT p + ON (pi.C_Project_ID = p.C_Project_ID) + WHERE Posted <> 'Y' --AND DocStatus<>'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateInvoiced, DateAcct, 318, C_Invoice_ID, + IsSOTrx, posted, processing, processed, docstatus + from C_INVOICE + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, MovementDate, DateAcct, 319, M_InOut_ID, + IsSOTrx, posted, processing, processed, docstatus + from M_INOUT + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, MovementDate, MovementDate, 321, + M_Inventory_ID, 'N', posted, processing, processed, docstatus + from M_INVENTORY + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, MovementDate, MovementDate, 323, + M_Movement_ID, 'N', posted, processing, processed, docstatus + from M_MOVEMENT + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, NAME, MovementDate, MovementDate, 325, M_Production_ID, + 'N', posted, processing, processed, 'CO' as docstatus + from M_PRODUCTION + WHERE Posted <> 'Y' -- AND DocStatus<>'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, NAME, StatementDate, DateAcct, 407, C_Cash_ID, 'N', + posted, processing, processed, docstatus + from C_CASH + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateTrx, DateTrx, 335, C_Payment_ID, 'N', + posted, processing, processed, docstatus + from C_PAYMENT + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateTrx, DateTrx, 735, C_AllocationHdr_ID, + 'N', posted, processing, processed, docstatus + from C_ALLOCATIONHDR + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, NAME, StatementDate, StatementDate, 392, + C_BankStatement_ID, 'N', posted, processing, processed, docstatus + from C_BANKSTATEMENT + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateTrx, DateTrx, 472, M_MatchInv_ID, 'N', + posted, processing, processed, 'CO' as docstatus + from M_MATCHINV + WHERE Posted <> 'Y' --AND DocStatus<>'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateTrx, DateTrx, 473, M_MatchPO_ID, 'N', + posted, processing, processed, 'CO' as docstatus + from M_MATCHPO + WHERE Posted <> 'Y' --AND DocStatus<>'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateOrdered, DateAcct, 259, C_Order_ID, + IsSOTrx, posted, processing, processed, docstatus + from C_ORDER + WHERE Posted <> 'Y' AND DocStatus <> 'VO' + UNION + SELECT AD_Client_ID, AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, + IsActive, DocumentNo, DateRequired, DateRequired, 702, + M_Requisition_ID, 'N', posted, processing, processed, docstatus + from M_REQUISITION + WHERE Posted <> 'Y' AND DocStatus <> 'VO' +; + +-- Sep 17, 2008 5:35:27 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-09-17 17:35:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56369 +; + +-- Sep 17, 2008 5:35:29 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-09-17 17:35:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56371 +; + +-- Sep 17, 2008 5:39:38 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=234,Updated=TO_TIMESTAMP('2008-09-17 17:39:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56347 +; + +-- Sep 17, 2008 5:40:00 PM COT +-- Improvements on RV_Unposted +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56370 +; + diff --git a/migration/352a-trunk/postgresql/295_BF2117416.sql b/migration/352a-trunk/postgresql/295_BF2117416.sql new file mode 100644 index 0000000000..c1b75f2fcd --- /dev/null +++ b/migration/352a-trunk/postgresql/295_BF2117416.sql @@ -0,0 +1,52 @@ +CREATE OR REPLACE VIEW C_INVOICE_CANDIDATE_V +(AD_CLIENT_ID, AD_ORG_ID, C_BPARTNER_ID, C_ORDER_ID, DOCUMENTNO, + DATEORDERED, C_DOCTYPE_ID, TOTALLINES) +AS +SELECT + o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID, + SUM((l.QtyOrdered-l.QtyInvoiced)*l.PriceActual) AS TotalLines +FROM C_Order o + INNER JOIN C_OrderLine l ON (o.C_Order_ID=l.C_Order_ID) + INNER JOIN C_BPartner bp ON (o.C_BPartner_ID=bp.C_BPartner_ID) + LEFT OUTER JOIN C_InvoiceSchedule si ON (bp.C_InvoiceSchedule_ID=si.C_InvoiceSchedule_ID) +WHERE o.DocStatus IN ('CO','CL','IP') -- Standard Orders are IP + -- not Offers and open Walkin-Receipts + AND o.C_DocType_ID IN (SELECT C_DocType_ID FROM C_DocType + WHERE DocBaseType='SOO' AND DocSubTypeSO NOT IN ('ON','OB','WR')) + -- we need to invoice + AND l.QtyOrdered <> l.QtyInvoiced + -- + AND ( + -- Immediate + o.InvoiceRule='I' + -- Order complete + OR (o.InvoiceRule='O' AND NOT EXISTS (SELECT 1 FROM C_OrderLine zz1 + WHERE zz1.C_Order_ID=o.C_Order_ID AND zz1.QtyOrdered<>zz1.QtyDelivered)) + -- Delivery + OR (o.InvoiceRule='D' AND l.QtyInvoiced<>l.QtyDelivered) + -- Order Schedule, but none defined on Business Partner level + OR (o.InvoiceRule='S' AND bp.C_InvoiceSchedule_ID IS NULL) + -- Schedule defined at BP + OR (o.InvoiceRule='S' AND bp.C_InvoiceSchedule_ID IS NOT NULL AND + ( + -- Daily or none + (si.InvoiceFrequency IS NULL OR si.InvoiceFrequency='D') + -- Weekly + OR (si.InvoiceFrequency='W') + -- Bi-Monthly + OR (si.InvoiceFrequency='T' + AND ((TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff-1 + AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay-1) + OR (TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff+14 + AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay+14)) + ) + -- Monthly + OR (si.InvoiceFrequency='M' + AND TRUNC(o.DateOrdered) <= firstOf(getdate(),'MM')+si.InvoiceDayCutoff-1 -- after cutoff + AND TRUNC(getdate()) >= firstOf(o.DateOrdered,'MM')+si.InvoiceDay-1) -- after invoice day + ) + ) + ) +GROUP BY o.AD_Client_ID, o.AD_Org_ID, o.C_BPartner_ID, o.C_Order_ID, + o.DocumentNo, o.DateOrdered, o.C_DocType_ID; diff --git a/migration/352a-trunk/postgresql/296_FR2002744_ForecastReport.sql b/migration/352a-trunk/postgresql/296_FR2002744_ForecastReport.sql new file mode 100644 index 0000000000..ca55a9b1c4 --- /dev/null +++ b/migration/352a-trunk/postgresql/296_FR2002744_ForecastReport.sql @@ -0,0 +1,2305 @@ +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table SET AD_Window_ID=328, AccessLevel='3', Description='Material Forecast', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Forecast', ReplicationType='L', TableName='M_Forecast',Updated=TO_TIMESTAMP('2008-06-25 22:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=720 +; + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='UpdatedBy', Description='User who updated this records', EntityType='D', Help='The Updated By field indicates the user who updated this record.', IsActive='Y', Name='Updated By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated By',Updated=TO_TIMESTAMP('2008-06-25 22:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=608 +; + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608 +; + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=18 +; + +-- Jun 25, 2008 10:50:47 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_TIMESTAMP('2008-06-25 22:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=110 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11904 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='AD_Org_ID', Description='Organizational entity within client', EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', Name='Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Organization',Updated=TO_TIMESTAMP('2008-06-25 22:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=113 +; + +-- Jun 25, 2008 10:50:48 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113 +; + +-- Jun 25, 2008 10:50:49 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=19 +; + +-- Jun 25, 2008 10:50:49 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19 +; + +-- Jun 25, 2008 10:50:49 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@#AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11917 +; + +-- Jun 25, 2008 10:50:52 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='C_Calendar_ID', Description='Accounting Calendar Name', EntityType='D', Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', IsActive='Y', Name='Calendar', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Calendar',Updated=TO_TIMESTAMP('2008-06-25 22:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=190 +; + +-- Jun 25, 2008 10:50:52 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=190 +; + +-- Jun 25, 2008 10:50:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=190, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Calendar_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Accounting Calendar Name', EntityType='D', FieldLength=22, Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Calendar', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11912 +; + +-- Jun 25, 2008 10:50:55 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='C_Year_ID', Description='Calendar Year', EntityType='D', Help='The Year uniquely identifies an accounting year for a calendar.', IsActive='Y', Name='Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Year',Updated=TO_TIMESTAMP('2008-06-25 22:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=223 +; + +-- Jun 25, 2008 10:50:55 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=223 +; + +-- Jun 25, 2008 10:50:56 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Val_Rule SET Code='C_Year.C_Calendar_ID=@C_Calendar_ID@', Description=NULL, EntityType='D', IsActive='Y', Name='C_Year of Calendar', Type='S',Updated=TO_TIMESTAMP('2008-06-25 22:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=198 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=223, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=198, Callout=NULL, ColumnName='C_Year_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Calendar Year', EntityType='D', FieldLength=22, Help='The Year uniquely identifies an accounting year for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11909 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Created', Description='Date this record was created', EntityType='D', Help='The Created field indicates the date that this record was created.', IsActive='Y', Name='Created', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created',Updated=TO_TIMESTAMP('2008-06-25 22:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=245 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=16 +; + +-- Jun 25, 2008 10:50:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16 +; + +-- Jun 25, 2008 10:50:58 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11907 +; + +-- Jun 25, 2008 10:50:58 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='CreatedBy', Description='User who created this records', EntityType='D', Help='The Created By field indicates the user who created this record.', IsActive='Y', Name='Created By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created By',Updated=TO_TIMESTAMP('2008-06-25 22:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=246 +; + +-- Jun 25, 2008 10:50:58 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246 +; + +-- Jun 25, 2008 10:50:58 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11906 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Description', Description='Optional short description of the record', EntityType='D', Help='A description is limited to 255 characters.', IsActive='Y', Name='Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Description',Updated=TO_TIMESTAMP('2008-06-25 22:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=275 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=275 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=10 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Optional short description of the record', EntityType='D', FieldLength=255, Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11911 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Help', Description='Comment or Hint', EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', IsActive='Y', Name='Comment/Help', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Comment',Updated=TO_TIMESTAMP('2008-06-25 22:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=326 +; + +-- Jun 25, 2008 10:50:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=326 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=326, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Help', ColumnSQL=NULL, DefaultValue=NULL, Description='Comment or Hint', EntityType='D', FieldLength=2000, Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Comment/Help', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11905 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='IsActive', Description='The record is active in the system', EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', IsActive='Y', Name='Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Active',Updated=TO_TIMESTAMP('2008-06-25 22:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=348 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=20 +; + +-- Jun 25, 2008 10:51:00 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20 +; + +-- Jun 25, 2008 10:51:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11913 +; + +-- Jun 25, 2008 10:51:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='IsDefault', Description='Default value', EntityType='D', Help='The Default Checkbox indicates if this record will be used as a default value.', IsActive='Y', Name='Default', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Default',Updated=TO_TIMESTAMP('2008-06-25 22:51:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1103 +; + +-- Jun 25, 2008 10:51:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1103 +; + +-- Jun 25, 2008 10:51:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=1103, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDefault', ColumnSQL=NULL, DefaultValue=NULL, Description='Default value', EntityType='D', FieldLength=1, Help='The Default Checkbox indicates if this record will be used as a default value.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Default', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11915 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_Forecast_ID', Description='Material Forecast', EntityType='D', Help='Material Forecast', IsActive='Y', Name='Forecast', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Forecast',Updated=TO_TIMESTAMP('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2498 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2498 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=13 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=2498, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_Forecast_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Material Forecast', EntityType='D', FieldLength=22, Help='Material Forecast', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Forecast', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11918 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_PriceList_ID', Description='Unique identifier of a Price List', EntityType='D', Help='Price Lists are used to determine the pricing, margin and cost of items purchased or sold.', IsActive='Y', Name='Price List', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Price List',Updated=TO_TIMESTAMP('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=449 +; + +-- Jun 25, 2008 10:51:02 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=449 +; + +-- Jun 25, 2008 10:51:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56112,449,0,19,720,'M_PriceList_ID',TO_TIMESTAMP('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),0,'Unique identifier of a Price List','EE01',22,'Price Lists are used to determine the pricing, margin and cost of items purchased or sold.','Y','N','N','N','N','N','N','N','Y','N','Y','Price List',TO_TIMESTAMP('2008-06-25 22:51:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56112 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:11 PM CDT +-- Default comment for updating dictionary +ALTER TABLE M_Forecast ADD COLUMN M_PriceList_ID NUMERIC(10) +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='AD_Client_ID', Description='Client/Tenant for this installation.', EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', IsActive='Y', Name='Client', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Client',Updated=TO_TIMESTAMP('2008-06-25 22:51:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=102 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@#AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11910 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Processing', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Process Now', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Process Now',Updated=TO_TIMESTAMP('2008-06-25 22:51:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=524 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:51:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=28 +; + +-- Jun 25, 2008 10:51:12 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28 +; + +-- Jun 25, 2008 10:51:13 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Processing', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, EntityType='D', FieldLength=1, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Process Now', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11916 +; + +-- Jun 25, 2008 10:51:13 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=11916 AND IsCentrallyMaintained='Y' +; + +-- Jun 25, 2008 10:51:13 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Updated', Description='Date this record was updated', EntityType='D', Help='The Updated field indicates the date that this record was updated.', IsActive='Y', Name='Updated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated',Updated=TO_TIMESTAMP('2008-06-25 22:51:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=607 +; + +-- Jun 25, 2008 10:51:13 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607 +; + +-- Jun 25, 2008 10:51:14 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11914 +; + +-- Jun 25, 2008 10:51:14 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Name', Description='Alphanumeric identifier of the entity', EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', IsActive='Y', Name='Name', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Name',Updated=TO_TIMESTAMP('2008-06-25 22:51:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=469 +; + +-- Jun 25, 2008 10:51:14 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=469 +; + +-- Jun 25, 2008 10:51:14 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=720, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Alphanumeric identifier of the entity', EntityType='D', FieldLength=60, Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Name', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11908 +; + +-- Jun 25, 2008 10:51:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Tab SET AD_Table_ID=720, AD_Window_ID=328, CommitWarning=NULL, Description='Material Forecast', EntityType='D', HasTree='N', Help='Material Forecast', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Forecast', OrderByClause=NULL, Processing='N', SeqNo=10, TabLevel=0, WhereClause=NULL,Updated=TO_TIMESTAMP('2008-06-25 22:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=653 +; + +-- Jun 25, 2008 10:51:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=653 +; + +-- Jun 25, 2008 10:51:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11918, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Material Forecast', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Material Forecast', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Forecast', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10300 +; + +-- Jun 25, 2008 10:51:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11910, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10293 +; + +-- Jun 25, 2008 10:51:16 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11917, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10299 +; + +-- Jun 25, 2008 10:51:16 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11908, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Alphanumeric identifier of the entity', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=40, SortNo=1,Updated=TO_TIMESTAMP('2008-06-25 22:51:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10291 +; + +-- Jun 25, 2008 10:51:16 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11911, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Optional short description of the record', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='A description is limited to 255 characters.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=50, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10294 +; + +-- Jun 25, 2008 10:51:17 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11905, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Comment or Hint', DisplayLength=60, DisplayLogic=NULL, EntityType='D', Help='The Help field contains a hint, comment or help about the use of this item.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10290 +; + +-- Jun 25, 2008 10:51:17 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11913, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10296 +; + +-- Jun 25, 2008 10:51:17 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11915, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Default value', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='The Default Checkbox indicates if this record will be used as a default value.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Default', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10297 +; + +-- Jun 25, 2008 10:51:18 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11912, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Accounting Calendar Name', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Calendar', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10295 +; + +-- Jun 25, 2008 10:51:18 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11909, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description='Calendar Year', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The Year uniquely identifies an accounting year for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Year', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10292 +; + +-- Jun 25, 2008 10:51:18 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11916, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=653, AD_Val_Rule_ID=NULL, Description=NULL, DisplayLength=23, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Process Now', SeqNo=110, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10298 +; + +-- Jun 25, 2008 10:51:18 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10298 +; + +-- Jun 25, 2008 10:51:19 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table SET AD_Window_ID=328, AccessLevel='3', Description='Forecast Line', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Forecast Line', ReplicationType='L', TableName='M_ForecastLine',Updated=TO_TIMESTAMP('2008-06-25 22:51:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=722 +; + +-- Jun 25, 2008 10:51:19 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UpdatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who updated this records', EntityType='D', FieldLength=22, Help='The Updated By field indicates the user who updated this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11933 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='@AD_Org_ID@', Description='Organizational entity within client', EntityType='D', FieldLength=22, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11937 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='QtyCalculated', Description='Calculated Quantity', EntityType='D', Help=NULL, IsActive='Y', Name='Calculated Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Calculated Qty',Updated=TO_TIMESTAMP('2008-06-25 22:51:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2500 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2500 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:51:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=29 +; + +-- Jun 25, 2008 10:51:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29 +; + +-- Jun 25, 2008 10:51:21 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=2500, AD_Process_ID=NULL, AD_Reference_ID=29, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='QtyCalculated', ColumnSQL=NULL, DefaultValue=NULL, Description='Calculated Quantity', EntityType='D', FieldLength=22, Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Calculated Quantity', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11959 +; + +-- Jun 25, 2008 10:51:21 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET Name='Calculated Quantity', Description='Calculated Quantity', Help=NULL WHERE AD_Column_ID=11959 AND IsCentrallyMaintained='Y' +; + +-- Jun 25, 2008 10:51:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56113,1063,0,18,722,'SalesRep_ID',TO_TIMESTAMP('2008-06-25 22:51:21','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent','EE01',22,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','Y','N','Y','Sales Representative',TO_TIMESTAMP('2008-06-25 22:51:21','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56113 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:22 PM CDT +-- Default comment for updating dictionary +ALTER TABLE M_ForecastLine ADD COLUMN SalesRep_ID NUMERIC(10) +; + +-- Jun 25, 2008 10:51:22 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Updated', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was updated', EntityType='D', FieldLength=7, Help='The Updated field indicates the date that this record was updated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Updated', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11931 +; + +-- Jun 25, 2008 10:51:23 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Client_ID', ColumnSQL=NULL, DefaultValue='@AD_Client_ID@', Description='Client/Tenant for this installation.', EntityType='D', FieldLength=22, Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Client', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11935 +; + +-- Jun 25, 2008 10:51:23 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Created', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this record was created', EntityType='D', FieldLength=7, Help='The Created field indicates the date that this record was created.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11932 +; + +-- Jun 25, 2008 10:51:24 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreatedBy', ColumnSQL=NULL, DefaultValue=NULL, Description='User who created this records', EntityType='D', FieldLength=22, Help='The Created By field indicates the user who created this record.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Created By', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11936 +; + +-- Jun 25, 2008 10:51:24 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsActive', ColumnSQL=NULL, DefaultValue='Y', Description='The record is active in the system', EntityType='D', FieldLength=1, Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Active', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11940 +; + +-- Jun 25, 2008 10:51:24 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_ForecastLine_ID', Description='Forecast Line', EntityType='D', Help='Forecast of Product Qyantity by Period', IsActive='Y', Name='Forecast Line', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Forecast Line',Updated=TO_TIMESTAMP('2008-06-25 22:51:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2499 +; + +-- Jun 25, 2008 10:51:24 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2499 +; + +-- Jun 25, 2008 10:51:25 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=2499, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_ForecastLine_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Forecast Line', EntityType='D', FieldLength=22, Help='Forecast of Product Qyantity by Period', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Forecast Line', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11942 +; + +-- Jun 25, 2008 10:51:25 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=2498, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_Forecast_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Material Forecast', EntityType='D', FieldLength=22, Help='Material Forecast', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Forecast', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11939 +; + +-- Jun 25, 2008 10:51:25 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Qty', Description='Quantity', EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', IsActive='Y', Name='Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Qty',Updated=TO_TIMESTAMP('2008-06-25 22:51:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=526 +; + +-- Jun 25, 2008 10:51:25 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526 +; + +-- Jun 25, 2008 10:51:26 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=526, AD_Process_ID=NULL, AD_Reference_ID=29, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Qty', ColumnSQL=NULL, DefaultValue=NULL, Description='Quantity', EntityType='D', FieldLength=22, Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Quantity', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11938 +; + +-- Jun 25, 2008 10:51:26 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='C_Period_ID', Description='Period of the Calendar', EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', IsActive='Y', Name='Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Period',Updated=TO_TIMESTAMP('2008-06-25 22:51:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=206 +; + +-- Jun 25, 2008 10:51:26 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=206 +; + +-- Jun 25, 2008 10:51:26 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Val_Rule SET Code='C_Period.C_Year_ID=@C_Year_ID@', Description=NULL, EntityType='D', IsActive='Y', Name='C_Period of Year', Type='S',Updated=TO_TIMESTAMP('2008-06-25 22:51:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=199 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=206, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=199, Callout=NULL, ColumnName='C_Period_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Period of the Calendar', EntityType='D', FieldLength=22, Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Period', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11934 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_Product_ID', Description='Product, Service, Item', EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', IsActive='Y', Name='Product', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product',Updated=TO_TIMESTAMP('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=454 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=454 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=30 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Val_Rule SET Code='M_Product.IsSummary=''N'' AND M_Product.IsActive=''Y''', Description=NULL, EntityType='D', IsActive='Y', Name='M_Product (Trx)', Type='S',Updated=TO_TIMESTAMP('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=231 +; + +-- Jun 25, 2008 10:51:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=454, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=231, Callout=NULL, ColumnName='M_Product_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Product, Service, Item', EntityType='D', FieldLength=22, Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Product', ReadOnlyLogic=NULL, SeqNo=2, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11941 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_Warehouse_ID', Description='Storage Warehouse and Service Point', EntityType='D', Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', IsActive='Y', Name='Warehouse', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Warehouse',Updated=TO_TIMESTAMP('2008-06-25 22:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=459 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=459 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=459, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_Warehouse_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Storage Warehouse and Service Point', EntityType='EE01', FieldLength=22, Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Warehouse', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53411 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='DatePromised', Description='Date Order was promised', EntityType='D', Help='The Date Promised indicates the date, if any, that an Order was promised for.', IsActive='Y', Name='Date Promised', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Date Promised',Updated=TO_TIMESTAMP('2008-06-25 22:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=269 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=269 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:51:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=15 +; + +-- Jun 25, 2008 10:51:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15 +; + +-- Jun 25, 2008 10:51:29 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Column SET AD_Element_ID=269, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=722, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DatePromised', ColumnSQL=NULL, DefaultValue=NULL, Description='Date Order was promised', EntityType='EE01', FieldLength=7, Help='The Date Promised indicates the date, if any, that an Order was promised for.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Date Promised', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53412 +; + +-- Jun 25, 2008 10:51:29 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Tab SET AD_Table_ID=722, AD_Window_ID=328, CommitWarning=NULL, Description='Forecast Line', EntityType='D', HasTree='N', Help='Forecast of Product Qyantity by Period', ImportFields=NULL, IsActive='Y', IsAdvancedTab='N', IsInfoTab='N', IsInsertRecord='Y', IsReadOnly='N', IsSingleRow='N', IsSortTab='N', IsTranslationTab='N', Name='Line', OrderByClause=NULL, Processing='N', SeqNo=20, TabLevel=1, WhereClause=NULL,Updated=TO_TIMESTAMP('2008-06-25 22:51:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=654 +; + +-- Jun 25, 2008 10:51:29 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=654 +; + +-- Jun 25, 2008 10:51:30 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11942, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Forecast Line', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Forecast of Product Qyantity by Period', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='N', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Forecast Line', SeqNo=0, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10302 +; + +-- Jun 25, 2008 10:51:30 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11935, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Client/Tenant for this installation.', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Client', SeqNo=10, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10304 +; + +-- Jun 25, 2008 10:51:30 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11937, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Organizational entity within client', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Organization', SeqNo=20, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10305 +; + +-- Jun 25, 2008 10:51:31 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11939, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Material Forecast', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='Material Forecast', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='N', Name='Forecast', SeqNo=30, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10307 +; + +-- Jun 25, 2008 10:51:31 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11940, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='The record is active in the system', DisplayLength=1, DisplayLogic=NULL, EntityType='D', Help='There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10308 +; + +-- Jun 25, 2008 10:51:31 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11934, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Period of the Calendar', DisplayLength=14, DisplayLogic=NULL, EntityType='D', Help='The Period indicates an exclusive range of dates for a calendar.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Period', SeqNo=50, SortNo=1,Updated=TO_TIMESTAMP('2008-06-25 22:51:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10303 +; + +-- Jun 25, 2008 10:51:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=53411, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Storage Warehouse and Service Point', DisplayLength=22, DisplayLogic=NULL, EntityType='EE01', Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Warehouse', SeqNo=60, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53638 +; + +-- Jun 25, 2008 10:51:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=53412, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Date Order was promised', DisplayLength=7, DisplayLogic=NULL, EntityType='EE01', Help='The Date Promised indicates the date, if any, that an Order was promised for.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='Y', Name='Date Promised', SeqNo=70, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53639 +; + +-- Jun 25, 2008 10:51:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11941, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Product, Service, Item', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Product', SeqNo=80, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10301 +; + +-- Jun 25, 2008 10:51:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11938, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Quantity', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='N', IsSameLine='N', Name='Quantity', SeqNo=90, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10306 +; + +-- Jun 25, 2008 10:51:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET AD_Column_ID=11959, AD_FieldGroup_ID=NULL, AD_Reference_ID=NULL, AD_Reference_Value_ID=NULL, AD_Tab_ID=654, AD_Val_Rule_ID=NULL, Description='Calculated Quantity', DisplayLength=26, DisplayLogic=NULL, EntityType='D', Help=NULL, InfoFactoryClass=NULL, IsActive='Y', IsCentrallyMaintained='Y', IsDisplayed='Y', IsFieldOnly='N', IsHeading='N', IsReadOnly='Y', IsSameLine='Y', Name='Calculated Quantity', SeqNo=100, SortNo=0,Updated=TO_TIMESTAMP('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10310 +; + +-- Jun 25, 2008 10:51:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10310 +; + +-- Jun 25, 2008 10:51:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53142,'3',TO_TIMESTAMP('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),0,'U','Y','N','N','N','N','N','RV_M_Forecast','L','RV_M_Forecast',TO_TIMESTAMP('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53142 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Jun 25, 2008 10:51:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53163,TO_TIMESTAMP('2008-06-25 22:51:34','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table RV_M_Forecast',1,'Y','N','Y','Y','RV_M_Forecast','N',1000000,TO_TIMESTAMP('2008-06-25 22:51:34','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:35 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_ReportView (AD_Client_ID,AD_Org_ID,AD_ReportView_ID,AD_Table_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy) VALUES (0,0,53021,53142,TO_TIMESTAMP('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),0,'Forecast View','EE01','Y','RV_M_Forecast',TO_TIMESTAMP('2008-06-25 22:51:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:35 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table SET AD_Window_ID=NULL, AccessLevel='3', Description=NULL, EntityType='EE01', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='Y', Name='Forecast Report', ReplicationType='L', TableName='RV_M_Forecast',Updated=TO_TIMESTAMP('2008-06-25 22:51:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53142 +; + +-- Jun 25, 2008 10:51:35 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53142 +; + +-- Jun 25, 2008 10:51:36 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56114,469,0,10,53142,'Name',TO_TIMESTAMP('2008-06-25 22:51:35','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','EE01',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','N','N','N','Y','N','N','Name',1,TO_TIMESTAMP('2008-06-25 22:51:35','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:36 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56114 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:36 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56115,113,0,19,53142,'AD_Org_ID',TO_TIMESTAMP('2008-06-25 22:51:36','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','Y','N','N','Organization',TO_TIMESTAMP('2008-06-25 22:51:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:36 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56115 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:37 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56116,190,0,19,53142,'C_Calendar_ID',TO_TIMESTAMP('2008-06-25 22:51:36','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Calendar Name','EE01',10,'The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.','Y','N','N','N','N','N','N','N','Y','N','N','Calendar',TO_TIMESTAMP('2008-06-25 22:51:36','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:37 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56116 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:37 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56117,206,0,19,53142,'C_Period_ID',TO_TIMESTAMP('2008-06-25 22:51:37','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar','EE01',10,'The Period indicates an exclusive range of dates for a calendar.','Y','N','N','N','N','N','N','N','Y','N','N','Period',TO_TIMESTAMP('2008-06-25 22:51:37','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:37 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56117 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:38 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='C_UOM_ID', Description='Unit of Measure', EntityType='D', Help='The UOM defines a unique non monetary Unit of Measure', IsActive='Y', Name='UOM', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UOM',Updated=TO_TIMESTAMP('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=215 +; + +-- Jun 25, 2008 10:51:38 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=215 +; + +-- Jun 25, 2008 10:51:38 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56118,215,0,19,53142,'C_UOM_ID',TO_TIMESTAMP('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure','EE01',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','N','N','N','Y','N','N','UOM',TO_TIMESTAMP('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:38 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56118 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56119,223,0,19,53142,'C_Year_ID',TO_TIMESTAMP('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),0,'Calendar Year','EE01',10,'The Year uniquely identifies an accounting year for a calendar.','Y','N','N','N','N','N','N','N','Y','N','N','Year',TO_TIMESTAMP('2008-06-25 22:51:38','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56119 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Classification', Description='Classification for grouping', EntityType='D', Help='The Classification can be used to optionally group products.', IsActive='Y', Name='Classification', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Classification',Updated=TO_TIMESTAMP('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=852 +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=852 +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56120,852,0,10,53142,'Classification',TO_TIMESTAMP('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),0,'Classification for grouping','EE01',12,'The Classification can be used to optionally group products.','Y','N','N','N','N','N','N','N','Y','N','N','Classification',TO_TIMESTAMP('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:39 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56120 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:40 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56121,269,0,16,53142,'DatePromised',TO_TIMESTAMP('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised','EE01',29,'The Date Promised indicates the date, if any, that an Order was promised for.','Y','N','N','N','N','N','N','N','Y','N','N','Date Promised',TO_TIMESTAMP('2008-06-25 22:51:39','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:40 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56121 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:40 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Group1', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Group1', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Group1',Updated=TO_TIMESTAMP('2008-06-25 22:51:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=52018 +; + +-- Jun 25, 2008 10:51:40 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52018 +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56122,52018,0,10,53142,'Group1',TO_TIMESTAMP('2008-06-25 22:51:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01',255,'Y','N','N','N','N','N','N','N','Y','N','N','Group1',TO_TIMESTAMP('2008-06-25 22:51:40','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56122 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='Group2', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Group2', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Group2',Updated=TO_TIMESTAMP('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=52019 +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52019 +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56123,52019,0,10,53142,'Group2',TO_TIMESTAMP('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),0,'EE01',255,'Y','N','N','N','N','N','N','N','Y','N','N','Group2',TO_TIMESTAMP('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:41 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56123 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56124,2498,0,19,53142,'M_Forecast_ID',TO_TIMESTAMP('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast','EE01',10,'Material Forecast','Y','N','N','N','N','N','N','N','Y','N','N','Forecast',TO_TIMESTAMP('2008-06-25 22:51:41','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56124 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='M_Product_Category_ID', Description='Category of a Product', EntityType='D', Help='Identifies the category which this product belongs to. Product categories are used for pricing and selection.', IsActive='Y', Name='Product Category', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Category',Updated=TO_TIMESTAMP('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=453 +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=453 +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56125,453,0,19,53142,'M_Product_Category_ID',TO_TIMESTAMP('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),0,'Category of a Product','EE01',10,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','N','N','N','N','N','N','N','Y','N','N','Product Category',TO_TIMESTAMP('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:42 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56125 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56126,454,0,19,53142,'M_Product_ID',TO_TIMESTAMP('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','N','Product',TO_TIMESTAMP('2008-06-25 22:51:42','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56126 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='PriceLimit', Description='Lowest price for a product', EntityType='D', Help='The Price Limit indicates the lowest price for a product stated in the Price List Currency.', IsActive='Y', Name='Limit Price', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Limit Price',Updated=TO_TIMESTAMP('2008-06-25 22:51:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=955 +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=955 +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Float Number', EntityType='D', Help=NULL, IsActive='Y', Name='Number', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:51:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=22 +; + +-- Jun 25, 2008 10:51:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=22 +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56127,955,0,22,53142,'PriceLimit',TO_TIMESTAMP('2008-06-25 22:51:43','YYYY-MM-DD HH24:MI:SS'),0,'Lowest price for a product','EE01',131089,'The Price Limit indicates the lowest price for a product stated in the Price List Currency.','Y','N','N','N','N','N','N','N','Y','N','N','Limit Price',TO_TIMESTAMP('2008-06-25 22:51:43','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56127 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='PriceList', Description='List Price', EntityType='D', Help='The List Price is the official List Price in the document currency.', IsActive='Y', Name='List Price', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='List Price',Updated=TO_TIMESTAMP('2008-06-25 22:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=520 +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=520 +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56128,520,0,22,53142,'PriceList',TO_TIMESTAMP('2008-06-25 22:51:44','YYYY-MM-DD HH24:MI:SS'),0,'List Price','EE01',131089,'The List Price is the official List Price in the document currency.','Y','N','N','N','N','N','N','N','Y','N','N','List Price',TO_TIMESTAMP('2008-06-25 22:51:44','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56128 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:44 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element SET ColumnName='PriceStd', Description='Standard Price', EntityType='D', Help='The Standard Price indicates the standard or normal price for a product on this price list', IsActive='Y', Name='Standard Price', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Std Price',Updated=TO_TIMESTAMP('2008-06-25 22:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=957 +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=957 +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56129,957,0,22,53142,'PriceStd',TO_TIMESTAMP('2008-06-25 22:51:45','YYYY-MM-DD HH24:MI:SS'),0,'Standard Price','EE01',131089,'The Standard Price indicates the standard or normal price for a product on this price list','Y','N','N','N','N','N','N','N','Y','N','N','Standard Price',TO_TIMESTAMP('2008-06-25 22:51:45','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56129 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:45 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56130,526,0,29,53142,'Qty',TO_TIMESTAMP('2008-06-25 22:51:45','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',131089,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','N','N','N','Y','N','N','Quantity',TO_TIMESTAMP('2008-06-25 22:51:45','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56130 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56131,2500,0,29,53142,'QtyCalculated',TO_TIMESTAMP('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),0,'Calculated Quantity','EE01',131089,'Y','N','N','N','N','N','N','N','Y','N','N','Calculated Quantity',TO_TIMESTAMP('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56131 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Sales Representative', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User - SalesRep', ValidationType='T',Updated=TO_TIMESTAMP('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=190 +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=190 +; + +-- Jun 25, 2008 10:51:46 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'EXISTS (SELECT * FROM C_BPartner bp WHERE AD_User.C_BPartner_ID=bp.C_BPartner_ID AND bp.IsSalesRep=''Y'') +' WHERE AD_Reference_ID = 190 +; + +-- Jun 25, 2008 10:51:47 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56132,1063,0,18,190,53142,'SalesRep_ID',TO_TIMESTAMP('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent','EE01',10,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','Y','N','N','Sales Representative',TO_TIMESTAMP('2008-06-25 22:51:46','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:47 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56132 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:48 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56133,102,0,19,53142,'AD_Client_ID',TO_TIMESTAMP('2008-06-25 22:51:47','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','N','N','N','Y','N','N','Client',TO_TIMESTAMP('2008-06-25 22:51:47','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:48 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56133 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:49 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53653,0,'total',TO_TIMESTAMP('2008-06-25 22:51:48','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','total','total',TO_TIMESTAMP('2008-06-25 22:51:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:49 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53653 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 25, 2008 10:51:49 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56134,53653,0,22,53142,'total',TO_TIMESTAMP('2008-06-25 22:51:49','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','Y','N','N','total',TO_TIMESTAMP('2008-06-25 22:51:49','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:51:49 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56134 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:51:50 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormat (AD_Client_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFont_ID,AD_PrintFormat_ID,AD_PrintPaper_ID,AD_ReportView_ID,AD_Table_ID,CreateCopy,Created,CreatedBy,FooterMargin,HeaderMargin,IsActive,IsDefault,IsForm,IsStandardHeaderFooter,IsTableBased,Name,Updated,UpdatedBy) VALUES (0,0,100,130,50032,100,53021,53142,NULL,TO_TIMESTAMP('2008-06-25 22:51:49','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y','N','N','Y','Y','Forecast Report',TO_TIMESTAMP('2008-06-25 22:51:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:51:50 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56133,0,50788,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:50','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Compañía','C','F','Compañía',0,0,'N',0,TO_TIMESTAMP('2008-06-25 22:51:50','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:51 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50788 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:51 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56115,0,50789,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:51','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Organización','C','F','Organización',0,0,'N',0,TO_TIMESTAMP('2008-06-25 22:51:51','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:51 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50789 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:52 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56114,0,50790,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:51','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','Y','N','Y','Y','N','N','N','N','N','X',1,0,0,'Nombre','C','F','Nombre',0,1,'N',1,TO_TIMESTAMP('2008-06-25 22:51:51','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:52 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50790 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56131,0,50791,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:52','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Cantidad Calculada','C','F','Cantidad Calculada',0,2,'N',0,TO_TIMESTAMP('2008-06-25 22:51:52','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50791 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56116,0,50792,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:53','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Calendario','C','F','Calendario',0,3,'N',0,TO_TIMESTAMP('2008-06-25 22:51:53','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50792 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56120,0,50793,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:53','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Línea de Producto','C','F','Línea de Producto',0,4,'N',0,TO_TIMESTAMP('2008-06-25 22:51:53','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:53 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50793 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:54 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56121,0,50794,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Fecha Prometida','C','F','F. Prometida',0,6,'N',0,TO_TIMESTAMP('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:54 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50794 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:54 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56124,0,50795,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Pronóstico','C','F','Pronóstico',0,7,'N',0,TO_TIMESTAMP('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:54 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50795 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56122,0,50796,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Group1','C','F','Group1',0,8,'N',0,TO_TIMESTAMP('2008-06-25 22:51:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50796 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56123,0,50797,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:55','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Group2','C','F','Group2',0,9,'N',0,TO_TIMESTAMP('2008-06-25 22:51:55','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50797 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:56 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56127,0,50798,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:55','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Precio Límite','C','F','Precio Límite',0,10,'N',0,TO_TIMESTAMP('2008-06-25 22:51:55','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:56 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50798 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:56 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56128,0,50799,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:56','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Precio de Lista','C','F','Precio de Lista',0,11,'N',0,TO_TIMESTAMP('2008-06-25 22:51:56','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:56 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50799 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:57 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56117,0,50800,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:56','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Período','C','F','Período',0,13,'N',0,TO_TIMESTAMP('2008-06-25 22:51:56','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:57 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50800 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:57 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56126,0,50801,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:57','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Producto','C','F','Producto',0,14,'N',0,TO_TIMESTAMP('2008-06-25 22:51:57','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:57 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50801 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:58 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56125,0,50802,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:57','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Categoría del Producto','C','F','Categoría del Producto',0,15,'N',0,TO_TIMESTAMP('2008-06-25 22:51:57','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:58 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50802 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:58 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56130,0,50803,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:58','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Cantidad','C','F','Cantidad',0,16,'N',0,TO_TIMESTAMP('2008-06-25 22:51:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:58 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50803 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:59 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56129,0,50804,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:58','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Precio Estándar','C','F','Precio Estándar',0,17,'N',0,TO_TIMESTAMP('2008-06-25 22:51:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:59 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50804 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:51:59 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56118,0,50805,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:59','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'UM','C','F','UM',0,18,'N',0,TO_TIMESTAMP('2008-06-25 22:51:59','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:51:59 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50805 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:00 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56119,0,50806,50032,0,0,TO_TIMESTAMP('2008-06-25 22:51:59','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Año','C','F','Año',0,19,'N',0,TO_TIMESTAMP('2008-06-25 22:51:59','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:00 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50806 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:00 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56134,0,50807,50032,0,0,TO_TIMESTAMP('2008-06-25 22:52:00','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'total','C','F','total',0,20,'N',0,TO_TIMESTAMP('2008-06-25 22:52:00','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:00 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50807 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:01 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_ReportView_ID,AccessLevel,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53144,53021,'3',TO_TIMESTAMP('2008-06-25 22:52:00','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Report','EE01','Forecast Report','Y','N','N','Y','Forecast Report','Y',0,0,TO_TIMESTAMP('2008-06-25 22:52:00','YYYY-MM-DD HH24:MI:SS'),0,'RV_M_Forecast',NULL) +; + +-- Jun 25, 2008 10:52:01 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53144 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Jun 25, 2008 10:52:02 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,409,0,53144,53186,18,190,'SalesRep_ID',TO_TIMESTAMP('2008-06-25 22:52:01','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','SalesRep_ID',60,TO_TIMESTAMP('2008-06-25 22:52:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:02 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53186 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:02 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,269,0,53144,53187,15,'DatePromised',TO_TIMESTAMP('2008-06-25 22:52:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01',8,'Y','Y','N','Y','DatePromised',80,TO_TIMESTAMP('2008-06-25 22:52:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:02 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53187 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53144,53188,19,'M_Product_Category_ID',TO_TIMESTAMP('2008-06-25 22:52:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','M_Product_Category_ID',50,TO_TIMESTAMP('2008-06-25 22:52:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53188 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53144,53189,19,'M_Product_ID',TO_TIMESTAMP('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','M_Product_ID',70,TO_TIMESTAMP('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53189 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:03 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Val_Rule SET Code='EXISTS (SELECT * FROM C_Year y WHERE C_Period.C_Year_ID=y.C_Year_ID AND y.C_Calendar_ID=@C_Calendar_ID@)', Description=NULL, EntityType='D', IsActive='Y', Name='C_Period of Calendar', Type='S',Updated=TO_TIMESTAMP('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=217 +; + +-- Jun 25, 2008 10:52:04 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,206,0,53144,53190,19,217,'C_Period_ID',TO_TIMESTAMP('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','C_Period_ID',40,TO_TIMESTAMP('2008-06-25 22:52:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:04 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53190 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:04 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,223,0,53144,53191,19,198,'C_Year_ID',TO_TIMESTAMP('2008-06-25 22:52:04','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','C_Year_ID',30,TO_TIMESTAMP('2008-06-25 22:52:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:04 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53191 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:05 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,190,0,53144,53192,19,'C_Calendar_ID',TO_TIMESTAMP('2008-06-25 22:52:04','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','C_Calendar_ID',20,TO_TIMESTAMP('2008-06-25 22:52:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:05 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53192 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:05 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2498,0,53144,53193,19,'M_Forecast_ID',TO_TIMESTAMP('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','M_Forecast_ID',10,TO_TIMESTAMP('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:05 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53193 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:06 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53143,'3',TO_TIMESTAMP('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0,'U','Y','N','N','N','N','N','RV_M_Forecast_Period','L','RV_M_Forecast_Period',TO_TIMESTAMP('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:06 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53143 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Jun 25, 2008 10:52:07 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53164,TO_TIMESTAMP('2008-06-25 22:52:06','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table RV_M_Forecast_Period',1,'Y','N','Y','Y','RV_M_Forecast_Period','N',1000000,TO_TIMESTAMP('2008-06-25 22:52:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:07 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_ReportView (AD_Client_ID,AD_Org_ID,AD_ReportView_ID,AD_Table_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy) VALUES (0,0,53022,53143,TO_TIMESTAMP('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0,'Forecast for Period View','EE01','Y','RV_M_Forecast_Period',TO_TIMESTAMP('2008-06-25 22:52:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:07 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table SET AD_Window_ID=NULL, AccessLevel='3', Description=NULL, EntityType='EE01', Help=NULL, ImportTable='N', IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='Y', Name='Forecast Report for Period', ReplicationType='L', TableName='RV_M_Forecast_Period',Updated=TO_TIMESTAMP('2008-06-25 22:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53143 +; + +-- Jun 25, 2008 10:52:07 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53143 +; + +-- Jun 25, 2008 10:52:08 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56135,102,0,19,53143,'AD_Client_ID',TO_TIMESTAMP('2008-06-25 22:52:07','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','N','N','N','Y','N','N','Client',TO_TIMESTAMP('2008-06-25 22:52:07','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:08 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56135 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:09 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56136,113,0,19,53143,'AD_Org_ID',TO_TIMESTAMP('2008-06-25 22:52:08','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','Y','N','N','Organization',TO_TIMESTAMP('2008-06-25 22:52:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:09 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56136 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:09 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56137,190,0,19,53143,'C_Calendar_ID',TO_TIMESTAMP('2008-06-25 22:52:09','YYYY-MM-DD HH24:MI:SS'),0,'Accounting Calendar Name','EE01',10,'The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.','Y','N','N','N','N','N','N','N','Y','N','N','Calendar',TO_TIMESTAMP('2008-06-25 22:52:09','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:09 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56137 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:10 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56138,206,0,19,53143,'C_Period_ID',TO_TIMESTAMP('2008-06-25 22:52:09','YYYY-MM-DD HH24:MI:SS'),0,'Period of the Calendar','EE01',10,'The Period indicates an exclusive range of dates for a calendar.','Y','N','N','N','N','N','N','N','Y','N','N','Period',TO_TIMESTAMP('2008-06-25 22:52:09','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:10 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56138 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:10 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56139,215,0,19,53143,'C_UOM_ID',TO_TIMESTAMP('2008-06-25 22:52:10','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure','EE01',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','N','N','N','Y','N','N','UOM',TO_TIMESTAMP('2008-06-25 22:52:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:10 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56139 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56140,223,0,19,53143,'C_Year_ID',TO_TIMESTAMP('2008-06-25 22:52:10','YYYY-MM-DD HH24:MI:SS'),0,'Calendar Year','EE01',10,'The Year uniquely identifies an accounting year for a calendar.','Y','N','N','N','N','N','N','N','Y','N','N','Year',TO_TIMESTAMP('2008-06-25 22:52:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56140 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56141,2498,0,19,53143,'M_Forecast_ID',TO_TIMESTAMP('2008-06-25 22:52:11','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast','EE01',10,'Material Forecast','Y','N','N','N','N','N','N','N','Y','N','N','Forecast',TO_TIMESTAMP('2008-06-25 22:52:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:11 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56141 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:12 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56142,453,0,19,53143,'M_Product_Category_ID',TO_TIMESTAMP('2008-06-25 22:52:11','YYYY-MM-DD HH24:MI:SS'),0,'Category of a Product','EE01',10,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','N','N','N','N','N','N','N','Y','N','N','Product Category',TO_TIMESTAMP('2008-06-25 22:52:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:12 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56142 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56143,454,0,19,53143,'M_Product_ID',TO_TIMESTAMP('2008-06-25 22:52:12','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','N','Product',TO_TIMESTAMP('2008-06-25 22:52:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56143 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56144,526,0,29,53143,'Qty',TO_TIMESTAMP('2008-06-25 22:52:13','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',131089,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','N','N','N','Y','N','N','Quantity',TO_TIMESTAMP('2008-06-25 22:52:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56144 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56145,2500,0,29,53143,'QtyCalculated',TO_TIMESTAMP('2008-06-25 22:52:13','YYYY-MM-DD HH24:MI:SS'),0,'Calculated Quantity','EE01',131089,'Y','N','N','N','N','N','N','N','Y','N','N','Calculated Quantity',TO_TIMESTAMP('2008-06-25 22:52:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:13 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56145 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:14 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56146,1063,0,18,190,53143,'SalesRep_ID',TO_TIMESTAMP('2008-06-25 22:52:14','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent','EE01',10,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','Y','N','N','Sales Representative',TO_TIMESTAMP('2008-06-25 22:52:14','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:14 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56146 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:15 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53654,0,'max',TO_TIMESTAMP('2008-06-25 22:52:14','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','max','max',TO_TIMESTAMP('2008-06-25 22:52:14','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:15 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53654 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 25, 2008 10:52:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference SET Description='Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Text', ValidationType='D',Updated=TO_TIMESTAMP('2008-06-25 22:52:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=14 +; + +-- Jun 25, 2008 10:52:15 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=14 +; + +-- Jun 25, 2008 10:52:16 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56147,53654,0,14,53143,'max',TO_TIMESTAMP('2008-06-25 22:52:15','YYYY-MM-DD HH24:MI:SS'),0,'EE01',2147483647,'Y','N','N','N','N','N','N','N','Y','N','N','max',TO_TIMESTAMP('2008-06-25 22:52:15','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:16 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56147 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:16 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56148,53653,0,22,53143,'total',TO_TIMESTAMP('2008-06-25 22:52:16','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','Y','N','N','total',TO_TIMESTAMP('2008-06-25 22:52:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Jun 25, 2008 10:52:16 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56148 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 25, 2008 10:52:17 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormat (AD_Client_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFont_ID,AD_PrintFormat_ID,AD_PrintPaper_ID,AD_ReportView_ID,AD_Table_ID,CreateCopy,Created,CreatedBy,FooterMargin,HeaderMargin,IsActive,IsDefault,IsForm,IsStandardHeaderFooter,IsTableBased,Name,Updated,UpdatedBy) VALUES (0,0,100,130,50033,100,53022,53143,NULL,TO_TIMESTAMP('2008-06-25 22:52:16','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y','N','N','Y','Y','Forecast Report by Period',TO_TIMESTAMP('2008-06-25 22:52:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:17 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56135,0,50808,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:17','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Client','C','F','Client',0,0,'N',0,TO_TIMESTAMP('2008-06-25 22:52:17','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:17 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50808 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:18 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56136,0,50809,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:17','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Organization','C','F','Organization',0,0,'N',0,TO_TIMESTAMP('2008-06-25 22:52:17','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:18 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50809 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:18 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56145,0,50810,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:18','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Calculated Quantity','C','F','Calculated Qty',0,1,'N',0,TO_TIMESTAMP('2008-06-25 22:52:18','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:18 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50810 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:19 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56137,0,50811,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:18','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Calendar','C','F','Calendar',0,2,'N',0,TO_TIMESTAMP('2008-06-25 22:52:18','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:19 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50811 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:19 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56141,0,50812,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:19','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Forecast','C','F','Forecast',0,4,'N',0,TO_TIMESTAMP('2008-06-25 22:52:19','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:20 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50812 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:20 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56138,0,50813,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:20','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Period','C','F','Period',0,6,'N',0,TO_TIMESTAMP('2008-06-25 22:52:20','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:20 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50813 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:21 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56143,0,50814,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:20','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Product','C','F','Product',0,7,'N',0,TO_TIMESTAMP('2008-06-25 22:52:20','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:21 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50814 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:21 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56142,0,50815,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:21','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Product Category','C','F','Product Category',0,8,'N',0,TO_TIMESTAMP('2008-06-25 22:52:21','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:21 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50815 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56144,0,50816,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:21','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Quantity','C','F','Qty',0,9,'N',0,TO_TIMESTAMP('2008-06-25 22:52:21','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50816 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56139,0,50817,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:22','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'UOM','C','F','UOM',0,10,'N',0,TO_TIMESTAMP('2008-06-25 22:52:22','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:22 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50817 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:23 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56140,0,50818,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:22','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Year','C','F','Year',0,11,'N',0,TO_TIMESTAMP('2008-06-25 22:52:22','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:23 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50818 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:23 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56147,0,50819,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:23','YYYY-MM-DD HH24:MI:SS'),0,'B','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'max','C','F','max',0,12,'N',0,TO_TIMESTAMP('2008-06-25 22:52:23','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:23 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50819 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:24 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCounted,IsDeviationCalc,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56148,0,50820,50033,0,0,TO_TIMESTAMP('2008-06-25 22:52:23','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'total','C','F','total',0,13,'N',0,TO_TIMESTAMP('2008-06-25 22:52:23','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Jun 25, 2008 10:52:24 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50820 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Jun 25, 2008 10:52:25 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_ReportView_ID,AccessLevel,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53146,53022,'3',TO_TIMESTAMP('2008-06-25 22:52:24','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Report by Period','EE01','Forecast Report by Period','Y','N','N','Y','Forecast Report by Period','Y',0,0,TO_TIMESTAMP('2008-06-25 22:52:24','YYYY-MM-DD HH24:MI:SS'),0,'RV_M_Forecast_Period',NULL) +; + +-- Jun 25, 2008 10:52:25 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53146 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Jun 25, 2008 10:52:26 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,409,0,53146,53194,18,190,'SalesRep_ID',TO_TIMESTAMP('2008-06-25 22:52:25','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','SalesRep_ID',70,TO_TIMESTAMP('2008-06-25 22:52:25','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:26 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53194 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:27 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53146,53195,19,'M_Product_ID',TO_TIMESTAMP('2008-06-25 22:52:26','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','M_Product_ID',60,TO_TIMESTAMP('2008-06-25 22:52:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:27 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53195 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:27 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53146,53196,19,'M_Product_Category_ID',TO_TIMESTAMP('2008-06-25 22:52:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','M_Product_Category_ID',50,TO_TIMESTAMP('2008-06-25 22:52:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:27 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53196 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,206,0,53146,53197,19,217,'C_Period_ID',TO_TIMESTAMP('2008-06-25 22:52:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','C_Period_ID',40,TO_TIMESTAMP('2008-06-25 22:52:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53197 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,223,0,53146,53198,19,198,'C_Year_ID',TO_TIMESTAMP('2008-06-25 22:52:28','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','N','N','C_Year_ID',30,TO_TIMESTAMP('2008-06-25 22:52:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53198 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,190,0,53146,53199,19,'C_Calendar_ID',TO_TIMESTAMP('2008-06-25 22:52:28','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','C_Calendar_ID',20,TO_TIMESTAMP('2008-06-25 22:52:28','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:28 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53199 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:29 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2498,0,53146,53200,19,'M_Forecast_ID',TO_TIMESTAMP('2008-06-25 22:52:29','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','M_Forecast_ID',10,TO_TIMESTAMP('2008-06-25 22:52:29','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:29 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53200 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:30 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53148,'3','@script:beanshell:',TO_TIMESTAMP('2008-06-25 22:52:29','YYYY-MM-DD HH24:MI:SS'),0,'Calculate Forecast','EE01','Calculate Forecast','Y','N','N','Y','Calculate Forecast','Y',0,0,TO_TIMESTAMP('2008-06-25 22:52:29','YYYY-MM-DD HH24:MI:SS'),0,'M_Forecast Calculate',NULL) +; + +-- Jun 25, 2008 10:52:30 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53148 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- Jun 25, 2008 10:52:30 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52028,'EventType=''P''',TO_TIMESTAMP('2008-06-25 22:52:30','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','AD_Rule EventType is Process','S',TO_TIMESTAMP('2008-06-25 22:52:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:31 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53332,0,53148,53201,19,52028,'AD_Rule_ID',TO_TIMESTAMP('2008-06-25 22:52:30','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','AD_Rule',20,TO_TIMESTAMP('2008-06-25 22:52:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:31 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53201 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:31 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2498,0,53148,53202,19,'M_Forecast_ID',TO_TIMESTAMP('2008-06-25 22:52:31','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','Y','Y','N','M_Forecast_ID',10,TO_TIMESTAMP('2008-06-25 22:52:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:31 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53202 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jun 25, 2008 10:52:32 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53180,0,TO_TIMESTAMP('2008-06-25 22:52:31','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','N','Y','Forecast Management',TO_TIMESTAMP('2008-06-25 22:52:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:32 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53180 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Jun 25, 2008 10:52:32 PM CDT +-- Default comment for updating dictionary +Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53029,2, 10, 53180) +; + +-- Jun 25, 2008 10:52:32 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TREENODEMM SET Parent_ID = 53180 , SeqNo = 1 WHERE AD_Tree_ID = 10 AND Node_ID = 478 +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Menu SET AD_Process_ID=53144, "action"='R', Description='Forecast Report', EntityType='EE01', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Forecast',Updated=TO_TIMESTAMP('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=478 +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=478 +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TREENODEMM SET Parent_ID = 53180 , SeqNo = 2 WHERE AD_Tree_ID = 10 AND Node_ID = 478 +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53181,0,53146,'R',TO_TIMESTAMP('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),0,'Forecast per Period','EE01','Y','N','N','N','Forecast per Period',TO_TIMESTAMP('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53181 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Jun 25, 2008 10:52:33 PM CDT +-- Default comment for updating dictionary +Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53180,3, 10, 53181) +; + +-- Jun 25, 2008 10:52:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53182,0,53148,'P',TO_TIMESTAMP('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),0,'Calculate Forecast','EE01','Y','N','N','N','Calculate Forecast',TO_TIMESTAMP('2008-06-25 22:52:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:52:34 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53182 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Jun 25, 2008 10:52:34 PM CDT +-- Default comment for updating dictionary +Insert INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 53180,0, 10, 53182) +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:53:54 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:53:57 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:54:01 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:54:04 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53030 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53031 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53180 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53034 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53043 +; + +-- Jun 25, 2008 10:54:06 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53029, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53048 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53083 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53182 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=478 +; + +-- Jun 25, 2008 10:54:43 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53181 +; + +-- Jun 25, 2008 10:56:40 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Menu SET AD_Process_ID=NULL, "action"='W', Description='Forecast',Updated=TO_TIMESTAMP('2008-06-25 22:56:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=478 +; + +-- Jun 25, 2008 10:56:40 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=478 +; + +-- Jun 25, 2008 10:57:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53183,0,53144,'R',TO_TIMESTAMP('2008-06-25 22:57:55','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Report','EE01','Y','N','N','N','Forecast Report',TO_TIMESTAMP('2008-06-25 22:57:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:57:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53183 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Jun 25, 2008 10:57:55 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53183, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53183) +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53083 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53182 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=478 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53183 +; + +-- Jun 25, 2008 10:57:59 PM CDT +-- Default comment for updating dictionary +UPDATE AD_TreeNodeMM SET Parent_ID=53180, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53181 +; + +-- Jun 25, 2008 10:59:06 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56113,56277,0,654,TO_TIMESTAMP('2008-06-25 22:59:05','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent',22,'EE01','The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','Y','Y','N','N','N','N','N','Sales Representative',TO_TIMESTAMP('2008-06-25 22:59:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 10:59:06 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56277 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Jun 25, 2008 11:01:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56277 +; + +-- Jun 25, 2008 11:01:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=10306 +; + +-- Jun 25, 2008 11:01:20 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10310 +; + +-- Jun 25, 2008 11:01:27 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-06-25 23:01:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56277 +; + +-- Jun 25, 2008 11:01:48 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56112,56278,0,653,TO_TIMESTAMP('2008-06-25 23:01:48','YYYY-MM-DD HH24:MI:SS'),0,'Unique identifier of a Price List',22,'EE01','Price Lists are used to determine the pricing, margin and cost of items purchased or sold.','Y','Y','Y','N','N','N','N','N','Price List',TO_TIMESTAMP('2008-06-25 23:01:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jun 25, 2008 11:01:48 PM CDT +-- Default comment for updating dictionary +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56278 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10300 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=10293 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=10299 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=10291 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=10294 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10290 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10296 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=10297 +; + +-- Jun 25, 2008 11:02:11 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56278 +; + +-- Jun 25, 2008 11:02:28 PM CDT +-- Default comment for updating dictionary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-06-25 23:02:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56278 +; diff --git a/migration/352a-trunk/postgresql/297_FR2002744_ForecastFix.sql b/migration/352a-trunk/postgresql/297_FR2002744_ForecastFix.sql new file mode 100644 index 0000000000..851e8a6f52 --- /dev/null +++ b/migration/352a-trunk/postgresql/297_FR2002744_ForecastFix.sql @@ -0,0 +1,451 @@ +-- Jul 8, 2008 6:53:30 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para SET Description='Material Forecast', Name='Forecast',Updated=TO_TIMESTAMP('2008-07-08 18:53:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202 +; + +-- Jul 8, 2008 6:53:30 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53202 +; + +-- Jul 8, 2008 6:53:47 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET Name='Pronostico',Description='Pronostico de Venta',Updated=TO_TIMESTAMP('2008-07-08 18:53:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202 AND AD_Language='es_MX' +; + +-- Jul 8, 2008 6:53:50 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Updated=TO_TIMESTAMP('2008-07-08 18:53:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53202 AND AD_Language='es_MX' +; + +-- Jul 8, 2008 6:54:06 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para SET Name='Rule',Updated=TO_TIMESTAMP('2008-07-08 18:54:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53201 +; + +-- Jul 8, 2008 6:54:06 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53201 +; + +-- Jul 8, 2008 6:54:33 PM CDT +-- Fix Forecast Report +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Regla de C�lculo',Updated=TO_TIMESTAMP('2008-07-08 18:54:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53201 AND AD_Language='es_MX' +; + +-- Jul 8, 2008 7:02:10 PM CDT +-- Forecast +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,453,0,53148,53209,19,'M_Product_Category_ID',TO_TIMESTAMP('2008-07-08 19:01:47','YYYY-MM-DD HH24:MI:SS'),0,'Category of a Product','EE01',22,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','N','N','Product Category',30,TO_TIMESTAMP('2008-07-08 19:01:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jul 8, 2008 7:02:10 PM CDT +-- Forecast +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53209 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jul 8, 2008 7:03:14 PM CDT +-- Forecast +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53148,53210,30,'M_Product_ID',TO_TIMESTAMP('2008-07-08 19:03:12','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',22,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','Product',40,TO_TIMESTAMP('2008-07-08 19:03:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Jul 8, 2008 7:03:14 PM CDT +-- Forecast +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53210 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Jul 8, 2008 7:04:08 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Material Forecast', Help='Material Forecast', Name='Forecast',Updated=TO_TIMESTAMP('2008-07-08 19:04:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53193 +; + +-- Jul 8, 2008 7:04:08 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53193 +; + +-- Jul 8, 2008 7:04:22 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Pronostico',Description='Pronostico',Updated=TO_TIMESTAMP('2008-07-08 19:04:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53193 AND AD_Language='es_MX' +; + +-- Jul 8, 2008 7:04:51 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Accounting Calendar Name', Help='The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.', Name='Calendar',Updated=TO_TIMESTAMP('2008-07-08 19:04:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53192 +; + +-- Jul 8, 2008 7:04:51 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53192 +; + +-- Jul 8, 2008 7:05:27 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Calendar Year', Help='The Year uniquely identifies an accounting year for a calendar.', Name='Year',Updated=TO_TIMESTAMP('2008-07-08 19:05:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53191 +; + +-- Jul 8, 2008 7:05:27 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53191 +; + +-- Jul 8, 2008 7:05:55 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Period of the Calendar', Help='The Period indicates an exclusive range of dates for a calendar.', Name='Period',Updated=TO_TIMESTAMP('2008-07-08 19:05:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53190 +; + +-- Jul 8, 2008 7:05:55 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53190 +; + +-- Jul 8, 2008 7:06:18 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Category of a Product', Help='Identifies the category which this product belongs to. Product categories are used for pricing and selection.', Name='Product Category',Updated=TO_TIMESTAMP('2008-07-08 19:06:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53188 +; + +-- Jul 8, 2008 7:06:18 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53188 +; + +-- Jul 8, 2008 7:07:13 PM CDT +-- Forecast +UPDATE AD_Process_Para SET AD_Element_ID=1063, Description='Sales Representative or Company Agent', Help='The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.', Name='Sales Representative',Updated=TO_TIMESTAMP('2008-07-08 19:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53186 +; + +-- Jul 8, 2008 7:07:13 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53186 +; + +-- Jul 8, 2008 7:07:38 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Product, Service, Item', Help='Identifies an item which is either purchased or sold in this organization.', Name='Product',Updated=TO_TIMESTAMP('2008-07-08 19:07:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53189 +; + +-- Jul 8, 2008 7:07:38 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53189 +; + +-- Jul 8, 2008 7:08:02 PM CDT +-- Forecast +UPDATE AD_Process_Para SET Description='Date Order was promised', Help='The Date Promised indicates the date, if any, that an Order was promised for.', Name='Date Promised',Updated=TO_TIMESTAMP('2008-07-08 19:08:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53187 +; + +-- Jul 8, 2008 7:08:02 PM CDT +-- Forecast +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53187 +; + +-- Jul 8, 2008 7:10:35 PM CDT +-- Forecast +UPDATE AD_Column SET AD_Element_ID=1539, ColumnName='TotalAmt', Description='Total Amount', FieldLength=10, Help='The Total Amount indicates the total document amount.', Name='Total Amount',Updated=TO_TIMESTAMP('2008-07-08 19:10:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56134 +; + +-- Jul 8, 2008 7:10:35 PM CDT +-- Forecast +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56134 +; + +-- Jul 8, 2008 7:10:35 PM CDT +-- Forecast +UPDATE AD_Field SET Name='Total Amount', Description='Total Amount', Help='The Total Amount indicates the total document amount.' WHERE AD_Column_ID=56134 AND IsCentrallyMaintained='Y' +; + +-- Jul 8, 2008 7:11:32 PM CDT +-- Forecast +UPDATE AD_Column SET AD_Element_ID=1539, ColumnName='TotalAmt', Description='Total Amount', Help='The Total Amount indicates the total document amount.', Name='Total Amount',Updated=TO_TIMESTAMP('2008-07-08 19:11:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148 +; + +-- Jul 8, 2008 7:11:32 PM CDT +-- Forecast +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56148 +; + +-- Jul 8, 2008 7:11:32 PM CDT +-- Forecast +UPDATE AD_Field SET Name='Total Amount', Description='Total Amount', Help='The Total Amount indicates the total document amount.' WHERE AD_Column_ID=56148 AND IsCentrallyMaintained='Y' +; + +-- Jul 8, 2008 7:59:40 PM CDT +-- Forecast +UPDATE AD_Column SET AD_Element_ID=469, ColumnName='Name', Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.', Name='Name',Updated=TO_TIMESTAMP('2008-07-08 19:59:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56147 +; + +-- Jul 8, 2008 7:59:40 PM CDT +-- Forecast +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56147 +; + +-- Jul 8, 2008 7:59:40 PM CDT +-- Forecast +UPDATE AD_Field SET Name='Name', Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.' WHERE AD_Column_ID=56147 AND IsCentrallyMaintained='Y' +; + + + +-- Jul 9, 2008 10:48:20 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=10,Updated=TO_TIMESTAMP('2008-07-09 10:48:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56144 +; + +-- Jul 9, 2008 10:48:36 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=10,Updated=TO_TIMESTAMP('2008-07-09 10:48:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56145 +; + +-- Jul 9, 2008 10:48:47 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=60,Updated=TO_TIMESTAMP('2008-07-09 10:48:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56147 +; + +-- Jul 9, 2008 10:48:53 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=22,Updated=TO_TIMESTAMP('2008-07-09 10:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148 +; + +-- Jul 9, 2008 10:49:12 AM CDT +-- Forecast +UPDATE AD_Column SET FieldLength=10,Updated=TO_TIMESTAMP('2008-07-09 10:49:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56148 +; + +-- Jul 9, 2008 10:49:51 AM CDT +-- Forecast +DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56142 +; + +-- Jul 9, 2008 10:49:51 AM CDT +-- Forecast +DELETE FROM AD_Column WHERE AD_Column_ID=56142 +; + +-- Jul 9, 2008 10:58:32 AM CDT +-- Forecast +DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56146 +; + +-- Jul 9, 2008 10:58:32 AM CDT +-- Forecast +DELETE FROM AD_Column WHERE AD_Column_ID=56146 +; + +-- Jul 9, 2008 11:30:19 AM CDT +-- Forecast +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53196 +; + +-- Jul 9, 2008 11:30:19 AM CDT +-- Forecast +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53196 +; + +-- Jul 9, 2008 11:30:29 AM CDT +-- Forecast +DELETE FROM AD_Process_Para_Trl WHERE AD_Process_Para_ID=53194 +; + +-- Jul 9, 2008 11:30:29 AM CDT +-- Forecast +DELETE FROM AD_Process_Para WHERE AD_Process_Para_ID=53194 +; + +-- Jul 8, 2008 7:59:52 PM CDT +-- Forecast +DELETE FROM AD_Element_Trl WHERE AD_Element_ID=53653 +; + +-- Jul 8, 2008 7:59:52 PM CDT +-- Forecast +DELETE FROM AD_Element WHERE AD_Element_ID=53653 +; + +-- Jul 8, 2008 7:59:46 PM CDT +-- Forecast +DELETE FROM AD_Element_Trl WHERE AD_Element_ID=53654 +; + +-- Jul 8, 2008 7:59:46 PM CDT +-- Forecast +DELETE FROM AD_Element WHERE AD_Element_ID=53654 +; + +DROP VIEW RV_M_Forecast_Period; + +DROP VIEW RV_M_Forecast; + +CREATE OR REPLACE VIEW RV_M_Forecast AS +SELECT +f.AD_Client_ID , +fl.AD_Org_ID, +f.M_Forecast_ID , +f.Name , +f.C_Calendar_ID , +f.C_Year_ID , +fl.C_Period_ID, +fl.DatePromised, +fl.M_Product_ID , +fl.SalesRep_ID, +p.C_UOM_ID, +fl.Qty, +fl.QtyCalculated, + (SELECT pp.PriceList FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID) + AS PriceList, + (SELECT pp.PriceStd FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID) + AS PriceStd, + (SELECT pp.PriceLimit FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID) + AS PriceLimit, + (SELECT pp.PriceStd FROM M_PriceList_Version plv INNER JOIN M_ProductPrice pp ON (pp.M_PriceList_Version_ID=plv.M_PriceList_Version_ID) WHERE pp.M_Product_ID=fl.M_Product_ID AND plv.M_PriceList_ID=pl.M_PriceList_ID) + * fl.Qty AS TotalAmt, +p.M_Product_Category_ID, +p.Classification, +p.Group1, +p.Group2 +FROM M_Forecast f +INNER JOIN M_ForecastLine fl ON (f.M_Forecast_ID = fl.M_Forecast_ID) +INNER JOIN M_Product p ON (p.M_Product_ID=fl.M_Product_ID) +INNER JOIN M_PriceList pl ON (pl.M_PriceList_ID=f.M_PriceList_ID); + +CREATE OR REPLACE VIEW RV_M_Forecast_Period AS +SELECT AD_Client_ID , +AD_Org_ID, +M_Forecast_ID , +MAX(Name) AS Name, +C_Calendar_ID , +C_Year_ID , +C_Period_ID, +M_Product_ID , +C_UOM_ID, +SUM(Qty) AS Qty, +SUM(QtyCalculated) AS QtyCalculated, +SUM(TotalAmt) AS TotalAmt +FROM RV_M_Forecast f GROUP BY AD_Client_ID , AD_Org_ID , M_Forecast_ID , M_Product_ID , C_UOM_ID, C_Calendar_ID , C_Year_ID , C_Period_ID +; + + + +-- Jul 9, 2008 10:04:30 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10300 +; + +-- Jul 9, 2008 10:04:30 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=10298 +; + +-- Jul 9, 2008 10:05:06 PM CDT +-- Forecast +UPDATE AD_Field SET Included_Tab_ID=654,Updated=TO_TIMESTAMP('2008-07-09 22:05:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10300 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10304 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10307 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10305 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=53638 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=10301 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=10303 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53639 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10306 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10310 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56277 +; + +-- Jul 9, 2008 10:08:15 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10308 +; + +-- Jul 9, 2008 10:08:27 PM CDT +-- Forecast +UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2008-07-09 22:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=653 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56277 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=53638 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=10301 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=10306 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10310 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=10303 +; + +-- Jul 9, 2008 10:11:20 PM CDT +-- Forecast +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53639 +; + +-- Jul 9, 2008 10:12:55 PM CDT +-- Forecast +UPDATE AD_Column SET DefaultValue='@#AD_User_ID@',Updated=TO_TIMESTAMP('2008-07-09 22:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56113 +; + +-- Jul 9, 2008 10:20:17 PM CDT +-- Forecast +UPDATE AD_Column SET DefaultValue='@AD_Org_ID@',Updated=TO_TIMESTAMP('2008-07-09 22:20:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=11937 +; + +-- Jul 9, 2008 10:20:27 PM CDT +-- Forecast +UPDATE AD_Column SET ReadOnlyLogic='@M_Warehouse_ID@',Updated=TO_TIMESTAMP('2008-07-09 22:20:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53411 +; + diff --git a/migration/352a-trunk/postgresql/298_BF2133188_FixCalloutDO.sql b/migration/352a-trunk/postgresql/298_BF2133188_FixCalloutDO.sql new file mode 100644 index 0000000000..81e7dbf19e --- /dev/null +++ b/migration/352a-trunk/postgresql/298_BF2133188_FixCalloutDO.sql @@ -0,0 +1,26 @@ + +-- Sep 27, 2008 7:46:26 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_TIMESTAMP('2008-09-27 19:46:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53928 +; + +-- Sep 27, 2008 7:46:42 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_TIMESTAMP('2008-09-27 19:46:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53954 +; + +-- Sep 27, 2008 7:46:44 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_TIMESTAMP('2008-09-27 19:46:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53948 +; + +-- Sep 27, 2008 7:46:50 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout='org.eevolution.model.CalloutDistributionOrder.qty',Updated=TO_TIMESTAMP('2008-09-27 19:46:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53947 +; + +-- Sep 27, 2008 7:46:53 PM CDT +-- Fix Call out Distribution Order +UPDATE AD_Column SET Callout=NULL,Updated=TO_TIMESTAMP('2008-09-27 19:46:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53946 +; + diff --git a/migration/352a-trunk/postgresql/299_BF1745154Cost_Reversal_Doc.sql b/migration/352a-trunk/postgresql/299_BF1745154Cost_Reversal_Doc.sql new file mode 100644 index 0000000000..86ab9fd7a3 --- /dev/null +++ b/migration/352a-trunk/postgresql/299_BF1745154Cost_Reversal_Doc.sql @@ -0,0 +1,69 @@ +-- Sep 28, 2008 2:39:23 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Element (AD_Org_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,AD_Client_ID,UpdatedBy) VALUES (0,53689,'ReversalLine_ID',TO_TIMESTAMP('2008-09-28 14:39:22','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D','Y','Reversal Line','Reversal Line',TO_TIMESTAMP('2008-09-28 14:39:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Sep 28, 2008 2:39:24 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53689 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 28, 2008 2:39:36 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column (AD_Org_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID,AD_Reference_Value_ID) VALUES (0,53689,18,320,'ReversalLine_ID',TO_TIMESTAMP('2008-09-28 14:39:35','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Reversal Line',0,TO_TIMESTAMP('2008-09-28 14:39:35','YYYY-MM-DD HH24:MI:SS'),0,0,1,56355,295) +; + +-- Sep 28, 2008 2:39:36 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56355 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; +-- Sep 28, 2008 3:06:08 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Reference (AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,AD_Client_ID,ValidationType) VALUES (0,53284,TO_TIMESTAMP('2008-09-28 15:06:03','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','M_MovementLine',TO_TIMESTAMP('2008-09-28 15:06:03','YYYY-MM-DD HH24:MI:SS'),0,0,'T') +; + +-- Sep 28, 2008 3:06:08 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53284 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Sep 28, 2008 3:06:43 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Ref_Table (AD_Display,AD_Key,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,AD_Client_ID,AD_Reference_ID,AD_Table_ID) VALUES (3820,3582,0,TO_TIMESTAMP('2008-09-28 15:06:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N',TO_TIMESTAMP('2008-09-28 15:06:43','YYYY-MM-DD HH24:MI:SS'),0,0,53284,324) +; + +-- Sep 28, 2008 3:08:12 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column (AD_Org_ID,AD_Reference_Value_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID) VALUES (0,53284,53689,18,324,'ReversalLine_ID',TO_TIMESTAMP('2008-09-28 15:08:11','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','Y','N','Y','Reversal Line',TO_TIMESTAMP('2008-09-28 15:08:11','YYYY-MM-DD HH24:MI:SS'),0,0,1,56356) +; + +-- Sep 28, 2008 3:08:12 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56356 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 28, 2008 3:09:10 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column (AD_Org_ID,AD_Reference_Value_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,AD_Client_ID,Version,AD_Column_ID) VALUES (0,296,53689,18,322,'ReversalLine_ID',TO_TIMESTAMP('2008-09-28 15:09:08','YYYY-MM-DD HH24:MI:SS'),0,'Use to keep the reversal line ID for reversing costing purpose','D',22,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Reversal Line',TO_TIMESTAMP('2008-09-28 15:09:08','YYYY-MM-DD HH24:MI:SS'),0,0,1,56357) +; + +-- Sep 28, 2008 3:09:10 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56357 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 28, 2008 3:14:43 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +ALTER TABLE M_InOutLine ADD COLUMN ReversalLine_ID NUMERIC(10) +; + +-- Sep 28, 2008 3:15:02 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +ALTER TABLE M_MovementLine ADD COLUMN ReversalLine_ID NUMERIC(10) +; + +-- Sep 28, 2008 3:15:18 PM ICT +-- FR [ 1745154 ] Cost in Reversing Material Related Docs +ALTER TABLE M_InventoryLine ADD COLUMN ReversalLine_ID NUMERIC(10) +; + diff --git a/migration/352a-trunk/postgresql/300_BF2135012_Asset_Window.sql b/migration/352a-trunk/postgresql/300_BF2135012_Asset_Window.sql new file mode 100644 index 0000000000..2079e2018b --- /dev/null +++ b/migration/352a-trunk/postgresql/300_BF2135012_Asset_Window.sql @@ -0,0 +1,10 @@ +-- 29/09/2008 11:32:25 +-- [ 2135012 ] Asset Window is not editable +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2008-09-29 11:32:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8061 +; + +-- 29/09/2008 11:33:08 +-- [ 2135012 ] Asset Window is not editable +insert into t_alter_column values('a_asset','Processing','CHAR(1)',null,'N') +; + diff --git a/migration/352a-trunk/postgresql/301_BF2141475_messages.sql b/migration/352a-trunk/postgresql/301_BF2141475_messages.sql new file mode 100644 index 0000000000..8580558b6b --- /dev/null +++ b/migration/352a-trunk/postgresql/301_BF2141475_messages.sql @@ -0,0 +1,30 @@ +-- Oct 1, 2008 10:10:56 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53044,0,TO_TIMESTAMP('2008-10-01 22:10:18','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Payment Allocate must not exists if the payment header has charge/invoice/order.','E',TO_TIMESTAMP('2008-10-01 22:10:18','YYYY-MM-DD HH24:MI:SS'),100,'PaymentAllocateIgnored') +; + +-- Oct 1, 2008 10:10:56 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53044 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- Oct 1, 2008 10:16:09 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='No debe haber Asignacion de Pagos si el encabezado del pago tiene cargo, factura u orden.',Updated=TO_TIMESTAMP('2008-10-01 22:16:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53044 AND AD_Language LIKE 'es_%' +; + +-- Oct 1, 2008 10:17:42 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53045,0,TO_TIMESTAMP('2008-10-01 22:17:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Payment Amount must be equal to the sum of Allocate amounts.','E',TO_TIMESTAMP('2008-10-01 22:17:41','YYYY-MM-DD HH24:MI:SS'),100,'PaymentAllocateSumInconsistent') +; + +-- Oct 1, 2008 10:17:42 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53045 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- Oct 1, 2008 10:18:31 PM COT +-- Bug [ 2141475 ] Payment <> allocations must not be completed +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='El total del pago debe ser igual a la suma de las asignaciones.',Updated=TO_TIMESTAMP('2008-10-01 22:18:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=53045 AND AD_Language LIKE 'es_%' +; + diff --git a/migration/352a-trunk/postgresql/302_BF2142344.sql b/migration/352a-trunk/postgresql/302_BF2142344.sql new file mode 100644 index 0000000000..e7737f7c0a --- /dev/null +++ b/migration/352a-trunk/postgresql/302_BF2142344.sql @@ -0,0 +1,25 @@ +-- 02.10.2008 15:22:21 EEST +-- - +UPDATE AD_Column SET AD_Element_ID=1299, ColumnName='Classname', Description='Java Classname', FieldLength=255, Help='The Classname identifies the Java classname used by this report or process.', Name='Classname',Updated=TO_TIMESTAMP('2008-10-02 15:22:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52068 +; + +-- 02.10.2008 15:22:21 EEST +-- - +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=52068 +; + +-- 02.10.2008 15:22:21 EEST +-- - +UPDATE AD_Field SET Name='Classname', Description='Java Classname', Help='The Classname identifies the Java classname used by this report or process.' WHERE AD_Column_ID=52068 AND IsCentrallyMaintained='Y' +; + +-- 02.10.2008 15:23:16 EEST +-- - +DELETE FROM AD_Element_Trl WHERE AD_Element_ID=52025 +; + +-- 02.10.2008 15:23:17 EEST +-- - +DELETE FROM AD_Element WHERE AD_Element_ID=52025 +; + diff --git a/migration/352a-trunk/postgresql/303_FR2143266_multiline_headers.sql b/migration/352a-trunk/postgresql/303_FR2143266_multiline_headers.sql new file mode 100644 index 0000000000..a2cb5b560c --- /dev/null +++ b/migration/352a-trunk/postgresql/303_FR2143266_multiline_headers.sql @@ -0,0 +1,40 @@ +-- 2/10/2008 11:02:34 +-- Financial reporting improvements +INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PO_Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53690,'IsMultiLineHeader',TO_TIMESTAMP('2008-10-02 11:00:41','YYYY-MM-DD HH24:MI:SS'),100,'Print column headers on mutliple lines if necessary.','D','If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Multi Line Header',NULL,'Multi Line Header',TO_TIMESTAMP('2008-10-02 11:00:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/10/2008 11:02:34 +-- Financial reporting improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53690 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 2/10/2008 11:03:39 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56358,53690,20,523,'IsMultiLineHeader',TO_TIMESTAMP('2008-10-02 11:03:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','Print column headers on mutliple lines if necessary.','D',1,'If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Multi Line Header',0,TO_TIMESTAMP('2008-10-02 11:03:36','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- 2/10/2008 11:03:39 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56358 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2/10/2008 11:04:17 +-- Financial reporting improvements +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2008-10-02 11:04:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56358 +; + +-- 2/10/2008 11:05:08 +-- Financial reporting improvements +ALTER TABLE AD_PrintTableFormat ADD COLUMN IsMultiLineHeader CHAR(1) DEFAULT 'N' CHECK (IsMultiLineHeader IN ('Y','N')) NOT NULL +; + +-- 2/10/2008 11:23:44 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56358,0,0,56377,435,TO_TIMESTAMP('2008-10-02 11:23:40','YYYY-MM-DD HH24:MI:SS'),100,'Print column headers on mutliple lines if necessary.',14,'D','If selected, column header text will wrap onto the next line -- otherwise the text will be truncated.','Y','Y','Y','N','N','N','N','Y','Multi Line Header',95,0,TO_TIMESTAMP('2008-10-02 11:23:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/10/2008 11:23:44 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56377 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + diff --git a/migration/352a-trunk/postgresql/304_FR2143573_Enhancements_to_reporting.sql b/migration/352a-trunk/postgresql/304_FR2143573_Enhancements_to_reporting.sql new file mode 100644 index 0000000000..983bb31cfc --- /dev/null +++ b/migration/352a-trunk/postgresql/304_FR2143573_Enhancements_to_reporting.sql @@ -0,0 +1,207 @@ + +-- 26/09/2008 16:58:44 +-- Financial reporting improvements +INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PO_Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53687,'FormatPattern',TO_TIMESTAMP('2008-09-26 16:58:43','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Format Pattern',NULL,'Format Pattern',TO_TIMESTAMP('2008-09-26 16:58:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 16:58:44 +-- Financial reporting improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53687 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 26/09/2008 16:59:38 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56351,53687,10,489,'FormatPattern',TO_TIMESTAMP('2008-09-26 16:59:37','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_TIMESTAMP('2008-09-26 16:59:37','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 26/09/2008 16:59:38 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56351 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 26/09/2008 17:00:09 +-- Financial reporting improvements +UPDATE AD_Column SET AD_Element_ID=53687, ColumnName='FormatPattern', Description='The pattern used to format a number or date.', Help='A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.', Name='Format Pattern',Updated=TO_TIMESTAMP('2008-09-26 17:00:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56351 +; + +-- 26/09/2008 17:00:09 +-- Financial reporting improvements +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56351 +; + +-- 26/09/2008 17:00:09 +-- Financial reporting improvements +UPDATE AD_Field SET Name='Format Pattern', Description='The pattern used to format a number or date.', Help='A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.' WHERE AD_Column_ID=56351 AND IsCentrallyMaintained='Y' +; + +-- 26/09/2008 17:02:12 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56352,53687,10,101,'FormatPattern',TO_TIMESTAMP('2008-09-26 17:02:11','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_TIMESTAMP('2008-09-26 17:02:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 26/09/2008 17:02:12 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56352 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 26/09/2008 17:04:00 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56353,53687,10,446,'FormatPattern',TO_TIMESTAMP('2008-09-26 17:03:59','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.','D',22,'A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Format Pattern',0,TO_TIMESTAMP('2008-09-26 17:03:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 26/09/2008 17:04:00 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56353 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 26/09/2008 17:09:15 +-- Financial reporting improvements +INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53688,'Factor',TO_TIMESTAMP('2008-09-26 17:09:14','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.','D','Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Factor','Factor',TO_TIMESTAMP('2008-09-26 17:09:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:09:15 +-- Financial reporting improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53688 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 26/09/2008 17:10:06 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56354,53688,11,446,'Factor',TO_TIMESTAMP('2008-09-26 17:10:05','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.','D',10,'Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Factor',0,TO_TIMESTAMP('2008-09-26 17:10:05','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 26/09/2008 17:10:06 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56354 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 26/09/2008 17:13:53 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56351,0,0,56373,426,TO_TIMESTAMP('2008-09-26 17:13:52','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'@PrintFormatType@=F','D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',145,0,TO_TIMESTAMP('2008-09-26 17:13:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:13:53 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56373 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 26/09/2008 17:16:17 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56352,0,0,56374,101,TO_TIMESTAMP('2008-09-26 17:16:16','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',390,0,TO_TIMESTAMP('2008-09-26 17:16:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:16:17 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56374 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 26/09/2008 17:19:10 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56353,0,0,56375,374,TO_TIMESTAMP('2008-09-26 17:19:09','YYYY-MM-DD HH24:MI:SS'),100,'The pattern used to format a number or date.',14,'D','A string complying with either Java SimpleDateFormat or DecimalFormat pattern syntax used to override the default presentation format of a date or number type field.','Y','Y','Y','N','N','N','N','N','Format Pattern',430,0,TO_TIMESTAMP('2008-09-26 17:19:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:19:10 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56375 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 26/09/2008 17:19:39 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (56354,0,0,56376,374,TO_TIMESTAMP('2008-09-26 17:19:39','YYYY-MM-DD HH24:MI:SS'),100,'Scaling factor.',0,'D','Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of 1,000 will display as 123.','Y','Y','Y','N','N','N','N','Y','Factor',440,0,TO_TIMESTAMP('2008-09-26 17:19:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 26/09/2008 17:19:39 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56376 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +-- 26/09/2008 17:30:21 +-- Financial reporting improvements +ALTER TABLE PA_ReportColumn ADD COLUMN Factor CHAR(1) +; + +-- 26/09/2008 17:30:38 +-- Financial reporting improvements +ALTER TABLE PA_ReportColumn ADD COLUMN FormatPattern VARCHAR(22) +; + +-- 26/09/2008 17:32:21 +-- Financial reporting improvements +ALTER TABLE AD_Column ADD COLUMN FormatPattern VARCHAR(22) +; + +-- 26/09/2008 17:33:00 +-- Financial reporting improvements +ALTER TABLE AD_PrintFormatItem ADD COLUMN FormatPattern VARCHAR(22) +; + +-- 3/10/2008 11:19:23 +-- Financial reporting improvements +UPDATE AD_Field SET DisplayLogic='@AD_Reference_ID@=11 | @AD_Reference_ID@=12 | @AD_Reference_ID@=15 | @AD_Reference_ID@=22 | @AD_Reference_ID@=29 | @AD_Reference_ID@=16 | @AD_Reference_ID@=37', SeqNo=165,Updated=TO_TIMESTAMP('2008-10-03 11:19:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56374 +; + +-- 3/10/2008 12:30:21 +-- Financial reporting improvements +INSERT INTO AD_Reference (AD_Org_ID,AD_Client_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53285,TO_TIMESTAMP('2008-10-03 12:30:19','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Y','Factors',TO_TIMESTAMP('2008-10-03 12:30:19','YYYY-MM-DD HH24:MI:SS'),100,'L') +; + +-- 3/10/2008 12:30:21 +-- Financial reporting improvements +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53285 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- 3/10/2008 12:31:13 +-- Financial reporting improvements +INSERT INTO AD_Ref_List (AD_Org_ID,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53285,53436,TO_TIMESTAMP('2008-10-03 12:31:12','YYYY-MM-DD HH24:MI:SS'),100,'Thousand','D','Y','Thousand',TO_TIMESTAMP('2008-10-03 12:31:12','YYYY-MM-DD HH24:MI:SS'),100,'k') +; + +-- 3/10/2008 12:31:13 +-- Financial reporting improvements +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53436 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- 3/10/2008 12:31:28 +-- Financial reporting improvements +INSERT INTO AD_Ref_List (AD_Org_ID,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53285,53437,TO_TIMESTAMP('2008-10-03 12:31:27','YYYY-MM-DD HH24:MI:SS'),100,'Million','D','Y','Million',TO_TIMESTAMP('2008-10-03 12:31:27','YYYY-MM-DD HH24:MI:SS'),100,'m') +; + +-- 3/10/2008 12:31:28 +-- Financial reporting improvements +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53437 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- 3/10/2008 12:31:43 +-- Financial reporting improvements +UPDATE AD_Reference SET Name='Scaling Factors',Updated=TO_TIMESTAMP('2008-10-03 12:31:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53285 +; + +-- 3/10/2008 12:31:43 +-- Financial reporting improvements +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53285 +; + +-- 3/10/2008 12:32:44 +-- Financial reporting improvements +UPDATE AD_Reference SET Description='Factors for scaling the results of financial reports.', Help='Currently supported: thousand, million.',Updated=TO_TIMESTAMP('2008-10-03 12:32:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53285 +; + +-- 3/10/2008 12:32:44 +-- Financial reporting improvements +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53285 +; + +-- 3/10/2008 12:33:17 +-- Financial reporting improvements +UPDATE AD_Column SET AD_Reference_Value_ID=53285, AD_Reference_ID=17, FieldLength=1, Help='Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of "Thousand" will display as 123.',Updated=TO_TIMESTAMP('2008-10-03 12:33:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56354 +; + +-- 3/10/2008 12:33:17 +-- Financial reporting improvements +UPDATE AD_Field SET Name='Factor', Description='Scaling factor.', Help='Numbers are divided by the scaling factor for presentation. E.g. 123,000 with a scaling factor of "Thousand" will display as 123.' WHERE AD_Column_ID=56354 AND IsCentrallyMaintained='Y' +; + +-- 3/10/2008 12:53:38 +-- Financial reporting improvements +UPDATE AD_Ref_List SET Value='M',Updated=TO_TIMESTAMP('2008-10-03 12:53:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53437 +; + diff --git a/migration/352a-trunk/postgresql/305_FR2148808_SuppressRepeats.sql b/migration/352a-trunk/postgresql/305_FR2148808_SuppressRepeats.sql new file mode 100644 index 0000000000..5c2325fd7c --- /dev/null +++ b/migration/352a-trunk/postgresql/305_FR2148808_SuppressRepeats.sql @@ -0,0 +1,41 @@ +-- 3/10/2008 16:15:23 +-- Financial reporting improvements +INSERT INTO AD_Element (AD_Org_ID,AD_Client_ID,AD_Element_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,0,53691,'IsSuppressRepeats',TO_TIMESTAMP('2008-10-03 16:15:17','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.','D','Determines whether repeated elements in a column are repeated in a printed table.','Y','Suppress Repeats','Suppress Repeats',TO_TIMESTAMP('2008-10-03 16:15:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 3/10/2008 16:15:23 +-- Financial reporting improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53691 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 3/10/2008 16:15:52 +-- Financial reporting improvements +INSERT INTO AD_Column (AD_Org_ID,AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,0,56359,53691,20,489,'IsSuppressRepeats',TO_TIMESTAMP('2008-10-03 16:15:50','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.','D',1,'Determines whether repeated elements in a column are repeated in a printed table.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Suppress Repeats',0,TO_TIMESTAMP('2008-10-03 16:15:50','YYYY-MM-DD HH24:MI:SS'),100,1) +; + +-- 3/10/2008 16:15:52 +-- Financial reporting improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56359 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 3/10/2008 16:19:40 +-- Financial reporting improvements +INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,AD_Client_ID,AD_Field_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (56359,0,0,56378,426,TO_TIMESTAMP('2008-10-03 16:19:39','YYYY-MM-DD HH24:MI:SS'),100,'Suppress repeated elements in column.',1,'@IsForm@=N & @PrintFormatType@=F','D','Determines whether repeated elements in a column are repeated in a printed table.','Y','Y','Y','N','N','N','N','Y','Suppress Repeats',115,TO_TIMESTAMP('2008-10-03 16:19:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 3/10/2008 16:19:40 +-- Financial reporting improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56378 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 3/10/2008 16:33:36 +-- Financial reporting improvements +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-10-03 16:33:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56359 +; + +-- 3/10/2008 16:33:41 +-- Financial reporting improvements +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2008-10-03 16:33:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56359 +; + +alter table ad_printformatitem add column IsSuppressRepeats CHAR(1) DEFAULT 'N' CHECK (IsSuppressRepeats IN ('Y','N')) NOT NULL; diff --git a/migration/352a-trunk/postgresql/306_FR2151667.sql b/migration/352a-trunk/postgresql/306_FR2151667.sql new file mode 100644 index 0000000000..07c386ec5e --- /dev/null +++ b/migration/352a-trunk/postgresql/306_FR2151667.sql @@ -0,0 +1,379 @@ +-- 07.10.2008 17:27:16 EEST +-- - +UPDATE AD_Column SET AD_Element_ID=53245, ColumnName='PP_Product_BOM_ID', Description='BOM & Formula', EntityType='EE01', FieldLength=10, Help=NULL, Name='BOM & Formula',Updated=TO_TIMESTAMP('2008-10-07 17:27:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13977 +; + +-- 07.10.2008 17:27:16 EEST +-- - +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=13977 +; + +-- 07.10.2008 17:27:16 EEST +-- - +UPDATE AD_Field SET Name='BOM & Formula', Description='BOM & Formula', Help=NULL WHERE AD_Column_ID=13977 AND IsCentrallyMaintained='Y' +; + +-- 07.10.2008 17:27:23 EEST +-- - +ALTER TABLE R_Group ADD COLUMN PP_Product_BOM_ID NUMERIC(10) +; + +alter table R_Group add constraint PPProductBOM_RGroup foreign key (PP_Product_BOM_ID) references PP_Product_BOM (PP_Product_BOM_ID) +; + +-- 07.10.2008 17:42:36 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET IsActive='N',Updated=TO_TIMESTAMP('2008-10-07 17:42:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734 +; + +-- 07.10.2008 17:44:51 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Tab (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,53332,0,53179,53018,355,TO_TIMESTAMP('2008-10-07 17:44:50','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula','EE01','N','N','Y','N','N','Y','N','N','N','N','BOM & Formula','N',30,1,TO_TIMESTAMP('2008-10-07 17:44:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:44:51 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53179 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- 07.10.2008 17:47:53 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53330,56379,0,53179,TO_TIMESTAMP('2008-10-07 17:47:52','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'EE01','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_TIMESTAMP('2008-10-07 17:47:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:53 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56379 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:54 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53340,56380,0,53179,TO_TIMESTAMP('2008-10-07 17:47:53','YYYY-MM-DD HH24:MI:SS'),0,'Product Attribute Set Instance',22,'EE01','The values of the actual Product Attribute Instances. The product level attributes are defined on Product level.','Y','Y','Y','N','N','N','N','N','Attribute Set Instance',TO_TIMESTAMP('2008-10-07 17:47:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:54 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56380 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:54 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53334,56381,0,53179,TO_TIMESTAMP('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula',22,'EE01','Y','Y','N','N','N','N','N','N','BOM & Formula',TO_TIMESTAMP('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:54 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56381 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:55 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53342,56382,0,53179,TO_TIMESTAMP('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0,'Type of BOM',1,'EE01','The type of Bills of Materials determines the state','Y','Y','Y','N','N','N','N','N','BOM Type',TO_TIMESTAMP('2008-10-07 17:47:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:55 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56382 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:55 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53343,56383,0,53179,TO_TIMESTAMP('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0,'The use of the Bill of Material',1,'EE01','By default the Master BOM is used, if the alternatives are not defined','Y','Y','Y','N','N','N','N','N','BOM Use',TO_TIMESTAMP('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:55 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56383 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:56 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53332,56384,0,53179,TO_TIMESTAMP('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0,'Bill of Materials (Engineering) Change Notice (Version)',10,'EE01','Y','Y','Y','N','N','N','N','N','Change Notice',TO_TIMESTAMP('2008-10-07 17:47:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:56 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56384 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:57 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53331,56385,0,53179,TO_TIMESTAMP('2008-10-07 17:47:56','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'EE01','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_TIMESTAMP('2008-10-07 17:47:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:57 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56385 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:57 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53329,56386,0,53179,TO_TIMESTAMP('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'EE01','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','N','Comment/Help',TO_TIMESTAMP('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:57 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56386 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53326,56387,0,53179,TO_TIMESTAMP('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0,'Copy From Record',1,'EE01','Copy From Record','Y','Y','Y','N','N','N','N','N','Copy From',TO_TIMESTAMP('2008-10-07 17:47:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56387 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53325,56388,0,53179,TO_TIMESTAMP('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'EE01','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_TIMESTAMP('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56388 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:59 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53323,56389,0,53179,TO_TIMESTAMP('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document',22,'EE01','The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". + +If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Document No',TO_TIMESTAMP('2008-10-07 17:47:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:59 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56389 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:47:59 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53322,56390,0,53179,TO_TIMESTAMP('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'EE01','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_TIMESTAMP('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:47:59 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56390 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:02 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53341,56391,0,53179,TO_TIMESTAMP('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'EE01','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_TIMESTAMP('2008-10-07 17:47:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:02 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56391 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53335,56392,0,53179,TO_TIMESTAMP('2008-10-07 17:48:02','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','Y','Y','N','N','N','N','N','Process Now',TO_TIMESTAMP('2008-10-07 17:48:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56392 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53333,56393,0,53179,TO_TIMESTAMP('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',22,'EE01','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_TIMESTAMP('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56393 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53324,56394,0,53179,TO_TIMESTAMP('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Revision',TO_TIMESTAMP('2008-10-07 17:48:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56394 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53321,56395,0,53179,TO_TIMESTAMP('2008-10-07 17:48:04','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',80,'EE01','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_TIMESTAMP('2008-10-07 17:48:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56395 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:06 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53344,56396,0,53179,TO_TIMESTAMP('2008-10-07 17:48:05','YYYY-MM-DD HH24:MI:SS'),0,'Unit of Measure',22,'EE01','The UOM defines a unique non monetary Unit of Measure','Y','Y','Y','N','N','N','N','N','UOM',TO_TIMESTAMP('2008-10-07 17:48:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:06 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56396 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53338,56397,0,53179,TO_TIMESTAMP('2008-10-07 17:48:06','YYYY-MM-DD HH24:MI:SS'),0,'Valid from including this date (first day)',7,'EE01','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','N','Valid from',TO_TIMESTAMP('2008-10-07 17:48:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56397 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:48:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,53339,56398,0,53179,TO_TIMESTAMP('2008-10-07 17:48:07','YYYY-MM-DD HH24:MI:SS'),0,'Valid to including this date (last day)',7,'EE01','The Valid To date indicates the last day of a date range','Y','Y','Y','N','N','N','N','N','Valid to',TO_TIMESTAMP('2008-10-07 17:48:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.10.2008 17:48:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56398 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.10.2008 17:50:00 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET IsActive='Y',Updated=TO_TIMESTAMP('2008-10-07 17:50:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56395 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56396 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56389 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56394 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=60,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56388 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56387 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=70,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56386 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=80,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56379 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=10,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56385 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=30,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56384 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=40,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56393 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=23, IsDisplayed='N', IsReadOnly='N', IsSameLine='N', SeqNo=0,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56392 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56397 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56398 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56380 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='Y', SeqNo=20,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56391 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=90,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56382 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', SeqNo=100,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56383 +; + +-- 07.10.2008 17:52:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=50,Updated=TO_TIMESTAMP('2008-10-07 17:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56390 +; + +-- 07.10.2008 17:55:04 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-10-07 17:55:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53179 +; + +-- 07.10.2008 17:55:13 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET IsActive='N',Updated=TO_TIMESTAMP('2008-10-07 17:55:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=734 +; + +-- 07.10.2008 18:04:58 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Tab SET SeqNo=20,Updated=TO_TIMESTAMP('2008-10-07 18:04:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53179 +; + +-- 07.10.2008 18:10:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Column SET AD_Element_ID=53245, AD_Reference_ID=30, ColumnName='PP_Product_BOM_ID', Description='BOM & Formula', EntityType='EE01', Help=NULL, IsUpdateable='N', Name='BOM & Formula',Updated=TO_TIMESTAMP('2008-10-07 18:10:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=13945 +; + +-- 07.10.2008 18:10:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=13945 +; + +-- 07.10.2008 18:10:03 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +UPDATE AD_Field SET Name='BOM & Formula', Description='BOM & Formula', Help=NULL WHERE AD_Column_ID=13945 AND IsCentrallyMaintained='Y' +; + +-- 07.10.2008 18:10:07 EEST +-- FR [ 2151667 ] BOM Change Request is not supporting the new BOM +ALTER TABLE M_ChangeRequest ADD COLUMN PP_Product_BOM_ID NUMERIC(10) +; +alter table M_changerequest drop column M_BOM_ID; \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/307_BF2153188.sql b/migration/352a-trunk/postgresql/307_BF2153188.sql new file mode 100644 index 0000000000..ad7e19e234 --- /dev/null +++ b/migration/352a-trunk/postgresql/307_BF2153188.sql @@ -0,0 +1,20 @@ +-- 08.10.2008 16:13:52 EEST +-- +UPDATE AD_Column SET DefaultValue='0', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-10-08 16:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53408 +; + +-- 08.10.2008 16:13:55 EEST +-- +insert into t_alter_column values('m_product','LowLevel','NUMERIC(10)',null,'0') +; + +-- 08.10.2008 16:13:56 EEST +-- +UPDATE M_Product SET LowLevel=0 WHERE LowLevel IS NULL +; + +-- 08.10.2008 16:13:56 EEST +-- +insert into t_alter_column values('m_product','LowLevel',null,'NOT NULL',null) +; + diff --git a/migration/352a-trunk/postgresql/308_BF2158682.sql b/migration/352a-trunk/postgresql/308_BF2158682.sql new file mode 100644 index 0000000000..7bdf0addf9 --- /dev/null +++ b/migration/352a-trunk/postgresql/308_BF2158682.sql @@ -0,0 +1,5 @@ +-- Oct 10, 2008 11:01:13 PM COT +-- Bug 2158682 - Import Loader Format window showing replication tables +UPDATE AD_Val_Rule SET Code='AD_Table.TableName LIKE ''I#_%'' ESCAPE ''#''',Updated=TO_TIMESTAMP('2008-10-10 23:01:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=141 +; + diff --git a/migration/352a-trunk/postgresql/309_FR2170521_AddChargeToImportOrder.sql b/migration/352a-trunk/postgresql/309_FR2170521_AddChargeToImportOrder.sql new file mode 100644 index 0000000000..0405321673 --- /dev/null +++ b/migration/352a-trunk/postgresql/309_FR2170521_AddChargeToImportOrder.sql @@ -0,0 +1,50 @@ +-- 16/10/2008 15:11:55 +-- Add charge to order import +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56364,968,0,19,591,'C_Charge_ID',TO_TIMESTAMP('2008-10-16 15:11:52','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges','D',10,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Charge',0,TO_TIMESTAMP('2008-10-16 15:11:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 16/10/2008 15:11:55 +-- Add charge to order import +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56364 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 16/10/2008 15:12:04 +-- Add charge to order import +ALTER TABLE I_Order ADD COLUMN C_Charge_ID NUMERIC(10) +; + +-- 16/10/2008 15:13:12 +-- Add charge to order import +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56365,2096,0,10,591,'ChargeName',TO_TIMESTAMP('2008-10-16 15:13:10','YYYY-MM-DD HH24:MI:SS'),100,'Name of the Charge','D',60,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Charge Name',0,TO_TIMESTAMP('2008-10-16 15:13:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 16/10/2008 15:13:12 +-- Add charge to order import +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56365 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 16/10/2008 15:13:15 +-- Add charge to order import +ALTER TABLE I_Order ADD COLUMN ChargeName VARCHAR(60) +; + +-- 16/10/2008 15:17:33 +-- Add charge to order import +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56364,56402,0,512,TO_TIMESTAMP('2008-10-16 15:17:32','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges',10,'D','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','N','N','Charge',434,0,TO_TIMESTAMP('2008-10-16 15:17:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 16/10/2008 15:17:33 +-- Add charge to order import +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56402 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 16/10/2008 15:18:50 +-- Add charge to order import +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56365,56403,0,512,TO_TIMESTAMP('2008-10-16 15:18:49','YYYY-MM-DD HH24:MI:SS'),100,'Name of the Charge',40,'D','Y','Y','Y','N','N','N','N','Y','Charge Name',436,0,TO_TIMESTAMP('2008-10-16 15:18:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 16/10/2008 15:18:50 +-- Add charge to order import +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56403 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + diff --git a/migration/352a-trunk/postgresql/310_FR2171947_ad_changelog_speed.sql b/migration/352a-trunk/postgresql/310_FR2171947_ad_changelog_speed.sql new file mode 100644 index 0000000000..2fec9d939b --- /dev/null +++ b/migration/352a-trunk/postgresql/310_FR2171947_ad_changelog_speed.sql @@ -0,0 +1,2 @@ +create index ad_changelog_speed on ad_changelog (ad_table_id, record_id); + diff --git a/migration/352a-trunk/postgresql/311_PosteritaWebPOS_173.sql b/migration/352a-trunk/postgresql/311_PosteritaWebPOS_173.sql new file mode 100644 index 0000000000..55a000e26a --- /dev/null +++ b/migration/352a-trunk/postgresql/311_PosteritaWebPOS_173.sql @@ -0,0 +1,1345 @@ +-- 1.0-1.5/postgresql/001_ad_changes.sql +----------------------------- +INSERT INTO ad_element +(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, +columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) +VALUES(52027, 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, 'isPresentForProduct', +'U', 'isPresentForProduct', 'Present for Product', NULL, NULL, NULL, NULL, NULL, NULL); + +INSERT INTO ad_column +(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, + description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, + ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, +isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, +ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic) + VALUES( 52071, 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, 100, +'isPresentForProduct', 'Price List appears in Product Screen', '', 0, 'U', 'isPresentForProduct', + 255, 20, NULL, NULL, 1, NULL, 'N', 'N', 'N', 'Y', NULL, +'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', + 52027, NULL, 'N', 'N', NULL, NULL); + +INSERT INTO ad_column +(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, + name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, +ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, +isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, +valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, +isalwaysupdateable, columnsql, mandatorylogic) + VALUES(52072 , +0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, 100, 'Mandatory', 'Data entry is required in this column', +'The field must have a value for the record to be saved to the database.', 0, 'U', 'IsMandatory', +255, 20, NULL, NULL, 1, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', + 392, NULL, 'N', 'N', NULL, NULL); + + +-- 1.0-1.5/postgresql/002_ad_message.sql +----------------------------- +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52441 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.price.list', 'Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52442 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pmenu.help', 'Help', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52443 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'list.price', 'List Price', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52444 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'standard.price', 'Standard Price', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52445 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'limit.price', 'Limit Price', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52446 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'tax.incl', 'Tax Incl', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52447 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'tax.excl', 'Tax Excl', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52448 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'type.of.price.list', 'Type of Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52449 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'purchase', 'Purchase', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52450 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'sales', 'Sales', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52451 , 0, 0, 'Y', TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-03-28 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'isPresentForProduct', 'Present for Product', ' ', 'I', 'D'); + + +-- 1.0-1.5/postgresql/003_m_pricelist.sql +----------------------------- +ALTER TABLE m_pricelist ADD COLUMN ismandatory char(1) DEFAULT 'N'; + +ALTER TABLE m_pricelist ADD COLUMN ispresentforproduct char(1) DEFAULT 'N'; + + +-- 1.6/postgresql/001_ad_Changes for C_Currency.sql +----------------------------- +INSERT INTO AD_Element +(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, +columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) +VALUES(52073, 0, 0, 'Y', TO_TIMESTAMP('2008-04-17 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-04-17 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, +'RoundOffFactor', 'U', 'Round Off Factor', 'Round Off Factor', 'Used to Round Off Payment Amount', NULL, NULL, NULL, NULL, NULL); + +INSERT INTO ad_column +(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, +description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, +ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, +isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, +ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic) +VALUES(52074, 0, 0, 'Y', TO_TIMESTAMP('2008-04-17 16:00:00','YYYY-MM-DD HH24:MI:SS'), TO_TIMESTAMP('2008-04-17 16:00:00','YYYY-MM-DD HH24:MI:SS'), 100, 100, 'RoundOffFactor' , 'Used to Round Off Payment Amount', NULL, 0, 'U', 'RoundOffFactor', 141, 22, NULL, NULL, 14, 1, 'N', 'N', 'Y', 'Y', NULL, +'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52073, NULL, 'N', 'N', NULL, NULL); + + +-- 1.6/postgresql/002_ad_message.sql +----------------------------- +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52467 , 0, 0, 'Y', TO_TIMESTAMP('2008-04-25 14:30:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-04-25 14:30:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.currency', 'Currency', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52468 , 0, 0, 'Y', TO_TIMESTAMP('2008-04-25 14:30:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-04-25 14:30:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.delete.price.on.pricelist', 'Delete Price On Price List', ' ', 'I', 'D'); + + +-- 1.6/postgresql/003_C_Currency.sql +----------------------------- +ALTER TABLE C_Currency ADD COLUMN roundOffFactor NUMERIC; + + +-- 1.7.0/postgresql/001_MixedPayment.sql +----------------------------- +-- May 22, 2008 10:57:07 AM GMT+04:00 +-- Create Mixed in the payment rules list +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value +) VALUES ( +0,0,195,52000,TO_DATE('2008-05-22 10:55:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Mixed',TO_DATE('2008-05-22 10:55:30','YYYY-MM-DD HH24:MI:SS'),100,'M') +; + +-- May 22, 2008 10:57:11 AM GMT+04:00 +-- Update the translation +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=52000 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- May 22, 2008 11:28:12 AM GMT+04:00 +-- Creates new Validation rule so that rich client does not get Mixed rule +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID +,AD_Val_Rule_ID,Code +,Created,CreatedBy,EntityType,IsActive +,Name,Type,Updated,UpdatedBy +) VALUES ( +0,0 +,52033,'AD_Ref_List.Value <> ''M''' +,TO_DATE('2008-05-22 11:28:12','YYYY-MM-DD HH24:MI:SS'),100,'D','Y' +,'All_Payment Rule - No mixed','S',TO_DATE('2008-05-22 11:28:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- May 22, 2008 11:30:02 AM GMT+04:00 +-- Updates all columns in AD where the payment rule list is used with the validation created earlier +UPDATE AD_Column SET AD_Val_Rule_ID=52033 WHERE AD_Reference_Value_ID=195 AND AD_Val_Rule_ID IS NULL +; + +-- May 22, 2008 11:31:15 AM GMT+04:00 +-- Updates all columns in AD where an existing validation rule exist and set it to ignore the Mixed rule +UPDATE AD_Val_Rule SET Code='AD_Ref_List.Value <> ''B'' AND AD_Ref_List.Value <> ''M''' WHERE AD_Val_Rule_ID=161 +; + + +-- 1.7.0/postgresql/002_Terminals_newTableStructure.sql +----------------------------- +-- Jun 2, 2008 9:19:48 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Table ( +AccessLevel,AD_Client_ID,AD_Org_ID +,AD_Table_ID,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy +) VALUES ( +'1',0,0 +,52004,'N',TO_DATE('2008-06-02 21:19:47','YYYY-MM-DD HH24:MI:SS'),100,'A','N','Y','N','Y','N','N','N',0,'POS Terminal','L','U_POSTerminal',TO_DATE('2008-06-02 21:19:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:19:48 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=52004 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Jun 2, 2008 9:21:23 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52077,102,0,19,52004,129,'AD_Client_ID',TO_DATE('2008-06-02 21:21:22','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','A',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','Y','Client',0,TO_DATE('2008-06-02 21:21:22','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:21:23 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52077 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:22:32 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52078,113,0,19,52004,130,'AD_Org_ID',TO_DATE('2008-06-02 21:22:32','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','A',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','Y','Organization',0,TO_DATE('2008-06-02 21:22:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:22:32 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52078 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + + +-- Jun 2, 2008 9:23:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52030,0,'AutoLock',TO_DATE('2008-06-02 21:23:51','YYYY-MM-DD HH24:MI:SS'),100,'Whether to automatically lock the terminal when till is closed','A','Y','Auto Lock','Auto Lock',TO_DATE('2008-06-02 21:23:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:23:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52030 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:24:30 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52079,52030,0,20,52004,'AutoLock',TO_DATE('2008-06-02 21:24:30','YYYY-MM-DD HH24:MI:SS'),100,'N','Whether to automatically lock the terminal when till is closed','A',1,'Y','N','N','N','N','Y','N','N','N','N','Y','Auto Lock',0,TO_DATE('2008-06-02 21:24:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:24:30 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52079 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:26:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52031,0,'CashBookTransferType',TO_DATE('2008-06-02 21:26:51','YYYY-MM-DD HH24:MI:SS'),100,'Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book','A','Y','Cash Book Transfer Type','Cash Book Transfer Type',TO_DATE('2008-06-02 21:26:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:26:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52031 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:29:14 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference ( +AD_Client_ID,AD_Org_ID +,AD_Reference_ID,Created,CreatedBy +,Description,EntityType,IsActive +,Name,Updated,UpdatedBy,ValidationType +) VALUES ( +0,0 +,52002,TO_DATE('2008-06-02 21:29:14','YYYY-MM-DD HH24:MI:SS'),100 +,'Where money should be transfered to','A','Y' +,'_TransferType',TO_DATE('2008-06-02 21:29:14','YYYY-MM-DD HH24:MI:SS'),100,'L') +; + +-- Jun 2, 2008 9:29:14 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=52002 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Jun 2, 2008 9:29:42 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,52002,52001,TO_DATE('2008-06-02 21:29:42','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Bank Account',TO_DATE('2008-06-02 21:29:42','YYYY-MM-DD HH24:MI:SS'),100,'B') +; + +-- Jun 2, 2008 9:29:42 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=52001 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Jun 2, 2008 9:29:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,52002,52002,TO_DATE('2008-06-02 21:29:51','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','CashBook',TO_DATE('2008-06-02 21:29:51','YYYY-MM-DD HH24:MI:SS'),100,'C') +; + +-- Jun 2, 2008 9:29:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=52002 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Jun 2, 2008 9:30:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52080,52031,0,17,52002,52004,'CashBookTransferType',TO_DATE('2008-06-02 21:30:13','YYYY-MM-DD HH24:MI:SS'),100,'Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book','A',1,'Y','N','N','N','N','Y','N','N','N','N','Y','Cash Book Transfer Type',0,TO_DATE('2008-06-02 21:30:13','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:30:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52080 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:32:22 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52032,0,'CashTransferBankAccount_ID',TO_DATE('2008-06-02 21:32:22','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account on which to transfer all Cash transactions','A','Y','Transfer Cash trx to','Transfer Cash trx to',TO_DATE('2008-06-02 21:32:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:32:22 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52032 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Nov 6, 2008 9:02:15 AM EET +-- Posterita Integration +UPDATE AD_Ref_Table SET WhereClause='C_BankAccount.IsActive=''Y''',Updated=TO_TIMESTAMP('2008-11-06 09:02:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53283 +; + + +-- Jun 2, 2008 9:34:10 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID +,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable +,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52081,52032,0 +,18,53283 +,52004 +,'CashTransferBankAccount_ID',TO_DATE('2008-06-02 21:34:10','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account on which to transfer all Cash transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Cash trx to',0,TO_DATE('2008-06-02 21:34:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:34:10 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52081 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:35:28 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52033,0,'CashTransferCashBook_ID',TO_DATE('2008-06-02 21:35:28','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Cash transactions','A','Y','Transfer Cash trx to','Transfer Cash trx to',TO_DATE('2008-06-02 21:35:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:35:28 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52033 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:36:18 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,52004,TO_DATE('2008-06-02 21:36:18','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','C_CashBook',TO_DATE('2008-06-02 21:36:18','YYYY-MM-DD HH24:MI:SS'),100,'T') +; + +-- Jun 2, 2008 9:36:18 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=52004 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Jun 2, 2008 9:36:54 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,WhereClause) VALUES (0,5268,5260,0,52004,408,TO_DATE('2008-06-02 21:36:54','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','N',TO_DATE('2008-06-02 21:36:54','YYYY-MM-DD HH24:MI:SS'),100,'C_CashBook.IsActive=''Y''') +; + +-- Jun 2, 2008 9:37:11 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52082,52033,0,18,52004,52004,'CashTransferCashBook_ID',TO_DATE('2008-06-02 21:37:11','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Cash transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Cash trx to',0,TO_DATE('2008-06-02 21:37:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:37:11 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52082 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:37:53 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52083,1463,0,19,52004,'C_CashBook_ID',TO_DATE('2008-06-02 21:37:53','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book for recording petty cash transactions','A',22,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','N','N','N','N','Y','N','N','N','N','Y','Cash Book',0,TO_DATE('2008-06-02 21:37:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:37:53 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52083 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:39:00 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52034,0,'C_CashBPartner_ID',TO_DATE('2008-06-02 21:39:00','YYYY-MM-DD HH24:MI:SS'),100,'BPartner to be used for Cash transactions','A','Y','Cash BPartner','Cash BPartner',TO_DATE('2008-06-02 21:39:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:39:00 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52034 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:39:32 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52084,52034,0,18,173,52004,'C_CashBPartner_ID',TO_DATE('2008-06-02 21:39:32','YYYY-MM-DD HH24:MI:SS'),100,'BPartner to be used for Cash transactions','A',22,'Y','N','N','N','N','Y','N','N','N','N','Y','Cash BPartner',0,TO_DATE('2008-06-02 21:39:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:39:32 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52084 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:41:11 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52035,0,'Check_BankAccount_ID',TO_DATE('2008-06-02 21:41:11','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account to be used for processing Check transactions','A','Y','Check Bank Account','Check Bank Account',TO_DATE('2008-06-02 21:41:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:41:11 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52035 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:41:34 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID +,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52085,52035,0 +,18,53283 +,52004 +,'Check_BankAccount_ID',TO_DATE('2008-06-02 21:41:34','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account to be used for processing Check transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Check Bank Account',0,TO_DATE('2008-06-02 21:41:34','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:41:34 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52085 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:42:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52036,0,'CheckTransferBankAccount_ID',TO_DATE('2008-06-02 21:42:50','YYYY-MM-DD HH24:MI:SS'),100,'Bank account on which to transfer Check transactions','A','Y','Tranfer Check trx to','Transfer Check trx to',TO_DATE('2008-06-02 21:42:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:42:51 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52036 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:43:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID +,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52086,52036,0 +,18,53283 +,52004 +,'CheckTransferBankAccount_ID',TO_DATE('2008-06-02 21:43:15','YYYY-MM-DD HH24:MI:SS'),100,'Bank account on which to transfer Check transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Tranfer Check trx to',0,TO_DATE('2008-06-02 21:43:15','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:43:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52086 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:44:12 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52037,0,'CheckTransferType',TO_DATE('2008-06-02 21:44:12','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Check Transfer Type','Check Transfer Type',TO_DATE('2008-06-02 21:44:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:44:12 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52037 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:44:39 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52087,52037,0,17,52002,52004,'CheckTransferType',TO_DATE('2008-06-02 21:44:39','YYYY-MM-DD HH24:MI:SS'),100,'A',1,'Y','N','N','N','N','N','N','N','N','N','Y','Check Transfer Type',0,TO_DATE('2008-06-02 21:44:39','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:44:39 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52087 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:46:05 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52038,0,'Card_BankAccount_ID',TO_DATE('2008-06-02 21:46:05','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account on which card transactions will be processed','A','Y','Card Bank Account','Card Bank Account',TO_DATE('2008-06-02 21:46:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:46:05 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52038 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:46:28 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID +,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52088,52038,0 +,18,53283 +,52004 +,'Card_BankAccount_ID',TO_DATE('2008-06-02 21:46:28','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account on which card transactions will be processed','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Card Bank Account',0,TO_DATE('2008-06-02 21:46:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:46:28 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52088 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:47:33 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52039,0,'CardTransferBankAccount_ID',TO_DATE('2008-06-02 21:47:33','YYYY-MM-DD HH24:MI:SS'),100,'Bank account on which to transfer Card transactions','A','Y','Transfer Card trx to','Transfer Card trx to',TO_DATE('2008-06-02 21:47:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:47:33 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52039 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:47:59 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column ( +AD_Client_ID +,AD_Column_ID,AD_Element_ID,AD_Org_ID +,AD_Reference_ID,AD_Reference_Value_ID +,AD_Table_ID +,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version +) VALUES ( +0 +,52089,52039,0 +,18,53283 +,52004 +,'CardTransferBankAccount_ID',TO_DATE('2008-06-02 21:47:59','YYYY-MM-DD HH24:MI:SS'),100,'Bank account on which to transfer Card transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Card trx to',0,TO_DATE('2008-06-02 21:47:59','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:47:59 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52089 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:48:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52040,0,'CardTransferCashBook_ID',TO_DATE('2008-06-02 21:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Card transactions','A','Y','Transfer Card trx to','Transfer Card trx to',TO_DATE('2008-06-02 21:48:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:48:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52040 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:49:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52090,52040,0,18,52004,52004,'CardTransferCashBook_ID',TO_DATE('2008-06-02 21:49:35','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Card transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Card trx to',0,TO_DATE('2008-06-02 21:49:35','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:49:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52090 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:50:21 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52041,0,'CardTransferType',TO_DATE('2008-06-02 21:50:21','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Card Transfer Type','Card Transfer Type',TO_DATE('2008-06-02 21:50:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:50:21 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52041 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:50:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52091,52041,0,17,52002,52004,'CardTransferType',TO_DATE('2008-06-02 21:50:40','YYYY-MM-DD HH24:MI:SS'),100,'A',1,'Y','N','N','N','N','N','N','N','N','N','Y','Card Transfer Type',0,TO_DATE('2008-06-02 21:50:40','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:50:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52091 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:51:10 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52092,245,0,16,52004,'Created',TO_DATE('2008-06-02 21:51:10','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','A',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2008-06-02 21:51:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:51:10 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52092 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:52:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52093,246,0,18,110,52004,'CreatedBy',TO_DATE('2008-06-02 21:52:01','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','A',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2008-06-02 21:52:01','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:52:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52093 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:53:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52042,0,'C_TemplateBPartner_ID',TO_DATE('2008-06-02 21:53:39','YYYY-MM-DD HH24:MI:SS'),100,'BPartner that is to be used as template when new customers are created','A','Y','Template BPartner','Template BPartner',TO_DATE('2008-06-02 21:53:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:53:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52042 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:54:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52094,52042,0,18,173,52004,'C_TemplateBPartner_ID',TO_DATE('2008-06-02 21:54:16','YYYY-MM-DD HH24:MI:SS'),100,'BPartner that is to be used as template when new customers are created','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Template BPartner',0,TO_DATE('2008-06-02 21:54:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:54:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52094 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:55:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52095,275,0,10,52004,'Description',TO_DATE('2008-06-02 21:55:01','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','A',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','N','N','Y','Description',0,TO_DATE('2008-06-02 21:55:01','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:55:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52095 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:55:37 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52096,326,0,14,52004,'Help',TO_DATE('2008-06-02 21:55:37','YYYY-MM-DD HH24:MI:SS'),100,'Comment or Hint','A',2000,'The Help field contains a hint, comment or help about the use of this item.','Y','N','N','N','N','N','N','N','N','N','Y','Comment/Help',0,TO_DATE('2008-06-02 21:55:37','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:55:37 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52096 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:56:03 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52097,348,0,20,52004,'IsActive',TO_DATE('2008-06-02 21:56:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','A',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','N','N','N','N','N','Y','Active',0,TO_DATE('2008-06-02 21:56:02','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:56:03 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52097 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:56:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52043,0,'LastLockTime',TO_DATE('2008-06-02 21:56:55','YYYY-MM-DD HH24:MI:SS'),100,'Last time at which the terminal was locked','A','Y','Last Lock Time','Last Lock Time',TO_DATE('2008-06-02 21:56:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:56:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52043 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:57:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52098,52043,0,16,52004,'LastLockTime',TO_DATE('2008-06-02 21:57:13','YYYY-MM-DD HH24:MI:SS'),100,'Last time at which the terminal was locked','A',7,'Y','N','N','N','N','N','N','N','N','N','Y','Last Lock Time',0,TO_DATE('2008-06-02 21:57:13','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:57:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52098 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:58:06 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52044,0,'Locked',TO_DATE('2008-06-02 21:58:06','YYYY-MM-DD HH24:MI:SS'),100,'Whether the terminal is locked','A','Y','Locked','Locked',TO_DATE('2008-06-02 21:58:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:58:06 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52044 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:58:26 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52099,52044,0,20,52004,'Locked',TO_DATE('2008-06-02 21:58:26','YYYY-MM-DD HH24:MI:SS'),100,'N','Whether the terminal is locked','A',1,'Y','N','N','N','N','N','N','N','N','N','Y','Locked',0,TO_DATE('2008-06-02 21:58:26','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 9:58:26 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52099 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 9:59:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52045,0,'LockTime',TO_DATE('2008-06-02 21:59:13','YYYY-MM-DD HH24:MI:SS'),100,'Time in minutes the terminal should be kept in a locked state.','A','Y','Lock Time','Lock Time',TO_DATE('2008-06-02 21:59:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 9:59:13 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52045 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 9:59:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,ValueMin,Version) VALUES (0,52100,52045,0,11,52004,'LockTime',TO_DATE('2008-06-02 21:59:40','YYYY-MM-DD HH24:MI:SS'),100,'Time in minutes the terminal should be kept in a locked state.','A',10,'Y','N','N','N','N','N','N','N','N','N','Y','Lock Time',0,TO_DATE('2008-06-02 21:59:40','YYYY-MM-DD HH24:MI:SS'),100,'0',0) +; + +-- Jun 2, 2008 9:59:40 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52100 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:00:25 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52101,459,0,19,52004,'M_Warehouse_ID',TO_DATE('2008-06-02 22:00:24','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','A',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','N','N','N','N','N','N','N','N','N','Y','Warehouse',0,TO_DATE('2008-06-02 22:00:24','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:00:25 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52101 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:00:44 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52102,469,0,10,52004,'Name',TO_DATE('2008-06-02 22:00:44','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','A',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','N','N','N','N','N','N','N','Y','Name',0,TO_DATE('2008-06-02 22:00:44','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:00:44 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52102 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:02:07 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52103,480,0,18,166,52004,'PO_PriceList_ID',TO_DATE('2008-06-02 22:02:07','YYYY-MM-DD HH24:MI:SS'),100,'Price List used by this Business Partner','A',22,'Identifies the price list used by a Vendor for products purchased by this organization.','Y','N','N','N','N','N','N','N','N','N','Y','Purchase Pricelist',0,TO_DATE('2008-06-02 22:02:07','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:02:07 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52103 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:02:37 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52104,2051,0,10,52004,'PrinterName',TO_DATE('2008-06-02 22:02:37','YYYY-MM-DD HH24:MI:SS'),100,'Name of the Printer','A',60,'Internal (Opereating System) Name of the Printer; Please mote that the printer name may be different on different clients. Enter a printer name, which applies to ALL clients (e.g. printer on a server).

+If none is entered, the default printer is used. You specify your default printer when you log in. You can also change the default printer in Preferences.','Y','N','N','N','N','N','N','N','N','N','Y','Printer Name',0,TO_DATE('2008-06-02 22:02:37','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:02:37 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52104 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:03:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52105,1063,0,18,316,52004,'SalesRep_ID',TO_DATE('2008-06-02 22:03:16','YYYY-MM-DD HH24:MI:SS'),100,'Sales Representative or Company Agent','A',22,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','N','N','Y','Sales Representative',0,TO_DATE('2008-06-02 22:03:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:03:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52105 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:04:15 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52046,0,'SO_PriceList_ID',TO_DATE('2008-06-02 22:04:15','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Sales Pricelist','Sales Pricelist',TO_DATE('2008-06-02 22:04:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 10:04:15 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52046 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 10:04:46 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52106,52046,0,18,166,52004,'SO_PriceList_ID',TO_DATE('2008-06-02 22:04:46','YYYY-MM-DD HH24:MI:SS'),100,'A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Sales Pricelist',0,TO_DATE('2008-06-02 22:04:46','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:04:46 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52106 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:05:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52047,0,'UnlockingTime',TO_DATE('2008-06-02 22:05:16','YYYY-MM-DD HH24:MI:SS'),100,'Time at which the terminal should be unlocked','A','Y','UnlockingTime','UnlockingTime',TO_DATE('2008-06-02 22:05:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 10:05:16 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52047 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 10:05:34 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52107,52047,0,16,52004,'UnlockingTime',TO_DATE('2008-06-02 22:05:34','YYYY-MM-DD HH24:MI:SS'),100,'Time at which the terminal should be unlocked','A',7,'Y','N','N','N','N','N','N','N','N','N','Y','UnlockingTime',0,TO_DATE('2008-06-02 22:05:34','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:05:34 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52107 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:05:58 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52108,607,0,16,52004,'Updated',TO_DATE('2008-06-02 22:05:58','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','A',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2008-06-02 22:05:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:05:58 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52108 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:06:30 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52109,608,0,18,110,52004,'UpdatedBy',TO_DATE('2008-06-02 22:06:30','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','A',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','N','N','N','N','N','Y','Updated By',0,TO_DATE('2008-06-02 22:06:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:06:30 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52109 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:29:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52048,0,'U_POSTerminal_ID',TO_DATE('2008-06-02 22:29:01','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','POS Terminal','POS Terminal',TO_DATE('2008-06-02 22:29:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 10:29:01 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52048 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 10:29:54 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52110,52048,0,13,52004,'U_POSTerminal_ID',TO_DATE('2008-06-02 22:29:54','YYYY-MM-DD HH24:MI:SS'),100,'A',22,'Y','N','N','N','Y','Y','N','N','N','N','N','POS Terminal',0,TO_DATE('2008-06-02 22:29:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:29:54 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52110 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 2, 2008 10:48:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52049,0,'CheckTransferCashBook_ID',TO_DATE('2008-06-02 22:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Check transactions','A','Y','Transfer Check trx to','Transfer Check trx to',TO_DATE('2008-06-02 22:48:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Jun 2, 2008 10:48:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52049 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Jun 2, 2008 10:49:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52111,52049,0,18,52004,52004,'CheckTransferCashBook_ID',TO_DATE('2008-06-02 22:49:35','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book on which to transfer all Check transactions','A',22,'Y','N','N','N','N','N','N','N','N','N','Y','Transfer Check trx to',0,TO_DATE('2008-06-02 22:49:35','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Jun 2, 2008 10:49:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52111 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Jun 3, 2008 2:27:59 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,52006,TO_DATE('2008-06-03 14:27:59','YYYY-MM-DD HH24:MI:SS'),100,1000000,100,'Table U_POSTerminal',1,'Y','N','Y','Y','U_POSTerminal','N',1000000,TO_DATE('2008-06-03 14:27:59','YYYY-MM-DD HH24:MI:SS'),100) +; + + +-- 1.7.0/postgresql/003_Terminals_TransferConfiguration.sql +----------------------------- +ALTER TABLE AD_OrgInfo ADD COLUMN TransferBank_ID NUMERIC; +ALTER TABLE AD_OrgInfo ADD COLUMN TransferCashBook_ID NUMERIC; + +ALTER TABLE AD_OrgInfo + ADD CONSTRAINT "cbank_adorginfo" + FOREIGN KEY(TransferBank_ID) + REFERENCES C_Bank(C_Bank_ID); + + +ALTER TABLE AD_OrgInfo + ADD CONSTRAINT "ccashbook_adorginfo" + FOREIGN KEY(TransferCashBook_ID) + REFERENCES C_CashBook(C_CashBook_ID); + + + + +-- May 26, 2008 23:25:51 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52028,0,'TransferBank_ID',TO_DATE('2008-05-26 23:25:50','YYYY-MM-DD HH24:MI:SS'),100,'Bank account depending on currency will be used from this bank for doing transfers','D','Y','Bank for transfers','Bank for transfers',TO_DATE('2008-05-26 23:25:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- May 26, 2008 23:25:51 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52028 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- May 26, 2008 23:26:38 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,52001,TO_DATE('2008-05-26 23:26:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','C_Bank',TO_DATE('2008-05-26 23:26:38','YYYY-MM-DD HH24:MI:SS'),100,'T') +; + +-- May 26, 2008 23:26:38 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=52001 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- May 26, 2008 23:28:08 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy,WhereClause) VALUES (0,3039,3031,0,52001,296,TO_DATE('2008-05-26 23:28:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_DATE('2008-05-26 23:28:08','YYYY-MM-DD HH24:MI:SS'),100,'C_Bank.IsOwnBank=''Y''') +; + +-- May 26, 2008 23:28:33 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52075,52028,0,18,52001,228,'TransferBank_ID',TO_DATE('2008-05-26 23:28:33','YYYY-MM-DD HH24:MI:SS'),100,'Bank account depending on currency will be used from this bank for doing transfers','D',22,'Y','N','N','N','N','N','N','N','N','N','Y','Bank for transfers',0,TO_DATE('2008-05-26 23:28:33','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- May 26, 2008 23:28:33 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52075 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + + + +-- Cash Book + +-- May 26, 2008 23:29:40 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,52029,0,'TransferCashBook_ID',TO_DATE('2008-05-23 23:29:40','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','CashBook for transfers','CashBook for transfers',TO_DATE('2008-05-23 23:29:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- May 26, 2008 23:29:40 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=52029 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- May 26, 2008 23:30:32 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,52076,52029,0,18,52004,228,'TransferCashBook_ID',TO_DATE('2008-05-23 23:30:31','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','N','N','Y','CashBook for transfers',0,TO_DATE('2008-05-23 23:30:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- May 26, 2008 23:30:32 AM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52076 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + + +-- 1.7.0/postgresql/004_Terminals_newTableDDL.sql +----------------------------- +-- Jun 2, 2008 23:58:02 AM GMT+04:00 +-- Default comment for updating dictionary +CREATE TABLE U_POSTerminal (AD_Client_ID NUMERIC(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMERIC(10) DEFAULT NULL NOT NULL, AutoLock CHAR(1) DEFAULT 'N' CHECK (AutoLock IN ('Y','N')) NOT NULL, Card_BankAccount_ID NUMERIC(10), CardTransferBankAccount_ID NUMERIC(10), CardTransferCashBook_ID NUMERIC(10), CardTransferType CHAR(1), CashBookTransferType CHAR(1) NOT NULL, CashTransferBankAccount_ID NUMERIC(10), CashTransferCashBook_ID NUMERIC(10), C_CashBook_ID NUMERIC(10) NOT NULL, C_CashBPartner_ID NUMERIC(10) NOT NULL, Check_BankAccount_ID NUMERIC(10), CheckTransferBankAccount_ID NUMERIC(10), CheckTransferCashBook_ID NUMERIC(10), CheckTransferType CHAR(1), Created TIMESTAMP NOT NULL, CreatedBy NUMERIC(10) NOT NULL, C_TemplateBPartner_ID NUMERIC(10), Description VARCHAR(255), Help VARCHAR(2000), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')), LastLockTime TIMESTAMP, Locked CHAR(1) DEFAULT 'N' CHECK (Locked IN ('Y','N')), LockTime NUMERIC(10), M_Warehouse_ID NUMERIC(10), Name VARCHAR(60), PO_PriceList_ID NUMERIC(10), PrinterName VARCHAR(60), SalesRep_ID NUMERIC(10), SO_PriceList_ID NUMERIC(10), UnlockingTime TIMESTAMP, Updated TIMESTAMP NOT NULL, UpdatedBy NUMERIC(10), U_POSTerminal_ID NUMERIC(10) NOT NULL, CONSTRAINT U_POSTerminal_Key PRIMARY KEY (U_POSTerminal_ID)) +; + + +-- 1.7.0/postgresql/005_Messages.sql +----------------------------- +-- Jun 9, 2008 1:24:35 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52452,0,TO_DATE('2008-06-09 13:24:35','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Organisation','I',TO_DATE('2008-06-09 13:24:35','YYYY-MM-DD HH24:MI:SS'),100,'smenu.organisation') +; + +-- Jun 9, 2008 1:25:48 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52453,0,TO_DATE('2008-06-09 13:25:48','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Terminals','I',TO_DATE('2008-06-09 13:25:48','YYYY-MM-DD HH24:MI:SS'),100,'smenu.terminal') +; + +-- Jun 9, 2008 1:26:06 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52454,0,TO_DATE('2008-06-09 13:26:06','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Cash Books','I',TO_DATE('2008-06-09 13:26:06','YYYY-MM-DD HH24:MI:SS'),100,'smenu.cashbook') +; + +-- Jun 9, 2008 1:26:30 PM GMT+04:00 +-- Default comment for updating dictionary +UPDATE AD_Message SET MsgTip='Maintain POS Terminals',Updated=TO_DATE('2008-06-09 13:26:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=52453 +; + +-- Jun 9, 2008 1:26:39 PM GMT+04:00 +-- Default comment for updating dictionary +UPDATE AD_Message SET MsgTip='Maintain Cash Books',Updated=TO_DATE('2008-06-09 13:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=52454 +; + +-- Jun 9, 2008 1:27:15 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52455,0,TO_DATE('2008-06-09 13:27:15','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Completed','I',TO_DATE('2008-06-09 13:27:15','YYYY-MM-DD HH24:MI:SS'),100,'document.status.completed') +; + +-- Jun 9, 2008 1:28:05 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52456,0,TO_DATE('2008-06-09 13:28:04','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Drafted','I',TO_DATE('2008-06-09 13:28:04','YYYY-MM-DD HH24:MI:SS'),100,'document.status.drafted') +; + +-- Jun 9, 2008 1:28:27 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52457,0,TO_DATE('2008-06-09 13:28:27','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','In Progress','I',TO_DATE('2008-06-09 13:28:27','YYYY-MM-DD HH24:MI:SS'),100,'document.status.inprogress') +; + +-- Jun 9, 2008 1:28:44 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52458,0,TO_DATE('2008-06-09 13:28:44','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Invalid','I',TO_DATE('2008-06-09 13:28:44','YYYY-MM-DD HH24:MI:SS'),100,'document.status.invalid') +; + +-- Jun 9, 2008 1:28:58 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52459,0,TO_DATE('2008-06-09 13:28:58','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Closed','I',TO_DATE('2008-06-09 13:28:58','YYYY-MM-DD HH24:MI:SS'),100,'document.status.closed') +; + +-- Jun 9, 2008 1:29:15 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52460,0,TO_DATE('2008-06-09 13:29:15','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Cash','I',TO_DATE('2008-06-09 13:29:15','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.cash') +; + +-- Jun 9, 2008 1:29:27 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52461,0,TO_DATE('2008-06-09 13:29:27','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Card','I',TO_DATE('2008-06-09 13:29:27','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.card') +; + +-- Jun 9, 2008 1:29:42 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52462,0,TO_DATE('2008-06-09 13:29:41','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Cheque','I',TO_DATE('2008-06-09 13:29:41','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.cheque') +; + +-- Jun 9, 2008 1:29:55 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52463,0,TO_DATE('2008-06-09 13:29:55','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Mixed','I',TO_DATE('2008-06-09 13:29:55','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.mixed') +; + +-- Jun 9, 2008 1:30:14 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52464,0,TO_DATE('2008-06-09 13:30:13','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Credit','I',TO_DATE('2008-06-09 13:30:13','YYYY-MM-DD HH24:MI:SS'),100,'payment.rule.credit') +; + +-- Jun 9, 2008 1:30:46 PM GMT+04:00 +-- Default comment for updating dictionary +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,52465,0,TO_DATE('2008-06-09 13:30:46','YYYY-MM-DD HH24:MI:SS'),100,'A','Y','Amount Paid','I',TO_DATE('2008-06-09 13:30:46','YYYY-MM-DD HH24:MI:SS'),100,'AmountPaid') +; + +-------------------------------------------------------------------------------------------------------------------------------------------------- +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52470 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'html', 'HTML', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52471 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pdf', 'PDF', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52472 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'csv', 'CSV', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52473 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.sales.report', 'Sales Report', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52474 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.best.selling.items', 'Best Selling Items', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52475 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.stock.sales.report', 'Stock Sales Report', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52476 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.transfer.stock', 'Stock Transfer', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52477 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.inventory.move', 'Inventory Move', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52478 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.move.confirmation', 'Move Confirmation', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52479 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'smenu.barcode.printing', 'Barcode Printing', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52480 , 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'basePriceList', 'Base Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52481, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'isDeleteOldRecords', 'Delete Old Records', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52482, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'sales.price.list', 'Sales Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52483, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'purchase.price.list', 'Purchase Price List', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52484, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pos.terminal', 'Terminal', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52485, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pos.version', 'Version', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52486, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'pmenu.new.reports', 'Reports', ' ', 'I', 'D'); + +INSERT INTO AD_MESSAGE +(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, +updated, updatedby, VALUE, msgtext, msgtip, msgtype, entitytype) +VALUES(52487, 0, 0, 'Y', TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, TO_TIMESTAMP('2008-06-20 10:40:00','YYYY-MM-DD HH24:MI:SS'), 100, +'isCreatePriceList', 'Create Price List', ' ', 'I', 'D'); + + +-- 1.7.1/postgresql/001_M_Inventory.sql +----------------------------- +--Add QtyCSV +ALTER TABLE m_inventoryline ADD COLUMN qtycsv numeric NOT NULL DEFAULT 0; + + +-- 1.7.2/postgresql/001_ADRole.sql +----------------------------- +-- Additional Role Configuration for Discount +ALTER TABLE ad_role ADD COLUMN IsDiscountUptoLimitPrice char(1) NOT NULL DEFAULT 'N'; +ALTER TABLE ad_role ADD COLUMN IsDiscountAllowedOnTotal char(1) NOT NULL DEFAULT 'N'; + + +-- 1.7.3/postgresql/002_ADMessage.sql +----------------------------- +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52488, 0, 0, 'Y', now(), 100, now(), 100, 'discount.upto.price.limit', 'Enforce Discount Upto Limit Price', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52489, 0, 0, 'Y', now(), 100, now(), 100, 'over.ride.limit.price', 'Enforce Overide Limit Price', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52490, 0, 0, 'Y', now(), 100, now(), 100, 'discount.allowed.total', 'Allowed Discount On Total Sales', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52491, 0, 0, 'Y', now(), 100, now(), 100, 'smenu.pos.purchase.report', 'Purchases Report', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52492, 0, 0, 'Y', now(), 100, now(), 100, 'smenu.settle.payment.credit.purchase', 'Settle Payment For Purchases On Credit', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52493, 0, 0, 'Y', now(), 100, now(), 100, 'smenu.user.manual', 'User Manual', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52494, 0, 0, 'Y', now(), 100, now(), 100, 'smenu.contactus', 'Contact Us', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52495, 0, 0, 'Y', now(), 100, now(), 100, 'discount.amt.order.level', 'Discount Amount', NULL, 'I', 'U'); +INSERT INTO ad_message(ad_message_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, value, msgtext, msgtip, msgtype, entitytype) + VALUES(52496, 0, 0, 'Y', now(), 100, now(), 100, 'write.off.amt.order.level', 'Writeoff Amount', NULL, 'I', 'U'); + + +-- 1.7.3/postgresql/003_AD_OrgInfo.sql +----------------------------- +ALTER TABLE ad_orginfo ADD COLUMN receiptfootermsg varchar(1023); + + +-- 1.7.3/postgresql/004_AD_Changes for AD_OrgInfo.sql +----------------------------- +INSERT INTO AD_Element +(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, +columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) +VALUES(52050, 0, 0, 'Y', now() , 100, now(), 100, +'ReceiptFooterMsg', 'U', 'Receipt Footer Msg', 'Receipt Footer Msg', 'This message will be displayed at the bottom of a receipt when doing a sales or purchase', NULL, NULL, NULL, NULL, NULL); + + +INSERT INTO ad_column +(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, +description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, +ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, +isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, +ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic) +VALUES(52112, 0, 0, 'Y', now(), now(), 100, 100, 'ReceiptFooterMsg' , 'This message will be displayed at the bottom of a receipt when doing a sales or purchase', NULL, 0, 'U', 'ReceiptFooterMsg', 228, 10, NULL, NULL, 1024, 1, 'N', 'N', 'Y', 'Y', NULL, +'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52050, NULL, 'N', 'N', NULL, NULL); + + +-- 1.7.3/postgresql/005_MissingIDs.sql +----------------------------- +-- Missing Ids for M_InventoryLine & AD_Role +-- AD Element +INSERT INTO ad_element(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) + VALUES(52051, 0, 0, 'Y', now(), 100, now(), 100, 'IsDiscountUptoLimitPrice', 'U', 'IsDiscountUptoLimitPrice', 'IsDiscountUptoLimitPrice', NULL, NULL, NULL, NULL, NULL, NULL); +INSERT INTO ad_element(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) + VALUES(52052, 0, 0, 'Y', now(), 100, now(), 100, 'IsDiscountAllowedOnTotal', 'U', 'IsDiscountAllowedOnTotal', 'IsDiscountAllowedOnTotal', NULL, NULL, NULL, NULL, NULL, NULL); + +-- AD Column +INSERT INTO ad_column(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic, infofactoryclass) + VALUES(52113, 0, 0, 'Y', now(), now(), 100, 100, 'IsDiscountUptoLimitPrice', NULL, NULL, 0, 'U', 'IsDiscountUptoLimitPrice', 156, 20, NULL, NULL, 1, NULL, 'N', 'N', 'Y', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52051, NULL, 'N', 'N', NULL, NULL, NULL); +INSERT INTO ad_column(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic, infofactoryclass) + VALUES(52114, 0, 0, 'Y', now(), now(), 100, 100, 'IsDiscountAllowedOnTotal', NULL, NULL, 0, 'U', 'IsDiscountAllowedOnTotal', 156, 20, NULL, NULL, 1, NULL, 'N', 'N', 'Y', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52052, NULL, 'N', 'N', NULL, NULL, NULL); + +-- AD Element +INSERT INTO ad_element(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) + VALUES(52053, 0, 0, 'Y', now(), 100, now(), 100, 'QtyCsv', 'U', 'QtyCsv', 'QtyCsv', NULL, NULL, NULL, NULL, NULL, NULL); + +-- AD Column +INSERT INTO ad_column(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic, infofactoryclass) + VALUES(52115, 0, 0, 'Y', now(), now(), 100, 100, 'QtyCsv', NULL, NULL, 0, 'U', 'QtyCsv', 322, 29, NULL, NULL, 131089, NULL, 'N', 'N', 'Y', 'Y', NULL, 'N', NULL, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52053, NULL, 'N', 'N', NULL, NULL, NULL); + + +-- 1.7.3/postgresql/006_PackSize_MProduct.sql +----------------------------- +-- The Units Per Pack indicates the no of units of a product packed together. +ALTER TABLE M_Product ADD COLUMN UnitsPerPack numeric(10,0) not null default 1; + +-- AD Element -- +INSERT INTO ad_element(ad_element_id, ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, columnname, entitytype, name, printname, description, help, po_name, po_printname, po_description, po_help) + VALUES(52054, 0, 0, 'Y', now(), 100, now(), 100, 'UnitsPerPack', 'U', 'UnitsPerPack', 'UnitsPerPack', 'The Units Per Pack indicates the no of units of a product packed together.', NULL, NULL, NULL, NULL, NULL); + +-- AD Column -- +INSERT INTO ad_column(ad_column_id, ad_client_id, ad_org_id, isactive, created, updated, createdby, updatedby, name, description, help, version, entitytype, columnname, ad_table_id, ad_reference_id, ad_reference_value_id, ad_val_rule_id, fieldlength, defaultvalue, iskey, isparent, ismandatory, isupdateable, readonlylogic, isidentifier, seqno, istranslated, isencrypted, callout, vformat, valuemin, valuemax, isselectioncolumn, ad_element_id, ad_process_id, issyncdatabase, isalwaysupdateable, columnsql, mandatorylogic, infofactoryclass) + VALUES(52116, 0, 0, 'Y', now(), now(), 100, 100, 'UnitsPerPack', 'The Units Per Pack indicates the no of units of a product packed together.', NULL, 0, 'U', 'UnitsPerPack', 208, 11, NULL, NULL, 14, NULL, 'N', 'N', 'N', 'Y', NULL, 'N', 0, 'N', 'N', NULL, NULL, NULL, NULL, 'N', 52054, NULL, 'N', 'N', NULL, NULL, NULL); + + +-- 1.7.3/postgresql/007_CashPayment.sql +----------------------------- +-- Alter table -- postgres + +--- Table: C_Payment ----------------------------------------------------------- +ALTER TABLE C_Payment +ALTER COLUMN C_BankAccount_ID DROP NOT NULL; + + +ALTER TABLE C_Payment +ADD C_CashBook_ID NUMERIC(10); + +ALTER TABLE C_Payment +ADD CONSTRAINT C_Payment__C_CashBo_C_CashBook +FOREIGN KEY(C_CashBook_ID) REFERENCES C_CashBook(C_CashBook_ID); + + +--- Migration scripts ---------------------------------------------------------- +-- Aug 26, 2008 11:49:31 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) +VALUES (0,52117,1463,0,19,335,'C_CashBook_ID',now(),100,'Cash Book for recording petty cash transactions','U',10,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','N','N','N','N','N','N','N','N','Y','Cash Book',now(),100,0) +; + +-- Aug 26, 2008 11:49:31 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=52117 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Aug 26, 2008 11:50:27 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Column SET IsMandatory='N',Updated=now(),UpdatedBy=100 WHERE AD_Column_ID=3880 +; + +-- Aug 26, 2008 11:50:27 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET Name='Bank Account', Description='Account at the Bank', Help='The Bank Account identifies an account at this Bank.' WHERE AD_Column_ID=3880 AND IsCentrallyMaintained='Y' +; + +-- Aug 26, 2008 11:51:40 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) +VALUES (0,52117,52052,0,330,now(),100,'Cash Book for recording petty cash transactions',10,'U','The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','Y','Y','N','N','N','N','N','Cash Book',now(),100) +; + +-- Aug 26, 2008 11:51:40 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=52052 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Aug 26, 2008 11:51:40 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) +VALUES (0,13705,52053,0,330,now(),100,10,'D','Y','Y','Y','N','N','N','N','N','Referenced Payment',now(),100) +; + +-- Aug 26, 2008 11:51:40 AM MUT +-- Default comment for updating dictionary +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=52053 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Aug 26, 2008 11:52:11 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=52053 +; + +-- Aug 26, 2008 11:52:11 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET SeqNo=660,IsDisplayed='Y' WHERE AD_Field_ID=52052 +; + +-- Aug 26, 2008 11:52:56 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET DisplayLogic='@TenderType@ !''X''',Updated=now(),UpdatedBy=100 WHERE AD_Field_ID=4030 +; + +-- Aug 26, 2008 11:54:17 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Field SET DisplayLength=14, DisplayLogic='@TenderType@=''X''', IsSameLine='Y',Updated=now(),UpdatedBy=100 WHERE AD_Field_ID=52052 +; + +-- Aug 26, 2008 11:54:42 AM MUT +-- Default comment for updating dictionary +UPDATE AD_Tab SET WhereClause=NULL,Updated=now(),UpdatedBy=100 WHERE AD_Tab_ID=330 +; + + +-- x.x.x/postgresql/ +----------------------------- diff --git a/migration/352a-trunk/postgresql/313_FR2101466_Native_Sequence.sql b/migration/352a-trunk/postgresql/313_FR2101466_Native_Sequence.sql new file mode 100644 index 0000000000..25b8b4358d --- /dev/null +++ b/migration/352a-trunk/postgresql/313_FR2101466_Native_Sequence.sql @@ -0,0 +1,197 @@ +-- Sep 8, 2008 10:12:30 PM CDT +-- DB Native Sequence +INSERT INTO AD_SysConfig (AD_Client_ID,AD_Org_ID,AD_SysConfig_ID,ConfigurationLevel,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,50016,'S',TO_TIMESTAMP('2008-09-08 22:12:21','YYYY-MM-DD HH24:MI:SS'),0,'Y - Yes Use Native Sequence , N - No Use Adempiere Sequence (AD_Sequence)','D','Y','SYSTEM_NATIVE_SEQUENCE',TO_TIMESTAMP('2008-09-08 22:12:21','YYYY-MM-DD HH24:MI:SS'),0,'N') +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53156,'4','org.eevolution.process.EnableNativeSequence',TO_TIMESTAMP('2008-09-08 22:22:38','YYYY-MM-DD HH24:MI:SS'),0,'Enable Native Sequence','D','This process allows Enable the native sequences based in the current AD_Sequence. + +This process should be implemented when the users are not connected.','Y','N','N','N','N','Enable Native Sequence','Y',5,181,TO_TIMESTAMP('2008-09-08 22:22:38','YYYY-MM-DD HH24:MI:SS'),0,'AD_Native_Sequence_Enable') +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53156 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,0,TO_TIMESTAMP('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,102,TO_TIMESTAMP('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:22:39 PM CDT +-- DB Native Sequence +INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53156,103,TO_TIMESTAMP('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-09-08 22:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; +-- Sep 8, 2008 10:24:04 PM CDT +-- DB Native Sequence +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53193,0,53156,'P',TO_TIMESTAMP('2008-09-08 22:24:03','YYYY-MM-DD HH24:MI:SS'),0,'Enable Native Sequence','D','Y','N','N','N','Enable Native Sequence',TO_TIMESTAMP('2008-09-08 22:24:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 8, 2008 10:24:04 PM CDT +-- DB Native Sequence +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53193 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Sep 8, 2008 10:24:04 PM CDT +-- DB Native Sequence +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53193, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53193) +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53083 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=161 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=367 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=456 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=501 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=326 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=566 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=392 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=113 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=220 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=351 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=289 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=302 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=303 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=321 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=461 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53193 +; + +-- Sep 8, 2008 10:24:14 PM CDT +-- DB Native Sequence +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=383 +; + diff --git a/migration/352a-trunk/postgresql/314_PosteritaCashTenderType.sql b/migration/352a-trunk/postgresql/314_PosteritaCashTenderType.sql new file mode 100644 index 0000000000..701bae2620 --- /dev/null +++ b/migration/352a-trunk/postgresql/314_PosteritaCashTenderType.sql @@ -0,0 +1,10 @@ +-- Oct 26, 2008 11:11:07 AM EET +-- Posterita Integration +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53438,214,TO_TIMESTAMP('2008-10-26 11:10:56','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Cash',TO_TIMESTAMP('2008-10-26 11:10:56','YYYY-MM-DD HH24:MI:SS'),100,'X') +; + +-- Oct 26, 2008 11:11:07 AM EET +-- Posterita Integration +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53438 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + diff --git a/migration/352a-trunk/postgresql/315_replace_pljava_for34.sql b/migration/352a-trunk/postgresql/315_replace_pljava_for34.sql new file mode 100644 index 0000000000..d32d9153f7 --- /dev/null +++ b/migration/352a-trunk/postgresql/315_replace_pljava_for34.sql @@ -0,0 +1,1690 @@ +DROP FUNCTION adempiereproperties(); + +DROP FUNCTION adempiereproperty(p_key character varying); + +DROP FUNCTION adempiereversion(); + +DROP FUNCTION bomqtyavailable(m_product_id numeric, m_attributesetinstance_id numeric, m_warehouse_id numeric, m_locator_id numeric); + +DROP FUNCTION bomqtyonhand(m_product_id numeric, m_attributesetinstance_id numeric, m_warehouse_id numeric, m_locator_id numeric); + +DROP FUNCTION bomqtyordered(m_product_id numeric, m_attributesetinstance_id numeric, m_warehouse_id numeric, m_locator_id numeric); + +DROP FUNCTION bomqtyreserved(m_product_id numeric, m_attributesetinstance_id numeric, m_warehouse_id numeric, m_locator_id numeric); + +-- DROP FUNCTION documentno(p_mpc_mrp_id numeric); -- you can enable this line for 340 + + +CREATE OR REPLACE FUNCTION acctBalance(p_Account_ID numeric, p_AmtDr numeric, p_AmtCr numeric) RETURNS numeric AS $body$ +DECLARE + v_balance NUMERIC; + v_AccountType C_ElementValue.AccountType%TYPE; + v_AccountSign C_ElementValue.AccountSign%TYPE; + +BEGIN + v_balance := p_AmtDr - p_AmtCr; + -- + IF (p_Account_ID > 0) THEN + SELECT AccountType, AccountSign + INTO v_AccountType, v_AccountSign + FROM C_ElementValue + WHERE C_ElementValue_ID=p_Account_ID; + -- DBMS_OUTPUT.PUT_LINE('Type=' || v_AccountType || ' - Sign=' || v_AccountSign); + -- Natural Account Sign + IF (v_AccountSign='N') THEN + IF (v_AccountType IN ('A','E')) THEN + v_AccountSign := 'D'; + ELSE + v_AccountSign := 'C'; + END IF; + -- DBMS_OUTPUT.PUT_LINE('Type=' || v_AccountType || ' - Sign=' || v_AccountSign); + END IF; + -- Debit Balance + IF (v_AccountSign = 'C') THEN + v_balance := p_AmtCr - p_AmtDr; + END IF; + END IF; + -- + RETURN v_balance; + EXCEPTION WHEN OTHERS THEN + -- In case Acct not found + RETURN p_AmtDr - p_AmtCr; + +END; + +$body$ LANGUAGE plpgsql; + + + + + +CREATE OR REPLACE FUNCTION bompricelimit(Product_id numeric, Pricelist_version_id numeric) RETURNS numeric AS $bompricelimit$ +DECLARE + v_Price NUMERIC; + v_ProductPrice NUMERIC; + bom RECORD; + +BEGIN + -- Try to get price from PriceList directly + SELECT COALESCE (SUM(PriceLimit), 0) + INTO v_Price + FROM M_ProductPrice + WHERE M_PriceList_Version_ID=PriceList_Version_ID AND M_Product_ID=Product_ID; + + -- No Price - Check if BOM + IF (v_Price = 0) THEN + FOR bom IN + SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM + FROM M_Product_BOM b, M_Product p + WHERE b.M_ProductBOM_ID=p.M_Product_ID + AND b.M_Product_ID=Product_ID + LOOP + v_ProductPrice := bomPriceLimit (bom.M_ProductBOM_ID, PriceList_Version_ID); + v_Price := v_Price + (bom.BOMQty * v_ProductPrice); + END LOOP; + END IF; + -- + RETURN v_Price; + +END; + +$bompricelimit$ LANGUAGE plpgsql; + + + + +ALTER FUNCTION bompricelimit(m_product_id numeric, m_pricelist_version_id numeric) OWNER TO adempiere; + + +CREATE OR REPLACE FUNCTION bompricelist(Product_id numeric, Pricelist_version_id numeric) RETURNS numeric AS $bompricelist$ +DECLARE + v_Price NUMERIC; + v_ProductPrice NUMERIC; + bom RECORD; + +BEGIN + -- Try to get price from pricelist directly + SELECT COALESCE (SUM(PriceList), 0) + INTO v_Price + FROM M_ProductPrice + WHERE M_PriceList_Version_ID=PriceList_Version_ID AND M_Product_ID=Product_ID; + + -- No Price - Check if BOM + IF (v_Price = 0) THEN + FOR bom IN + SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM + FROM M_Product_BOM b, M_Product p + WHERE b.M_ProductBOM_ID=p.M_Product_ID + AND b.M_Product_ID=Product_ID + LOOP + v_ProductPrice := bomPriceList (bom.M_ProductBOM_ID, PriceList_Version_ID); + v_Price := v_Price + (bom.BOMQty * v_ProductPrice); + END LOOP; + END IF; + -- + RETURN v_Price; + +END; + +$bompricelist$ LANGUAGE plpgsql; + + +ALTER FUNCTION bompricelist(m_product_id numeric, m_pricelist_version_id numeric) OWNER TO adempiere; + +CREATE OR REPLACE FUNCTION bompricestd(Product_id numeric, Pricelist_version_id numeric) RETURNS numeric AS $bompricestd$ +DECLARE + v_Price NUMERIC; + v_ProductPrice NUMERIC; + bom RECORD; + +BEGIN + -- Try to get price from PriceList directly + SELECT COALESCE(SUM(PriceStd), 0) + INTO v_Price + FROM M_ProductPrice + WHERE M_PriceList_Version_ID=PriceList_Version_ID AND M_Product_ID=Product_ID; + + -- No Price - Check if BOM + IF (v_Price = 0) THEN + FOR bom IN + SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM + FROM M_Product_BOM b, M_Product p + WHERE b.M_ProductBOM_ID=p.M_Product_ID + AND b.M_Product_ID=Product_ID + LOOP + v_ProductPrice := bomPriceStd (bom.M_ProductBOM_ID, PriceList_Version_ID); + v_Price := v_Price + (bom.BOMQty * v_ProductPrice); + END LOOP; + END IF; + -- + RETURN v_Price; + +END; + +$bompricestd$ LANGUAGE plpgsql; + +ALTER FUNCTION bompricestd(m_product_id numeric, m_pricelist_version_id numeric) OWNER TO adempiere; + +CREATE OR REPLACE FUNCTION bomqtyavailable(Product_ID numeric, Attributesetinstance_id numeric, Warehouse_ID numeric, Locator_ID numeric) + RETURNS numeric AS $bomqtyavailable$ + +BEGIN + + RETURN bomQtyOnHand(Product_ID, Attributesetinstance_id, Warehouse_ID, Locator_ID) + - bomQtyReserved(Product_ID, Attributesetinstance_id, Warehouse_ID, Locator_ID); + +END; + +$bomqtyavailable$ LANGUAGE plpgsql; + +CREATE OR REPLACE FUNCTION bomqtyavailable(Product_id numeric, Warehouse_id numeric, Locator_id numeric) + RETURNS numeric AS $bomqtyavailable$ +DECLARE + v_Price NUMERIC; + v_ProductPrice NUMERIC; + bom RECORD; + +BEGIN + + RETURN bomQtyOnHand(Product_ID, Warehouse_ID, Locator_ID) + - bomQtyReserved(Product_ID, Warehouse_ID, Locator_ID); + +END; + +$bomqtyavailable$ LANGUAGE plpgsql; + + +CREATE OR REPLACE FUNCTION bomqtyonhand(p_Product_ID numeric, p_Warehouse_ID numeric, p_Locator_ID numeric) + RETURNS numeric AS $bomqtyonhand$ +DECLARE + v_Warehouse_ID NUMERIC; + v_Quantity NUMERIC := 99999; -- unlimited + v_IsBOM CHAR(1); + v_IsStocked CHAR(1); + v_ProductType CHAR(1); + v_ProductQty NUMERIC; + v_StdPrecision NUMERIC; + bom RECORD; + +BEGIN + + -- Check Parameters + v_Warehouse_ID := p_Warehouse_ID; + IF (v_Warehouse_ID IS NULL) THEN + IF (p_Locator_ID IS NULL) THEN + RETURN 0; + ELSE + SELECT MAX(M_Warehouse_ID) INTO v_Warehouse_ID + FROM M_Locator + WHERE M_Locator_ID=p_Locator_ID; + END IF; + END IF; + IF (v_Warehouse_ID IS NULL) THEN + RETURN 0; + END IF; + -- DBMS_OUTPUT.PUT_LINE('Warehouse=' || v_Warehouse_ID); + + -- Check, if product exists and if it is stocked + BEGIN + SELECT IsBOM, ProductType, IsStocked + INTO v_IsBOM, v_ProductType, v_IsStocked + FROM M_Product + WHERE M_Product_ID=p_Product_ID; + -- + + EXCEPTION -- not found + WHEN OTHERS THEN + RETURN 0; + END; + + -- No reservation for non-stocked + IF (v_IsBOM='N' AND (v_ProductType<>'I' OR v_IsStocked='N')) THEN + RETURN 0; + -- Stocked item + ELSIF (v_IsStocked='Y') THEN + -- Get ProductQty + SELECT COALESCE(SUM(QtyOnHand), 0) + INTO v_ProductQty + FROM M_Storage s + WHERE M_Product_ID=p_Product_ID + AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID + AND l.M_Warehouse_ID=v_Warehouse_ID); + -- + RETURN v_ProductQty; + END IF; + + -- Go though BOM + + FOR bom IN + SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM, p.IsStocked, p.ProductType + FROM M_Product_BOM b, M_Product p + WHERE b.M_ProductBOM_ID=p.M_Product_ID + AND b.M_Product_ID=p_Product_ID + LOOP + -- Stocked Items "leaf node" + IF (bom.ProductType = 'I' AND bom.IsStocked = 'Y') THEN + -- Get ProductQty + SELECT COALESCE(SUM(QtyOnHand), 0) + INTO v_ProductQty + FROM M_Storage s + WHERE M_Product_ID=bom.M_ProductBOM_ID + AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID + AND l.M_Warehouse_ID=v_Warehouse_ID); + -- Get Rounding Precision + SELECT COALESCE(MAX(u.StdPrecision), 0) + INTO v_StdPrecision + FROM C_UOM u, M_Product p + WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=bom.M_ProductBOM_ID; + -- How much can we make with this product + v_ProductQty := ROUND (v_ProductQty/bom.BOMQty, v_StdPrecision); + -- How much can we make overall + IF (v_ProductQty < v_Quantity) THEN + v_Quantity := v_ProductQty; + END IF; + -- Another BOM + ELSIF (bom.IsBOM = 'Y') THEN + v_ProductQty := bomQtyOnHand (bom.M_ProductBOM_ID, v_Warehouse_ID, p_Locator_ID); + -- How much can we make overall + IF (v_ProductQty < v_Quantity) THEN + v_Quantity := v_ProductQty; + END IF; + END IF; + END LOOP; -- BOM + + + IF (v_Quantity > 0) THEN + -- Get Rounding Precision for Product + SELECT COALESCE(MAX(u.StdPrecision), 0) + INTO v_StdPrecision + FROM C_UOM u, M_Product p + WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=p_Product_ID; + -- + RETURN ROUND (v_Quantity, v_StdPrecision); + END IF; + RETURN 0; + +END; + +$bomqtyonhand$ LANGUAGE plpgsql; + + + +-- ?? CREATE OR REPLACE FUNCTION BomqtyonhandASI + +CREATE OR REPLACE FUNCTION bomqtyordered(p_Product_ID numeric, p_Warehouse_ID numeric, p_Locator_ID numeric) + RETURNS numeric AS $bomqtyordered$ +DECLARE + v_Warehouse_ID NUMERIC; + v_Quantity NUMERIC := 99999; -- unlimited + v_IsBOM CHAR(1); + v_IsStocked CHAR(1); + v_ProductType CHAR(1); + v_ProductQty NUMERIC; + v_StdPrecision NUMERIC; + bom RECORD; + +BEGIN + + -- Check Parameters + v_Warehouse_ID := p_Warehouse_ID; + IF (v_Warehouse_ID IS NULL) THEN + IF (p_Locator_ID IS NULL) THEN + RETURN 0; + ELSE + SELECT MAX(M_Warehouse_ID) INTO v_Warehouse_ID + FROM M_Locator + WHERE M_Locator_ID=p_Locator_ID; + END IF; + END IF; + IF (v_Warehouse_ID IS NULL) THEN + RETURN 0; + END IF; + -- DBMS_OUTPUT.PUT_LINE('Warehouse=' || v_Warehouse_ID); + + -- Check, if product exists and if it is stocked + BEGIN + SELECT IsBOM, ProductType, IsStocked + INTO v_IsBOM, v_ProductType, v_IsStocked + FROM M_Product + WHERE M_Product_ID=p_Product_ID; + -- + + EXCEPTION -- not found + WHEN OTHERS THEN + RETURN 0; + END; + + -- No reservation for non-stocked + IF (v_IsBOM='N' AND (v_ProductType<>'I' OR v_IsStocked='N')) THEN + RETURN 0; + -- Stocked item + ELSIF (v_IsStocked='Y') THEN + -- Get ProductQty + SELECT COALESCE(SUM(QtyOrdered), 0) + INTO v_ProductQty + FROM M_Storage s + WHERE M_Product_ID=p_Product_ID + AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID + AND l.M_Warehouse_ID=v_Warehouse_ID); + -- + RETURN v_ProductQty; + END IF; + + -- Go though BOM + + FOR bom IN + SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM, p.IsStocked, p.ProductType + FROM M_Product_BOM b, M_Product p + WHERE b.M_ProductBOM_ID=p.M_Product_ID + AND b.M_Product_ID=p_Product_ID + LOOP + -- Stocked Items "leaf node" + IF (bom.ProductType = 'I' AND bom.IsStocked = 'Y') THEN + -- Get ProductQty + SELECT COALESCE(SUM(QtyOrdered), 0) + INTO v_ProductQty + FROM M_Storage s + WHERE M_Product_ID=bom.M_ProductBOM_ID + AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID + AND l.M_Warehouse_ID=v_Warehouse_ID); + -- Get Rounding Precision + SELECT COALESCE(MAX(u.StdPrecision), 0) + INTO v_StdPrecision + FROM C_UOM u, M_Product p + WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=bom.M_ProductBOM_ID; + -- How much can we make with this product + v_ProductQty := ROUND (v_ProductQty/bom.BOMQty, v_StdPrecision); + -- How much can we make overall + IF (v_ProductQty < v_Quantity) THEN + v_Quantity := v_ProductQty; + END IF; + -- Another BOM + ELSIF (bom.IsBOM = 'Y') THEN + v_ProductQty := bomQtyOrdered (bom.M_ProductBOM_ID, v_Warehouse_ID, p_Locator_ID); + -- How much can we make overall + IF (v_ProductQty < v_Quantity) THEN + v_Quantity := v_ProductQty; + END IF; + END IF; + END LOOP; -- BOM + + -- Unlimited (e.g. only services) + IF (v_Quantity = 99999) THEN + RETURN 0; + END IF; + + IF (v_Quantity > 0) THEN + -- Get Rounding Precision for Product + SELECT COALESCE(MAX(u.StdPrecision), 0) + INTO v_StdPrecision + FROM C_UOM u, M_Product p + WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=p_Product_ID; + -- + RETURN ROUND (v_Quantity, v_StdPrecision); + END IF; + RETURN 0; + +END; + +$bomqtyordered$ LANGUAGE plpgsql; + + + +-- ?? CREATE OR REPLACE FUNCTION BomqtyorderedASI + +CREATE OR REPLACE FUNCTION bomqtyreserved(p_Product_ID numeric, p_Warehouse_ID numeric, p_Locator_ID numeric) + RETURNS numeric AS $bomqtyreserved$ +DECLARE + v_Warehouse_ID NUMERIC; + v_Quantity NUMERIC := 99999; -- unlimited + v_IsBOM CHAR(1); + v_IsStocked CHAR(1); + v_ProductType CHAR(1); + v_ProductQty NUMERIC; + v_StdPrecision NUMERIC; + bom RECORD; + +BEGIN + + -- Check Parameters + v_Warehouse_ID := p_Warehouse_ID; + IF (v_Warehouse_ID IS NULL) THEN + IF (p_Locator_ID IS NULL) THEN + RETURN 0; + ELSE + SELECT MAX(M_Warehouse_ID) INTO v_Warehouse_ID + FROM M_Locator + WHERE M_Locator_ID=p_Locator_ID; + END IF; + END IF; + IF (v_Warehouse_ID IS NULL) THEN + RETURN 0; + END IF; + -- DBMS_OUTPUT.PUT_LINE('Warehouse=' || v_Warehouse_ID); + + -- Check, if product exists and if it is stocked + BEGIN + SELECT IsBOM, ProductType, IsStocked + INTO v_IsBOM, v_ProductType, v_IsStocked + FROM M_Product + WHERE M_Product_ID=p_Product_ID; + -- + + EXCEPTION -- not found + WHEN OTHERS THEN + RETURN 0; + END; + + -- No reservation for non-stocked + IF (v_IsBOM='N' AND (v_ProductType<>'I' OR v_IsStocked='N')) THEN + RETURN 0; + -- Stocked item + ELSIF (v_IsStocked='Y') THEN + -- Get ProductQty + SELECT COALESCE(SUM(QtyReserved), 0) + INTO v_ProductQty + FROM M_Storage s + WHERE M_Product_ID=p_Product_ID + AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID + AND l.M_Warehouse_ID=v_Warehouse_ID); + -- + RETURN v_ProductQty; + END IF; + + -- Go though BOM + + FOR bom IN + SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM, p.IsStocked, p.ProductType + FROM M_Product_BOM b, M_Product p + WHERE b.M_ProductBOM_ID=p.M_Product_ID + AND b.M_Product_ID=p_Product_ID + LOOP + -- Stocked Items "leaf node" + IF (bom.ProductType = 'I' AND bom.IsStocked = 'Y') THEN + -- Get ProductQty + SELECT COALESCE(SUM(QtyReserved), 0) + INTO v_ProductQty + FROM M_Storage s + WHERE M_Product_ID=bom.M_ProductBOM_ID + AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID + AND l.M_Warehouse_ID=v_Warehouse_ID); + -- Get Rounding Precision + SELECT COALESCE(MAX(u.StdPrecision), 0) + INTO v_StdPrecision + FROM C_UOM u, M_Product p + WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=bom.M_ProductBOM_ID; + -- How much can we make with this product + v_ProductQty := ROUND (v_ProductQty/bom.BOMQty, v_StdPrecision); + -- How much can we make overall + IF (v_ProductQty < v_Quantity) THEN + v_Quantity := v_ProductQty; + END IF; + -- Another BOM + ELSIF (bom.IsBOM = 'Y') THEN + v_ProductQty := bomQtyReserved (bom.M_ProductBOM_ID, v_Warehouse_ID, p_Locator_ID); + -- How much can we make overall + IF (v_ProductQty < v_Quantity) THEN + v_Quantity := v_ProductQty; + END IF; + END IF; + END LOOP; -- BOM + + -- Unlimited (e.g. only services) + IF (v_Quantity = 99999) THEN + RETURN 0; + END IF; + + IF (v_Quantity > 0) THEN + -- Get Rounding Precision for Product + SELECT COALESCE(MAX(u.StdPrecision), 0) + INTO v_StdPrecision + FROM C_UOM u, M_Product p + WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=p_Product_ID; + -- + RETURN ROUND (v_Quantity, v_StdPrecision); + END IF; + RETURN 0; + +END; + +$bomqtyreserved$ LANGUAGE plpgsql; + + +-- ?? CREATE OR REPLACE FUNCTION BomqtyreservedASI + +CREATE OR REPLACE FUNCTION bpartnerRemitLocation(p_C_BPartner_ID C_BPartner.C_BPartner_ID%TYPE) +RETURNS numeric AS $body$ + +DECLARE + v_C_Location_ID NUMERIC := NULL; + l RECORD; + +BEGIN + FOR l IN + SELECT IsRemitTo, C_Location_ID + FROM C_BPartner_Location + WHERE C_BPartner_ID=p_C_BPartner_ID + ORDER BY IsRemitTo DESC + LOOP + IF (v_C_Location_ID IS NULL) THEN + v_C_Location_ID := l.C_Location_ID; + END IF; + END LOOP; + RETURN v_C_Location_ID; + +END; + +$body$ LANGUAGE plpgsql; + + + +create or replace FUNCTION currencyBase +( + p_Amount NUMERIC, + p_CurFrom_ID NUMERIC, + p_ConvDate timestamp with time zone, + p_Client_ID NUMERIC, + p_Org_ID NUMERIC +) +RETURNS numeric AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + * + *** + * Title: Convert Amount to Base Currency of Client + * Description: + * Get CurrencyTo from Client + * Returns NULL, if conversion not found + * Standard Rounding + * Test: + * SELECT currencyBase(100,116,null,11,null) FROM AD_System; => 64.72 + ************************************************************************/ +DECLARE + v_CurTo_ID NUMERIC; +BEGIN + -- Get Currency + SELECT MAX(ac.C_Currency_ID) + INTO v_CurTo_ID + FROM AD_ClientInfo ci, C_AcctSchema ac + WHERE ci.C_AcctSchema1_ID=ac.C_AcctSchema_ID + AND ci.AD_Client_ID=p_Client_ID; + -- Same as Currency_Conversion - if currency/rate not found - return 0 + IF (v_CurTo_ID IS NULL) THEN + RETURN NULL; + END IF; + -- Same currency + IF (p_CurFrom_ID = v_CurTo_ID) THEN + RETURN p_Amount; + END IF; + + RETURN currencyConvert (p_Amount, p_CurFrom_ID, v_CurTo_ID, p_ConvDate, null, p_Client_ID, p_Org_ID); +END; + +$body$ LANGUAGE plpgsql; + +CREATE OR REPLACE FUNCTION currencyConvert( + p_Amount NUMERIC, + p_CurFrom_ID NUMERIC, + p_CurTo_ID NUMERIC, + p_ConvDate timestamp with time zone, + p_ConversionType_ID IN NUMERIC, + p_Client_ID NUMERIC, + p_Org_ID NUMERIC + ) + +RETURNS numeric AS $body$ + +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + *** + * Title: Convert Amount (using IDs) + * Description: + * from CurrencyFrom_ID to CurrencyTo_ID + * Returns NULL, if conversion not found + * Standard Rounding + * Test: + * SELECT currencyConvert(100,116,100,null,null,null,null) FROM AD_System; => 64.72 + ************************************************************************/ + + +DECLARE + v_Rate NUMERIC; + +BEGIN + -- Return Amount + IF (p_Amount = 0 OR p_CurFrom_ID = p_CurTo_ID) THEN + RETURN p_Amount; + END IF; + -- Return NULL + IF (p_Amount IS NULL OR p_CurFrom_ID IS NULL OR p_CurTo_ID IS NULL) THEN + RETURN NULL; + END IF; + + -- Get Rate + v_Rate := currencyRate (p_CurFrom_ID, p_CurTo_ID, p_ConvDate, p_ConversionType_ID, p_Client_ID, p_Org_ID); + IF (v_Rate IS NULL) THEN + RETURN NULL; + END IF; + + -- Standard Precision + RETURN currencyRound(p_Amount * v_Rate, p_CurTo_ID, null); + +END; + +$body$ LANGUAGE plpgsql; + + + + + + +CREATE OR REPLACE FUNCTION currencyRate( + p_CurFrom_ID NUMERIC, + p_CurTo_ID NUMERIC, + p_ConvDate timestamp with time zone, + p_ConversionType_ID NUMERIC, + p_Client_ID NUMERIC, + p_Org_ID NUMERIC + ) + +RETURNS numeric AS $body$ + +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + *** + * Title: Return Conversion Rate + * Description: + * from CurrencyFrom_ID to CurrencyTo_ID + * Returns NULL, if rate not found + * Test + * SELECT currencyrate(116, 100, null, null, null, null) FROM AD_System; => .647169 + ************************************************************************/ + + +DECLARE + -- Currency From variables + cf_IsEuro CHAR(1); + cf_IsEMUMember CHAR(1); + cf_EMUEntryDate timestamp with time zone; + cf_EMURate NUMERIC; + -- Currency To variables + ct_IsEuro CHAR(1); + ct_IsEMUMember CHAR(1); + ct_EMUEntryDate DATE; + ct_EMURate NUMERIC; + -- Triangle + v_CurrencyFrom NUMERIC; + v_CurrencyTo NUMERIC; + v_CurrencyEuro NUMERIC; + -- + v_ConvDate timestamp with time zone := now(); + v_ConversionType_ID NUMERIC := 0; + v_Rate NUMERIC; + c RECORD; + +BEGIN +-- No Conversion + IF (p_CurFrom_ID = p_CurTo_ID) THEN + RETURN 1; + END IF; + -- Default Date Parameter + IF (p_ConvDate IS NOT NULL) THEN + v_ConvDate := p_ConvDate; -- SysDate + END IF; + -- Default Conversion Type + IF (p_ConversionType_ID IS NULL OR p_ConversionType_ID = 0) THEN + BEGIN + SELECT C_ConversionType_ID + INTO v_ConversionType_ID + FROM C_ConversionType + WHERE IsDefault='Y' + AND AD_Client_ID IN (0,p_Client_ID) + AND ROWNUM=1 + ORDER BY AD_Client_ID DESC; + EXCEPTION WHEN OTHERS THEN + RAISE NOTICE 'Conversion Type Not Found'; + END; + ELSE + v_ConversionType_ID := p_ConversionType_ID; + END IF; + + -- Get Currency Info + SELECT MAX(IsEuro), MAX(IsEMUMember), MAX(EMUEntryDate), MAX(EMURate) + INTO cf_IsEuro, cf_IsEMUMember, cf_EMUEntryDate, cf_EMURate + FROM C_Currency + WHERE C_Currency_ID = p_CurFrom_ID; + -- Not Found + IF (cf_IsEuro IS NULL) THEN + RAISE NOTICE 'From Currency Not Found'; + RETURN NULL; + END IF; + SELECT MAX(IsEuro), MAX(IsEMUMember), MAX(EMUEntryDate), MAX(EMURate) + INTO ct_IsEuro, ct_IsEMUMember, ct_EMUEntryDate, ct_EMURate + FROM C_Currency + WHERE C_Currency_ID = p_CurTo_ID; + -- Not Found + IF (ct_IsEuro IS NULL) THEN + RAISE NOTICE 'To Currency Not Found'; + RETURN NULL; + END IF; + + -- Fixed - From Euro to EMU + IF (cf_IsEuro = 'Y' AND ct_IsEMUMember ='Y' AND v_ConvDate >= ct_EMUEntryDate) THEN + RETURN ct_EMURate; + END IF; + + -- Fixed - From EMU to Euro + IF (ct_IsEuro = 'Y' AND cf_IsEMUMember ='Y' AND v_ConvDate >= cf_EMUEntryDate) THEN + RETURN 1 / cf_EMURate; + END IF; + + -- Fixed - From EMU to EMU + IF (cf_IsEMUMember = 'Y' AND cf_IsEMUMember ='Y' + AND v_ConvDate >= cf_EMUEntryDate AND v_ConvDate >= ct_EMUEntryDate) THEN + RETURN ct_EMURate / cf_EMURate; + END IF; + + -- Flexible Rates + v_CurrencyFrom := p_CurFrom_ID; + v_CurrencyTo := p_CurTo_ID; + + -- if EMU Member involved, replace From/To Currency + IF ((cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate) + OR (ct_isEMUMember = 'Y' AND v_ConvDate >= ct_EMUEntryDate)) THEN + SELECT MAX(C_Currency_ID) + INTO v_CurrencyEuro + FROM C_Currency + WHERE IsEuro = 'Y'; + -- Conversion Rate not Found + IF (v_CurrencyEuro IS NULL) THEN + RAISE NOTICE 'Euro Not Found'; + RETURN NULL; + END IF; + IF (cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate) THEN + v_CurrencyFrom := v_CurrencyEuro; + ELSE + v_CurrencyTo := v_CurrencyEuro; + END IF; + END IF; + + -- Get Rate + + BEGIN + FOR c IN SELECT MultiplyRate + FROM C_Conversion_Rate + WHERE C_Currency_ID=v_CurrencyFrom AND C_Currency_ID_To=v_CurrencyTo + AND C_ConversionType_ID=v_ConversionType_ID + AND v_ConvDate BETWEEN ValidFrom AND ValidTo + AND AD_Client_ID IN (0,p_Client_ID) AND AD_Org_ID IN (0,p_Org_ID) + ORDER BY AD_Client_ID DESC, AD_Org_ID DESC, ValidFrom DESC + LOOP + v_Rate := c.MultiplyRate; + EXIT; -- only first + END LOOP; + END; + -- Not found + IF (v_Rate IS NULL) THEN + RAISE NOTICE 'Conversion Rate Not Found'; + RETURN NULL; + END IF; + + -- Currency From was EMU + IF (cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate) THEN + RETURN v_Rate / cf_EMURate; + END IF; + + -- Currency To was EMU + IF (ct_isEMUMember = 'Y' AND v_ConvDate >= ct_EMUEntryDate) THEN + RETURN v_Rate * ct_EMURate; + END IF; + + RETURN v_Rate; + +EXCEPTION WHEN OTHERS THEN + RAISE NOTICE '%', SQLERRM; + RETURN NULL; + + +END; + +$body$ LANGUAGE plpgsql; + + +CREATE OR REPLACE FUNCTION invoiceDiscount +( + p_C_Invoice_ID NUMERIC, + p_paydate timestamp with time zone, + p_C_InvoicePaySchedule_ID NUMERIC +) +RETURNS numeric AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + *** + * Title: Calculate Payment Discount Amount + * Description: + * - Calculate discountable amount (i.e. with or without tax) + * - Calculate and return payment discount + * Test: + * select invoiceDiscount(109, now(), 103) from ad_system; => 0 + ************************************************************************/ +DECLARE + v_Amount NUMERIC; + v_IsDiscountLineAmt CHAR(1); + v_GrandTotal NUMERIC; + v_TotalLines NUMERIC; + v_C_PaymentTerm_ID NUMERIC(10); + v_DocDate timestamp with time zone; + v_PayDate timestamp with time zone := now(); + v_IsPayScheduleValid CHAR(1); + +BEGIN + SELECT ci.IsDiscountLineAmt, i.GrandTotal, i.TotalLines, + i.C_PaymentTerm_ID, i.DateInvoiced, i.IsPayScheduleValid + INTO v_IsDiscountLineAmt, v_GrandTotal, v_TotalLines, + v_C_PaymentTerm_ID, v_DocDate, v_IsPayScheduleValid + FROM AD_ClientInfo ci, C_Invoice i + WHERE ci.AD_Client_ID=i.AD_Client_ID + AND i.C_Invoice_ID=p_C_Invoice_ID; + + -- What Amount is the Discount Base? + IF (v_IsDiscountLineAmt = 'Y') THEN + v_Amount := v_TotalLines; + ELSE + v_Amount := v_GrandTotal; + END IF; + + -- Anything to discount? + IF (v_Amount = 0) THEN + RETURN 0; + END IF; + IF (p_PayDate IS NOT NULL) THEN + v_PayDate := p_PayDate; + END IF; + + -- Valid Payment Schedule + IF (v_IsPayScheduleValid='Y' AND p_C_InvoicePaySchedule_ID > 0) THEN + SELECT COALESCE(MAX(DiscountAmt),0) + INTO v_Amount + FROM C_InvoicePaySchedule + WHERE C_InvoicePaySchedule_ID=p_C_InvoicePaySchedule_ID + AND DiscountDate <= v_PayDate; + -- + RETURN v_Amount; + END IF; + + -- return discount amount + RETURN paymentTermDiscount (v_Amount, 0, v_C_PaymentTerm_ID, v_DocDate, p_PayDate); + +-- Most likely if invoice not found +EXCEPTION + WHEN OTHERS THEN + RETURN NULL; +END; + +$body$ LANGUAGE plpgsql; + + + + +CREATE OR REPLACE FUNCTION invoiceOpen +( + p_C_Invoice_ID IN NUMERIC, + p_C_InvoicePaySchedule_ID IN NUMERIC +) +RETURNS numeric AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + *** + * Title: Calculate Open Item Amount in Invoice Currency + * Description: + * Add up total amount open for C_Invoice_ID if no split payment. + * Grand Total minus Sum of Allocations in Invoice Currency + * + * For Split Payments: + * Allocate Payments starting from first schedule. + * Cannot be used for IsPaid as mutating + * + * Test: + * SELECT C_InvoicePaySchedule_ID, DueAmt FROM C_InvoicePaySchedule WHERE C_Invoice_ID=109 ORDER BY DueDate; + * SELECT invoiceOpen (109, null) FROM AD_System; - converted to default client currency + * SELECT invoiceOpen (109, 11) FROM AD_System; - converted to default client currency + * SELECT invoiceOpen (109, 102) FROM AD_System; + * SELECT invoiceOpen (109, 103) FROM AD_System; + ************************************************************************/ +DECLARE + v_Currency_ID NUMERIC(10); + v_TotalOpenAmt NUMERIC := 0; + v_PaidAmt NUMERIC := 0; + v_Remaining NUMERIC := 0; + v_MultiplierAP NUMERIC := 0; + v_MultiplierCM NUMERIC := 0; + v_Temp NUMERIC := 0; + ar RECORD; + s RECORD; + +BEGIN + -- Get Currency + BEGIN + SELECT MAX(C_Currency_ID), SUM(GrandTotal), MAX(MultiplierAP), MAX(Multiplier) + INTO v_Currency_ID, v_TotalOpenAmt, v_MultiplierAP, v_MultiplierCM + FROM C_Invoice_v -- corrected for CM / Split Payment + WHERE C_Invoice_ID = p_C_Invoice_ID; + EXCEPTION -- Invoice in draft form + WHEN OTHERS THEN + RAISE NOTICE 'InvoiceOpen - %', SQLERRM; + RETURN NULL; + END; + + -- Calculate Allocated Amount + FOR ar IN + SELECT a.AD_Client_ID, a.AD_Org_ID, + al.Amount, al.DiscountAmt, al.WriteOffAmt, + a.C_Currency_ID, a.DateTrx + FROM C_AllocationLine al + INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) + WHERE al.C_Invoice_ID = p_C_Invoice_ID + AND a.IsActive='Y' + LOOP + v_Temp := ar.Amount + ar.DisCountAmt + ar.WriteOffAmt; + v_PaidAmt := v_PaidAmt + -- Allocation + + currencyConvert(v_Temp * v_MultiplierAP, + ar.C_Currency_ID, v_Currency_ID, ar.DateTrx, null, ar.AD_Client_ID, ar.AD_Org_ID); + RAISE NOTICE ' PaidAmt=% , Allocation= % * %', v_PaidAmt, v_Temp, v_MultiplierAP; + END LOOP; + + -- Do we have a Payment Schedule ? + IF (p_C_InvoicePaySchedule_ID > 0) THEN -- if not valid = lists invoice amount + v_Remaining := v_PaidAmt; + FOR s IN + SELECT C_InvoicePaySchedule_ID, DueAmt + FROM C_InvoicePaySchedule + WHERE C_Invoice_ID = p_C_Invoice_ID + AND IsValid='Y' + ORDER BY DueDate + LOOP + IF (s.C_InvoicePaySchedule_ID = p_C_InvoicePaySchedule_ID) THEN + v_TotalOpenAmt := (s.DueAmt*v_MultiplierCM) - v_Remaining; + IF (s.DueAmt - v_Remaining < 0) THEN + v_TotalOpenAmt := 0; + END IF; + ELSE -- calculate amount, which can be allocated to next schedule + v_Remaining := v_Remaining - s.DueAmt; + IF (v_Remaining < 0) THEN + v_Remaining := 0; + END IF; + END IF; + END LOOP; + ELSE + v_TotalOpenAmt := v_TotalOpenAmt - v_PaidAmt; + END IF; +-- RAISE NOTICE '== Total=' || v_TotalOpenAmt; + + -- Ignore Rounding + IF (v_TotalOpenAmt BETWEEN -0.00999 AND 0.00999) THEN + v_TotalOpenAmt := 0; + END IF; + + -- Round to penny + v_TotalOpenAmt := ROUND(COALESCE(v_TotalOpenAmt,0), 2); + RETURN v_TotalOpenAmt; +END; + +$body$ LANGUAGE plpgsql; + + + + + + + + +CREATE OR REPLACE FUNCTION invoicePaid +( + p_C_Invoice_ID NUMERIC, + p_C_Currency_ID NUMERIC, + p_MultiplierAP NUMERIC -- DEFAULT 1 +) +RETURNS numeric AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + *** + * Title: Calculate Paid/Allocated amount in Currency + * Description: + * Add up total amount paid for for C_Invoice_ID. + * Split Payments are ignored. + * all allocation amounts converted to invoice C_Currency_ID + * round it to the nearest cent + * and adjust for CreditMemos by using C_Invoice_v + * and for Payments with the multiplierAP (-1, 1) + * + * + * Test: + SELECT C_Invoice_ID, IsPaid, IsSOTrx, GrandTotal, + invoicePaid (C_Invoice_ID, C_Currency_ID, MultiplierAP) + FROM C_Invoice_v; + * + ************************************************************************/ +DECLARE + v_MultiplierAP NUMERIC := 1; + v_PaymentAmt NUMERIC := 0; + ar RECORD; + +BEGIN + -- Default + IF (p_MultiplierAP IS NOT NULL) THEN + v_MultiplierAP := p_MultiplierAP; + END IF; + -- Calculate Allocated Amount + FOR ar IN + SELECT a.AD_Client_ID, a.AD_Org_ID, + al.Amount, al.DiscountAmt, al.WriteOffAmt, + a.C_Currency_ID, a.DateTrx + FROM C_AllocationLine al + INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) + WHERE al.C_Invoice_ID = p_C_Invoice_ID + AND a.IsActive='Y' + LOOP + v_PaymentAmt := v_PaymentAmt + + currencyConvert(ar.Amount + ar.DisCountAmt + ar.WriteOffAmt, + ar.C_Currency_ID, p_C_Currency_ID, ar.DateTrx, null, ar.AD_Client_ID, ar.AD_Org_ID); + END LOOP; + -- + RETURN ROUND(COALESCE(v_PaymentAmt,0), 2) * v_MultiplierAP; +END; + +$body$ LANGUAGE plpgsql; + + + +CREATE OR REPLACE FUNCTION nextid( + p_AD_Sequence_ID IN INTEGER, + p_System IN VARCHAR, + o_NextID OUT INTEGER +) + RETURNS INTEGER AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2005 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + *** + * Title: Get Next ID - no Commit + * Description: Returns the next id of the sequence. + * Test: + * select * from nextid((select ad_sequence_id from ad_sequence where name = 'Test')::Integer, 'Y'::Varchar); + * + ************************************************************************/ + +BEGIN + IF (p_System = 'Y') THEN + RAISE NOTICE 'system'; + SELECT CurrentNextSys + INTO o_NextID + FROM AD_Sequence + WHERE AD_Sequence_ID=p_AD_Sequence_ID; + -- + UPDATE AD_Sequence + SET CurrentNextSys = CurrentNextSys + IncrementNo + WHERE AD_Sequence_ID=p_AD_Sequence_ID; + ELSE + SELECT CurrentNext + INTO o_NextID + FROM AD_Sequence + WHERE AD_Sequence_ID=p_AD_Sequence_ID; + -- + UPDATE AD_Sequence + SET CurrentNext = CurrentNext + IncrementNo + WHERE AD_Sequence_ID=p_AD_Sequence_ID; + END IF; + -- +EXCEPTION + WHEN OTHERS THEN + RAISE NOTICE '%',SQLERRM; +END; + +$body$ LANGUAGE plpgsql; + + + +CREATE OR REPLACE FUNCTION nextidfunc( + p_AD_Sequence_ID IN INTEGER, + p_System IN VARCHAR +) + RETURNS INTEGER AS $body$ +DECLARE + o_NextIDFunc INTEGER; + dummy INTEGER; +BEGIN + o_NextIDFunc := nextid(p_AD_Sequence_ID, p_System); + RETURN o_NextIDFunc; +END; +$body$ LANGUAGE plpgsql; + + +create or replace FUNCTION paymentAllocated +( + p_C_Payment_ID IN NUMERIC, + p_C_Currency_ID IN NUMERIC +) +RETURNS NUMERIC AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + * Title: Calculate Allocated Payment Amount in Payment Currency + * Description: + -- + SELECT paymentAllocated(C_Payment_ID,C_Currency_ID), PayAmt, IsAllocated + FROM C_Payment_v + WHERE C_Payment_ID<1000000; + -- + UPDATE C_Payment_v + SET IsAllocated=CASE WHEN paymentAllocated(C_Payment_ID, C_Currency_ID)=PayAmt THEN 'Y' ELSE 'N' END + WHERE C_Payment_ID>=1000000; + + ************************************************************************/ +DECLARE + v_AllocatedAmt NUMERIC := 0; + v_PayAmt NUMERIC; + r RECORD; +BEGIN + -- Charge - nothing available + SELECT + INTO v_PayAmt MAX(PayAmt) + FROM C_Payment + WHERE C_Payment_ID=p_C_Payment_ID AND C_Charge_ID > 0; + + IF (v_PayAmt IS NOT NULL) THEN + RETURN v_PayAmt; + END IF; + + -- Calculate Allocated Amount + FOR r IN + SELECT a.AD_Client_ID, a.AD_Org_ID, al.Amount, a.C_Currency_ID, a.DateTrx + FROM C_AllocationLine al + INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) + WHERE al.C_Payment_ID = p_C_Payment_ID + AND a.IsActive='Y' + LOOP + v_AllocatedAmt := v_AllocatedAmt + + currencyConvert(r.Amount, r.C_Currency_ID, p_C_Currency_ID, r.DateTrx, null, r.AD_Client_ID, r.AD_Org_ID); + END LOOP; + -- Round to penny + v_AllocatedAmt := ROUND(COALESCE(v_AllocatedAmt,0), 2); + RETURN v_AllocatedAmt; +END; + +$body$ LANGUAGE plpgsql; + + + + +create or replace FUNCTION paymentAvailable +( + p_C_Payment_ID IN NUMERIC +) +RETURNS NUMERIC AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + * Title: Calculate Available Payment Amount in Payment Currency + * Description: + * similar to C_Invoice_Open + ************************************************************************/ +DECLARE + v_Currency_ID NUMERIC(10); + v_AvailableAmt NUMERIC := 0; + v_IsReceipt C_Payment.IsReceipt%TYPE; + v_Amt NUMERIC := 0; + r RECORD; + +BEGIN + -- Charge - fully allocated + SELECT MAX(PayAmt) + INTO v_Amt + FROM C_Payment + WHERE C_Payment_ID=p_C_Payment_ID AND C_Charge_ID > 0; + IF (v_Amt IS NOT NULL) THEN + RETURN 0; + END IF; + + -- Get Currency + SELECT C_Currency_ID, PayAmt, IsReceipt + INTO v_Currency_ID, v_AvailableAmt, v_IsReceipt + FROM C_Payment_v -- corrected for AP/AR + WHERE C_Payment_ID = p_C_Payment_ID; +-- DBMS_OUTPUT.PUT_LINE('== C_Payment_ID=' || p_C_Payment_ID || ', PayAmt=' || v_AvailableAmt || ', Receipt=' || v_IsReceipt); + + -- Calculate Allocated Amount + FOR r IN + SELECT a.AD_Client_ID, a.AD_Org_ID, al.Amount, a.C_Currency_ID, a.DateTrx + FROM C_AllocationLine al + INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) + WHERE al.C_Payment_ID = p_C_Payment_ID + AND a.IsActive='Y' + LOOP + v_Amt := currencyConvert(r.Amount, r.C_Currency_ID, v_Currency_ID, r.DateTrx, null, r.AD_Client_ID, r.AD_Org_ID); + v_AvailableAmt := v_AvailableAmt - v_Amt; +-- DBMS_OUTPUT.PUT_LINE(' Allocation=' || a.Amount || ' - Available=' || v_AvailableAmt); + END LOOP; + -- Ignore Rounding + IF (v_AvailableAmt BETWEEN -0.00999 AND 0.00999) THEN + v_AvailableAmt := 0; + END IF; + -- Round to penny + v_AvailableAmt := ROUND(COALESCE(v_AvailableAmt,0), 2); + RETURN v_AvailableAmt; +END; + +$body$ LANGUAGE plpgsql; + + +create or replace FUNCTION paymenttermDiscount +( + Amount NUMERIC, + Currency_ID NUMERIC, + PaymentTerm_ID NUMERIC, + DocDate timestamp with time zone, + PayDate timestamp with time zone +) +RETURNS NUMERIC AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + * Title: Calculate Discount + * Description: + * Calculate the allowable Discount Amount of the Payment Term + * + * Test: SELECT paymenttermDiscount(110, 103, 106, now(), now()) FROM TEST; => 2.20 + ************************************************************************/ + +DECLARE + Discount NUMERIC := 0; + Discount1Date timestamp with time zone; + Discount2Date timestamp with time zone; + Add1Date NUMERIC := 0; + Add2Date NUMERIC := 0; + p RECORD; +BEGIN + -- No Data - No Discount + IF (Amount IS NULL OR PaymentTerm_ID IS NULL OR DocDate IS NULL) THEN + RETURN 0; + END IF; + + FOR p IN + SELECT * + FROM C_PaymentTerm + WHERE C_PaymentTerm_ID = PaymentTerm_ID + LOOP -- for convineance only + Discount1Date := TRUNC(DocDate + p.DiscountDays + p.GraceDays); + Discount2Date := TRUNC(DocDate + p.DiscountDays2 + p.GraceDays); + + -- Next Business Day + IF (p.IsNextBusinessDay='Y') THEN + Discount1Date := nextBusinessDay(Discount1Date, p.AD_Client_ID); + Discount2Date := nextBusinessDay(Discount2Date, p.AD_Client_ID); + END IF; + + -- Discount 1 + IF (Discount1Date >= TRUNC(PayDate)) THEN + Discount := Amount * p.Discount / 100; + -- Discount 2 + ELSIF (Discount2Date >= TRUNC(PayDate)) THEN + Discount := Amount * p.Discount2 / 100; + END IF; + END LOOP; + -- + RETURN ROUND(COALESCE(Discount,0), 2); -- fixed rounding +END; + +$body$ LANGUAGE plpgsql; + + + +create or replace FUNCTION paymenttermDueDate +( + PaymentTerm_ID IN NUMERIC, + DocDate IN timestamp with time zone +) +RETURNS timestamp with time zone AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + * Title: Get Due timestamp with time zone + * Description: + * Returns the due timestamp with time zone + * Test: + * select paymenttermDueDate(106, now()) from Test; => now()+30 days + ************************************************************************/ +DECLARE + Days NUMERIC := 0; + DueDate timestamp with time zone := TRUNC(DocDate); + -- + FirstDay timestamp with time zone; + NoDays NUMERIC; + p RECORD; +BEGIN + FOR p IN + SELECT * + FROM C_PaymentTerm + WHERE C_PaymentTerm_ID = PaymentTerm_ID + LOOP -- for convineance only + -- Due 15th of following month + IF (p.IsDueFixed = 'Y') THEN + FirstDay := TRUNC(DocDate, 'MM'); + NoDays := TRUNC(DocDate) - FirstDay; + DueDate := FirstDay + (p.FixMonthDay-1); -- starting on 1st + DueDate := ADD_MONTHS(DueDate, p.FixMonthOffset); + IF (NoDays > p.FixMonthCutoff) THEN + DueDate := ADD_MONTHS(DueDate, 1); + END IF; + ELSE + DueDate := TRUNC(DocDate) + p.NetDays; + END IF; + END LOOP; + + RETURN DueDate; +END; + +$body$ LANGUAGE plpgsql; + + + + +create or replace FUNCTION paymenttermDueDays +( + PaymentTerm_ID IN NUMERIC, + DocDate IN timestamp with time zone, + PayDate IN timestamp with time zone +) +RETURNS INTEGER AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + * Title: Get Due Days + * Description: + * Returns the days due (positive) or the days till due (negative) + * Grace days are not considered! + * If record is not found it assumes due immediately + * + * Test: SELECT paymenttermDueDays(103, now(), now()); + * + * Contributor(s): Carlos Ruiz - globalqss - match with SQLJ version + ************************************************************************/ +DECLARE + Days NUMERIC := 0; + DueDate timestamp with time zone := NULL; + calDueDate timestamp with time zone; + FixMonthOffset C_PaymentTerm.FixMonthOffset%TYPE; + MaxDayCut NUMERIC; + MaxDay NUMERIC; + v_PayDate timestamp with time zone; + p RECORD; + -- + FirstDay timestamp with time zone; + NoDays NUMERIC; +BEGIN + + IF PaymentTerm_ID = 0 OR DocDate IS NULL THEN + RETURN 0; + END IF; + + v_PayDate := PayDate; + IF v_PayDate IS NULL THEN + v_PayDate := TRUNC(now()); + END IF; + + FOR p IN + SELECT * + FROM C_PaymentTerm + WHERE C_PaymentTerm_ID = PaymentTerm_ID + LOOP -- for convineance only + + -- Due 15th of following month + IF (p.IsDueFixed = 'Y') THEN + FirstDay := TRUNC(DocDate, 'MM'); + NoDays := extract (day from (TRUNC(DocDate) - FirstDay)); + DueDate := FirstDay + (p.FixMonthDay-1); -- starting on 1st + DueDate := DueDate + (p.FixMonthOffset || ' month')::interval; + + IF (NoDays > p.FixMonthCutoff) THEN + DueDate := DueDate + '1 month'::interval; + END IF; + -- raise notice 'FirstDay: %, NoDays: %, DueDate: %', FirstDay, NoDays, DueDate; + + calDueDate := TRUNC(DocDate); + MaxDayCut := extract (day from (cast(date_trunc('month', calDueDate) + '1 month'::interval as date) - 1)); + -- raise notice 'last day(MaxDayCut): %' , MaxDayCut; + + IF p.FixMonthCutoff > MaxDayCut THEN + -- raise notice 'p.FixMonthCutoff > MaxDayCut'; + calDueDate := cast(date_trunc('month', TRUNC(calDueDate)) + '1 month'::interval as date) - 1; + -- raise notice 'last day(calDueDate): %' , calDueDate; + ELSE + -- set day fixmonthcutoff on duedate + calDueDate := TRUNC(calDueDate, 'MM') + (((p.FixMonthCutoff-1)|| ' days')::interval); + -- raise notice 'calDueDate: %' , calDueDate; + + END IF; + FixMonthOffset := p.FixMonthOffset; + IF DocDate > calDueDate THEN + FixMonthOffset := FixMonthOffset + 1; + raise notice 'FixMonthOffset: %' , FixMonthOffset; + END IF; + + calDueDate := calDueDate + (FixMonthOffset || ' month')::interval; + -- raise notice 'calDueDate: %' , calDueDate; + + MaxDay := extract (day from (cast(date_trunc('month', calDueDate) + '1 month'::interval as date) - 1)); + + + IF (p.FixMonthDay > MaxDay) -- 32 -> 28 + OR (p.FixMonthDay >= 30 AND MaxDay > p.FixMonthDay) THEN -- 30 -> 31 + calDueDate := TRUNC(calDueDate, 'MM') + (((MaxDay-1)|| ' days')::interval); + -- raise notice 'calDueDate: %' , calDueDate; + ELSE + calDueDate := TRUNC(calDueDate, 'MM') + (((p.FixMonthDay-1)|| ' days')::interval); + -- raise notice 'calDueDate: %' , calDueDate; + END IF; + DueDate := calDueDate; + + ELSE + DueDate := TRUNC(DocDate) + p.NetDays; + END IF; + END LOOP; + + IF DueDate IS NULL THEN + RETURN 0; + END IF; + + + Days := EXTRACT(day from (TRUNC(v_PayDate) - DueDate)); + RETURN Days; +END; + +$body$ LANGUAGE plpgsql; + + + + + +CREATE OR REPLACE FUNCTION ProductAttribute +( + p_M_AttributeSetInstance_ID NUMERIC +) +RETURNS VARCHAR AS $body$ + +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + * Title: Return Instance Attribute Info + * Description: + * + * Test: + SELECT ProductAttribute (M_AttributeSetInstance_ID) + FROM M_InOutLine WHERE M_AttributeSetInstance_ID > 0 + -- + SELECT p.Name + FROM C_InvoiceLine il LEFT OUTER JOIN M_Product p ON (il.M_Product_ID=p.M_Product_ID); + SELECT p.Name || ProductAttribute (il.M_AttributeSetInstance_ID) + FROM C_InvoiceLine il LEFT OUTER JOIN M_Product p ON (il.M_Product_ID=p.M_Product_ID); + + ************************************************************************/ + + +DECLARE + + v_Name VARCHAR(2000) := ''; + v_NameAdd VARCHAR(2000) := ''; + -- + v_Lot M_AttributeSetInstance.Lot%TYPE; + v_LotStart M_AttributeSet.LotCharSOverwrite%TYPE; + v_LotEnd M_AttributeSet.LotCharEOverwrite%TYPE; + v_SerNo M_AttributeSetInstance.SerNo%TYPE; + v_SerNoStart M_AttributeSet.SerNoCharSOverwrite%TYPE; + v_SerNoEnd M_AttributeSet.SerNoCharEOverwrite%TYPE; + v_GuaranteeDate M_AttributeSetInstance.GuaranteeDate%TYPE; + + r RECORD; + -- + +BEGIN + -- Get Product Attribute Set Instance + IF (p_M_AttributeSetInstance_ID > 0) THEN + SELECT asi.Lot, asi.SerNo, asi.GuaranteeDate, + COALESCE(a.SerNoCharSOverwrite, '#'::CHAR(1)), COALESCE(a.SerNoCharEOverwrite, ''::CHAR(1)), + COALESCE(a.LotCharSOverwrite, '«'::CHAR(1)), COALESCE(a.LotCharEOverwrite, '»'::CHAR(1)) + INTO v_Lot, v_SerNo, v_GuaranteeDate, + v_SerNoStart, v_SerNoEnd, v_LotStart, v_LotEnd + FROM M_AttributeSetInstance asi + INNER JOIN M_AttributeSet a ON (asi.M_AttributeSet_ID=a.M_AttributeSet_ID) + WHERE asi.M_AttributeSetInstance_ID=p_M_AttributeSetInstance_ID; + -- + IF (v_SerNo IS NOT NULL) THEN + v_NameAdd := v_NameAdd || v_SerNoStart || v_SerNo || v_SerNoEnd || ' '; + END IF; + IF (v_Lot IS NOT NULL) THEN + v_NameAdd := v_NameAdd || v_LotStart || v_Lot || v_LotEnd || ' '; + END IF; + IF (v_GuaranteeDate IS NOT NULL) THEN + v_NameAdd := v_NameAdd || v_GuaranteeDate || ' '; + END IF; + -- + + FOR r IN + SELECT ai.Value, a.Name + FROM M_AttributeInstance ai + INNER JOIN M_Attribute a ON (ai.M_Attribute_ID=a.M_Attribute_ID AND a.IsInstanceAttribute='Y') + WHERE ai.M_AttributeSetInstance_ID=p_M_AttributeSetInstance_ID + LOOP + v_NameAdd := v_NameAdd || r.Name || ':' || r.Value || ' '; + END LOOP; + -- + IF (LENGTH(v_NameAdd) > 0) THEN + v_Name := v_Name || ' (' || TRIM(v_NameAdd) || ')'; + ELSE + v_Name := NULL; + END IF; + END IF; + RETURN v_Name; +END; + +$body$ LANGUAGE plpgsql; + + + diff --git a/migration/352a-trunk/postgresql/316_replace_pljava_for352.sql b/migration/352a-trunk/postgresql/316_replace_pljava_for352.sql new file mode 100644 index 0000000000..ac2cee9fad --- /dev/null +++ b/migration/352a-trunk/postgresql/316_replace_pljava_for352.sql @@ -0,0 +1,475 @@ +CREATE OR REPLACE FUNCTION currencyRound( + p_Amount NUMERIC, + p_CurTo_ID NUMERIC, + p_Costing VARCHAR -- Default 'N' +) + +RETURNS numeric AS $body$ + +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + *** + * Title: Round amount for Traget Currency + * Description: + * Round Amount using Costing or Standard Precision + * Returns unmodified amount if currency not found + * Test: + * SELECT currencyRound(currencyConvert(100,116,100,null,null),100,null) FROM AD_System => 64.72 + ************************************************************************/ + + +DECLARE + v_StdPrecision NUMERIC; + v_CostPrecision NUMERIC; + +BEGIN + -- Nothing to convert + IF (p_Amount IS NULL OR p_CurTo_ID IS NULL) THEN + RETURN p_Amount; + END IF; + + -- Ger Precision + SELECT MAX(StdPrecision), MAX(CostingPrecision) + INTO v_StdPrecision, v_CostPrecision + FROM C_Currency + WHERE C_Currency_ID = p_CurTo_ID; + -- Currency Not Found + IF (v_StdPrecision IS NULL) THEN + RETURN p_Amount; + END IF; + + IF (p_Costing = 'Y') THEN + RETURN ROUND (p_Amount, v_CostPrecision); + END IF; + + RETURN ROUND (p_Amount, v_StdPrecision); + +END; + +$body$ LANGUAGE plpgsql; + + + + + +/* + *This file is part of Adempiere ERP Bazaar + *http://www.adempiere.org + *Copyright (C) 2006-2008 victor.perez@e-evolution.com, e-Evolution + *This program is free software; you can redistribute it and/or + *modify it under the terms of the GNU General Public License + *as published by the Free Software Foundation; either version 2 + *of the License, or (at your option) any later version. + * + *This program is distributed in the hope that it will be useful, + *but WITHOUT ANY WARRANTY; without even the implied warranty of + *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + *GNU General Public License for more details. + * + *You should have received a copy of the GNU General Public License + *along with this program; if not, write to the Free Software + *Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.of + * Title: Calculate Open Item Amount in Invoice Currency + * Description: + * Add up total amount open for C_Invoice_ID if no split payment. + * Grand Total minus Sum of Allocations in Invoice Currency + * + * For Split Payments: + * Allocate Payments starting from first schedule. + +SELECT C_Invoice_Open (109) FROM DUAL; +SELECT C_Invoice_Open (109, null) FROM DUAL; +SELECT C_Invoice_Open (109, 11) FROM DUAL; +SELECT C_Invoice_Open (109, 102) FROM DUAL; +SELECT C_Invoice_Open (109, 103) FROM DUAL; +SELECT * FROM RV_OpenItem WHERE C_Invoice_ID=109; +SELECT C_InvoicePaySchedule_ID, DueAmt FROM C_InvoicePaySchedule WHERE C_Invoice_ID=109 ORDER BY DueDate; + +* Cannot be used for IsPaid as mutating +************************************************************************/ +CREATE OR REPLACE FUNCTION InvoiceopenToDate +( + p_C_Invoice_ID IN numeric, + p_C_InvoicePaySchedule_ID IN numeric, + p_DateAcct IN DATE +) +RETURNS numeric +AS +$BODY$ +DECLARE + v_Currency_ID numeric(10); + v_TotalOpenAmt numeric := 0; + v_PaidAmt numeric := 0; + v_Remaining numeric := 0; + v_MultiplierAP numeric := 0; + v_MultiplierCM numeric := 0; + v_Temp numeric := 0; + allocationline record; + invoiceschedule record; +BEGIN + -- Get Currency + BEGIN + SELECT MAX(C_Currency_ID), SUM(GrandTotal), MAX(MultiplierAP), MAX(Multiplier) + INTO v_Currency_ID, v_TotalOpenAmt, v_MultiplierAP, v_MultiplierCM + FROM C_Invoice_v -- corrected for CM / Split Payment + WHERE C_Invoice_ID = p_C_Invoice_ID + AND DateAcct <= p_DateAcct; + EXCEPTION -- Invoice in draft form + WHEN OTHERS THEN + --DBMS_OUTPUT.PUT_LINE('InvoiceOpen - ' || SQLERRM); + RETURN NULL; + END; +-- DBMS_OUTPUT.PUT_LINE('== C_Invoice_ID=' || p_C_Invoice_ID || ', Total=' || v_TotalOpenAmt || ', AP=' || v_MultiplierAP || ', CM=' || v_MultiplierCM); + + -- Calculate Allocated Amount + FOR allocationline IN + SELECT a.AD_Client_ID, a.AD_Org_ID, + al.Amount, al.DiscountAmt, al.WriteOffAmt, + a.C_Currency_ID, a.DateTrx + FROM C_ALLOCATIONLINE al + INNER JOIN C_ALLOCATIONHDR a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) + WHERE al.C_Invoice_ID = p_C_Invoice_ID + AND a.DateAcct <= p_DateAcct + AND a.IsActive='Y' + LOOP + v_Temp := allocationline.Amount + allocationline.DisCountAmt + allocationline.WriteOffAmt; + v_PaidAmt := v_PaidAmt + -- Allocation + + Currencyconvert(v_Temp * v_MultiplierAP, + allocationline.C_Currency_ID, v_Currency_ID, allocationline.DateTrx, NULL, allocationline.AD_Client_ID, allocationline.AD_Org_ID); + --DBMS_OUTPUT.PUT_LINE(' PaidAmt=' || v_PaidAmt || ', Allocation=' || v_Temp || ' * ' || v_MultiplierAP); + END LOOP; + + -- Do we have a Payment Schedule ? + IF (p_C_InvoicePaySchedule_ID > 0) THEN -- if not valid = lists invoice amount + v_Remaining := v_PaidAmt; + FOR invoiceschedule IN + SELECT C_InvoicePaySchedule_ID, DueAmt FROM C_INVOICEPAYSCHEDULE WHERE C_Invoice_ID = p_C_Invoice_ID AND IsValid='Y' + ORDER BY DueDate + LOOP + IF (invoiceschedule.C_InvoicePaySchedule_ID = p_C_InvoicePaySchedule_ID) THEN + v_TotalOpenAmt := (invoiceschedule.DueAmt*v_MultiplierCM) - v_Remaining; + IF (invoiceschedule.DueAmt - v_Remaining < 0) THEN + v_TotalOpenAmt := 0; + END IF; + -- DBMS_OUTPUT.PUT_LINE('Sched Total=' || v_TotalOpenAmt || ', Due=' || s.DueAmt || ',Remaining=' || v_Remaining || ',CM=' || v_MultiplierCM); + ELSE -- calculate amount, which can be allocated to next schedule + v_Remaining := v_Remaining - invoiceschedule.DueAmt; + IF (v_Remaining < 0) THEN + v_Remaining := 0; + END IF; + -- DBMS_OUTPUT.PUT_LINE('Remaining=' || v_Remaining); + END IF; + END LOOP; + ELSE + v_TotalOpenAmt := v_TotalOpenAmt - v_PaidAmt; + END IF; +-- DBMS_OUTPUT.PUT_LINE('== Total=' || v_TotalOpenAmt); + + -- Ignore Rounding + IF (v_TotalOpenAmt BETWEEN -0.00999 AND 0.00999) THEN + v_TotalOpenAmt := 0; + END IF; + + -- Round to penny + v_TotalOpenAmt := ROUND(COALESCE(v_TotalOpenAmt,0), 2); + RETURN v_TotalOpenAmt; +END; +$BODY$ + LANGUAGE 'plpgsql' ; + + +/* + *This file is part of Adempiere ERP Bazaar + *http://www.adempiere.org + *Copyright (C) 2006-2008 victor.perez@e-evolution.com, e-Evolution + *This program is free software; you can redistribute it and/or + *modify it under the terms of the GNU General Public License + *as published by the Free Software Foundation; either version 2 + *of the License, or (at your option) any later version. + * + *This program is distributed in the hope that it will be useful, + *but WITHOUT ANY WARRANTY; without even the implied warranty of + *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + *GNU General Public License for more details. + * + *You should have received a copy of the GNU General Public License + *along with this program; if not, write to the Free Software + *Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.of + * Title: Calculate Paid/Allocated amount in Currency + * Description: + * Add up total amount paid for for C_Invoice_ID. + * Split Payments are ignored. + * all allocation amounts converted to invoice C_Currency_ID + * round it to the nearest cent + * and adjust for CreditMemos by using C_Invoice_v + * and for Payments with the multiplierAP (-1, 1) + * + SELECT C_Invoice_ID, IsPaid, IsSOTrx, GrandTotal, + C_Invoice_Paid (C_Invoice_ID, C_Currency_ID, MultiplierAP, DateAcct) + FROM C_Invoice_v; + -- + UPDATE C_Invoice_v1 + SET IsPaid = CASE WHEN C_Invoice_Paid(C_Invoice_ID,C_Currency_ID,MultiplierAP,DateAcct)=GrandTotal THEN 'Y' ELSE 'N' END + WHERE C_Invoice_ID>1000000 + * + ************************************************************************/ + +CREATE OR REPLACE FUNCTION InvoicepaidToDate +( + p_C_Invoice_ID IN numeric, + p_C_Currency_ID IN numeric, + p_MultiplierAP IN numeric, -- DEFAULT 1 + p_DateAcct IN timestamp with time zone +) +RETURNS numeric +AS +$BODY$ +DECLARE + v_MultiplierAP numeric := 1; + v_PaymentAmt numeric := 0; + allocation record; +BEGIN + -- Default + IF (p_MultiplierAP IS NOT NULL) THEN + v_MultiplierAP := p_MultiplierAP; + END IF; + -- Calculate Allocated Amount + FOR allocation IN + SELECT allocation.AD_Client_ID, allocation.AD_Org_ID,al.Amount, al.DiscountAmt, al.WriteOffAmt,allocation.C_Currency_ID, allocation.DateTrx + FROM C_ALLOCATIONLINE al + WHERE al.C_Invoice_ID = p_C_Invoice_ID AND allocation.IsActive='Y' AND allocation.DateAcct <= p_DateAcct + LOOP + v_PaymentAmt := v_PaymentAmt + + Currencyconvert(allocation.Amount + allocation.DisCountAmt + allocation.WriteOffAmt, + allocation.C_Currency_ID, p_C_Currency_ID, allocation.DateTrx, NULL, allocation.AD_Client_ID, allocation.AD_Org_ID); + END LOOP; + -- + RETURN ROUND(COALESCE(v_PaymentAmt,0), 2) * v_MultiplierAP; +END; +$BODY$ +LANGUAGE 'plpgsql' ; + + +/* + *This file is part of Adempiere ERP Bazaar + *http://www.adempiere.org + *Copyright (C) 2006-2008 Antonio Cañaveral, e-Evolution + * + *This program is free software; you can redistribute it and/or + *modify it under the terms of the GNU General Public License + *as published by the Free Software Foundation; either version 2 + *of the License, or (at your option) any later version. + * + *This program is distributed in the hope that it will be useful, + *but WITHOUT ANY WARRANTY; without even the implied warranty of + *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + *GNU General Public License for more details. + * + *You should have received a copy of the GNU General Public License + *along with this program; if not, write to the Free Software + *Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.of + * Return the Document for Dcocument Type + */ +create or replace FUNCTION documentNo +( + p_PP_MRP_ID IN PP_MRP.PP_MRP_ID%TYPE +) +RETURNS PP_MRP.Value%TYPE +AS +$BODY$ +DECLARE + v_DocumentNo PP_MRP.Value%TYPE := ''; +BEGIN + -- If NO id return empty string + IF p_PP_MRP_ID <= 0 THEN + RETURN ''; + END IF; + SELECT --ordertype, m_forecast_id, c_order_id, dd_order_id, pp_order_id, m_requisition_id, + CASE + WHEN trim(mrp.ordertype) = 'FTC' THEN (SELECT f.Name FROM M_Forecast f WHERE f.M_Forecast_ID=mrp.M_Forecast_ID) + WHEN trim(mrp.ordertype) = 'POO' THEN (SELECT co.DocumentNo FROM C_Order co WHERE co.C_Order_ID=mrp.C_Order_ID) + WHEN trim(mrp.ordertype) = 'DOO' THEN (SELECT dd.DocumentNo FROM DD_Order dd WHERE dd.DD_Order_ID=mrp.DD_Order_ID) + WHEN trim(mrp.ordertype) = 'SOO' THEN (SELECT co.DocumentNo FROM C_Order co WHERE co.C_Order_ID=mrp.C_Order_ID) + WHEN trim(mrp.ordertype) = 'MOP' THEN (SELECT po.DocumentNo FROM PP_Order po WHERE po.PP_Order_ID=mrp.PP_Order_ID) + WHEN trim(mrp.ordertype) = 'POR' THEN (SELECT r.DocumentNo FROM M_Requisition r WHERE r.M_Requisition_ID=mrp.M_Requisition_ID) + + END INTO v_DocumentNo + FROM pp_mrp mrp + WHERE mrp.pp_mrp_id = p_PP_MRP_ID; + RETURN v_DocumentNo; +END; +$BODY$ + LANGUAGE 'plpgsql' ; + + +CREATE OR REPLACE FUNCTION nextidfunc( + p_AD_Sequence_ID IN INTEGER, + p_System IN VARCHAR +) + RETURNS INTEGER AS $body$ +DECLARE + o_NextIDFunc INTEGER; + dummy INTEGER; +BEGIN + o_NextIDFunc := nextid(p_AD_Sequence_ID, p_System); + RETURN o_NextIDFunc; +END; +$body$ LANGUAGE plpgsql; + + +CREATE OR REPLACE FUNCTION nextid( + p_AD_Sequence_ID IN INTEGER, + p_System IN VARCHAR, + o_NextID OUT INTEGER +) + RETURNS INTEGER AS $body$ +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2005 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + *** + * Title: Get Next ID - no Commit + * Description: Returns the next id of the sequence. + * Test: + * select * from nextid((select ad_sequence_id from ad_sequence where name = 'Test')::Integer, 'Y'::Varchar); + * + ************************************************************************/ + +BEGIN + IF (p_System = 'Y') THEN + RAISE NOTICE 'system'; + SELECT CurrentNextSys + INTO o_NextID + FROM AD_Sequence + WHERE AD_Sequence_ID=p_AD_Sequence_ID; + -- + UPDATE AD_Sequence + SET CurrentNextSys = CurrentNextSys + IncrementNo + WHERE AD_Sequence_ID=p_AD_Sequence_ID; + ELSE + SELECT CurrentNext + INTO o_NextID + FROM AD_Sequence + WHERE AD_Sequence_ID=p_AD_Sequence_ID; + -- + UPDATE AD_Sequence + SET CurrentNext = CurrentNext + IncrementNo + WHERE AD_Sequence_ID=p_AD_Sequence_ID; + END IF; + -- +EXCEPTION + WHEN OTHERS THEN + RAISE NOTICE '%',SQLERRM; +END; + +$body$ LANGUAGE plpgsql; + + + + + +set client_encoding='LATIN1'; + +CREATE OR REPLACE FUNCTION ProductAttribute +( + p_M_AttributeSetInstance_ID NUMERIC +) +RETURNS VARCHAR AS $body$ + +/************************************************************************* + * The contents of this file are subject to the Compiere License. You may + * obtain a copy of the License at http://www.compiere.org/license.html + * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either + * express or implied. See the License for details. Code: Compiere ERP+CRM + * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. + * + * converted to postgreSQL by Karsten Thiemann (Schaeffer AG), + * kthiemann@adempiere.org + ************************************************************************* + * Title: Return Instance Attribute Info + * Description: + * + * Test: + SELECT ProductAttribute (M_AttributeSetInstance_ID) + FROM M_InOutLine WHERE M_AttributeSetInstance_ID > 0 + -- + SELECT p.Name + FROM C_InvoiceLine il LEFT OUTER JOIN M_Product p ON (il.M_Product_ID=p.M_Product_ID); + SELECT p.Name || ProductAttribute (il.M_AttributeSetInstance_ID) + FROM C_InvoiceLine il LEFT OUTER JOIN M_Product p ON (il.M_Product_ID=p.M_Product_ID); + + ************************************************************************/ + + +DECLARE + + v_Name VARCHAR(2000) := ''; + v_NameAdd VARCHAR(2000) := ''; + -- + v_Lot M_AttributeSetInstance.Lot%TYPE; + v_LotStart M_AttributeSet.LotCharSOverwrite%TYPE; + v_LotEnd M_AttributeSet.LotCharEOverwrite%TYPE; + v_SerNo M_AttributeSetInstance.SerNo%TYPE; + v_SerNoStart M_AttributeSet.SerNoCharSOverwrite%TYPE; + v_SerNoEnd M_AttributeSet.SerNoCharEOverwrite%TYPE; + v_GuaranteeDate M_AttributeSetInstance.GuaranteeDate%TYPE; + + r RECORD; + -- + +BEGIN + -- Get Product Attribute Set Instance + IF (p_M_AttributeSetInstance_ID > 0) THEN + SELECT asi.Lot, asi.SerNo, asi.GuaranteeDate, + COALESCE(a.SerNoCharSOverwrite, '#'::CHAR(1)), COALESCE(a.SerNoCharEOverwrite, ''::CHAR(1)), + COALESCE(a.LotCharSOverwrite, '�'::CHAR(1)), COALESCE(a.LotCharEOverwrite, '�'::CHAR(1)) + INTO v_Lot, v_SerNo, v_GuaranteeDate, + v_SerNoStart, v_SerNoEnd, v_LotStart, v_LotEnd + FROM M_AttributeSetInstance asi + INNER JOIN M_AttributeSet a ON (asi.M_AttributeSet_ID=a.M_AttributeSet_ID) + WHERE asi.M_AttributeSetInstance_ID=p_M_AttributeSetInstance_ID; + -- + IF (v_SerNo IS NOT NULL) THEN + v_NameAdd := v_NameAdd || v_SerNoStart || v_SerNo || v_SerNoEnd || ' '; + END IF; + IF (v_Lot IS NOT NULL) THEN + v_NameAdd := v_NameAdd || v_LotStart || v_Lot || v_LotEnd || ' '; + END IF; + IF (v_GuaranteeDate IS NOT NULL) THEN + v_NameAdd := v_NameAdd || v_GuaranteeDate || ' '; + END IF; + -- + + FOR r IN + SELECT ai.Value, a.Name + FROM M_AttributeInstance ai + INNER JOIN M_Attribute a ON (ai.M_Attribute_ID=a.M_Attribute_ID AND a.IsInstanceAttribute='Y') + WHERE ai.M_AttributeSetInstance_ID=p_M_AttributeSetInstance_ID + LOOP + v_NameAdd := v_NameAdd || r.Name || ':' || r.Value || ' '; + END LOOP; + -- + IF (LENGTH(v_NameAdd) > 0) THEN + v_Name := v_Name || ' (' || TRIM(v_NameAdd) || ')'; + ELSE + v_Name := NULL; + END IF; + END IF; + RETURN v_Name; +END; +$body$ LANGUAGE plpgsql; diff --git a/migration/352a-trunk/postgresql/317_FR2233277.sql b/migration/352a-trunk/postgresql/317_FR2233277.sql new file mode 100644 index 0000000000..a5dbfa4991 --- /dev/null +++ b/migration/352a-trunk/postgresql/317_FR2233277.sql @@ -0,0 +1,746 @@ +-- 07.11.2008 10:27:05 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WinHeight,WinWidth,WindowType) VALUES (0,0,53064,TO_TIMESTAMP('2008-11-07 10:27:03','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','N','N','Y','View MRP Records','N',TO_TIMESTAMP('2008-11-07 10:27:03','YYYY-MM-DD HH24:MI:SS'),0,0,0,'M') +; + +-- 07.11.2008 10:27:05 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53064 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID) +; + +-- 07.11.2008 10:27:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53064,TO_TIMESTAMP('2008-11-07 10:27:06','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2008-11-07 10:27:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:27:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53064,TO_TIMESTAMP('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:27:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53064,TO_TIMESTAMP('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:27:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53064,TO_TIMESTAMP('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2008-11-07 10:27:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:47:33 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53180,53043,53064,TO_TIMESTAMP('2008-11-07 10:47:30','YYYY-MM-DD HH24:MI:SS'),0,NULL,'D','N','N','Y','N','N','Y','N','N','N','N','Records','N',10,0,TO_TIMESTAMP('2008-11-07 10:47:30','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:47:33 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53180 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- 07.11.2008 10:48:05 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54039,56410,0,53180,TO_TIMESTAMP('2008-11-07 10:47:59','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'EE01','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_TIMESTAMP('2008-11-07 10:47:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56410 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:08 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54040,56411,0,53180,TO_TIMESTAMP('2008-11-07 10:48:07','YYYY-MM-DD HH24:MI:SS'),0,'Resource is available',1,'EE01','Resource is available for assignments','Y','Y','Y','N','N','N','N','N','Available',TO_TIMESTAMP('2008-11-07 10:48:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:08 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56411 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:11 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54025,56412,0,53180,TO_TIMESTAMP('2008-11-07 10:48:09','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner',10,'EE01','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','N','N','Business Partner ',TO_TIMESTAMP('2008-11-07 10:48:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:11 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56412 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:15 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54059,56413,0,53180,TO_TIMESTAMP('2008-11-07 10:48:12','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'EE01','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_TIMESTAMP('2008-11-07 10:48:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:15 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56413 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:18 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54032,56414,0,53180,TO_TIMESTAMP('2008-11-07 10:48:15','YYYY-MM-DD HH24:MI:SS'),0,'Date of Order',29,'EE01','Indicates the Date an item was ordered.','Y','Y','Y','N','N','N','N','N','Date Ordered',TO_TIMESTAMP('2008-11-07 10:48:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:19 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56414 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:23 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54033,56415,0,53180,TO_TIMESTAMP('2008-11-07 10:48:19','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised',29,'EE01','The Date Promised indicates the date, if any, that an Order was promised for.','Y','Y','Y','N','N','N','N','N','Date Promised',TO_TIMESTAMP('2008-11-07 10:48:19','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:23 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56415 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:25 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54030,56416,0,53180,TO_TIMESTAMP('2008-11-07 10:48:24','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateConfirm',TO_TIMESTAMP('2008-11-07 10:48:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:25 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56416 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:27 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54031,56417,0,53180,TO_TIMESTAMP('2008-11-07 10:48:26','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateFinishSchedule',TO_TIMESTAMP('2008-11-07 10:48:26','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:27 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56417 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:30 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54034,56418,0,53180,TO_TIMESTAMP('2008-11-07 10:48:27','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateSimulation',TO_TIMESTAMP('2008-11-07 10:48:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:31 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56418 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:36 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54035,56419,0,53180,TO_TIMESTAMP('2008-11-07 10:48:31','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateStart',TO_TIMESTAMP('2008-11-07 10:48:31','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:36 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56419 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:39 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54036,56420,0,53180,TO_TIMESTAMP('2008-11-07 10:48:36','YYYY-MM-DD HH24:MI:SS'),0,29,'EE01','Y','Y','Y','N','N','N','N','N','DateStartSchedule',TO_TIMESTAMP('2008-11-07 10:48:36','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:39 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56420 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54037,56421,0,53180,TO_TIMESTAMP('2008-11-07 10:48:40','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',1020,'EE01','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_TIMESTAMP('2008-11-07 10:48:40','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56421 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,55336,56422,0,53180,TO_TIMESTAMP('2008-11-07 10:48:43','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','N','N','Distribution Order',TO_TIMESTAMP('2008-11-07 10:48:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:46 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56422 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:48 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,55337,56423,0,53180,TO_TIMESTAMP('2008-11-07 10:48:46','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','N','N','Distribution Order Line',TO_TIMESTAMP('2008-11-07 10:48:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:48 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56423 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:52 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54038,56424,0,53180,TO_TIMESTAMP('2008-11-07 10:48:49','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document',2,'EE01','The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','Y','Y','N','N','N','N','N','Document Status',TO_TIMESTAMP('2008-11-07 10:48:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:53 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56424 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:48:56 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54042,56425,0,53180,TO_TIMESTAMP('2008-11-07 10:48:53','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast',10,'EE01','Material Forecast','Y','Y','Y','N','N','N','N','N','Forecast',TO_TIMESTAMP('2008-11-07 10:48:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:48:56 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56425 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:01 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54041,56426,0,53180,TO_TIMESTAMP('2008-11-07 10:48:58','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Line',10,'EE01','Forecast of Product Qyantity by Period','Y','Y','Y','N','N','N','N','N','Forecast Line',TO_TIMESTAMP('2008-11-07 10:48:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:03 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56426 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54049,56427,0,53180,TO_TIMESTAMP('2008-11-07 10:49:03','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Manufacturing Order',TO_TIMESTAMP('2008-11-07 10:49:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56427 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:09 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54048,56428,0,53180,TO_TIMESTAMP('2008-11-07 10:49:07','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Manufacturing Order BOM Line',TO_TIMESTAMP('2008-11-07 10:49:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:10 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56428 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:12 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54047,56429,0,53180,TO_TIMESTAMP('2008-11-07 10:49:10','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','N','N','N','N','N','N','Material Requirement Planning',TO_TIMESTAMP('2008-11-07 10:49:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:13 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56429 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:16 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54023,56430,0,53180,TO_TIMESTAMP('2008-11-07 10:49:13','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',120,'EE01','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_TIMESTAMP('2008-11-07 10:49:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:17 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56430 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:20 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54027,56431,0,53180,TO_TIMESTAMP('2008-11-07 10:49:17','YYYY-MM-DD HH24:MI:SS'),0,'Order',10,'EE01','The Order is a control document. The Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you cloase an order, unshipped (backordered) quantities are cancelled.','Y','Y','Y','N','N','N','N','N','Order',TO_TIMESTAMP('2008-11-07 10:49:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:20 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56431 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:23 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54055,56432,0,53180,TO_TIMESTAMP('2008-11-07 10:49:20','YYYY-MM-DD HH24:MI:SS'),0,3,'EE01','Y','Y','Y','N','N','N','N','N','OrderType',TO_TIMESTAMP('2008-11-07 10:49:20','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:23 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56432 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:26 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54024,56433,0,53180,TO_TIMESTAMP('2008-11-07 10:49:24','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'EE01','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_TIMESTAMP('2008-11-07 10:49:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:27 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56433 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:31 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54050,56434,0,53180,TO_TIMESTAMP('2008-11-07 10:49:27','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Planner',TO_TIMESTAMP('2008-11-07 10:49:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:32 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56434 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:35 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54051,56435,0,53180,TO_TIMESTAMP('2008-11-07 10:49:32','YYYY-MM-DD HH24:MI:SS'),0,'Indicates if this request is of a high, medium or low priority.',10,'EE01','The Priority indicates the importance of this request.','Y','Y','Y','N','N','N','N','N','Priority',TO_TIMESTAMP('2008-11-07 10:49:32','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:35 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56435 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:37 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54043,56436,0,53180,TO_TIMESTAMP('2008-11-07 10:49:35','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',10,'EE01','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_TIMESTAMP('2008-11-07 10:49:35','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:39 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56436 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54052,56437,0,53180,TO_TIMESTAMP('2008-11-07 10:49:39','YYYY-MM-DD HH24:MI:SS'),0,'Quantity',131089,'EE01','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','N','Quantity',TO_TIMESTAMP('2008-11-07 10:49:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56437 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54045,56438,0,53180,TO_TIMESTAMP('2008-11-07 10:49:42','YYYY-MM-DD HH24:MI:SS'),0,'Material Requisition',10,'EE01','Y','Y','Y','N','N','N','N','N','Requisition',TO_TIMESTAMP('2008-11-07 10:49:42','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56438 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:47 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54044,56439,0,53180,TO_TIMESTAMP('2008-11-07 10:49:44','YYYY-MM-DD HH24:MI:SS'),0,'Material Requisition Line',10,'EE01','Y','Y','Y','N','N','N','N','N','Requisition Line',TO_TIMESTAMP('2008-11-07 10:49:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:47 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56439 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:50 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54053,56440,0,53180,TO_TIMESTAMP('2008-11-07 10:49:47','YYYY-MM-DD HH24:MI:SS'),0,'Resource',10,'EE01','Y','Y','Y','N','N','N','N','N','Resource',TO_TIMESTAMP('2008-11-07 10:49:47','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:50 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56440 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:53 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54026,56441,0,53180,TO_TIMESTAMP('2008-11-07 10:49:51','YYYY-MM-DD HH24:MI:SS'),0,'Sales Order Line',10,'EE01','The Sales Order Line is a unique identifier for a line in an order.','Y','Y','Y','N','N','N','N','N','Sales Order Line',TO_TIMESTAMP('2008-11-07 10:49:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:53 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56441 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:49:56 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54058,56442,0,53180,TO_TIMESTAMP('2008-11-07 10:49:53','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique',80,'EE01','A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','N','Search Key',TO_TIMESTAMP('2008-11-07 10:49:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:49:56 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56442 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:50:00 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54054,56443,0,53180,TO_TIMESTAMP('2008-11-07 10:49:57','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','Y','Y','N','N','N','N','N','TypeMRP',TO_TIMESTAMP('2008-11-07 10:49:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:50:00 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56443 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:50:04 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54060,56444,0,53180,TO_TIMESTAMP('2008-11-07 10:50:00','YYYY-MM-DD HH24:MI:SS'),0,'Version of the table definition',131089,'EE01','The Version indicates the version of this table definition.','Y','Y','Y','N','N','N','N','N','Version',TO_TIMESTAMP('2008-11-07 10:50:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:50:04 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56444 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:50:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,54046,56445,0,53180,TO_TIMESTAMP('2008-11-07 10:50:04','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point',10,'EE01','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','Y','N','N','N','N','N','Warehouse',TO_TIMESTAMP('2008-11-07 10:50:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 07.11.2008 10:50:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56445 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 07.11.2008 10:51:06 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Tab SET IsInsertRecord='N', IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-11-07 10:51:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53180 +; + +-- 07.11.2008 10:52:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Window_Trl SET IsTranslated='Y',Name='Vizualizare MRP',Updated=TO_TIMESTAMP('2008-11-07 10:52:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Window_ID=53064 AND AD_Language='ro_RO' +; + +-- 07.11.2008 10:52:16 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Tab_Trl SET IsTranslated='Y',Name='Inregistrari',Updated=TO_TIMESTAMP('2008-11-07 10:52:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53180 AND AD_Language='ro_RO' +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56410 +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56411 +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56414 +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56416 +; + +-- 07.11.2008 10:58:40 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56418 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56419 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56421 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56430 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56435 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56442 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56444 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56413 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56433 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56436 +; + +-- 07.11.2008 10:58:41 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56440 +; + +-- 07.11.2008 10:58:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56445 +; + +-- 07.11.2008 10:58:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56415 +; + +-- 07.11.2008 10:58:42 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56420 +; + +-- 07.11.2008 10:58:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56417 +; + +-- 07.11.2008 10:58:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56437 +; + +-- 07.11.2008 10:58:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56443 +; + +-- 07.11.2008 10:58:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56432 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56431 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56441 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56427 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56428 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56422 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56423 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56438 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56439 +; + +-- 07.11.2008 10:58:44 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56425 +; + +-- 07.11.2008 10:58:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56426 +; + +-- 07.11.2008 10:58:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56412 +; + +-- 07.11.2008 10:58:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56424 +; + +-- 07.11.2008 10:58:45 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56434 +; + +-- 07.11.2008 11:02:20 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:02:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56433 +; + +-- 07.11.2008 11:02:34 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:02:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56440 +; + +-- 07.11.2008 11:02:43 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:02:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420 +; + +-- 07.11.2008 11:02:49 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-11-07 11:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420 +; + +-- 07.11.2008 11:02:55 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:02:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56417 +; + +-- 07.11.2008 11:03:10 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-11-07 11:03:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56415 +; + +-- 07.11.2008 11:03:15 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-11-07 11:03:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56420 +; + +-- 07.11.2008 11:04:09 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-11-07 11:04:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56417 +; + +-- 07.11.2008 11:04:50 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:04:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54028 +; + +-- 07.11.2008 11:04:58 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:04:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54030 +; + +-- 07.11.2008 11:05:04 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:05:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54031 +; + +-- 07.11.2008 11:05:09 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:05:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54032 +; + +-- 07.11.2008 11:05:16 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:05:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54033 +; + +-- 07.11.2008 11:05:22 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54034 +; + +-- 07.11.2008 11:05:27 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:05:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54035 +; + +-- 07.11.2008 11:05:33 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:05:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54036 +; + +-- 07.11.2008 11:05:58 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=22,Updated=TO_TIMESTAMP('2008-11-07 11:05:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54052 +; + +-- 07.11.2008 11:06:07 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=7,Updated=TO_TIMESTAMP('2008-11-07 11:06:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54056 +; + +-- 07.11.2008 11:06:31 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET FieldLength=22,Updated=TO_TIMESTAMP('2008-11-07 11:06:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54060 +; + +-- 07.11.2008 11:06:38 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-11-07 11:06:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56437 +; + +-- 07.11.2008 11:06:54 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET AD_FieldGroup_ID=104,Updated=TO_TIMESTAMP('2008-11-07 11:06:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56432 +; + +-- 07.11.2008 11:07:00 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:07:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56441 +; + +-- 07.11.2008 11:07:04 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:07:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56428 +; + +-- 07.11.2008 11:07:09 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-11-07 11:07:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56422 +; + +-- 07.11.2008 11:07:13 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:07:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56423 +; + +-- 07.11.2008 11:07:19 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:07:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56439 +; + +-- 07.11.2008 11:07:24 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-07 11:07:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56426 +; + +-- 07.11.2008 11:07:34 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2008-11-07 11:07:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56424 +; + +-- 07.11.2008 11:08:16 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Table SET AD_Window_ID=53064,Updated=TO_TIMESTAMP('2008-11-07 11:08:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53043 +; + +-- 07.11.2008 11:12:48 EET +-- FR [ 2233277 ] Create window for PP_MRP table. +UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=131,Updated=TO_TIMESTAMP('2008-11-07 11:12:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54038 +; + +update AD_Tab set EntityType='EE01' where AD_Tab_ID=53180; +update AD_Window set EntityType='EE01' where AD_Window_ID=53064; diff --git a/migration/352a-trunk/postgresql/318_FRLiberoWorkShop_Reverted.sql b/migration/352a-trunk/postgresql/318_FRLiberoWorkShop_Reverted.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/migration/352a-trunk/postgresql/319_BF2273943.sql b/migration/352a-trunk/postgresql/319_BF2273943.sql new file mode 100644 index 0000000000..631589b640 --- /dev/null +++ b/migration/352a-trunk/postgresql/319_BF2273943.sql @@ -0,0 +1,2589 @@ +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Calculation Type', PrintName='Depreciation Calculation Type',Updated=TO_TIMESTAMP('2008-11-12 16:08:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53588 +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53588 +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Calc_Type', Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53588 +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Calc_Type', Name='Depreciation Calculation Type', Description=NULL, Help=NULL, AD_Element_ID=53588 WHERE UPPER(ColumnName)='A_DEPRECIATION_CALC_TYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Calc_Type', Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53588 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53588) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:08:48 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Depreciation Calculation Type', Name='Depreciation Calculation Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53588) +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Split Percentage', PrintName='Split Percentage',Updated=TO_TIMESTAMP('2008-11-12 16:17:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53541 +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53541 +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Split_Percent', Name='Split Percentage', Description=NULL, Help=NULL WHERE AD_Element_ID=53541 +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Split_Percent', Name='Split Percentage', Description=NULL, Help=NULL, AD_Element_ID=53541 WHERE UPPER(ColumnName)='A_SPLIT_PERCENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Split_Percent', Name='Split Percentage', Description=NULL, Help=NULL WHERE AD_Element_ID=53541 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Split Percentage', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53541) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:17:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Split Percentage', Name='Split Percentage' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53541) +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Asset Cost Account', PrintName='Asset Cost Account',Updated=TO_TIMESTAMP('2008-11-12 16:17:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53549 +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53549 +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Asset_Acct', Name='Asset Cost Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53549 +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct', Name='Asset Cost Account', Description=NULL, Help=NULL, AD_Element_ID=53549 WHERE UPPER(ColumnName)='A_ASSET_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct', Name='Asset Cost Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53549 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Asset Cost Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53549) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:17:55 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Asset Cost Account', Name='Asset Cost Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53549) +; + +-- Nov 12, 2008 4:20:14 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Accumulated Depreciation', PrintName='Accumulated Depreciation',Updated=TO_TIMESTAMP('2008-11-12 16:20:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53548 +; + +-- Nov 12, 2008 4:20:14 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53548 +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Accumdepreciation_Acct', Name='Accumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Element_ID=53548 +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct', Name='Accumulated Depreciation', Description=NULL, Help=NULL, AD_Element_ID=53548 WHERE UPPER(ColumnName)='A_ACCUMDEPRECIATION_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct', Name='Accumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Element_ID=53548 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Accumulated Depreciation', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53548) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:20:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Accumulated Depreciation', Name='Accumulated Depreciation' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53548) +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Expense Account', PrintName='Depreciation Expense Account',Updated=TO_TIMESTAMP('2008-11-12 16:20:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53530 +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53530 +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Acct', Name='Depreciation Expense Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53530 +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct', Name='Depreciation Expense Account', Description=NULL, Help=NULL, AD_Element_ID=53530 WHERE UPPER(ColumnName)='A_DEPRECIATION_ACCT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct', Name='Depreciation Expense Account', Description=NULL, Help=NULL WHERE AD_Element_ID=53530 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Expense Account', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53530) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:20:37 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Depreciation Expense Account', Name='Depreciation Expense Account' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53530) +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Disposal Revenue', PrintName='Disposal Revenue',Updated=TO_TIMESTAMP('2008-11-12 16:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53539 +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53539 +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue', Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53539 +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue', Name='Disposal Revenue', Description=NULL, Help=NULL, AD_Element_ID=53539 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue', Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53539 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53539) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Disposal Revenue', Name='Disposal Revenue' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53539) +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Loss on Disposal', PrintName='Loss on Disposal',Updated=TO_TIMESTAMP('2008-11-12 16:21:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53540 +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53540 +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Loss', Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Element_ID=53540 +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss', Name='Loss on Disposal', Description=NULL, Help=NULL, AD_Element_ID=53540 WHERE UPPER(ColumnName)='A_DISPOSAL_LOSS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss', Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Element_ID=53540 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Loss on Disposal', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53540) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:18 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Loss on Disposal', Name='Loss on Disposal' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53540) +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Calculation Method', PrintName='Revaluation Calculation Method',Updated=TO_TIMESTAMP('2008-11-12 16:21:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53509 +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53509 +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Cal_Method', Name='Revaluation Calculation Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53509 +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cal_Method', Name='Revaluation Calculation Method', Description=NULL, Help=NULL, AD_Element_ID=53509 WHERE UPPER(ColumnName)='A_REVAL_CAL_METHOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cal_Method', Name='Revaluation Calculation Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53509 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Calculation Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53509) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:21:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Revaluation Calculation Method', Name='Revaluation Calculation Method' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53509) +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Cost Offset for Current Year', PrintName='Revaluation Cost Offset for Current Year',Updated=TO_TIMESTAMP('2008-11-12 16:22:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53534 +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53534 +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Cost_Offset', Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53534 +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cost_Offset', Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL, AD_Element_ID=53534 WHERE UPPER(ColumnName)='A_REVAL_COST_OFFSET' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cost_Offset', Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53534 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Cost Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53534) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:22:10 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Revaluation Cost Offset for Current Year', Name='Revaluation Cost Offset for Current Year' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53534) +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Cost Offset for Prior Year', PrintName='Revaluation Cost Offset for Prior Year',Updated=TO_TIMESTAMP('2008-11-12 16:22:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53533 +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53533 +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Cost_Offset_Prior', Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53533 +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cost_Offset_Prior', Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL, AD_Element_ID=53533 WHERE UPPER(ColumnName)='A_REVAL_COST_OFFSET_PRIOR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Cost_Offset_Prior', Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53533 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Cost Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53533) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:22:35 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Revaluation Cost Offset for Prior Year', Name='Revaluation Cost Offset for Prior Year' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53533) +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Accumulated Depreciation Offset for Current Year', PrintName='Revaluation Accumulated Depreciation Offset for Current Year',Updated=TO_TIMESTAMP('2008-11-12 16:24:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53536 +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53536 +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Accumdep_Offset_Cur', Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53536 +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Accumdep_Offset_Cur', Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL, AD_Element_ID=53536 WHERE UPPER(ColumnName)='A_REVAL_ACCUMDEP_OFFSET_CUR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Accumdep_Offset_Cur', Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53536 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Current Year', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53536) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:09 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Revaluation Accumulated Depreciation Offset for Current Year', Name='Revaluation Accumulated Depreciation Offset for Current Year' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53536) +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', PrintName='Revaluation Accumulated Depreciation Offset for Prior Year',Updated=TO_TIMESTAMP('2008-11-12 16:24:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53535 +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53535 +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Accumdep_Offset_Prior', Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53535 +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Accumdep_Offset_Prior', Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL, AD_Element_ID=53535 WHERE UPPER(ColumnName)='A_REVAL_ACCUMDEP_OFFSET_PRIOR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Accumdep_Offset_Prior', Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Element_ID=53535 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Accumulated Depreciation Offset for Prior Year', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53535) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:31 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Revaluation Accumulated Depreciation Offset for Prior Year', Name='Revaluation Accumulated Depreciation Offset for Prior Year' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53535) +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Revaluation Expense Offs', PrintName='Revaluation Expense Offs',Updated=TO_TIMESTAMP('2008-11-12 16:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53542 +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53542 +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Reval_Depexp_Offset', Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Element_ID=53542 +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Depexp_Offset', Name='Revaluation Expense Offs', Description=NULL, Help=NULL, AD_Element_ID=53542 WHERE UPPER(ColumnName)='A_REVAL_DEPEXP_OFFSET' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Reval_Depexp_Offset', Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Element_ID=53542 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Revaluation Expense Offs', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53542) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:24:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Revaluation Expense Offs', Name='Revaluation Expense Offs' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53542) +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Asset ID', PrintName='Asset ID',Updated=TO_TIMESTAMP('2008-11-12 16:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53528 +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53528 +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Parent_Asset_ID', Name='Asset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53528 +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Parent_Asset_ID', Name='Asset ID', Description=NULL, Help=NULL, AD_Element_ID=53528 WHERE UPPER(ColumnName)='A_PARENT_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Parent_Asset_ID', Name='Asset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53528 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Asset ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53528) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Asset ID', Name='Asset ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53528) +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Original Qty', PrintName='Original Qty',Updated=TO_TIMESTAMP('2008-11-12 16:25:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53529 +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53529 +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_QTY_Original', Name='Original Qty', Description=NULL, Help=NULL WHERE AD_Element_ID=53529 +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Original', Name='Original Qty', Description=NULL, Help=NULL, AD_Element_ID=53529 WHERE UPPER(ColumnName)='A_QTY_ORIGINAL' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Original', Name='Original Qty', Description=NULL, Help=NULL WHERE AD_Element_ID=53529 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Original Qty', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53529) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Original Qty', Name='Original Qty' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53529) +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Current Qty', PrintName='Current Qty',Updated=TO_TIMESTAMP('2008-11-12 16:25:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_QTY_Current', Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Current', Name='Current Qty', Description=NULL, Help=NULL, AD_Element_ID=53494 WHERE UPPER(ColumnName)='A_QTY_CURRENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Current', Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Element_ID=53494 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Current Qty', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53494) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:25:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Current Qty', Name='Current Qty' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53494) +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Type', PrintName='Depreciation Type',Updated=TO_TIMESTAMP('2008-11-12 16:26:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53473 +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53473 +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_ID', Name='Depreciation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53473 +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_ID', Name='Depreciation Type', Description=NULL, Help=NULL, AD_Element_ID=53473 WHERE UPPER(ColumnName)='A_DEPRECIATION_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_ID', Name='Depreciation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53473 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53473) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:26:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Depreciation Type', Name='Depreciation Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53473) +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Calculation Type', PrintName='Depreciation Calculation Type',Updated=TO_TIMESTAMP('2008-11-12 16:26:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53544 +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53544 +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Method_ID', Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53544 +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Method_ID', Name='Depreciation Calculation Type', Description=NULL, Help=NULL, AD_Element_ID=53544 WHERE UPPER(ColumnName)='A_DEPRECIATION_METHOD_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Method_ID', Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53544 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Calculation Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53544) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:26:36 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Depreciation Calculation Type', Name='Depreciation Calculation Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53544) +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Convention Type', PrintName='Convention Type',Updated=TO_TIMESTAMP('2008-11-12 16:27:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53546 +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53546 +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Conv_ID', Name='Convention Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53546 +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Conv_ID', Name='Convention Type', Description=NULL, Help=NULL, AD_Element_ID=53546 WHERE UPPER(ColumnName)='A_DEPRECIATION_CONV_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Conv_ID', Name='Convention Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53546 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Convention Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53546) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:27:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Convention Type', Name='Convention Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53546) +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Period Start', PrintName='Period Start',Updated=TO_TIMESTAMP('2008-11-12 16:31:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53537 +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53537 +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Period_Start', Name='Period Start', Description=NULL, Help=NULL WHERE AD_Element_ID=53537 +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period_Start', Name='Period Start', Description=NULL, Help=NULL, AD_Element_ID=53537 WHERE UPPER(ColumnName)='A_PERIOD_START' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period_Start', Name='Period Start', Description=NULL, Help=NULL WHERE AD_Element_ID=53537 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Period Start', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53537) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Period Start', Name='Period Start' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53537) +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Period End', PrintName='Period End',Updated=TO_TIMESTAMP('2008-11-12 16:31:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53538 +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53538 +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Period_End', Name='Period End', Description=NULL, Help=NULL WHERE AD_Element_ID=53538 +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period_End', Name='Period End', Description=NULL, Help=NULL, AD_Element_ID=53538 WHERE UPPER(ColumnName)='A_PERIOD_END' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period_End', Name='Period End', Description=NULL, Help=NULL WHERE AD_Element_ID=53538 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Period End', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53538) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Period End', Name='Period End' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53538) +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Salvage Value', PrintName='Salvage Value',Updated=TO_TIMESTAMP('2008-11-12 16:31:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53493 +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53493 +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Salvage_Value', Name='Salvage Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53493 +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Salvage_Value', Name='Salvage Value', Description=NULL, Help=NULL, AD_Element_ID=53493 WHERE UPPER(ColumnName)='A_SALVAGE_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Salvage_Value', Name='Salvage Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53493 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:38 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Salvage Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53493) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:31:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Salvage Value', Name='Salvage Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53493) +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Capital vs Expense', PrintName='Capital vs Expense',Updated=TO_TIMESTAMP('2008-11-12 16:32:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53641 +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53641 +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_CapvsExp', Name='Capital vs Expense', Description=NULL, Help=NULL WHERE AD_Element_ID=53641 +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_CapvsExp', Name='Capital vs Expense', Description=NULL, Help=NULL, AD_Element_ID=53641 WHERE UPPER(ColumnName)='A_CAPVSEXP' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_CapvsExp', Name='Capital vs Expense', Description=NULL, Help=NULL WHERE AD_Element_ID=53641 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Capital vs Expense', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53641) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:32:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Capital vs Expense', Name='Capital vs Expense' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53641) +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Source of Entry', PrintName='Source of Entry',Updated=TO_TIMESTAMP('2008-11-12 16:32:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53640 +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53640 +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_SourceType', Name='Source of Entry', Description=NULL, Help=NULL WHERE AD_Element_ID=53640 +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_SourceType', Name='Source of Entry', Description=NULL, Help=NULL, AD_Element_ID=53640 WHERE UPPER(ColumnName)='A_SOURCETYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_SourceType', Name='Source of Entry', Description=NULL, Help=NULL WHERE AD_Element_ID=53640 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:32:20 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Source of Entry', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53640) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:32:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Source of Entry', Name='Source of Entry' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53640) +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Quantity', PrintName='Quantity',Updated=TO_TIMESTAMP('2008-11-12 16:33:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_QTY_Current', Name='Quantity', Description=NULL, Help=NULL WHERE AD_Element_ID=53494 +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Current', Name='Quantity', Description=NULL, Help=NULL, AD_Element_ID=53494 WHERE UPPER(ColumnName)='A_QTY_CURRENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_QTY_Current', Name='Quantity', Description=NULL, Help=NULL WHERE AD_Element_ID=53494 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Quantity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53494) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:33:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Quantity', Name='Quantity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53494) +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Leasor, Mortgage Company, or Rentor', PrintName='Leasor, Mortgage Company, or Rentor',Updated=TO_TIMESTAMP('2008-11-12 16:33:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Finance_Meth', Name='Leasor, Mortgage Company, or Rentor', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Leasor, Mortgage Company, or Rentor', Description=NULL, Help=NULL, AD_Element_ID=53593 WHERE UPPER(ColumnName)='A_FINANCE_METH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Leasor, Mortgage Company, or Rentor', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Leasor, Mortgage Company, or Rentor', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53593) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:33:56 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Leasor, Mortgage Company, or Rentor', Name='Leasor, Mortgage Company, or Rentor' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53593) +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Contract Date', PrintName='Contract Date',Updated=TO_TIMESTAMP('2008-11-12 16:34:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53602 +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53602 +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53602 +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL, AD_Element_ID=53602 WHERE UPPER(ColumnName)='A_CONTRACT_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Contract_Date', Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53602 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Contract Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53602) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:24 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Contract Date', Name='Contract Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53602) +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Contract Expiration Date', PrintName='Contract Expiration Date',Updated=TO_TIMESTAMP('2008-11-12 16:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53601 +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53601 +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Expired_Date', Name='Contract Expiration Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53601 +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Expired_Date', Name='Contract Expiration Date', Description=NULL, Help=NULL, AD_Element_ID=53601 WHERE UPPER(ColumnName)='A_EXPIRED_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Expired_Date', Name='Contract Expiration Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53601 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Contract Expiration Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53601) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:39 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Contract Expiration Date', Name='Contract Expiration Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53601) +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Monthly Payment', PrintName='Monthly Payment',Updated=TO_TIMESTAMP('2008-11-12 16:34:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53600 +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53600 +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Monthly_Payment', Name='Monthly Payment', Description=NULL, Help=NULL WHERE AD_Element_ID=53600 +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Monthly_Payment', Name='Monthly Payment', Description=NULL, Help=NULL, AD_Element_ID=53600 WHERE UPPER(ColumnName)='A_MONTHLY_PAYMENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Monthly_Payment', Name='Monthly Payment', Description=NULL, Help=NULL WHERE AD_Element_ID=53600 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Monthly Payment', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53600) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:34:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Monthly Payment', Name='Monthly Payment' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53600) +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Payment Due Date', PrintName='Payment Due Date',Updated=TO_TIMESTAMP('2008-11-12 16:35:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53595 +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53595 +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Due_On', Name='Payment Due Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53595 +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Due_On', Name='Payment Due Date', Description=NULL, Help=NULL, AD_Element_ID=53595 WHERE UPPER(ColumnName)='A_DUE_ON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Due_On', Name='Payment Due Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53595 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Payment Due Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53595) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:35:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Payment Due Date', Name='Payment Due Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53595) +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Purchase Option', PrintName='Purchase Option',Updated=TO_TIMESTAMP('2008-11-12 16:35:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53596 +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53596 +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Purchase_Option', Name='Purchase Option', Description=NULL, Help=NULL WHERE AD_Element_ID=53596 +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option', Name='Purchase Option', Description=NULL, Help=NULL, AD_Element_ID=53596 WHERE UPPER(ColumnName)='A_PURCHASE_OPTION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option', Name='Purchase Option', Description=NULL, Help=NULL WHERE AD_Element_ID=53596 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Purchase Option', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53596) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:35:44 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Purchase Option', Name='Purchase Option' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53596) +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Option Purchase Price', PrintName='Option Purchase Price',Updated=TO_TIMESTAMP('2008-11-12 16:36:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53598 +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53598 +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Purchase_Price', Name='Option Purchase Price', Description=NULL, Help=NULL WHERE AD_Element_ID=53598 +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Price', Name='Option Purchase Price', Description=NULL, Help=NULL, AD_Element_ID=53598 WHERE UPPER(ColumnName)='A_PURCHASE_PRICE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Price', Name='Option Purchase Price', Description=NULL, Help=NULL WHERE AD_Element_ID=53598 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Option Purchase Price', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53598) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:02 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Option Purchase Price', Name='Option Purchase Price' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53598) +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Purchase Option Credit', PrintName='Purchase Option Credit',Updated=TO_TIMESTAMP('2008-11-12 16:36:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53599 +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53599 +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Purchase_Option_Credit', Name='Purchase Option Credit', Description=NULL, Help=NULL WHERE AD_Element_ID=53599 +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option_Credit', Name='Purchase Option Credit', Description=NULL, Help=NULL, AD_Element_ID=53599 WHERE UPPER(ColumnName)='A_PURCHASE_OPTION_CREDIT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option_Credit', Name='Purchase Option Credit', Description=NULL, Help=NULL WHERE AD_Element_ID=53599 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Purchase Option Credit', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53599) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:23 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Purchase Option Credit', Name='Purchase Option Credit' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53599) +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Purchase Option Credit %', PrintName='Purchase Option Credit %',Updated=TO_TIMESTAMP('2008-11-12 16:36:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53597 +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53597 +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Purchase_Option_Credit_Per', Name='Purchase Option Credit %', Description=NULL, Help=NULL WHERE AD_Element_ID=53597 +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option_Credit_Per', Name='Purchase Option Credit %', Description=NULL, Help=NULL, AD_Element_ID=53597 WHERE UPPER(ColumnName)='A_PURCHASE_OPTION_CREDIT_PER' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Purchase_Option_Credit_Per', Name='Purchase Option Credit %', Description=NULL, Help=NULL WHERE AD_Element_ID=53597 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Purchase Option Credit %', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53597) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:36:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Purchase Option Credit %', Name='Purchase Option Credit %' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53597) +; + +-- Nov 12, 2008 4:37:59 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Issuing Agency', PrintName='Issuing Agency',Updated=TO_TIMESTAMP('2008-11-12 16:37:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53617 +; + +-- Nov 12, 2008 4:37:59 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53617 +; + +-- Nov 12, 2008 4:37:59 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Issuing_Agency', Name='Issuing Agency', Description=NULL, Help=NULL WHERE AD_Element_ID=53617 +; + +-- Nov 12, 2008 4:38:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Issuing_Agency', Name='Issuing Agency', Description=NULL, Help=NULL, AD_Element_ID=53617 WHERE UPPER(ColumnName)='A_ISSUING_AGENCY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:38:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Issuing_Agency', Name='Issuing Agency', Description=NULL, Help=NULL WHERE AD_Element_ID=53617 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Issuing Agency', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53617) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:00 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Issuing Agency', Name='Issuing Agency' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53617) +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='License No', PrintName='License No',Updated=TO_TIMESTAMP('2008-11-12 16:38:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53616 +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53616 +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_License_No', Name='License No', Description=NULL, Help=NULL WHERE AD_Element_ID=53616 +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_License_No', Name='License No', Description=NULL, Help=NULL, AD_Element_ID=53616 WHERE UPPER(ColumnName)='A_LICENSE_NO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_License_No', Name='License No', Description=NULL, Help=NULL WHERE AD_Element_ID=53616 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='License No', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53616) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:16 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='License No', Name='License No' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53616) +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='License Fee', PrintName='License Fee',Updated=TO_TIMESTAMP('2008-11-12 16:38:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53614 +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53614 +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_License_Fee', Name='License Fee', Description=NULL, Help=NULL WHERE AD_Element_ID=53614 +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_License_Fee', Name='License Fee', Description=NULL, Help=NULL, AD_Element_ID=53614 WHERE UPPER(ColumnName)='A_LICENSE_FEE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_License_Fee', Name='License Fee', Description=NULL, Help=NULL WHERE AD_Element_ID=53614 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='License Fee', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53614) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:38:43 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='License Fee', Name='License Fee' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53614) +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Renewal Date', PrintName='Renewal Date',Updated=TO_TIMESTAMP('2008-11-12 16:39:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Renewal_Date', Name='Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Renewal Date', Description=NULL, Help=NULL, AD_Element_ID=53615 WHERE UPPER(ColumnName)='A_RENEWAL_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Renewal Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53615) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Renewal Date', Name='Renewal Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53615) +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Insurance Company', PrintName='Insurance Company',Updated=TO_TIMESTAMP('2008-11-12 16:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53622 +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53622 +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Element_ID=53622 +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL, AD_Element_ID=53622 WHERE UPPER(ColumnName)='A_INSURANCE_CO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Insurance_Co', Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Element_ID=53622 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Insurance Company', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53622) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Insurance Company', Name='Insurance Company' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53622) +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Policy Number', PrintName='Policy Number',Updated=TO_TIMESTAMP('2008-11-12 16:39:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53620 +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53620 +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Policy_No', Name='Policy Number', Description=NULL, Help=NULL WHERE AD_Element_ID=53620 +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Policy_No', Name='Policy Number', Description=NULL, Help=NULL, AD_Element_ID=53620 WHERE UPPER(ColumnName)='A_POLICY_NO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Policy_No', Name='Policy Number', Description=NULL, Help=NULL WHERE AD_Element_ID=53620 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Policy Number', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53620) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:39:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Policy Number', Name='Policy Number' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53620) +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Policy Renewal Date', PrintName='Policy Renewal Date',Updated=TO_TIMESTAMP('2008-11-12 16:40:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Renewal_Date', Name='Policy Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Policy Renewal Date', Description=NULL, Help=NULL, AD_Element_ID=53615 WHERE UPPER(ColumnName)='A_RENEWAL_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Renewal_Date', Name='Policy Renewal Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53615 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Policy Renewal Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53615) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:06 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Policy Renewal Date', Name='Policy Renewal Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53615) +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Insurance Premium', PrintName='Insurance Premium',Updated=TO_TIMESTAMP('2008-11-12 16:40:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53623 +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53623 +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Ins_Premium', Name='Insurance Premium', Description=NULL, Help=NULL WHERE AD_Element_ID=53623 +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Ins_Premium', Name='Insurance Premium', Description=NULL, Help=NULL, AD_Element_ID=53623 WHERE UPPER(ColumnName)='A_INS_PREMIUM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Ins_Premium', Name='Insurance Premium', Description=NULL, Help=NULL WHERE AD_Element_ID=53623 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Insurance Premium', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53623) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:26 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Insurance Premium', Name='Insurance Premium' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53623) +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Replacement Costs', PrintName='Replacement Costs',Updated=TO_TIMESTAMP('2008-11-12 16:40:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53621 +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53621 +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Replace_Cost', Name='Replacement Costs', Description=NULL, Help=NULL WHERE AD_Element_ID=53621 +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Replace_Cost', Name='Replacement Costs', Description=NULL, Help=NULL, AD_Element_ID=53621 WHERE UPPER(ColumnName)='A_REPLACE_COST' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Replace_Cost', Name='Replacement Costs', Description=NULL, Help=NULL WHERE AD_Element_ID=53621 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Replacement Costs', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53621) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:40:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Replacement Costs', Name='Replacement Costs' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53621) +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Insured Value', PrintName='Insured Value',Updated=TO_TIMESTAMP('2008-11-12 16:41:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53619 +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53619 +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Ins_Value', Name='Insured Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53619 +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Ins_Value', Name='Insured Value', Description=NULL, Help=NULL, AD_Element_ID=53619 WHERE UPPER(ColumnName)='A_INS_VALUE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Ins_Value', Name='Insured Value', Description=NULL, Help=NULL WHERE AD_Element_ID=53619 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Insured Value', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53619) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:41:13 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Insured Value', Name='Insured Value' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53619) +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Tax Entity', PrintName='Tax Entity',Updated=TO_TIMESTAMP('2008-11-12 16:41:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53591 +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53591 +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Tax_Entity', Name='Tax Entity', Description=NULL, Help=NULL WHERE AD_Element_ID=53591 +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Tax_Entity', Name='Tax Entity', Description=NULL, Help=NULL, AD_Element_ID=53591 WHERE UPPER(ColumnName)='A_TAX_ENTITY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Tax_Entity', Name='Tax Entity', Description=NULL, Help=NULL WHERE AD_Element_ID=53591 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Tax Entity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53591) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:41:58 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Tax Entity', Name='Tax Entity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53591) +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Purchased New?', PrintName='Purchased New?',Updated=TO_TIMESTAMP('2008-11-12 16:42:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53592 +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53592 +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_New_Used', Name='Purchased New?', Description=NULL, Help=NULL WHERE AD_Element_ID=53592 +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_New_Used', Name='Purchased New?', Description=NULL, Help=NULL, AD_Element_ID=53592 WHERE UPPER(ColumnName)='A_NEW_USED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_New_Used', Name='Purchased New?', Description=NULL, Help=NULL WHERE AD_Element_ID=53592 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Purchased New?', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53592) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:42:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Purchased New?', Name='Purchased New?' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53592) +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Finance Method', PrintName='Finance Method',Updated=TO_TIMESTAMP('2008-11-12 16:43:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Finance_Meth', Name='Finance Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Finance Method', Description=NULL, Help=NULL, AD_Element_ID=53593 WHERE UPPER(ColumnName)='A_FINANCE_METH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Finance_Meth', Name='Finance Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53593 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Finance Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53593) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:43:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Finance Method', Name='Finance Method' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53593) +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Investment Credit', PrintName='Investment Credit',Updated=TO_TIMESTAMP('2008-11-12 16:43:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53590 +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53590 +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Investment_CR', Name='Investment Credit', Description=NULL, Help=NULL WHERE AD_Element_ID=53590 +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Investment_CR', Name='Investment Credit', Description=NULL, Help=NULL, AD_Element_ID=53590 WHERE UPPER(ColumnName)='A_INVESTMENT_CR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Investment_CR', Name='Investment Credit', Description=NULL, Help=NULL WHERE AD_Element_ID=53590 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Investment Credit', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53590) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:43:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Investment Credit', Name='Investment Credit' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53590) +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Asset Related?', PrintName='Asset Related?',Updated=TO_TIMESTAMP('2008-11-12 16:44:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53646 +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53646 +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_CreateAsset', Name='Asset Related?', Description=NULL, Help=NULL WHERE AD_Element_ID=53646 +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_CreateAsset', Name='Asset Related?', Description=NULL, Help=NULL, AD_Element_ID=53646 WHERE UPPER(ColumnName)='A_CREATEASSET' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_CreateAsset', Name='Asset Related?', Description=NULL, Help=NULL WHERE AD_Element_ID=53646 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Asset Related?', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53646) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:44:49 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Asset Related?', Name='Asset Related?' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53646) +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Entry Type', PrintName='Entry Type',Updated=TO_TIMESTAMP('2008-11-12 16:45:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53484 +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53484 +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Entry_Type', Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53484 +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Entry_Type', Name='Entry Type', Description=NULL, Help=NULL, AD_Element_ID=53484 WHERE UPPER(ColumnName)='A_ENTRY_TYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Entry_Type', Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53484 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Entry Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53484) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:45:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Entry Type', Name='Entry Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53484) +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Depreciation Code', PrintName='Depreciation Code',Updated=TO_TIMESTAMP('2008-11-12 16:46:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53480 +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53480 +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Table_Code', Name='Depreciation Code', Description=NULL, Help=NULL WHERE AD_Element_ID=53480 +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Table_Code', Name='Depreciation Code', Description=NULL, Help=NULL, AD_Element_ID=53480 WHERE UPPER(ColumnName)='A_DEPRECIATION_TABLE_CODE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Table_Code', Name='Depreciation Code', Description=NULL, Help=NULL WHERE AD_Element_ID=53480 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Depreciation Code', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53480) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Depreciation Code', Name='Depreciation Code' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53480) +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Period/Yearly', PrintName='Period/Yearly',Updated=TO_TIMESTAMP('2008-11-12 16:46:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53482 +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53482 +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Term', Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Element_ID=53482 +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Term', Name='Period/Yearly', Description=NULL, Help=NULL, AD_Element_ID=53482 WHERE UPPER(ColumnName)='A_TERM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Term', Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Element_ID=53482 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53482) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Period/Yearly', Name='Period/Yearly' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53482) +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Type', PrintName='Type',Updated=TO_TIMESTAMP('2008-11-12 16:46:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53478 +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53478 +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Table_Rate_Type', Name='Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53478 +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Table_Rate_Type', Name='Type', Description=NULL, Help=NULL, AD_Element_ID=53478 WHERE UPPER(ColumnName)='A_TABLE_RATE_TYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Table_Rate_Type', Name='Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53478 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53478) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:46:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Type', Name='Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53478) +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Period/Yearly', PrintName='Period/Yearly',Updated=TO_TIMESTAMP('2008-11-12 16:47:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53477 +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53477 +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Period', Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Element_ID=53477 +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period', Name='Period/Yearly', Description=NULL, Help=NULL, AD_Element_ID=53477 WHERE UPPER(ColumnName)='A_PERIOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Period', Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Element_ID=53477 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Period/Yearly', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53477) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:47:07 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Period/Yearly', Name='Period/Yearly' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53477) +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Rate', PrintName='Rate',Updated=TO_TIMESTAMP('2008-11-12 16:47:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53479 +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53479 +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Rate', Name='Rate', Description=NULL, Help=NULL WHERE AD_Element_ID=53479 +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Rate', Name='Rate', Description=NULL, Help=NULL, AD_Element_ID=53479 WHERE UPPER(ColumnName)='A_DEPRECIATION_RATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Rate', Name='Rate', Description=NULL, Help=NULL WHERE AD_Element_ID=53479 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Rate', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53479) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:47:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Rate', Name='Rate' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53479) +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='End Aset ID', PrintName='End Aset ID',Updated=TO_TIMESTAMP('2008-11-12 16:48:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53505 +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53505 +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_End_Asset_ID', Name='End Aset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53505 +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_End_Asset_ID', Name='End Aset ID', Description=NULL, Help=NULL, AD_Element_ID=53505 WHERE UPPER(ColumnName)='A_END_ASSET_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_End_Asset_ID', Name='End Aset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53505 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='End Aset ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53505) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:48:15 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='End Aset ID', Name='End Aset ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53505) +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Asset Cost Acct', PrintName='Old Asset Cost Acct',Updated=TO_TIMESTAMP('2008-11-12 16:51:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53565 +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53565 +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Asset_Acct_Str', Name='Old Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53565 +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct_Str', Name='Old Asset Cost Acct', Description=NULL, Help=NULL, AD_Element_ID=53565 WHERE UPPER(ColumnName)='A_ASSET_ACCT_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct_Str', Name='Old Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53565 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53565) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:51:41 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Old Asset Cost Acct', Name='Old Asset Cost Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53565) +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Asset Cost Acct', PrintName='New Asset Cost Acct',Updated=TO_TIMESTAMP('2008-11-12 16:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53557 +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53557 +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Asset_Acct_New', Name='New Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53557 +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct_New', Name='New Asset Cost Acct', Description=NULL, Help=NULL, AD_Element_ID=53557 WHERE UPPER(ColumnName)='A_ASSET_ACCT_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_Acct_New', Name='New Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53557 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Asset Cost Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53557) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:51:57 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='New Asset Cost Acct', Name='New Asset Cost Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53557) +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Accum Depreciation Acct', PrintName='Old Accum Depreciation Acct',Updated=TO_TIMESTAMP('2008-11-12 16:52:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53567 +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53567 +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Accumdepreciation_Acct_Str', Name='Old Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53567 +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct_Str', Name='Old Accum Depreciation Acct', Description=NULL, Help=NULL, AD_Element_ID=53567 WHERE UPPER(ColumnName)='A_ACCUMDEPRECIATION_ACCT_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct_Str', Name='Old Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53567 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53567) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:52:22 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Old Accum Depreciation Acct', Name='Old Accum Depreciation Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53567) +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Accum Depreciation Acct', PrintName='New Accum Depreciation Acct',Updated=TO_TIMESTAMP('2008-11-12 16:53:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53566 +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53566 +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Accumdepreciation_Acct_New', Name='New Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53566 +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct_New', Name='New Accum Depreciation Acct', Description=NULL, Help=NULL, AD_Element_ID=53566 WHERE UPPER(ColumnName)='A_ACCUMDEPRECIATION_ACCT_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Accumdepreciation_Acct_New', Name='New Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53566 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Accum Depreciation Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53566) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:53:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='New Accum Depreciation Acct', Name='New Accum Depreciation Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53566) +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Depreciation Exp Acct', PrintName='Old Depreciation Exp Acct',Updated=TO_TIMESTAMP('2008-11-12 16:54:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53558 +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53558 +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Acct_Str', Name='Old Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53558 +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct_Str', Name='Old Depreciation Exp Acct', Description=NULL, Help=NULL, AD_Element_ID=53558 WHERE UPPER(ColumnName)='A_DEPRECIATION_ACCT_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct_Str', Name='Old Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53558 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53558) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Old Depreciation Exp Acct', Name='Old Depreciation Exp Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53558) +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Depreciation Exp Acct', PrintName='New Depreciation Exp Acct',Updated=TO_TIMESTAMP('2008-11-12 16:54:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53564 +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53564 +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Depreciation_Acct_New', Name='New Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53564 +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct_New', Name='New Depreciation Exp Acct', Description=NULL, Help=NULL, AD_Element_ID=53564 WHERE UPPER(ColumnName)='A_DEPRECIATION_ACCT_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Depreciation_Acct_New', Name='New Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Element_ID=53564 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Depreciation Exp Acct', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53564) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:30 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='New Depreciation Exp Acct', Name='New Depreciation Exp Acct' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53564) +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Disposal Revenue', PrintName='Old Disposal Revenue',Updated=TO_TIMESTAMP('2008-11-12 16:54:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53561 +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53561 +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_Str', Name='Old Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Old Disposal Revenue', Description=NULL, Help=NULL, AD_Element_ID=53561 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_Str', Name='Old Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53561 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53561) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:54:51 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Old Disposal Revenue', Name='Old Disposal Revenue' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53561) +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Disposal Revenue', PrintName='New Disposal Revenue',Updated=TO_TIMESTAMP('2008-11-12 16:55:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53562 +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53562 +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Revenue_New', Name='New Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53562 +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_New', Name='New Disposal Revenue', Description=NULL, Help=NULL, AD_Element_ID=53562 WHERE UPPER(ColumnName)='A_DISPOSAL_REVENUE_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Revenue_New', Name='New Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Element_ID=53562 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Disposal Revenue', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53562) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:55:11 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='New Disposal Revenue', Name='New Disposal Revenue' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53562) +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Old Disposal Loss', PrintName='Old Disposal Loss',Updated=TO_TIMESTAMP('2008-11-12 16:55:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53563 +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53563 +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Loss_Str', Name='Old Disposal Loss', Description=NULL, Help=NULL WHERE AD_Element_ID=53563 +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_Str', Name='Old Disposal Loss', Description=NULL, Help=NULL, AD_Element_ID=53563 WHERE UPPER(ColumnName)='A_DISPOSAL_LOSS_STR' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_Str', Name='Old Disposal Loss', Description=NULL, Help=NULL WHERE AD_Element_ID=53563 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:55:32 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Old Disposal Loss', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53563) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:55:33 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Old Disposal Loss', Name='Old Disposal Loss' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53563) +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='New Disposal Loss', PrintName='New Disposal Loss',Updated=TO_TIMESTAMP('2008-11-12 16:56:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53559 +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53559 +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposal_Loss_New', Name='New Disposal Loss', Description=NULL, Help=NULL WHERE AD_Element_ID=53559 +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_New', Name='New Disposal Loss', Description=NULL, Help=NULL, AD_Element_ID=53559 WHERE UPPER(ColumnName)='A_DISPOSAL_LOSS_NEW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposal_Loss_New', Name='New Disposal Loss', Description=NULL, Help=NULL WHERE AD_Element_ID=53559 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='New Disposal Loss', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53559) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:01 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='New Disposal Loss', Name='New Disposal Loss' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53559) +; + +-- Nov 12, 2008 4:56:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Transfer Balance Sheet', PrintName='Transfer Balance Sheet',Updated=TO_TIMESTAMP('2008-11-12 16:56:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53560 +; + +-- Nov 12, 2008 4:56:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53560 +; + +-- Nov 12, 2008 4:56:27 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Transfer_Balance', Name='Transfer Balance Sheet', Description=NULL, Help=NULL WHERE AD_Element_ID=53560 +; + +-- Nov 12, 2008 4:56:28 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance', Name='Transfer Balance Sheet', Description=NULL, Help=NULL, AD_Element_ID=53560 WHERE UPPER(ColumnName)='A_TRANSFER_BALANCE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:56:28 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance', Name='Transfer Balance Sheet', Description=NULL, Help=NULL WHERE AD_Element_ID=53560 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:28 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Transfer Balance Sheet', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53560) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:28 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Transfer Balance Sheet', Name='Transfer Balance Sheet' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53560) +; + +-- Nov 12, 2008 4:56:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Transfer IS Balance', PrintName='Transfer IS Balance',Updated=TO_TIMESTAMP('2008-11-12 16:56:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:56:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:56:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Transfer_Balance_IS', Name='Transfer IS Balance', Description=NULL, Help=NULL WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:56:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance_IS', Name='Transfer IS Balance', Description=NULL, Help=NULL, AD_Element_ID=53522 WHERE UPPER(ColumnName)='A_TRANSFER_BALANCE_IS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:56:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance_IS', Name='Transfer IS Balance', Description=NULL, Help=NULL WHERE AD_Element_ID=53522 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Transfer IS Balance', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53522) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:56:47 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Transfer IS Balance', Name='Transfer IS Balance' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53522) +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Split Type', PrintName='Split Type',Updated=TO_TIMESTAMP('2008-11-12 16:57:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53521 +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53521 +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Split_Type', Name='Split Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53521 +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Split_Type', Name='Split Type', Description=NULL, Help=NULL, AD_Element_ID=53521 WHERE UPPER(ColumnName)='A_SPLIT_TYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Split_Type', Name='Split Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53521 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Split Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53521) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:57:52 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Split Type', Name='Split Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53521) +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='To Asset ID', PrintName='To Asset ID',Updated=TO_TIMESTAMP('2008-11-12 16:58:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53525 +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53525 +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Asset_ID_To', Name='To Asset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53525 +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_ID_To', Name='To Asset ID', Description=NULL, Help=NULL, AD_Element_ID=53525 WHERE UPPER(ColumnName)='A_ASSET_ID_TO' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Asset_ID_To', Name='To Asset ID', Description=NULL, Help=NULL WHERE AD_Element_ID=53525 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='To Asset ID', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53525) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:58:21 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='To Asset ID', Name='To Asset ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53525) +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Transfer Balance IS', PrintName='Transfer Balance IS',Updated=TO_TIMESTAMP('2008-11-12 16:58:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Transfer_Balance_IS', Name='Transfer Balance IS', Description=NULL, Help=NULL WHERE AD_Element_ID=53522 +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance_IS', Name='Transfer Balance IS', Description=NULL, Help=NULL, AD_Element_ID=53522 WHERE UPPER(ColumnName)='A_TRANSFER_BALANCE_IS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Transfer_Balance_IS', Name='Transfer Balance IS', Description=NULL, Help=NULL WHERE AD_Element_ID=53522 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Transfer Balance IS', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53522) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 4:58:40 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Transfer Balance IS', Name='Transfer Balance IS' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53522) +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Disposed Reason Code', PrintName='Disposed Reason Code',Updated=TO_TIMESTAMP('2008-11-12 17:00:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53552 +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53552 +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposed_Reason', Name='Disposed Reason Code', Description=NULL, Help=NULL WHERE AD_Element_ID=53552 +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Reason', Name='Disposed Reason Code', Description=NULL, Help=NULL, AD_Element_ID=53552 WHERE UPPER(ColumnName)='A_DISPOSED_REASON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Reason', Name='Disposed Reason Code', Description=NULL, Help=NULL WHERE AD_Element_ID=53552 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:00:03 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Disposed Reason Code', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53552) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:00:04 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Disposed Reason Code', Name='Disposed Reason Code' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53552) +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Disposal Method', PrintName='Disposal Method',Updated=TO_TIMESTAMP('2008-11-12 17:00:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53554 +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53554 +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposed_Method', Name='Disposal Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53554 +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Method', Name='Disposal Method', Description=NULL, Help=NULL, AD_Element_ID=53554 WHERE UPPER(ColumnName)='A_DISPOSED_METHOD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Method', Name='Disposal Method', Description=NULL, Help=NULL WHERE AD_Element_ID=53554 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Disposal Method', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53554) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:00:46 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Disposal Method', Name='Disposal Method' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53554) +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element SET Name='Disposed Date', PrintName='Disposed Date',Updated=TO_TIMESTAMP('2008-11-12 17:01:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53551 +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53551 +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Column SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53551 +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL, AD_Element_ID=53551 WHERE UPPER(ColumnName)='A_DISPOSED_DATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Process_Para SET ColumnName='A_Disposed_Date', Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Element_ID=53551 AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_Field SET Name='Disposed Date', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53551) AND IsCentrallyMaintained='Y' +; + +-- Nov 12, 2008 5:01:08 PM GMT+08:00 +-- Fixed Asset - Terminology error. +UPDATE AD_PrintFormatItem SET PrintName='Disposed Date', Name='Disposed Date' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53551) +; diff --git a/migration/352a-trunk/postgresql/320_FR2257170.sql b/migration/352a-trunk/postgresql/320_FR2257170.sql new file mode 100644 index 0000000000..45016fd71b --- /dev/null +++ b/migration/352a-trunk/postgresql/320_FR2257170.sql @@ -0,0 +1,221 @@ +-- 2008-nov-11 08:54:58 CET +-- [ 2257170 ] Implement shipper and freight category functionality +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56376,2111,0,13,259,'M_FreightCategory_ID',TO_TIMESTAMP('2008-11-11 08:54:56','YYYY-MM-DD HH24:MI:SS'),100,'Category of the Freight','D',1,'Freight Categories are used to calculate the Freight for the Shipper selected','Y','Y','Y','N','N','N','N','N','N','N','N','N','Y','Freight Category','@DocStatus@!=CO',0,TO_TIMESTAMP('2008-11-11 08:54:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 2008-nov-11 08:54:58 CET +-- [ 2257170 ] Implement shipper and freight category functionality +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56376 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2008-nov-11 09:02:26 CET +-- [ 2257170 ] Implement shipper and freight category functionality +alter table c_order add m_freightcategory_id numeric(10) default null; +ALTER TABLE c_order ADD FOREIGN KEY (m_freightcategory_id) REFERENCES m_freightcategory (m_freightcategory_id) + ON UPDATE NO ACTION ON DELETE NO ACTION + DEFERRABLE INITIALLY DEFERRED; + +-- 2008-nov-11 09:04:38 CET +-- [ 2257170 ] Implement shipper and freight category functionality +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56376,56446,0,186,TO_TIMESTAMP('2008-11-11 09:04:37','YYYY-MM-DD HH24:MI:SS'),100,'Category of the Freight',1,'D','Freight Categories are used to calculate the Freight for the Shipper selected','Y','Y','Y','N','N','N','N','N','Freight Category',TO_TIMESTAMP('2008-11-11 09:04:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2008-nov-11 09:04:38 CET +-- [ 2257170 ] Implement shipper and freight category functionality +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56446 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56446 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=2878 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=1107 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=1104 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=1077 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=1103 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=8653 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=1098 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=3272 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=2112 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=2109 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=3113 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=1099 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=2593 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=2589 +; + +-- 2008-nov-11 09:11:30 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=1324 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=7038 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=7826 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=7825 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=1112 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=1113 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=1082 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=1084 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=6560 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=1083 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=3660 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=1000169 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=1000170 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=52014 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=1000171 +; + +-- 2008-nov-11 09:11:31 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=1000172 +; + +-- 2008-nov-11 09:12:55 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET AD_FieldGroup_ID=130,Updated=TO_TIMESTAMP('2008-11-11 09:12:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446 +; + +-- 2008-nov-11 09:13:14 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET DisplayLogic='@DeliveryViaRule@=''S'' & @OrderType@=''SO''',Updated=TO_TIMESTAMP('2008-11-11 09:13:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446 +; + +-- 2008-nov-11 09:13:33 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET DisplayLength=14, IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-11 09:13:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56446 +; + +-- 2008-nov-11 09:28:55 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2008-11-11 09:28:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56376 +; + +-- 2008-nov-11 10:28:03 CET +-- [ 2257170 ] Implement shipper and freight category functionality +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,Description,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52034,'M_FreightCategory_ID in (select M_FreightCategory_ID from M_Freight where M_Shipper_ID=@M_Shipper_ID@)',TO_TIMESTAMP('2008-11-11 10:28:03','YYYY-MM-DD HH24:MI:SS'),100,'Select only freight categories defined at the shipper','D','Y','M_FreightCategory of Shipper','S',TO_TIMESTAMP('2008-11-11 10:28:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2008-nov-11 10:35:41 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Column SET AD_Val_Rule_ID=52034,Updated=TO_TIMESTAMP('2008-11-11 10:35:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56376 +; + +-- 2008-nov-11 14:12:22 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=2878 +; + +-- 2008-nov-11 14:12:22 CET +-- [ 2257170 ] Implement shipper and freight category functionality +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56446 +; diff --git a/migration/352a-trunk/postgresql/321_PosteritaSampleData.sql b/migration/352a-trunk/postgresql/321_PosteritaSampleData.sql new file mode 100644 index 0000000000..4007fcb54f --- /dev/null +++ b/migration/352a-trunk/postgresql/321_PosteritaSampleData.sql @@ -0,0 +1,607 @@ +-- Nov 15, 2008 10:11:57 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@AD_Client_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_TIMESTAMP('2008-11-15 10:11:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52042 +; + +-- Nov 15, 2008 10:11:58 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Reference_ID=19, DefaultValue='@#AD_Client_ID@', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52042 +; + +-- Nov 15, 2008 10:11:58 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=104, DefaultValue='@AD_Org_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_TIMESTAMP('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52043 +; + +-- Nov 15, 2008 10:11:59 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Reference_ID=19, DefaultValue='@#AD_Org_ID@', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-11-15 10:11:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52043 +; + +-- Nov 15, 2008 10:12:07 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@AD_Client_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_TIMESTAMP('2008-11-15 10:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52077 +; + +-- Nov 15, 2008 10:12:07 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=102, AD_Reference_ID=19, AD_Val_Rule_ID=129, DefaultValue='@#AD_Client_ID@', IsMandatory='Y', Name='Client',Updated=TO_TIMESTAMP('2008-11-15 10:12:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52077 +; + +-- Nov 15, 2008 10:12:08 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=104, DefaultValue='@AD_Org_ID@', EntityType='A', FieldLength=22, IsUpdateable='N',Updated=TO_TIMESTAMP('2008-11-15 10:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52078 +; + +-- Nov 15, 2008 10:12:08 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=113, AD_Reference_ID=19, AD_Val_Rule_ID=130, DefaultValue='@#AD_Org_ID@', IsMandatory='Y', Name='Organization',Updated=TO_TIMESTAMP('2008-11-15 10:12:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52078 +; + +-- Nov 15, 2008 10:12:15 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52041, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_TIMESTAMP('2008-11-15 10:12:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52091 +; + +-- Nov 15, 2008 10:12:15 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52041, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Name='Card Transfer Type',Updated=TO_TIMESTAMP('2008-11-15 10:12:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52091 +; + +-- Nov 15, 2008 10:12:17 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52031, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_TIMESTAMP('2008-11-15 10:12:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52080 +; + +-- Nov 15, 2008 10:12:17 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52031, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Description='Where the money in the cash book should be transfered to. Either a Bank Account or another Cash Book', IsMandatory='Y', Name='Cash Book Transfer Type',Updated=TO_TIMESTAMP('2008-11-15 10:12:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52080 +; + +-- Nov 15, 2008 10:12:20 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52037, AD_Reference_ID=20, EntityType='A', FieldLength=1,Updated=TO_TIMESTAMP('2008-11-15 10:12:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52087 +; + +-- Nov 15, 2008 10:12:20 AM EET +-- Posterita Integration +UPDATE AD_Column SET AD_Element_ID=52037, AD_Reference_ID=17, AD_Reference_Value_ID=52002, Name='Check Transfer Type',Updated=TO_TIMESTAMP('2008-11-15 10:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=52087 +; + + +-------------------------------- +-- Nov 15, 2008 10:22:43 AM EET +-- Posterita Integration +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,Name,Updated,UpdatedBy) VALUES (0,53196,0,TO_TIMESTAMP('2008-11-15 10:22:39','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','N','N','Web POS Terminal',TO_TIMESTAMP('2008-11-15 10:22:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:43 AM EET +-- Posterita Integration +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53196 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- Nov 15, 2008 10:22:44 AM EET +-- Posterita Integration +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53065,TO_TIMESTAMP('2008-11-15 10:22:43','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Web POS Terminal','N',TO_TIMESTAMP('2008-11-15 10:22:43','YYYY-MM-DD HH24:MI:SS'),0,'M') +; + +-- Nov 15, 2008 10:22:44 AM EET +-- Posterita Integration +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53065 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID) +; + +-- Nov 15, 2008 10:22:46 AM EET +-- Posterita Integration +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,IsActive,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53181,52004,53065,TO_TIMESTAMP('2008-11-15 10:22:44','YYYY-MM-DD HH24:MI:SS'),0,'A','N','Y','N','Y','N','N','Terminal','N',10,0,TO_TIMESTAMP('2008-11-15 10:22:44','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:46 AM EET +-- Posterita Integration +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53181 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- Nov 15, 2008 10:22:48 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52077,56450,0,53181,TO_TIMESTAMP('2008-11-15 10:22:46','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Client',10,TO_TIMESTAMP('2008-11-15 10:22:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:48 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56450 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:48 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Client', SeqNo=10,Updated=TO_TIMESTAMP('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56450 +; + +-- Nov 15, 2008 10:22:49 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52078,56451,0,53181,TO_TIMESTAMP('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Organization',20,TO_TIMESTAMP('2008-11-15 10:22:48','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:49 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56451 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:49 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Organization', SeqNo=20,Updated=TO_TIMESTAMP('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56451 +; + +-- Nov 15, 2008 10:22:50 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52102,56452,0,53181,TO_TIMESTAMP('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Name',30,TO_TIMESTAMP('2008-11-15 10:22:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:50 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56452 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:50 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Name', SeqNo=30,Updated=TO_TIMESTAMP('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56452 +; + +-- Nov 15, 2008 10:22:51 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52097,56453,0,53181,TO_TIMESTAMP('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Active',40,TO_TIMESTAMP('2008-11-15 10:22:50','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:51 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56453 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:51 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Active', SeqNo=40,Updated=TO_TIMESTAMP('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56453 +; + +-- Nov 15, 2008 10:22:52 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52095,56454,0,53181,TO_TIMESTAMP('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Description',50,TO_TIMESTAMP('2008-11-15 10:22:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:52 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56454 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:52 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=255, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Description', SeqNo=50,Updated=TO_TIMESTAMP('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56454 +; + +-- Nov 15, 2008 10:22:53 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52096,56455,0,53181,TO_TIMESTAMP('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Comment/Help',60,TO_TIMESTAMP('2008-11-15 10:22:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:53 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56455 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:53 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=2000, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Comment/Help', SeqNo=60,Updated=TO_TIMESTAMP('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56455 +; + +-- Nov 15, 2008 10:22:54 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52101,56456,0,53181,TO_TIMESTAMP('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Warehouse',70,TO_TIMESTAMP('2008-11-15 10:22:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:54 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56456 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:54 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Warehouse', SeqNo=70,Updated=TO_TIMESTAMP('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56456 +; + +-- Nov 15, 2008 10:22:55 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52079,56457,0,53181,TO_TIMESTAMP('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Auto Lock',80,TO_TIMESTAMP('2008-11-15 10:22:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:55 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56457 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:55 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Auto Lock', SeqNo=80,Updated=TO_TIMESTAMP('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56457 +; + +-- Nov 15, 2008 10:22:56 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52099,56458,0,53181,TO_TIMESTAMP('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Locked',90,TO_TIMESTAMP('2008-11-15 10:22:55','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:56 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56458 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:56 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Locked', SeqNo=90,Updated=TO_TIMESTAMP('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56458 +; + +-- Nov 15, 2008 10:22:56 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52100,56459,0,53181,TO_TIMESTAMP('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Lock Time',100,TO_TIMESTAMP('2008-11-15 10:22:56','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56459 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=10, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Lock Time', SeqNo=100,Updated=TO_TIMESTAMP('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56459 +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52098,56460,0,53181,TO_TIMESTAMP('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Last Lock Time',110,TO_TIMESTAMP('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56460 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:57 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=7, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Last Lock Time', SeqNo=110,Updated=TO_TIMESTAMP('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56460 +; + +-- Nov 15, 2008 10:22:58 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52107,56461,0,53181,TO_TIMESTAMP('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Unlocking Time',120,TO_TIMESTAMP('2008-11-15 10:22:57','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:58 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56461 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:58 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=7, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Unlocking Time', SeqNo=120,Updated=TO_TIMESTAMP('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56461 +; + +-- Nov 15, 2008 10:22:59 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52094,56462,0,53181,TO_TIMESTAMP('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Template BPartner',130,TO_TIMESTAMP('2008-11-15 10:22:58','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:22:59 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56462 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:22:59 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Template BPartner', SeqNo=130,Updated=TO_TIMESTAMP('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56462 +; + +-- Nov 15, 2008 10:23:00 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52104,56463,0,53181,TO_TIMESTAMP('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Printer Name',140,TO_TIMESTAMP('2008-11-15 10:22:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:00 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56463 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:00 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Printer Name', SeqNo=140,Updated=TO_TIMESTAMP('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56463 +; + +-- Nov 15, 2008 10:23:01 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52103,56464,0,53181,TO_TIMESTAMP('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Purchase Pricelist',150,TO_TIMESTAMP('2008-11-15 10:23:00','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:01 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56464 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:01 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Purchase Pricelist', SeqNo=150,Updated=TO_TIMESTAMP('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56464 +; + +-- Nov 15, 2008 10:23:02 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52106,56465,0,53181,TO_TIMESTAMP('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Sales Pricelist',160,TO_TIMESTAMP('2008-11-15 10:23:01','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:02 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56465 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:02 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='Y', Name='Sales Pricelist', SeqNo=160,Updated=TO_TIMESTAMP('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56465 +; + +-- Nov 15, 2008 10:23:03 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52105,56466,0,53181,TO_TIMESTAMP('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Sales Representative',170,TO_TIMESTAMP('2008-11-15 10:23:02','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:03 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56466 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:03 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Sales Representative', SeqNo=170,Updated=TO_TIMESTAMP('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56466 +; + +-- Nov 15, 2008 10:23:04 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52091,56467,0,53181,TO_TIMESTAMP('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Card Transfer Type',180,TO_TIMESTAMP('2008-11-15 10:23:03','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:04 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56467 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:04 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Card Transfer Type', SeqNo=180,Updated=TO_TIMESTAMP('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56467 +; + +-- Nov 15, 2008 10:23:05 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52088,56468,0,53181,TO_TIMESTAMP('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Card Bank Account',190,TO_TIMESTAMP('2008-11-15 10:23:04','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:05 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56468 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:05 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Card Bank Account', SeqNo=190,Updated=TO_TIMESTAMP('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56468 +; + +-- Nov 15, 2008 10:23:06 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52090,56469,0,53181,TO_TIMESTAMP('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Card trx to Cash Book',200,TO_TIMESTAMP('2008-11-15 10:23:05','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:06 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56469 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:06 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Card trx to Cash Book', SeqNo=200,Updated=TO_TIMESTAMP('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56469 +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52089,56470,0,53181,TO_TIMESTAMP('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Card trx to Bank account',210,TO_TIMESTAMP('2008-11-15 10:23:06','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56470 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Card trx to Bank account', SeqNo=210,Updated=TO_TIMESTAMP('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56470 +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52080,56471,0,53181,TO_TIMESTAMP('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash Book Transfer Type',220,TO_TIMESTAMP('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56471 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:07 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash Book Transfer Type', SeqNo=220,Updated=TO_TIMESTAMP('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56471 +; + +-- Nov 15, 2008 10:23:09 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52083,56472,0,53181,TO_TIMESTAMP('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash Book',230,TO_TIMESTAMP('2008-11-15 10:23:07','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:09 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56472 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:09 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash Book', SeqNo=230,Updated=TO_TIMESTAMP('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56472 +; + +-- Nov 15, 2008 10:23:09 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52084,56473,0,53181,TO_TIMESTAMP('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Cash BPartner',240,TO_TIMESTAMP('2008-11-15 10:23:09','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56473 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +UPDATE AD_Field SET Description='BPartner to be used for Cash transactions', DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Cash BPartner', SeqNo=240,Updated=TO_TIMESTAMP('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56473 +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56473 +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52082,56474,0,53181,TO_TIMESTAMP('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Cash trx to Cash Book',250,TO_TIMESTAMP('2008-11-15 10:23:10','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:10 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56474 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:11 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Cash trx to Cash Book', SeqNo=250,Updated=TO_TIMESTAMP('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56474 +; + +-- Nov 15, 2008 10:23:11 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52081,56475,0,53181,TO_TIMESTAMP('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Cash trx to Bank Account',260,TO_TIMESTAMP('2008-11-15 10:23:11','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:12 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56475 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:12 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Cash trx to Bank Account', SeqNo=260,Updated=TO_TIMESTAMP('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56475 +; + +-- Nov 15, 2008 10:23:13 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52087,56476,0,53181,TO_TIMESTAMP('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Check Transfer Type',270,TO_TIMESTAMP('2008-11-15 10:23:12','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:13 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56476 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:13 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=1, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Check Transfer Type', SeqNo=270,Updated=TO_TIMESTAMP('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56476 +; + +-- Nov 15, 2008 10:23:15 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52085,56477,0,53181,TO_TIMESTAMP('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Check Bank Account',280,TO_TIMESTAMP('2008-11-15 10:23:13','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:16 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56477 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:16 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Check Bank Account', SeqNo=280,Updated=TO_TIMESTAMP('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56477 +; + +-- Nov 15, 2008 10:23:17 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52111,56478,0,53181,TO_TIMESTAMP('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Transfer Check trx to Cash Book',290,TO_TIMESTAMP('2008-11-15 10:23:16','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:17 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56478 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:17 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Transfer Check trx to Cash Book', SeqNo=290,Updated=TO_TIMESTAMP('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56478 +; + +-- Nov 15, 2008 10:23:18 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52086,56479,0,53181,TO_TIMESTAMP('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','Tranfer Check trx to Bank Account',300,TO_TIMESTAMP('2008-11-15 10:23:17','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:18 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56479 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:18 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', Name='Tranfer Check trx to Bank Account', SeqNo=300,Updated=TO_TIMESTAMP('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56479 +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,52110,56480,0,53181,TO_TIMESTAMP('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),0,'A','Y','Y','Y','N','N','N','N','N','POS Terminal',310,TO_TIMESTAMP('2008-11-15 10:23:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56480 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +UPDATE AD_Field SET DisplayLength=22, IsDisplayed='N', IsReadOnly='N', IsSameLine='N', Name='POS Terminal',Updated=TO_TIMESTAMP('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56480 +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +UPDATE AD_Menu SET AD_Window_ID=53065, "action"='W', IsSummary='N',Updated=TO_TIMESTAMP('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53196 +; + +-- Nov 15, 2008 10:23:19 AM EET +-- Posterita Integration +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID,AD_Tree_ID,Created,CreatedBy,IsActive,Node_ID,Parent_ID,SeqNo,Updated,UpdatedBy) VALUES (0,0,10,TO_TIMESTAMP('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',53196,52001,60,TO_TIMESTAMP('2008-11-15 10:23:19','YYYY-MM-DD HH24:MI:SS'),0) +; + + +-------------------------------- +-- Nov 15, 2008 10:38:15 AM EET +-- Posterita Integration +INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,IsReadWrite,Updated,UpdatedBy) VALUES (11,0,102,53065,TO_TIMESTAMP('2008-11-15 10:38:14','YYYY-MM-DD HH24:MI:SS'),0,'Y','Y',TO_TIMESTAMP('2008-11-15 10:38:14','YYYY-MM-DD HH24:MI:SS'),0) +; + + + +-------------------------------- +-- Nov 15, 2008 12:07:12 PM EET +-- Posterita Integration +INSERT INTO U_POSTerminal (AD_Client_ID,AD_Org_ID,AutoLock,C_CashBPartner_ID,C_CashBook_ID,C_TemplateBPartner_ID,CardTransferCashBook_ID,CardTransferType,CashBookTransferType,CashTransferCashBook_ID,CheckTransferCashBook_ID,CheckTransferType,Created,CreatedBy,Description,IsActive,LockTime,Locked,M_Warehouse_ID,Name,PO_PriceList_ID,SO_PriceList_ID,SalesRep_ID,U_POSTerminal_ID,Updated,UpdatedBy) VALUES (11,11,'N',119,101,119,101,'B','C',101,101,'C',TO_TIMESTAMP('2008-11-15 12:06:59','YYYY-MM-DD HH24:MI:SS'),100,'GardenWorld','Y',0,'N',103,'GardenWorld',102,101,101,50000,TO_TIMESTAMP('2008-11-15 12:06:59','YYYY-MM-DD HH24:MI:SS'),100) +; + + + +-------------------------------- +-- Nov 15, 2008 12:12:11 PM EET +-- Posterita Integration +UPDATE AD_User SET UserPIN='1234',Updated=TO_TIMESTAMP('2008-11-15 12:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=101 WHERE AD_User_ID=101 +; + + + diff --git a/migration/352a-trunk/postgresql/322_PosteritaSampleData_2.sql b/migration/352a-trunk/postgresql/322_PosteritaSampleData_2.sql new file mode 100644 index 0000000000..b1d11f6034 --- /dev/null +++ b/migration/352a-trunk/postgresql/322_PosteritaSampleData_2.sql @@ -0,0 +1,1808 @@ +-------------------------------- +-- Nov 15, 2008 2:08:42 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:08:36','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.cash.sales','TOP',1000,50282,TO_TIMESTAMP('2008-11-15 14:08:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:44 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'sales.order',TO_TIMESTAMP('2008-11-15 14:08:42','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','LoadOrderScreen.do?action=loadOrderScreen&isSOTrx=true&orderType=POS%20Order&menuId=','POS','smenu.cash.sales',50282,'LEFT',1010,50283,TO_TIMESTAMP('2008-11-15 14:08:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:45 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'sales.order',TO_TIMESTAMP('2008-11-15 14:08:44','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=POS Order&menuId=','POS','smenu.cash.sales.history',50282,'LEFT',1050,50284,TO_TIMESTAMP('2008-11-15 14:08:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:47 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'returned.order',TO_TIMESTAMP('2008-11-15 14:08:45','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','LoadOrderScreen.do?action=loadOrderScreen&isSOTrx=true&orderType=Customer%20Returned%20Order&menuId=','POS','smenu.customer.returned.order',50282,'LEFT',1090,50285,TO_TIMESTAMP('2008-11-15 14:08:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:48 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'returned.order',TO_TIMESTAMP('2008-11-15 14:08:47','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=Customer%20Returned%20Order&menuId=','POS','smenu.customer.return.history.id',50282,'LEFT',1170,50286,TO_TIMESTAMP('2008-11-15 14:08:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:49 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'returned.order',TO_TIMESTAMP('2008-11-15 14:08:48','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GetCustomerReturnFromPOS.do?menuId=','POS','smenu.invoke.customer.returned.order',50282,'LEFT',1100,50287,TO_TIMESTAMP('2008-11-15 14:08:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:51 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'till.management',TO_TIMESTAMP('2008-11-15 14:08:50','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GetCurrentTillAmount.do?action=getCurrentTillAmount&menuId=','POS','smenu.current.money.in.terminal',50282,'LEFT',1110,50288,TO_TIMESTAMP('2008-11-15 14:08:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:53 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'cash.book',TO_TIMESTAMP('2008-11-15 14:08:52','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','AdjustCashBook.do?menuId=','POS','smenu.adjust.cashbook',50282,'LEFT',1120,50289,TO_TIMESTAMP('2008-11-15 14:08:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:55 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'cash.book',TO_TIMESTAMP('2008-11-15 14:08:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CashSummaryDate.do?menuId=','POS','smenu.cashbook.report',50282,'LEFT',1130,50290,TO_TIMESTAMP('2008-11-15 14:08:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:56 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'cash.book',TO_TIMESTAMP('2008-11-15 14:08:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CashReportAction.do?action=initGetCashDetailsHistory&menuId=','POS','smenu.cashbook.history',50282,'LEFT',1140,50291,TO_TIMESTAMP('2008-11-15 14:08:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:57 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'till.management',TO_TIMESTAMP('2008-11-15 14:08:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitClosePOSTillAction.do?action=initCloseTill&menuId=','POS','smenu.close.till',50282,'LEFT',1150,50292,TO_TIMESTAMP('2008-11-15 14:08:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:08:59 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Category,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,'till.management',TO_TIMESTAMP('2008-11-15 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','javascript:openCashDrawer();','POS','smenu.open.cashdrawer',50282,'LEFT',1160,50293,TO_TIMESTAMP('2008-11-15 14:08:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:00 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:08:59','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.credit.sales','TOP',2000,50294,TO_TIMESTAMP('2008-11-15 14:08:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:02 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:00','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreditSales.do?menuId=','POS','smenu.credit.sales',50294,'LEFT',2010,50295,TO_TIMESTAMP('2008-11-15 14:09:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:05 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:02','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InvokeCreditOrder.do?menuId=','POS','smenu.creditmemo.from.creditorder.id',50294,'LEFT',2010,50296,TO_TIMESTAMP('2008-11-15 14:09:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:06 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:05','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=Credit Memo&menuId=','POS','smenu.credit.memo.history.id',50294,'LEFT',2020,50297,TO_TIMESTAMP('2008-11-15 14:09:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:08 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:06','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitGetBpartnerPaymentStatus.do?action=initGetBpartnerPaymentStatus&menuId=','POS','smenu.settle.payment.credit.sales',50294,'LEFT',2030,50298,TO_TIMESTAMP('2008-11-15 14:09:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:09 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitPrintDunningAction.do?action=initPrintDunning&menuId=','POS','smenu.dunning.letters',50294,'LEFT',2040,50299,TO_TIMESTAMP('2008-11-15 14:09:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:10 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPaymentAllocation.do?menuId=','POS','smenu.payment.allocation.history',50294,'LEFT',2050,50300,TO_TIMESTAMP('2008-11-15 14:09:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:11 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=Credit Order&menuId=','POS','smenu.credit.sales.history',50294,'LEFT',2060,50301,TO_TIMESTAMP('2008-11-15 14:09:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:13 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:12','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreateUnallocatedPayment.do?menuId=','POS','smenu.create.unallocated.payment.id',50294,'LEFT',2070,50302,TO_TIMESTAMP('2008-11-15 14:09:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:15 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:14','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.purchases','TOP',3000,50303,TO_TIMESTAMP('2008-11-15 14:09:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:16 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','LoadOrderScreen.do?action=loadOrderScreen&isSOTrx=false&orderType=POS%20Goods%20Receive%20Note&menuId=','POS','smenu.goods.received.note',50303,'LEFT',3010,50304,TO_TIMESTAMP('2008-11-15 14:09:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:19 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','LoadOrderScreen.do?action=loadOrderScreen&isSOTrx=false&orderType=POS%20Goods%20Returned%20Note&menuId=','POS','smenu.goods.returned.note',50303,'LEFT',3020,50305,TO_TIMESTAMP('2008-11-15 14:09:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:21 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:19','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=POS%20Goods%20Receive%20Note&menuId=','POS','smenu.goods.received.note.history',50303,'LEFT',3030,50306,TO_TIMESTAMP('2008-11-15 14:09:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:22 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:21','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPOSHistoryAction.do?action=getPOSHistory&orderType=POS%20Goods%20Returned%20Note&menuId=','POS','smenu.goods.returned.note.history',50303,'LEFT',3040,50307,TO_TIMESTAMP('2008-11-15 14:09:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:25 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:22','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_reports.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.performance.analysis','TOP',4000,50308,TO_TIMESTAMP('2008-11-15 14:09:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:27 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:25','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CustomPOSReportAction.do?action=initCustomReport&menuId=','POS','smenu.performance.analysis.report',50308,'LEFT',4010,50309,TO_TIMESTAMP('2008-11-15 14:09:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:27','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','POSInfoReport.do?menuId=','POS','smenu.sales.report.per.terminal',50308,'LEFT',4020,50310,TO_TIMESTAMP('2008-11-15 14:09:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:29 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:28','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitPOSHistoryAction.do?action=initPOSHistory&menuId=','POS','smenu.order.history',50308,'LEFT',4030,50311,TO_TIMESTAMP('2008-11-15 14:09:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:32 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:29','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','DocumentHistoryAction.do?action=initHistory&menuId=','POS','smenu.document.history',50308,'LEFT',4040,50312,TO_TIMESTAMP('2008-11-15 14:09:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:34 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:32','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewBPartnerInfoAction.do?action=getBpartnerInfo&menuId=','POS','smenu.bpartner.sales.details',50308,'LEFT',4050,50313,TO_TIMESTAMP('2008-11-15 14:09:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:37 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:34','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SalesReport.do?action=getSalesReport&isSalesReport=true&menuId=','POS','smenu.sales.report',50308,'LEFT',4060,50314,TO_TIMESTAMP('2008-11-15 14:09:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:40 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:37','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','POSReportAction.do?action=initBestSellingReport&menuId=','POS','smenu.best.selling.items',50308,'LEFT',4070,50315,TO_TIMESTAMP('2008-11-15 14:09:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:41 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:40','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewStockSales.do?menuId=','POS','smenu.stock.sales.report',50308,'LEFT',4080,50316,TO_TIMESTAMP('2008-11-15 14:09:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:43 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:41','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SalesReport.do?action=getSalesReport&isSalesReport=false&menuId=','POS','smenu.pos.purchase.report',50308,'LEFT',4090,50317,TO_TIMESTAMP('2008-11-15 14:09:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:44 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:43','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.stock','TOP',5000,50318,TO_TIMESTAMP('2008-11-15 14:09:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:47 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:44','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','StockMovementReport.do?menuId=','POS','smenu.stock.movement',50318,'LEFT',5010,50319,TO_TIMESTAMP('2008-11-15 14:09:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:49 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:47','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GetPOSStockAction.do?action=initPOSStock&menuId=','POS','smenu.stock',50318,'LEFT',5020,50320,TO_TIMESTAMP('2008-11-15 14:09:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:51 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:49','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CustomFastMovingItemsReport.do?menuId=','POS','smenu.fast.moving.items',50318,'LEFT',5030,50321,TO_TIMESTAMP('2008-11-15 14:09:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:53 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:52','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CustomSlowMovingItemsReport.do?menuId=','POS','smenu.slow.moving.items',50318,'LEFT',5040,50322,TO_TIMESTAMP('2008-11-15 14:09:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:57 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InventoryCartAction.do?action=newInventoryCart&menuId=','POS','smenu.adjust.stock.id',50318,'LEFT',5040,50323,TO_TIMESTAMP('2008-11-15 14:09:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:09:59 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewInventoryHistoryAction.do?action=viewInventoryHistory&menuId=','POS','smenu.inventory.history.id',50318,'LEFT',5050,50324,TO_TIMESTAMP('2008-11-15 14:09:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:00 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:09:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','AdjustWholeInventoryAction.do?action=createWholeInventory&menuId=','POS','smenu.adjust.inventory.id',50318,'LEFT',5060,50325,TO_TIMESTAMP('2008-11-15 14:09:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:01 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:00','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewStock.do?action=viewStock&menuId=','POS','smenu.transfer.stock',50318,'LEFT',5060,50326,TO_TIMESTAMP('2008-11-15 14:10:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:02 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:01','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','StockMovementAction.do?action=viewMMovementHistory&menuId=','POS','smenu.inventory.move',50318,'LEFT',5070,50327,TO_TIMESTAMP('2008-11-15 14:10:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:03 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:02','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','StockMovementAction.do?action=viewMoveConfirm&menuId=','POS','smenu.move.confirmation',50318,'LEFT',5080,50328,TO_TIMESTAMP('2008-11-15 14:10:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:05 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:03','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_administration.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.administration','TOP',6000,50329,TO_TIMESTAMP('2008-11-15 14:10:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:06 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:05','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','POSCustomerAction.do?action=initSearchPOSCustomer&menuId=','POS','smenu.customers',50329,'LEFT',6010,50330,TO_TIMESTAMP('2008-11-15 14:10:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:06 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:06','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SearchVendor.do?action=initSearchVendors&menuId=','POS','smenu.vendors',50329,'LEFT',6020,50331,TO_TIMESTAMP('2008-11-15 14:10:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:08 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListPOSUsers.do?menuId=','POS','smenu.users',50329,'LEFT',6030,50332,TO_TIMESTAMP('2008-11-15 14:10:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:09 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListPOSRoles.do?menuId=','POS','smenu.role',50329,'LEFT',6040,50333,TO_TIMESTAMP('2008-11-15 14:10:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:10 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewAllPOSProduct.do?menuId=','POS','smenu.products',50329,'LEFT',6050,50334,TO_TIMESTAMP('2008-11-15 14:10:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:11 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','initProductBarcodeCart.do?menuId=','POS','smenu.barcode.printing',50329,'LEFT',6060,50335,TO_TIMESTAMP('2008-11-15 14:10:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:12 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:11','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitViewAttributesAction.do?action=initViewAttributeValues&menuId=','POS','smenu.edit.product.attribute.value',50329,'LEFT',6070,50336,TO_TIMESTAMP('2008-11-15 14:10:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:13 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:12','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CheckSequenceAction.do?action=checkSequence&menuId=','POS','smenu.check.repair.database.integrity',50329,'LEFT',6080,50337,TO_TIMESTAMP('2008-11-15 14:10:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:14 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:13','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateCommission.do?menuId=','POS','smenu.generate.commission',50329,'LEFT',6090,50338,TO_TIMESTAMP('2008-11-15 14:10:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:15 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:14','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewCommissionAction.do?action=viewCommission&menuId=','POS','smenu.view.last.generated.commission',50329,'LEFT',6100,50339,TO_TIMESTAMP('2008-11-15 14:10:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:16 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewAllPaymentTermAction.do?action=viewAllPaymentTerms&menuId=','POS','smenu.payment.term',50329,'LEFT',6110,50340,TO_TIMESTAMP('2008-11-15 14:10:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:18 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:16','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','TaxAction.do?action=viewAllTax&menuId=','POS','smenu.tax',50329,'LEFT',6120,50341,TO_TIMESTAMP('2008-11-15 14:10:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:19 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:18','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewPreferences.do?menuId=','POS','smenu.preferences',50329,'LEFT',6130,50342,TO_TIMESTAMP('2008-11-15 14:10:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:20 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:19','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','BusinessPartners.do?menuId=','POS','smenu.bpartners',50329,'LEFT',6140,50343,TO_TIMESTAMP('2008-11-15 14:10:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:21 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:20','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','PriceCheck.do?menuId=','POS','smenu.price.check',50329,'LEFT',6150,50344,TO_TIMESTAMP('2008-11-15 14:10:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:22 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:21','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListOrgs.do?menuId=','POS','smenu.organisation',50329,'LEFT',6160,50345,TO_TIMESTAMP('2008-11-15 14:10:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:23 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:22','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListPriceLists.do?menuId=','POS','smenu.price.list',50329,'LEFT',6170,50346,TO_TIMESTAMP('2008-11-15 14:10:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:24 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:23','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ListCurrencies.do?menuId=','POS','smenu.currency',50329,'LEFT',6180,50347,TO_TIMESTAMP('2008-11-15 14:10:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:25 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:24','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','PriceListAction.do?action=fromDeletePriceOnPriceList&menuId=','POS','smenu.delete.price.on.pricelist',50329,'LEFT',6190,50348,TO_TIMESTAMP('2008-11-15 14:10:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:26 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:25','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SearchCashBookAction.do?action=initSearchCashBook&menuId=','POS','smenu.cashbook',50329,'LEFT',6200,50349,TO_TIMESTAMP('2008-11-15 14:10:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:26','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','SearchTerminalAction.do?action=initSearchTerminal&menuId=','POS','smenu.terminal',50329,'LEFT',6210,50350,TO_TIMESTAMP('2008-11-15 14:10:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:28','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.help','TOP',7000,50351,TO_TIMESTAMP('2008-11-15 14:10:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:30 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:29','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','javascript:void window.open("http://www.posterita.org/mediawiki/index.php/User%60s_Manual")','POS','smenu.user.manual',50351,'LEFT',7010,50352,TO_TIMESTAMP('2008-11-15 14:10:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:31 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:30','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','POSHelpAction.do?action=initContactUs&menuId=','POS','smenu.contactus',50351,'LEFT',7020,50353,TO_TIMESTAMP('2008-11-15 14:10:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:32 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,ImageLink,IsActive,MenuLink,Module,Name,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:31','YYYY-MM-DD HH24:MI:SS'),100,'N','images/pos/buttons/button_order.gif','Y','GetMenuItemsAction.do?action=getMenuItems&menuId=','POS','pmenu.new.reports','TOP',8000,50354,TO_TIMESTAMP('2008-11-15 14:10:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:34 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:32','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreditorDebtorAction.do?action=getDebtors&menuId=','POS','smenu.debtors.id',50294,'LEFT',2080,50355,TO_TIMESTAMP('2008-11-15 14:10:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:35 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:34','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','InitGetBpartnerPaymentStatus.do?action=initGetCreditorPaymentStatus&menuId=','POS','smenu.settle.payment.credit.purchase',50303,'LEFT',3050,50356,TO_TIMESTAMP('2008-11-15 14:10:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:36 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:35','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreditorDebtorAction.do?action=getCreditors&menuId=','POS','smenu.creditors.id',50303,'LEFT',3060,50357,TO_TIMESTAMP('2008-11-15 14:10:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:39 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:36','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','CreateUnallocatedAPPayment.do?menuId=','POS','smenu.create.unallocated.ap.payment.id',50303,'LEFT',3070,50358,TO_TIMESTAMP('2008-11-15 14:10:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:40 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:39','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','ViewAPPaymentAllocation.do?menuId=','POS','smenu.ap.payment.allocation.history',50303,'LEFT',3080,50359,TO_TIMESTAMP('2008-11-15 14:10:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:41 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:40','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=320&menuId=','POS','Commission Run Detail',50354,'LEFT',8130,50360,TO_TIMESTAMP('2008-11-15 14:10:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:42 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:41','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=264&menuId=','POS','RfQ Response',50354,'LEFT',8540,50361,TO_TIMESTAMP('2008-11-15 14:10:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:43 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:42','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=130&menuId=','POS','Weekly Invoice',50354,'LEFT',8250,50362,TO_TIMESTAMP('2008-11-15 14:10:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:44 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:43','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=252&menuId=','POS','Accounting Fact Details',50354,'LEFT',8360,50363,TO_TIMESTAMP('2008-11-15 14:10:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:46 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:44','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=284&menuId=','POS','Open Confirmation Details',50354,'LEFT',8430,50364,TO_TIMESTAMP('2008-11-15 14:10:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:47 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=274&menuId=','POS','Asset Delivery Month',50354,'LEFT',8070,50365,TO_TIMESTAMP('2008-11-15 14:10:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:48 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:47','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=293&menuId=','POS','Material Receipt Details',50354,'LEFT',8150,50366,TO_TIMESTAMP('2008-11-15 14:10:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:49 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:48','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=234&menuId=','POS','Project Margin (Work Order)',50354,'LEFT',8240,50367,TO_TIMESTAMP('2008-11-15 14:10:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:51 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:50','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=237&menuId=','POS','Transaction Detail',50354,'LEFT',8320,50368,TO_TIMESTAMP('2008-11-15 14:10:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:52 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:51','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=239&menuId=','POS','Clicks Monthy',50354,'LEFT',8330,50369,TO_TIMESTAMP('2008-11-15 14:10:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:53 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:52','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=226&menuId=','POS','Project Detail Accounting Report',50354,'LEFT',8020,50370,TO_TIMESTAMP('2008-11-15 14:10:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:54 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=115&menuId=','POS','Vendor Selection',50354,'LEFT',8180,50371,TO_TIMESTAMP('2008-11-15 14:10:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:56 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=124&menuId=','POS','Product Transaction Summary',50354,'LEFT',8620,50372,TO_TIMESTAMP('2008-11-15 14:10:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:57 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=129&menuId=','POS','Monthly Invoice',50354,'LEFT',8390,50373,TO_TIMESTAMP('2008-11-15 14:10:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:58 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=254&menuId=','POS','Accounting Fact Period',50354,'LEFT',8370,50374,TO_TIMESTAMP('2008-11-15 14:10:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:10:59 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=322&menuId=','POS','Material Reference',50354,'LEFT',8480,50375,TO_TIMESTAMP('2008-11-15 14:10:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:00 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:10:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=203&menuId=','POS','Update Accounting Balance',50354,'LEFT',8490,50376,TO_TIMESTAMP('2008-11-15 14:10:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:02 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:00','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=127&menuId=','POS','Invoice Transactions (Acct)',50354,'LEFT',8640,50377,TO_TIMESTAMP('2008-11-15 14:11:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:03 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:02','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=251&menuId=','POS','Invoice Tax',50354,'LEFT',8310,50378,TO_TIMESTAMP('2008-11-15 14:11:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:04 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=240&menuId=','POS','Clicks Unprocessed',50354,'LEFT',8340,50379,TO_TIMESTAMP('2008-11-15 14:11:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:06 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:04','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=222&menuId=','POS','Customer Assets',50354,'LEFT',8230,50380,TO_TIMESTAMP('2008-11-15 14:11:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:07 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:06','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=121&menuId=','POS','Open Orders',50354,'LEFT',8610,50381,TO_TIMESTAMP('2008-11-15 14:11:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:08 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=152&menuId=','POS','Invoice Detail & Margin',50354,'LEFT',8510,50382,TO_TIMESTAMP('2008-11-15 14:11:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:09 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=161&menuId=','POS','Product Transaction Value',50354,'LEFT',8190,50383,TO_TIMESTAMP('2008-11-15 14:11:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:12 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=183&menuId=','POS','Product Costing Report (old)',50354,'LEFT',8060,50384,TO_TIMESTAMP('2008-11-15 14:11:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:12 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:12','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=253&menuId=','POS','Accounting Fact Daily',50354,'LEFT',8040,50385,TO_TIMESTAMP('2008-11-15 14:11:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:14 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:13','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=228&menuId=','POS','Project Lines not Issued',50354,'LEFT',8100,50386,TO_TIMESTAMP('2008-11-15 14:11:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:15 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:14','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=263&menuId=','POS','RfQ Unanswered',50354,'LEFT',8080,50387,TO_TIMESTAMP('2008-11-15 14:11:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:17 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=331&menuId=','POS','Product Cost Detail',50354,'LEFT',8580,50388,TO_TIMESTAMP('2008-11-15 14:11:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:19 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=218&menuId=','POS','Project Cycle Report',50354,'LEFT',8220,50389,TO_TIMESTAMP('2008-11-15 14:11:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:22 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=316&menuId=','POS','UnAllocated Invoices',50354,'LEFT',8110,50390,TO_TIMESTAMP('2008-11-15 14:11:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:23 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:22','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=285&menuId=','POS','Open Confirmations',50354,'LEFT',8440,50391,TO_TIMESTAMP('2008-11-15 14:11:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:24 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:23','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=326&menuId=','POS','Invoice Not Realized Gain/Loss',50354,'LEFT',8630,50392,TO_TIMESTAMP('2008-11-15 14:11:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:25 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:24','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=236&menuId=','POS','Storage Detail',50354,'LEFT',8500,50393,TO_TIMESTAMP('2008-11-15 14:11:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:27 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:25','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=170&menuId=','POS','Cash Journal Detail',50354,'LEFT',8520,50394,TO_TIMESTAMP('2008-11-15 14:11:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:27','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=131&menuId=','POS','Weekly Invoice Prod Cat',50354,'LEFT',8380,50395,TO_TIMESTAMP('2008-11-15 14:11:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:29 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:28','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=317&menuId=','POS','UnAllocated Payments',50354,'LEFT',8050,50396,TO_TIMESTAMP('2008-11-15 14:11:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:30 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:29','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=341&menuId=','POS','Quarter Invoice Product',50354,'LEFT',8010,50397,TO_TIMESTAMP('2008-11-15 14:11:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:32 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:31','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=238&menuId=','POS','Aging',50354,'LEFT',8600,50398,TO_TIMESTAMP('2008-11-15 14:11:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:34 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:32','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=270&menuId=','POS','Open Requisitions',50354,'LEFT',8550,50399,TO_TIMESTAMP('2008-11-15 14:11:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:38 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:34','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=146&menuId=','POS','UnReconciled Payments',50354,'LEFT',8350,50400,TO_TIMESTAMP('2008-11-15 14:11:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:41 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:38','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=133&menuId=','POS','Monthly Invoice Vendor',50354,'LEFT',8470,50401,TO_TIMESTAMP('2008-11-15 14:11:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:43 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:41','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=148&menuId=','POS','Allocation',50354,'LEFT',8450,50402,TO_TIMESTAMP('2008-11-15 14:11:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:44 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:43','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=125&menuId=','POS','Replenish Report',50354,'LEFT',8570,50403,TO_TIMESTAMP('2008-11-15 14:11:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:48 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:44','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=180&menuId=','POS','Inventory Valuation Report',50354,'LEFT',8530,50404,TO_TIMESTAMP('2008-11-15 14:11:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:50 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=128&menuId=','POS','Daily Invoice',50354,'LEFT',8200,50405,TO_TIMESTAMP('2008-11-15 14:11:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:53 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:51','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=334&menuId=','POS','Business Partner Detail',50354,'LEFT',8140,50406,TO_TIMESTAMP('2008-11-15 14:11:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:54 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=294&menuId=','POS','Shipment Details',50354,'LEFT',8300,50407,TO_TIMESTAMP('2008-11-15 14:11:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:55 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=333&menuId=','POS','Order Detail',50354,'LEFT',8030,50408,TO_TIMESTAMP('2008-11-15 14:11:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:57 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=138&menuId=','POS','Quarterly Invoice Customer by Product',50354,'LEFT',8590,50409,TO_TIMESTAMP('2008-11-15 14:11:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:11:59 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=204&menuId=','POS','Statement of Accounts',50354,'LEFT',8210,50410,TO_TIMESTAMP('2008-11-15 14:11:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:02 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:11:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=223&menuId=','POS','Asset Delivery Details',50354,'LEFT',8160,50411,TO_TIMESTAMP('2008-11-15 14:11:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:04 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:02','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=340&menuId=','POS','Monthly Invoice Product',50354,'LEFT',8170,50412,TO_TIMESTAMP('2008-11-15 14:12:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:05 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:04','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=120&menuId=','POS','Order Transactions',50354,'LEFT',8460,50413,TO_TIMESTAMP('2008-11-15 14:12:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:07 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:05','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=330&menuId=','POS','Product Cost Summary',50354,'LEFT',8270,50414,TO_TIMESTAMP('2008-11-15 14:12:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:10 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=310&menuId=','POS','Trial Balance',50354,'LEFT',8090,50415,TO_TIMESTAMP('2008-11-15 14:12:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:12 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=229&menuId=','POS','Project POs not Issued',50354,'LEFT',8280,50416,TO_TIMESTAMP('2008-11-15 14:12:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:15 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:13','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=202&menuId=','POS','Create Report',50354,'LEFT',8560,50417,TO_TIMESTAMP('2008-11-15 14:12:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:16 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=318&menuId=','POS','Payment Details',50354,'LEFT',8410,50418,TO_TIMESTAMP('2008-11-15 14:12:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:18 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:16','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=139&menuId=','POS','Quarterly Invoice Customer by Vendor',50354,'LEFT',8260,50419,TO_TIMESTAMP('2008-11-15 14:12:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:19 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:18','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=151&menuId=','POS','Invoice Transactions (Doc)',50354,'LEFT',8420,50420,TO_TIMESTAMP('2008-11-15 14:12:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:22 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:19','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=329&menuId=','POS','Product Cost',50354,'LEFT',8290,50421,TO_TIMESTAMP('2008-11-15 14:12:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:27 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:22','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=132&menuId=','POS','Monthly Invoice Prod Cat',50354,'LEFT',8120,50422,TO_TIMESTAMP('2008-11-15 14:12:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:28 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:27','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=145&menuId=','POS','Open Items',50354,'LEFT',8400,50423,TO_TIMESTAMP('2008-11-15 14:12:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 2:12:30 PM EET +-- Posterita Sample Data +INSERT INTO U_WebMenu (AD_Client_ID,AD_Org_ID,Created,CreatedBy,HasSubMenu,IsActive,MenuLink,Module,Name,ParentMenu_ID,Position,Sequence,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 14:12:29','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','GenerateReportAction.do?action=generateReportInput&processId=319&menuId=','POS','Business Partner Open',50354,'LEFT',8650,50424,TO_TIMESTAMP('2008-11-15 14:12:29','YYYY-MM-DD HH24:MI:SS'),100) +; + + + +-------------------------------- +-- Nov 15, 2008 5:48:51 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:49','YYYY-MM-DD HH24:MI:SS'),100,'Y',50073,50303,TO_TIMESTAMP('2008-11-15 17:48:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:53 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',50074,50288,TO_TIMESTAMP('2008-11-15 17:48:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:54 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:53','YYYY-MM-DD HH24:MI:SS'),100,'Y',50075,50331,TO_TIMESTAMP('2008-11-15 17:48:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:55 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',50076,50348,TO_TIMESTAMP('2008-11-15 17:48:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:55 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',50077,50322,TO_TIMESTAMP('2008-11-15 17:48:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:56 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',50078,50290,TO_TIMESTAMP('2008-11-15 17:48:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:56','YYYY-MM-DD HH24:MI:SS'),100,'Y',50079,50293,TO_TIMESTAMP('2008-11-15 17:48:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',50080,50330,TO_TIMESTAMP('2008-11-15 17:48:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:58 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',50081,50334,TO_TIMESTAMP('2008-11-15 17:48:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:59 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:58','YYYY-MM-DD HH24:MI:SS'),100,'Y',50082,50325,TO_TIMESTAMP('2008-11-15 17:48:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:48:59 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:59','YYYY-MM-DD HH24:MI:SS'),100,'Y',50083,50354,TO_TIMESTAMP('2008-11-15 17:48:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:00 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:48:59','YYYY-MM-DD HH24:MI:SS'),100,'Y',50084,50351,TO_TIMESTAMP('2008-11-15 17:48:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:01 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:00','YYYY-MM-DD HH24:MI:SS'),100,'Y',50085,50296,TO_TIMESTAMP('2008-11-15 17:49:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:01 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:01','YYYY-MM-DD HH24:MI:SS'),100,'Y',50086,50291,TO_TIMESTAMP('2008-11-15 17:49:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:02 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:01','YYYY-MM-DD HH24:MI:SS'),100,'Y',50087,50324,TO_TIMESTAMP('2008-11-15 17:49:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:02 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'Y',50088,50349,TO_TIMESTAMP('2008-11-15 17:49:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:03 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',50089,50328,TO_TIMESTAMP('2008-11-15 17:49:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:04 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',50090,50284,TO_TIMESTAMP('2008-11-15 17:49:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:04 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:04','YYYY-MM-DD HH24:MI:SS'),100,'Y',50091,50336,TO_TIMESTAMP('2008-11-15 17:49:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:05 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Y',50092,50309,TO_TIMESTAMP('2008-11-15 17:49:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:06 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Y',50093,50319,TO_TIMESTAMP('2008-11-15 17:49:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:06 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:06','YYYY-MM-DD HH24:MI:SS'),100,'Y',50094,50347,TO_TIMESTAMP('2008-11-15 17:49:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:07 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:07','YYYY-MM-DD HH24:MI:SS'),100,'Y',50095,50350,TO_TIMESTAMP('2008-11-15 17:49:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:09 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:07','YYYY-MM-DD HH24:MI:SS'),100,'Y',50096,50343,TO_TIMESTAMP('2008-11-15 17:49:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:09 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',50097,50344,TO_TIMESTAMP('2008-11-15 17:49:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:10 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',50098,50333,TO_TIMESTAMP('2008-11-15 17:49:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:11 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',50099,50317,TO_TIMESTAMP('2008-11-15 17:49:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 5:49:12 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 17:49:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',50100,50289,TO_TIMESTAMP('2008-11-15 17:49:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:44 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:38','YYYY-MM-DD HH24:MI:SS'),100,'Y',50101,50346,TO_TIMESTAMP('2008-11-15 18:12:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:46 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:45','YYYY-MM-DD HH24:MI:SS'),100,'Y',50102,50297,TO_TIMESTAMP('2008-11-15 18:12:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:46 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:46','YYYY-MM-DD HH24:MI:SS'),100,'Y',50103,50292,TO_TIMESTAMP('2008-11-15 18:12:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:47 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:47','YYYY-MM-DD HH24:MI:SS'),100,'Y',50104,50321,TO_TIMESTAMP('2008-11-15 18:12:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:48 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',50105,50327,TO_TIMESTAMP('2008-11-15 18:12:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:49 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:49','YYYY-MM-DD HH24:MI:SS'),100,'Y',50106,50301,TO_TIMESTAMP('2008-11-15 18:12:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:50 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:49','YYYY-MM-DD HH24:MI:SS'),100,'Y',50107,50308,TO_TIMESTAMP('2008-11-15 18:12:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:51 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:50','YYYY-MM-DD HH24:MI:SS'),100,'Y',50108,50315,TO_TIMESTAMP('2008-11-15 18:12:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:51 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:51','YYYY-MM-DD HH24:MI:SS'),100,'Y',50109,50352,TO_TIMESTAMP('2008-11-15 18:12:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:52 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',50110,50326,TO_TIMESTAMP('2008-11-15 18:12:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:53 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',50111,50314,TO_TIMESTAMP('2008-11-15 18:12:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:54 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:53','YYYY-MM-DD HH24:MI:SS'),100,'Y',50112,50287,TO_TIMESTAMP('2008-11-15 18:12:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:54 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',50113,50340,TO_TIMESTAMP('2008-11-15 18:12:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:55 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',50114,50306,TO_TIMESTAMP('2008-11-15 18:12:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:56 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',50115,50342,TO_TIMESTAMP('2008-11-15 18:12:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:56','YYYY-MM-DD HH24:MI:SS'),100,'Y',50116,50323,TO_TIMESTAMP('2008-11-15 18:12:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',50117,50341,TO_TIMESTAMP('2008-11-15 18:12:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:58 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',50118,50299,TO_TIMESTAMP('2008-11-15 18:12:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:59 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:58','YYYY-MM-DD HH24:MI:SS'),100,'Y',50119,50295,TO_TIMESTAMP('2008-11-15 18:12:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:12:59 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:59','YYYY-MM-DD HH24:MI:SS'),100,'Y',50120,50345,TO_TIMESTAMP('2008-11-15 18:12:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:00 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:12:59','YYYY-MM-DD HH24:MI:SS'),100,'Y',50121,50282,TO_TIMESTAMP('2008-11-15 18:12:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:00 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:00','YYYY-MM-DD HH24:MI:SS'),100,'Y',50122,50300,TO_TIMESTAMP('2008-11-15 18:13:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:01 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:01','YYYY-MM-DD HH24:MI:SS'),100,'Y',50123,50286,TO_TIMESTAMP('2008-11-15 18:13:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:02 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:01','YYYY-MM-DD HH24:MI:SS'),100,'Y',50124,50307,TO_TIMESTAMP('2008-11-15 18:13:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:02 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:02','YYYY-MM-DD HH24:MI:SS'),100,'Y',50125,50310,TO_TIMESTAMP('2008-11-15 18:13:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:03 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:02','YYYY-MM-DD HH24:MI:SS'),100,'Y',50126,50353,TO_TIMESTAMP('2008-11-15 18:13:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:04 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',50127,50338,TO_TIMESTAMP('2008-11-15 18:13:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:05 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:04','YYYY-MM-DD HH24:MI:SS'),100,'Y',50128,50329,TO_TIMESTAMP('2008-11-15 18:13:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:06 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:05','YYYY-MM-DD HH24:MI:SS'),100,'Y',50129,50294,TO_TIMESTAMP('2008-11-15 18:13:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:06 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:06','YYYY-MM-DD HH24:MI:SS'),100,'Y',50130,50335,TO_TIMESTAMP('2008-11-15 18:13:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:07 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:06','YYYY-MM-DD HH24:MI:SS'),100,'Y',50131,50304,TO_TIMESTAMP('2008-11-15 18:13:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:08 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:07','YYYY-MM-DD HH24:MI:SS'),100,'Y',50132,50316,TO_TIMESTAMP('2008-11-15 18:13:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:09 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:08','YYYY-MM-DD HH24:MI:SS'),100,'Y',50133,50318,TO_TIMESTAMP('2008-11-15 18:13:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:10 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',50134,50285,TO_TIMESTAMP('2008-11-15 18:13:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:11 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',50135,50312,TO_TIMESTAMP('2008-11-15 18:13:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:13:12 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:13:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',50136,50320,TO_TIMESTAMP('2008-11-15 18:13:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:03 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (0,0,102,TO_TIMESTAMP('2008-11-15 18:34:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',50137,50303,TO_TIMESTAMP('2008-11-15 18:34:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:12 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:35:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',50138,50332,TO_TIMESTAMP('2008-11-15 18:35:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:13 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:35:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',50139,50339,TO_TIMESTAMP('2008-11-15 18:35:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:15 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:35:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',50140,50337,TO_TIMESTAMP('2008-11-15 18:35:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:16 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:35:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',50141,50298,TO_TIMESTAMP('2008-11-15 18:35:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:16 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:35:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',50142,50305,TO_TIMESTAMP('2008-11-15 18:35:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:17 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:35:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',50143,50302,TO_TIMESTAMP('2008-11-15 18:35:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:18 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:35:17','YYYY-MM-DD HH24:MI:SS'),100,'Y',50144,50313,TO_TIMESTAMP('2008-11-15 18:35:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 6:35:19 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 18:35:18','YYYY-MM-DD HH24:MI:SS'),100,'Y',50145,50283,TO_TIMESTAMP('2008-11-15 18:35:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:13:57 PM EET +-- Posterita Sample Data +INSERT INTO U_RoleMenu (AD_Client_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,U_RoleMenu_ID,U_WebMenu_ID,Updated,UpdatedBy) VALUES (11,0,102,TO_TIMESTAMP('2008-11-15 19:13:54','YYYY-MM-DD HH24:MI:SS'),100,'Y',50146,50311,TO_TIMESTAMP('2008-11-15 19:13:54','YYYY-MM-DD HH24:MI:SS'),100) +; + + +-------------------------------- +-- Nov 15, 2008 7:24:33 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:30','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.new.reports.id','1000072',50143,TO_TIMESTAMP('2008-11-15 19:24:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:34 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:34','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.debtors.id','1000073',50144,TO_TIMESTAMP('2008-11-15 19:24:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:35 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.settle.grn.payment','1000074',50145,TO_TIMESTAMP('2008-11-15 19:24:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:36 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.creditors.id','1000075',50146,TO_TIMESTAMP('2008-11-15 19:24:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:37 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.create.unallocated.ap.payment.id','1000076',50147,TO_TIMESTAMP('2008-11-15 19:24:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:37 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:37','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.view.ap.payment.allocation.id','1000077',50148,TO_TIMESTAMP('2008-11-15 19:24:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:38 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:37','YYYY-MM-DD HH24:MI:SS'),100,'Y','Accounting Fact Details','1000081',50149,TO_TIMESTAMP('2008-11-15 19:24:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:39 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','Asset Delivery Month','1000083',50150,TO_TIMESTAMP('2008-11-15 19:24:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:39 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project Margin (Work Order)','1000085',50151,TO_TIMESTAMP('2008-11-15 19:24:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:40 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','Transaction Detail','1000086',50152,TO_TIMESTAMP('2008-11-15 19:24:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:40 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','Clicks Monthy','1000087',50153,TO_TIMESTAMP('2008-11-15 19:24:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:41 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project Detail Accounting Report','1000088',50154,TO_TIMESTAMP('2008-11-15 19:24:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:42 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Transaction Summary','1000090',50155,TO_TIMESTAMP('2008-11-15 19:24:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:42 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:42','YYYY-MM-DD HH24:MI:SS'),100,'Y','Monthly Invoice','1000091',50156,TO_TIMESTAMP('2008-11-15 19:24:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:43 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:43','YYYY-MM-DD HH24:MI:SS'),100,'Y','Accounting Fact Period','1000092',50157,TO_TIMESTAMP('2008-11-15 19:24:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:44 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:43','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Transactions (Acct)','1000095',50158,TO_TIMESTAMP('2008-11-15 19:24:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:45 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','Clicks Unprocessed','1000097',50159,TO_TIMESTAMP('2008-11-15 19:24:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:46 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:45','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Transaction Value','1000101',50160,TO_TIMESTAMP('2008-11-15 19:24:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:46 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Costing Report (old)','1000102',50161,TO_TIMESTAMP('2008-11-15 19:24:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:47 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','Accounting Fact Daily','1000103',50162,TO_TIMESTAMP('2008-11-15 19:24:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:48 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:47','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Cost Detail','1000106',50163,TO_TIMESTAMP('2008-11-15 19:24:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:48 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:48','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Not Realized Gain/Loss','1000110',50164,TO_TIMESTAMP('2008-11-15 19:24:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:49 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:48','YYYY-MM-DD HH24:MI:SS'),100,'Y','Storage Detail','1000111',50165,TO_TIMESTAMP('2008-11-15 19:24:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:50 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:49','YYYY-MM-DD HH24:MI:SS'),100,'Y','UnAllocated Payments','1000114',50166,TO_TIMESTAMP('2008-11-15 19:24:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:50 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:50','YYYY-MM-DD HH24:MI:SS'),100,'Y','UnReconciled Payments','1000118',50167,TO_TIMESTAMP('2008-11-15 19:24:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:51 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:50','YYYY-MM-DD HH24:MI:SS'),100,'Y','Monthly Invoice Vendor','1000119',50168,TO_TIMESTAMP('2008-11-15 19:24:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:52 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','Inventory Valuation Report','1000122',50169,TO_TIMESTAMP('2008-11-15 19:24:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:52 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:52','YYYY-MM-DD HH24:MI:SS'),100,'Y','Daily Invoice','1000123',50170,TO_TIMESTAMP('2008-11-15 19:24:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:53 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:52','YYYY-MM-DD HH24:MI:SS'),100,'Y','Shipment Details','1000125',50171,TO_TIMESTAMP('2008-11-15 19:24:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:54 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','Order Detail','1000126',50172,TO_TIMESTAMP('2008-11-15 19:24:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:54 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','Asset Delivery Details','1000129',50173,TO_TIMESTAMP('2008-11-15 19:24:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:55 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','Monthly Invoice Product','1000130',50174,TO_TIMESTAMP('2008-11-15 19:24:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:56 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','Order Transactions','1000131',50175,TO_TIMESTAMP('2008-11-15 19:24:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:57 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:56','YYYY-MM-DD HH24:MI:SS'),100,'Y','Trial Balance','1000133',50176,TO_TIMESTAMP('2008-11-15 19:24:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:57 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','Create Report','1000135',50177,TO_TIMESTAMP('2008-11-15 19:24:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:58 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','Monthly Invoice Prod Cat','1000140',50178,TO_TIMESTAMP('2008-11-15 19:24:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:59 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:58','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Items','1000141',50179,TO_TIMESTAMP('2008-11-15 19:24:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:24:59 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Business Partner Open','1000142',50180,TO_TIMESTAMP('2008-11-15 19:24:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:01 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:24:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Commission Run Detail','1000078',50181,TO_TIMESTAMP('2008-11-15 19:24:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:01 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','RfQ Response','1000079',50182,TO_TIMESTAMP('2008-11-15 19:25:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:02 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','Weekly Invoice','1000080',50183,TO_TIMESTAMP('2008-11-15 19:25:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:03 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Confirmation Details','1000082',50184,TO_TIMESTAMP('2008-11-15 19:25:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:04 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:03','YYYY-MM-DD HH24:MI:SS'),100,'Y','Material Receipt Details','1000084',50185,TO_TIMESTAMP('2008-11-15 19:25:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:05 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:04','YYYY-MM-DD HH24:MI:SS'),100,'Y','Vendor Selection','1000089',50186,TO_TIMESTAMP('2008-11-15 19:25:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:06 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:05','YYYY-MM-DD HH24:MI:SS'),100,'Y','Material Reference','1000093',50187,TO_TIMESTAMP('2008-11-15 19:25:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:06 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','Update Accounting Balance','1000094',50188,TO_TIMESTAMP('2008-11-15 19:25:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:07 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Tax','1000096',50189,TO_TIMESTAMP('2008-11-15 19:25:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:07 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:07','YYYY-MM-DD HH24:MI:SS'),100,'Y','Customer Assets','1000098',50190,TO_TIMESTAMP('2008-11-15 19:25:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:08 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Orders','1000099',50191,TO_TIMESTAMP('2008-11-15 19:25:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:09 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Detail & Margin','1000100',50192,TO_TIMESTAMP('2008-11-15 19:25:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:10 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:09','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project Lines not Issued','1000104',50193,TO_TIMESTAMP('2008-11-15 19:25:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:10 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:10','YYYY-MM-DD HH24:MI:SS'),100,'Y','RfQ Unanswered','1000105',50194,TO_TIMESTAMP('2008-11-15 19:25:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:11 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:10','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project Cycle Report','1000107',50195,TO_TIMESTAMP('2008-11-15 19:25:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:12 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:11','YYYY-MM-DD HH24:MI:SS'),100,'Y','UnAllocated Invoices','1000108',50196,TO_TIMESTAMP('2008-11-15 19:25:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:12 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:12','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Confirmations','1000109',50197,TO_TIMESTAMP('2008-11-15 19:25:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:13 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:12','YYYY-MM-DD HH24:MI:SS'),100,'Y','Cash Journal Detail','1000112',50198,TO_TIMESTAMP('2008-11-15 19:25:12','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:13 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:13','YYYY-MM-DD HH24:MI:SS'),100,'Y','Weekly Invoice Prod Cat','1000113',50199,TO_TIMESTAMP('2008-11-15 19:25:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:14 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:14','YYYY-MM-DD HH24:MI:SS'),100,'Y','Quarter Invoice Product','1000115',50200,TO_TIMESTAMP('2008-11-15 19:25:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:15 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:14','YYYY-MM-DD HH24:MI:SS'),100,'Y','Aging','1000116',50201,TO_TIMESTAMP('2008-11-15 19:25:14','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:15 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:15','YYYY-MM-DD HH24:MI:SS'),100,'Y','Open Requisitions','1000117',50202,TO_TIMESTAMP('2008-11-15 19:25:15','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:16 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:16','YYYY-MM-DD HH24:MI:SS'),100,'Y','Allocation','1000120',50203,TO_TIMESTAMP('2008-11-15 19:25:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:17 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:16','YYYY-MM-DD HH24:MI:SS'),100,'Y','Replenish Report','1000121',50204,TO_TIMESTAMP('2008-11-15 19:25:16','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:17 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:17','YYYY-MM-DD HH24:MI:SS'),100,'Y','Business Partner Detail','1000124',50205,TO_TIMESTAMP('2008-11-15 19:25:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:18 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:17','YYYY-MM-DD HH24:MI:SS'),100,'Y','Quarterly Invoice Customer by Product','1000127',50206,TO_TIMESTAMP('2008-11-15 19:25:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:19 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:18','YYYY-MM-DD HH24:MI:SS'),100,'Y','Statement of Accounts','1000128',50207,TO_TIMESTAMP('2008-11-15 19:25:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:19 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:19','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Cost Summary','1000132',50208,TO_TIMESTAMP('2008-11-15 19:25:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:20 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:19','YYYY-MM-DD HH24:MI:SS'),100,'Y','Project POs not Issued','1000134',50209,TO_TIMESTAMP('2008-11-15 19:25:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:21 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:20','YYYY-MM-DD HH24:MI:SS'),100,'Y','Payment Details','1000136',50210,TO_TIMESTAMP('2008-11-15 19:25:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:21 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:21','YYYY-MM-DD HH24:MI:SS'),100,'Y','Quarterly Invoice Customer by Vendor','1000137',50211,TO_TIMESTAMP('2008-11-15 19:25:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:22 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:21','YYYY-MM-DD HH24:MI:SS'),100,'Y','Invoice Transactions (Doc)','1000138',50212,TO_TIMESTAMP('2008-11-15 19:25:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:22 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:22','YYYY-MM-DD HH24:MI:SS'),100,'Y','Product Cost','1000139',50213,TO_TIMESTAMP('2008-11-15 19:25:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:23 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:23','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.order.id','1000000',50214,TO_TIMESTAMP('2008-11-15 19:25:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:24 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:23','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posorderwa.id','1000001',50215,TO_TIMESTAMP('2008-11-15 19:25:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:24 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.cash.sales.history.id','1000002',50216,TO_TIMESTAMP('2008-11-15 19:25:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:25 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.custretorder.id','1000003',50217,TO_TIMESTAMP('2008-11-15 19:25:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:26 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:25','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.customer.return.history.id','1000004',50218,TO_TIMESTAMP('2008-11-15 19:25:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:26 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:26','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.custretorderfrompos.id','1000005',50219,TO_TIMESTAMP('2008-11-15 19:25:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:27 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:27','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.currenttillamout.id','1000006',50220,TO_TIMESTAMP('2008-11-15 19:25:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:28 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:27','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.adjust.cashbook.id','1000007',50221,TO_TIMESTAMP('2008-11-15 19:25:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:28 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:28','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.periodiccashbookdetails.id','1000008',50222,TO_TIMESTAMP('2008-11-15 19:25:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:29 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:28','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.cashbookreport.id','1000009',50223,TO_TIMESTAMP('2008-11-15 19:25:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:30 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:29','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.close.pos.till.id','1000010',50224,TO_TIMESTAMP('2008-11-15 19:25:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:30 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:30','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.opencashdrawer.id','1000011',50225,TO_TIMESTAMP('2008-11-15 19:25:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:31 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:30','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.creditsales.id','1000012',50226,TO_TIMESTAMP('2008-11-15 19:25:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:32 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:31','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.creditorder.id','1000013',50227,TO_TIMESTAMP('2008-11-15 19:25:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:32 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:32','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.creditmemo.from.creditorder.id','1000014',50228,TO_TIMESTAMP('2008-11-15 19:25:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:33 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:32','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.credit.memo.history.id','1000015',50229,TO_TIMESTAMP('2008-11-15 19:25:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:33 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:33','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.settlepayment.id','1000016',50230,TO_TIMESTAMP('2008-11-15 19:25:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:34 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:33','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.printDunningLetters.id','1000017',50231,TO_TIMESTAMP('2008-11-15 19:25:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:35 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:34','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewpaymentallocation.id','1000018',50232,TO_TIMESTAMP('2008-11-15 19:25:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:35 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.credit.sales.history.id','1000019',50233,TO_TIMESTAMP('2008-11-15 19:25:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:36 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.create.unallocated.payment.id','1000020',50234,TO_TIMESTAMP('2008-11-15 19:25:35','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:37 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:36','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.purchases.id','1000021',50235,TO_TIMESTAMP('2008-11-15 19:25:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:38 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:37','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posgoodrecnote.id','1000022',50236,TO_TIMESTAMP('2008-11-15 19:25:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:38 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posgoodretnote.id','1000023',50237,TO_TIMESTAMP('2008-11-15 19:25:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:39 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.goods.received.note.history.id','1000024',50238,TO_TIMESTAMP('2008-11-15 19:25:38','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:39 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:39','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.goods.returned.note.history.id','1000025',50239,TO_TIMESTAMP('2008-11-15 19:25:39','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:40 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.reports.id','1000026',50240,TO_TIMESTAMP('2008-11-15 19:25:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:41 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.custsalesreport.id','1000027',50241,TO_TIMESTAMP('2008-11-15 19:25:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:41 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posinfo.id','1000028',50242,TO_TIMESTAMP('2008-11-15 19:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:42 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.orderhistory.id','1000029',50243,TO_TIMESTAMP('2008-11-15 19:25:41','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:43 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:42','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.documenthistory.id','1000030',50244,TO_TIMESTAMP('2008-11-15 19:25:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:44 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:43','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.view.bp.info.id','1000031',50245,TO_TIMESTAMP('2008-11-15 19:25:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:44 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.pos.sales.report.id','1000032',50246,TO_TIMESTAMP('2008-11-15 19:25:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:45 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.best.selling.items','1000033',50247,TO_TIMESTAMP('2008-11-15 19:25:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:46 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:45','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.stock.sales.report','1000034',50248,TO_TIMESTAMP('2008-11-15 19:25:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:46 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.pos.purchase.report','1000035',50249,TO_TIMESTAMP('2008-11-15 19:25:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:47 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:46','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.stock.id','1000036',50250,TO_TIMESTAMP('2008-11-15 19:25:46','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:48 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:47','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.posstockmov.id','1000037',50251,TO_TIMESTAMP('2008-11-15 19:25:47','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:48 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:48','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.mystock.id','1000038',50252,TO_TIMESTAMP('2008-11-15 19:25:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:49 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:48','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.fastmovitems.id','1000039',50253,TO_TIMESTAMP('2008-11-15 19:25:48','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:50 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:49','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.slowmovitems.id','1000040',50254,TO_TIMESTAMP('2008-11-15 19:25:49','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:51 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:50','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.adjust.stock.id','1000041',50255,TO_TIMESTAMP('2008-11-15 19:25:50','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:51 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.inventory.history.id','1000042',50256,TO_TIMESTAMP('2008-11-15 19:25:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:52 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:51','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.adjust.inventory.id','1000043',50257,TO_TIMESTAMP('2008-11-15 19:25:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:53 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:52','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.transfer.stock','1000044',50258,TO_TIMESTAMP('2008-11-15 19:25:52','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:54 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.inventory.move','1000045',50259,TO_TIMESTAMP('2008-11-15 19:25:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:55 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:54','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.move.confirmation','1000046',50260,TO_TIMESTAMP('2008-11-15 19:25:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:55 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.administration.id','1000047',50261,TO_TIMESTAMP('2008-11-15 19:25:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:56 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:55','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.customer.id','1000048',50262,TO_TIMESTAMP('2008-11-15 19:25:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:57 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:56','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.createvendor.id','1000049',50263,TO_TIMESTAMP('2008-11-15 19:25:56','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:57 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.user.id','1000050',50264,TO_TIMESTAMP('2008-11-15 19:25:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:58 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:57','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewrole.id','1000051',50265,TO_TIMESTAMP('2008-11-15 19:25:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:59 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:58','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.products.id','1000052',50266,TO_TIMESTAMP('2008-11-15 19:25:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:25:59 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.barcode.printing','1000053',50267,TO_TIMESTAMP('2008-11-15 19:25:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:00 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:25:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.edit.attribute.value.id','1000054',50268,TO_TIMESTAMP('2008-11-15 19:25:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:00 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:00','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.checkSequence.id','1000055',50269,TO_TIMESTAMP('2008-11-15 19:26:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:01 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.generatecommission.id','1000056',50270,TO_TIMESTAMP('2008-11-15 19:26:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:02 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:01','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewgeneratedcommission.id','1000057',50271,TO_TIMESTAMP('2008-11-15 19:26:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:03 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:02','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewpaymentterm.id','1000058',50272,TO_TIMESTAMP('2008-11-15 19:26:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:03 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:03','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.tax.id','1000059',50273,TO_TIMESTAMP('2008-11-15 19:26:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:04 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:03','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.viewpreferences.id','1000060',50274,TO_TIMESTAMP('2008-11-15 19:26:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:05 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:04','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.bpartners.id','1000061',50275,TO_TIMESTAMP('2008-11-15 19:26:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:06 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:05','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.price.check','1000062',50276,TO_TIMESTAMP('2008-11-15 19:26:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:06 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.organisation','1000063',50277,TO_TIMESTAMP('2008-11-15 19:26:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:07 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.price.list','1000064',50278,TO_TIMESTAMP('2008-11-15 19:26:06','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:08 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:07','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.currency','1000065',50279,TO_TIMESTAMP('2008-11-15 19:26:07','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:08 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.delete.price.on.pricelist','1000066',50280,TO_TIMESTAMP('2008-11-15 19:26:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:09 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:08','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.cashbook','1000067',50281,TO_TIMESTAMP('2008-11-15 19:26:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:10 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:09','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.terminal','1000068',50282,TO_TIMESTAMP('2008-11-15 19:26:09','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:10 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:10','YYYY-MM-DD HH24:MI:SS'),100,'Y','pmenu.help.id','1000069',50283,TO_TIMESTAMP('2008-11-15 19:26:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:11 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:11','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.user.manual','1000070',50284,TO_TIMESTAMP('2008-11-15 19:26:11','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 15, 2008 7:26:12 PM EET +-- Posterita Sample Data +INSERT INTO U_Web_Properties (AD_Client_ID,AD_Org_ID,Created,CreatedBy,IsActive,U_Key,U_Value,U_Web_Properties_ID,Updated,UpdatedBy) VALUES (0,0,TO_TIMESTAMP('2008-11-15 19:26:11','YYYY-MM-DD HH24:MI:SS'),100,'Y','smenu.contactus','1000071',50285,TO_TIMESTAMP('2008-11-15 19:26:11','YYYY-MM-DD HH24:MI:SS'),100) +; + + +-------------------------------- diff --git a/migration/352a-trunk/postgresql/323_MFreightCategory_Unique.sql b/migration/352a-trunk/postgresql/323_MFreightCategory_Unique.sql new file mode 100644 index 0000000000..96334fa701 --- /dev/null +++ b/migration/352a-trunk/postgresql/323_MFreightCategory_Unique.sql @@ -0,0 +1,4 @@ +-- Make combination of AD_Client_ID and Value unique! +ALTER TABLE M_FreightCategory + ADD Constraint M_FreightCat_Value UNIQUE(AD_Client_ID, Value) + ; \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/324_BF2308332.sql b/migration/352a-trunk/postgresql/324_BF2308332.sql new file mode 100644 index 0000000000..1133e3d697 --- /dev/null +++ b/migration/352a-trunk/postgresql/324_BF2308332.sql @@ -0,0 +1,5 @@ +-- 18.11.2008 09:46:47 EET +-- +UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-11-18 09:46:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=2200 +; + diff --git a/migration/352a-trunk/postgresql/325_BG2311021_Region_dynamic_validation.sql b/migration/352a-trunk/postgresql/325_BG2311021_Region_dynamic_validation.sql new file mode 100644 index 0000000000..6ba89d1ecb --- /dev/null +++ b/migration/352a-trunk/postgresql/325_BG2311021_Region_dynamic_validation.sql @@ -0,0 +1,10 @@ +-- Nov 18, 2008 9:35:53 PM EET +-- [ 2311021 ] Window Shipper, tab Freight set proper Region validation +UPDATE AD_Column SET AD_Val_Rule_ID=153,Updated=TO_TIMESTAMP('2008-11-18 21:35:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9099 +; + +-- Nov 18, 2008 9:36:21 PM EET +-- [ 2311021 ] Window Shipper, tab Freight set proper Region validation +UPDATE AD_Column SET AD_Val_Rule_ID=155,Updated=TO_TIMESTAMP('2008-11-18 21:36:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9108 +; + diff --git a/migration/352a-trunk/postgresql/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql b/migration/352a-trunk/postgresql/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql new file mode 100644 index 0000000000..59c58e9379 --- /dev/null +++ b/migration/352a-trunk/postgresql/326_FR2164648Implement_PA_DASHBOARDCONTENT_support.sql @@ -0,0 +1,162 @@ +-- Nov 19, 2008 4:49:00 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Column SET DefaultValue='@#AD_Org_ID@', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-11-19 16:49:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=51006 +; + +-- Nov 19, 2008 3:55:41 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +ALTER TABLE PA_DashboardContent ADD COLUMN ColumnNo NUMERIC(10) DEFAULT '1' +; + +-- Nov 19, 2008 4:00:41 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +ALTER TABLE PA_DashboardContent ADD COLUMN ZulFilePath VARCHAR(255) +; + +-- Nov 19, 2008 4:57:13 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_TIMESTAMP('2008-11-19 16:57:08','YYYY-MM-DD HH24:MI:SS'),100,'Workflow activities, notices and requests','Y',0,'Activities',50000,TO_TIMESTAMP('2008-11-19 16:57:08','YYYY-MM-DD HH24:MI:SS'),100,'/zul/activities.zul') +; + +-- Nov 19, 2008 4:58:26 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_TIMESTAMP('2008-11-19 16:58:24','YYYY-MM-DD HH24:MI:SS'),100,'User favourities','Y',1.000000000000,'Favourites',50001,TO_TIMESTAMP('2008-11-19 16:58:24','YYYY-MM-DD HH24:MI:SS'),100,'/zul/favourites.zul') +; + +-- Nov 19, 2008 4:58:52 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,0,TO_TIMESTAMP('2008-11-19 16:58:50','YYYY-MM-DD HH24:MI:SS'),100,'Info views','Y',2.000000000000,'Views',50002,TO_TIMESTAMP('2008-11-19 16:58:50','YYYY-MM-DD HH24:MI:SS'),100,'/zul/views.zul') +; + +-- Nov 19, 2008 5:00:34 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy,ZulFilePath) VALUES (0,0,2,TO_TIMESTAMP('2008-11-19 17:00:26','YYYY-MM-DD HH24:MI:SS'),100,'Performance meters','Y',0,'Performance',50003,TO_TIMESTAMP('2008-11-19 17:00:26','YYYY-MM-DD HH24:MI:SS'),100,'/zul/performance.zul') +; + +-- Nov 19, 2008 5:02:55 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO PA_DashboardContent (AD_Client_ID,AD_Org_ID,ColumnNo,Created,CreatedBy,Description,IsActive,Line,Name,PA_DashboardContent_ID,Updated,UpdatedBy) VALUES (11,0,1,TO_TIMESTAMP('2008-11-19 17:02:54','YYYY-MM-DD HH24:MI:SS'),100,'Google Calendar','Y',0,'Calendar',50004,TO_TIMESTAMP('2008-11-19 17:02:54','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 6:00:00 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE PA_DashboardContent SET UpdatedBy=100, ZulFilePath='/zul/calendar.zul',Updated=TO_TIMESTAMP('2008-11-19 18:00:00','YYYY-MM-DD HH24:MI:SS') WHERE PA_DashboardContent_ID=50004 +; + +-- Nov 19, 2008 6:00:00 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE PA_DashboardContent SET HTML=null WHERE PA_DashboardContent_ID=50004 +; + +-- Nov 19, 2008 4:28:46 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Table SET AccessLevel='6',Updated=TO_TIMESTAMP('2008-11-19 16:28:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=50010 +; + +-- Nov 19, 2008 3:54:09 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53709,0,'ColumnNo',TO_TIMESTAMP('2008-11-19 15:54:08','YYYY-MM-DD HH24:MI:SS'),100,'Dashboard content column number','D','Dashboard content column number, not used by the swing client at the moment.','Y','Column No','Column No',TO_TIMESTAMP('2008-11-19 15:54:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 3:54:09 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53709 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Nov 19, 2008 3:55:33 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56469,53709,0,11,50010,'ColumnNo',TO_TIMESTAMP('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,'0','Dashboard content column number','D',14,'Dashboard content column number, not used by the swing client at the moment.','Y','N','N','N','N','N','N','N','N','N','Y','Column No',0,TO_TIMESTAMP('2008-11-19 15:55:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 19, 2008 3:55:33 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56469 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + + +-- Nov 19, 2008 3:59:41 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53710,0,'ZulFilePath',TO_TIMESTAMP('2008-11-19 15:59:37','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D','Absolute path to zul file that is use to generate dashboard content','Y','ZUL File Path','ZUL File Path',TO_TIMESTAMP('2008-11-19 15:59:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 3:59:41 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53710 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Nov 19, 2008 4:00:37 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56470,53710,0,10,50010,'ZulFilePath',TO_TIMESTAMP('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file','D',255,'Absolute path to zul file that is use to generate dashboard content','Y','N','N','N','N','N','N','N','N','N','Y','ZUL File Path',0,TO_TIMESTAMP('2008-11-19 16:00:36','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 19, 2008 4:00:37 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56470 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 19, 2008 4:01:04 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56469,56485,0,50010,TO_TIMESTAMP('2008-11-19 16:01:03','YYYY-MM-DD HH24:MI:SS'),100,'Dashboard content column number',14,'D','Dashboard content column number, not used by the swing client at the moment.','Y','Y','Y','N','N','N','N','N','Column No',TO_TIMESTAMP('2008-11-19 16:01:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 4:01:05 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56485 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 19, 2008 4:01:12 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56470,56486,0,50010,TO_TIMESTAMP('2008-11-19 16:01:05','YYYY-MM-DD HH24:MI:SS'),100,'Absolute path to zul file',255,'D','Absolute path to zul file that is use to generate dashboard content','Y','Y','Y','N','N','N','N','N','ZUL File Path',TO_TIMESTAMP('2008-11-19 16:01:05','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 19, 2008 4:01:12 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56486 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56485 +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=51009 +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=51010 +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=51011 +; + +-- Nov 19, 2008 4:01:25 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56486 +; + +-- Nov 19, 2008 4:01:26 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=51012 +; + +-- Nov 19, 2008 4:01:26 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=51013 +; + +-- Nov 19, 2008 4:01:54 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Field SET DisplayLength=255,Updated=TO_TIMESTAMP('2008-11-19 16:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=51011 +; + +-- Nov 19, 2008 4:09:07 PM SGT +-- [ 2164648 ] FR:Implement PA_DASHBOARDCONTENT support +UPDATE AD_Column SET DefaultValue='1',Updated=TO_TIMESTAMP('2008-11-19 16:09:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56469 +; + + diff --git a/migration/352a-trunk/postgresql/327_BF2319604.sql b/migration/352a-trunk/postgresql/327_BF2319604.sql new file mode 100644 index 0000000000..67f0bf17fa --- /dev/null +++ b/migration/352a-trunk/postgresql/327_BF2319604.sql @@ -0,0 +1,4 @@ +-- Nov 21, 2008 12:14:32 PM SGT +-- [ 2319604 ] Wrong SQL where clause in Inbound Asset Entry window +UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type = ''New''',Updated=TO_TIMESTAMP('2008-11-21 12:14:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53166 +; diff --git a/migration/352a-trunk/postgresql/328_BF2319302.sql b/migration/352a-trunk/postgresql/328_BF2319302.sql new file mode 100644 index 0000000000..386bc4e2ee --- /dev/null +++ b/migration/352a-trunk/postgresql/328_BF2319302.sql @@ -0,0 +1,9 @@ +-- Nov 21, 2008 2:17:03 PM MYT +-- [ 2319302 ] Can't create new asset +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2008-11-21 14:17:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8061 +; + +-- Nov 21, 2008 2:17:10 PM MYT +-- [ 2319302 ] Can't create new assets +insert into t_alter_column values('a_asset','Processing','CHAR(1)',null,'N') +; diff --git a/migration/352a-trunk/postgresql/329_BF2320411.sql b/migration/352a-trunk/postgresql/329_BF2320411.sql new file mode 100644 index 0000000000..d98f4c6227 --- /dev/null +++ b/migration/352a-trunk/postgresql/329_BF2320411.sql @@ -0,0 +1,15 @@ +-- 21.11.2008 14:21:33 EET +-- BF [ 2320411 ] Translate "Already posted to" message +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53046,0,TO_TIMESTAMP('2008-11-21 14:21:30','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Already posted to this account.','E',TO_TIMESTAMP('2008-11-21 14:21:30','YYYY-MM-DD HH24:MI:SS'),0,'AlreadyPostedTo') +; + +-- 21.11.2008 14:21:33 EET +-- BF [ 2320411 ] Translate "Already posted to" message +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53046 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- 21.11.2008 14:22:08 EET +-- BF [ 2320411 ] Translate "Already posted to" message +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Exista inregistrari contabile pe acest cont.',Updated=TO_TIMESTAMP('2008-11-21 14:22:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53046 AND AD_Language='ro_RO' +; + diff --git a/migration/352a-trunk/postgresql/330_PosteritaExampleTerminal.sql b/migration/352a-trunk/postgresql/330_PosteritaExampleTerminal.sql new file mode 100644 index 0000000000..d98ebff84b --- /dev/null +++ b/migration/352a-trunk/postgresql/330_PosteritaExampleTerminal.sql @@ -0,0 +1,5 @@ +-- Nov 23, 2008 1:14:30 AM EET +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE U_POSTerminal SET CardTransferBankAccount_ID=100, Card_BankAccount_ID=100, CashTransferBankAccount_ID=100, CheckTransferBankAccount_ID=100, Check_BankAccount_ID=100,Updated=TO_TIMESTAMP('2008-11-23 01:14:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE U_POSTerminal_ID=50000 +; + diff --git a/migration/352a-trunk/postgresql/331_BF2339528_AccessLevelU_Web_Properties.sql b/migration/352a-trunk/postgresql/331_BF2339528_AccessLevelU_Web_Properties.sql new file mode 100644 index 0000000000..ebeea03bb6 --- /dev/null +++ b/migration/352a-trunk/postgresql/331_BF2339528_AccessLevelU_Web_Properties.sql @@ -0,0 +1,10 @@ +-- Nov 24, 2008 7:21:43 PM EET +-- [ 2339528 ] Proper access level U_Web_Properties +UPDATE AD_Table SET AccessLevel='7',Updated=TO_TIMESTAMP('2008-11-24 19:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52001 +; + +-- Nov 24, 2008 7:31:15 PM EET +-- [ 2339528 ] Proper access level U_Web_Properties +UPDATE AD_Table SET AD_Window_ID=52002,Updated=TO_TIMESTAMP('2008-11-24 19:31:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=52001 +; + diff --git a/migration/352a-trunk/postgresql/332_placeholder.sql b/migration/352a-trunk/postgresql/332_placeholder.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/migration/352a-trunk/postgresql/333_BF2344776_PrintMO.sql b/migration/352a-trunk/postgresql/333_BF2344776_PrintMO.sql new file mode 100644 index 0000000000..50bafd989e --- /dev/null +++ b/migration/352a-trunk/postgresql/333_BF2344776_PrintMO.sql @@ -0,0 +1,2079 @@ + +-- Nov 24, 2008 5:04:59 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Manufacturing Order ** TEMPLATE ** ',Updated=TO_TIMESTAMP('2008-11-24 17:04:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50001 +; + +-- Nov 24, 2008 5:05:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintAreaType='C', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 17:05:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 24, 2008 5:08:16 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=56101, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 17:08:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50117 +; + +-- Nov 24, 2008 5:08:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=56102, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 17:08:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50118 +; + +-- Nov 24, 2008 5:08:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=56111, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 17:08:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50119 +; + +-- Nov 24, 2008 5:08:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=56103, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 17:08:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50120 +; + +-- Nov 24, 2008 5:14:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=53659, IsGroupBy='N', IsPageBreak='N', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 17:14:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 24, 2008 5:16:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsActive='N', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 17:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50059 +; + +-- Nov 24, 2008 5:27:32 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Operation Activity ** TEMPLATE **', Name='Operation Activity ** TEMPLATE **',Updated=TO_TIMESTAMP('2008-11-24 17:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50009 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50351 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=40,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50352 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=50,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50353 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=60,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50354 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=70,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50355 +; + +-- Nov 24, 2008 5:27:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=80,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50356 +; + +-- Nov 24, 2008 5:29:55 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_Column_ID=53659, AD_PrintFormatChild_ID=50009, IsActive='Y', IsGroupBy='N', IsPageBreak='N', PrintFormatType='P', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 17:29:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 5:31:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintFont_ID=119,Updated=TO_TIMESTAMP('2008-11-24 17:31:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50001 +; + +-- Nov 24, 2008 5:32:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintFont_ID=119,Updated=TO_TIMESTAMP('2008-11-24 17:32:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50009 +; + +-- Nov 24, 2008 5:35:07 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Name='Manufacturing_Order_ ** TEMPLATE **',Updated=TO_TIMESTAMP('2008-11-24 17:35:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50001 +; + +-- Nov 24, 2008 5:35:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Manufacturing Order', Name='Manufacturing_Order_Header ** TEMPLATE **',Updated=TO_TIMESTAMP('2008-11-24 17:35:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50001 +; + +-- Nov 24, 2008 5:36:54 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Manufacturing Order BOM Line', Name='Manufacturing_Order_BOMLine ** TEMPLATE **',Updated=TO_TIMESTAMP('2008-11-24 17:36:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50002 +; + +-- Nov 24, 2008 5:37:22 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='MRP Detail',Updated=TO_TIMESTAMP('2008-11-24 17:37:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50000 +; + +------------------------------------------------ +-- Nov 24, 2008 6:01:41 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,Description,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53158,'3',TO_TIMESTAMP('2008-11-24 18:01:39','YYYY-MM-DD HH24:MI:SS'),0,'View Product Workflow','EE01','N','Y','N','N','N','N','Y','View Product Workflow','L','RV_PP_Product_Workflow',TO_TIMESTAMP('2008-11-24 18:01:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 24, 2008 6:01:41 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53158 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- Nov 24, 2008 6:03:19 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_Table SET Description='View Order Workflow', Name='View Order Workflow', TableName='RV_PP_Order_Workflow',Updated=TO_TIMESTAMP('2008-11-24 18:03:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Table_ID=53158 +; + +-- Nov 24, 2008 6:03:19 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=53158 +; + +-- Nov 24, 2008 6:05:58 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56483,102,0,19,53158,'AD_Client_ID',TO_TIMESTAMP('2008-11-24 18:05:56','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','N','N','N','N','N','Client',TO_TIMESTAMP('2008-11-24 18:05:56','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:05:58 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56483 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56484,113,0,19,53158,'AD_Org_ID',TO_TIMESTAMP('2008-11-24 18:05:59','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','N','N','Organization',TO_TIMESTAMP('2008-11-24 18:05:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56484 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56485,245,0,16,53158,'Created',TO_TIMESTAMP('2008-11-24 18:06:00','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','EE01',29,'The Created field indicates the date that this record was created.','Y','N','N','N','N','N','N','N','N','N','Created',TO_TIMESTAMP('2008-11-24 18:06:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56485 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:01 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56486,246,0,18,110,53158,'CreatedBy',TO_TIMESTAMP('2008-11-24 18:06:00','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','EE01',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','N','N','N','N','N','Created By',TO_TIMESTAMP('2008-11-24 18:06:00','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:01 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56486 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:02 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56487,348,0,20,53158,'IsActive',TO_TIMESTAMP('2008-11-24 18:06:01','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','N','N','N','N','N','Active',TO_TIMESTAMP('2008-11-24 18:06:01','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:02 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56487 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:04 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56488,607,0,16,53158,'Updated',TO_TIMESTAMP('2008-11-24 18:06:02','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','EE01',29,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','N','N','N','N','N','Updated',TO_TIMESTAMP('2008-11-24 18:06:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:04 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56488 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:08 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56489,608,0,18,110,53158,'UpdatedBy',TO_TIMESTAMP('2008-11-24 18:06:04','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','EE01',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','N','N','N','N','N','Updated By',TO_TIMESTAMP('2008-11-24 18:06:04','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:08 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56489 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56490,53276,0,19,53158,'PP_Order_ID',TO_TIMESTAMP('2008-11-24 18:06:08','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Manufacturing Order',TO_TIMESTAMP('2008-11-24 18:06:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56490 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:11 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56491,289,0,17,53158,'DocStatus',TO_TIMESTAMP('2008-11-24 18:06:10','YYYY-MM-DD HH24:MI:SS'),0,'The current status of the document','EE01',2,'The Document Status indicates the status of a document at this time. If you want to change the document status, use the Document Action field','Y','N','N','N','N','N','N','N','N','N','Document Status',TO_TIMESTAMP('2008-11-24 18:06:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:11 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56491 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:13 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56492,620,0,10,53158,'Value',TO_TIMESTAMP('2008-11-24 18:06:11','YYYY-MM-DD HH24:MI:SS'),0,'Search key for the record in the format required - must be unique','EE01',40,'A search key allows you a fast method of finding a particular record. +If you leave the search key empty, the system automatically creates a numeric number. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','N','N','Search Key',TO_TIMESTAMP('2008-11-24 18:06:11','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:13 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56492 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:18 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56493,1777,0,19,53158,'S_Resource_ID',TO_TIMESTAMP('2008-11-24 18:06:13','YYYY-MM-DD HH24:MI:SS'),0,'Resource','EE01',10,'Y','N','N','N','N','N','N','N','N','N','Resource',TO_TIMESTAMP('2008-11-24 18:06:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:18 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56493 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:19 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56494,53284,0,11,53158,'DurationRequiered',TO_TIMESTAMP('2008-11-24 18:06:18','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Duration Requiered',TO_TIMESTAMP('2008-11-24 18:06:18','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:19 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56494 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:20 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56495,53283,0,11,53158,'DurationReal',TO_TIMESTAMP('2008-11-24 18:06:19','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Duration Real',TO_TIMESTAMP('2008-11-24 18:06:19','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:20 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56495 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:22 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56496,2320,0,22,53158,'Duration',TO_TIMESTAMP('2008-11-24 18:06:20','YYYY-MM-DD HH24:MI:SS'),0,'Normal Duration in Duration Unit','EE01',131089,'Expected (normal) Length of time for the execution','Y','N','N','N','N','N','N','N','N','N','Duration',TO_TIMESTAMP('2008-11-24 18:06:20','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:22 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56496 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:23 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56497,528,0,29,53158,'QtyDelivered',TO_TIMESTAMP('2008-11-24 18:06:22','YYYY-MM-DD HH24:MI:SS'),0,'Delivered Quantity','EE01',131089,'The Delivered Quantity indicates the quantity of a product that has been delivered.','Y','N','N','N','N','N','N','N','N','N','Delivered Quantity',TO_TIMESTAMP('2008-11-24 18:06:22','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:23 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56497 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:24 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56498,53287,0,29,53158,'QtyReject',TO_TIMESTAMP('2008-11-24 18:06:23','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','N','N','Qty Reject',TO_TIMESTAMP('2008-11-24 18:06:23','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:24 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56498 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:26 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56499,53289,0,29,53158,'QtyScrap',TO_TIMESTAMP('2008-11-24 18:06:24','YYYY-MM-DD HH24:MI:SS'),0,'EE01',131089,'Y','N','N','N','N','N','N','N','N','N','Qty Scrap',TO_TIMESTAMP('2008-11-24 18:06:24','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:26 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56499 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:27 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56500,53281,0,16,53158,'DateStartSchedule',TO_TIMESTAMP('2008-11-24 18:06:26','YYYY-MM-DD HH24:MI:SS'),0,'EE01',29,'Y','N','N','N','N','N','N','N','N','N','DateStartSchedule',TO_TIMESTAMP('2008-11-24 18:06:26','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:27 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56500 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:06:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56501,53278,0,16,53158,'DateFinishSchedule',TO_TIMESTAMP('2008-11-24 18:06:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01',29,'Y','N','N','N','N','N','N','N','N','N','DateFinishSchedule',TO_TIMESTAMP('2008-11-24 18:06:27','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:06:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56501 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:08:52 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56502,53286,0,19,53158,'PP_Order_Workflow_ID',TO_TIMESTAMP('2008-11-24 18:08:50','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Manufacturing Order Workflow',TO_TIMESTAMP('2008-11-24 18:08:50','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:08:52 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56502 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:11:42 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormat (AD_Client_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFont_ID,AD_PrintFormat_ID,AD_PrintPaper_ID,AD_PrintTableFormat_ID,AD_Table_ID,CreateCopy,Created,CreatedBy,Description,FooterMargin,HeaderMargin,IsActive,IsDefault,IsForm,IsStandardHeaderFooter,IsTableBased,Name,Updated,UpdatedBy) VALUES (0,0,100,120,50037,101,100,53158,'N',TO_TIMESTAMP('2008-11-24 18:11:39','YYYY-MM-DD HH24:MI:SS'),0,'Manufacturing Order Workflow',0,0,'Y','N','N','N','Y','Manufacturing_Order_Workflow ** TEMPLATE **',TO_TIMESTAMP('2008-11-24 18:11:39','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Nov 24, 2008 6:12:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintFont_ID=119,Updated=TO_TIMESTAMP('2008-11-24 18:12:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:12:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintColor_ID=100, AD_PrintFont_ID=130, AD_PrintPaper_ID=100, AD_Table_ID=53158, Name='RV_PP_Order_Workflow_2',Updated=TO_TIMESTAMP('2008-11-24 18:12:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:13:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56487,0,50964,50037,0,TO_TIMESTAMP('2008-11-24 18:12:58','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Active','C','F','Active',0,'N',0,TO_TIMESTAMP('2008-11-24 18:12:58','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50964 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56487) WHERE AD_PrintFormatItem_ID = 50964 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56487 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50964) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:21 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56483,0,50965,50037,0,TO_TIMESTAMP('2008-11-24 18:13:12','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Client','C','F','Client',0,'N',0,TO_TIMESTAMP('2008-11-24 18:13:12','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:21 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50965 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56483) WHERE AD_PrintFormatItem_ID = 50965 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56483 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50965) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:32 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56485,0,50966,50037,0,TO_TIMESTAMP('2008-11-24 18:13:21','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Created','C','F','Created',0,'N',0,TO_TIMESTAMP('2008-11-24 18:13:21','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:32 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50966 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:32 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56485) WHERE AD_PrintFormatItem_ID = 50966 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56485 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50966) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:36 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56486,0,50967,50037,0,TO_TIMESTAMP('2008-11-24 18:13:32','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Created By','C','F','Created By',0,'N',0,TO_TIMESTAMP('2008-11-24 18:13:32','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:36 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50967 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56486) WHERE AD_PrintFormatItem_ID = 50967 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56486 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50967) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:40 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56501,0,50968,50037,0,TO_TIMESTAMP('2008-11-24 18:13:36','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'DateFinishSchedule','C','F','DateFinishSchedule',5,'N',0,TO_TIMESTAMP('2008-11-24 18:13:36','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:40 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50968 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56501) WHERE AD_PrintFormatItem_ID = 50968 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56501 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50968) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:42 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56500,0,50969,50037,0,TO_TIMESTAMP('2008-11-24 18:13:40','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'DateStartSchedule','C','F','DateStartSchedule',6,'N',0,TO_TIMESTAMP('2008-11-24 18:13:40','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:43 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50969 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:43 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56500) WHERE AD_PrintFormatItem_ID = 50969 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56500 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50969) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:46 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56497,0,50970,50037,0,TO_TIMESTAMP('2008-11-24 18:13:43','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Delivered Quantity','C','F','Delivered Qty',7,'N',0,TO_TIMESTAMP('2008-11-24 18:13:43','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:46 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50970 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56497) WHERE AD_PrintFormatItem_ID = 50970 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56497 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50970) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:48 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56491,0,50971,50037,0,TO_TIMESTAMP('2008-11-24 18:13:46','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Document Status','C','F','Doc Status',8,'N',0,TO_TIMESTAMP('2008-11-24 18:13:46','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:48 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50971 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56491) WHERE AD_PrintFormatItem_ID = 50971 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56491 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50971) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:50 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56496,0,50972,50037,0,TO_TIMESTAMP('2008-11-24 18:13:49','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Duration','C','F','Duration',9,'N',0,TO_TIMESTAMP('2008-11-24 18:13:49','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:50 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50972 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56496) WHERE AD_PrintFormatItem_ID = 50972 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56496 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50972) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:52 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56495,0,50973,50037,0,TO_TIMESTAMP('2008-11-24 18:13:50','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Duration Real','C','F','Duration Real',10,'N',0,TO_TIMESTAMP('2008-11-24 18:13:50','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:52 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50973 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:52 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56495) WHERE AD_PrintFormatItem_ID = 50973 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56495 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50973) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:54 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56494,0,50974,50037,0,TO_TIMESTAMP('2008-11-24 18:13:52','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Duration Requiered','C','F','Duration Requiered',11,'N',0,TO_TIMESTAMP('2008-11-24 18:13:52','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:54 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50974 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:54 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56494) WHERE AD_PrintFormatItem_ID = 50974 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56494 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50974) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:57 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56490,0,50975,50037,0,TO_TIMESTAMP('2008-11-24 18:13:54','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Manufacturing Order','C','F','Manufacturing Order',12,'N',0,TO_TIMESTAMP('2008-11-24 18:13:54','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:57 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50975 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56490) WHERE AD_PrintFormatItem_ID = 50975 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56490 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50975) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:13:59 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56502,0,50976,50037,0,TO_TIMESTAMP('2008-11-24 18:13:57','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Manufacturing Order Workflow','C','F','Manufacturing Order Workflow',13,'N',0,TO_TIMESTAMP('2008-11-24 18:13:57','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:13:59 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50976 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:13:59 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56502) WHERE AD_PrintFormatItem_ID = 50976 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56502 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50976) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56484,0,50977,50037,0,TO_TIMESTAMP('2008-11-24 18:13:59','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Organization','C','F','Organization',0,'N',0,TO_TIMESTAMP('2008-11-24 18:13:59','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:00 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50977 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56484) WHERE AD_PrintFormatItem_ID = 50977 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56484 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50977) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:04 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56498,0,50978,50037,0,TO_TIMESTAMP('2008-11-24 18:14:00','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Qty Reject','C','F','Qty Reject',15,'N',0,TO_TIMESTAMP('2008-11-24 18:14:00','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:04 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50978 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56498) WHERE AD_PrintFormatItem_ID = 50978 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56498 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50978) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:07 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56499,0,50979,50037,0,TO_TIMESTAMP('2008-11-24 18:14:04','YYYY-MM-DD HH24:MI:SS'),0,'T','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Qty Scrap','C','F','Qty Scrap',16,'N',0,TO_TIMESTAMP('2008-11-24 18:14:04','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:07 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50979 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:07 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56499) WHERE AD_PrintFormatItem_ID = 50979 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56499 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50979) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56493,0,50980,50037,0,TO_TIMESTAMP('2008-11-24 18:14:07','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Resource','C','F','Resource',17,'N',0,TO_TIMESTAMP('2008-11-24 18:14:07','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50980 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56493) WHERE AD_PrintFormatItem_ID = 50980 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56493 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50980) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:15 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56492,0,50981,50037,0,TO_TIMESTAMP('2008-11-24 18:14:12','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','X',1,0,0,'Search Key','C','F','Search Key',18,'N',0,TO_TIMESTAMP('2008-11-24 18:14:12','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:15 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50981 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:15 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56492) WHERE AD_PrintFormatItem_ID = 50981 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56492 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50981) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:19 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56488,0,50982,50037,0,TO_TIMESTAMP('2008-11-24 18:14:15','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Updated','C','F','Updated',0,'N',0,TO_TIMESTAMP('2008-11-24 18:14:15','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:19 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50982 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:19 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56488) WHERE AD_PrintFormatItem_ID = 50982 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56488 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50982) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:14:21 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56489,0,50983,50037,0,TO_TIMESTAMP('2008-11-24 18:14:19','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','N','N','N','N','X',1,0,0,'Updated By','C','F','Updated By',0,'N',0,TO_TIMESTAMP('2008-11-24 18:14:19','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:14:21 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50983 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:14:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56489) WHERE AD_PrintFormatItem_ID = 50983 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56489 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50983) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:15:06 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Name='Manufacturing Order Workflow ** TEMPLATE **',Updated=TO_TIMESTAMP('2008-11-24 18:15:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:15:20 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Name='Manufacturing_Order_Workflow ** TEMPLATE **',Updated=TO_TIMESTAMP('2008-11-24 18:15:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50970 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50973 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50975 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50976 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50978 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=0,IsPrinted='N' WHERE AD_PrintFormatItem_ID=50979 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=10,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50980 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=20,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=30,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=40,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=50,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=60,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=70,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:17:15 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56503,469,0,10,53158,'Name',TO_TIMESTAMP('2008-11-24 18:17:13','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity','EE01',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','N','N','N','N','N','Name',1,TO_TIMESTAMP('2008-11-24 18:17:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:17:15 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56503 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:18:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,PrintName,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56503,0,50984,50037,0,TO_TIMESTAMP('2008-11-24 18:18:10','YYYY-MM-DD HH24:MI:SS'),0,'L','N','Y','N','Y','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Name','C','F','Name',35,'N',0,TO_TIMESTAMP('2008-11-24 18:18:10','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:18:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50984 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:18:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56503) WHERE AD_PrintFormatItem_ID = 50984 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=56503 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 50984) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y') +; + +-- Nov 24, 2008 6:24:59 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56504,53240,0,11,53158,'MovingTime',TO_TIMESTAMP('2008-11-24 18:24:57','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Moving Time',TO_TIMESTAMP('2008-11-24 18:24:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:24:59 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56504 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:02 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56505,2331,0,11,53158,'WaitingTime',TO_TIMESTAMP('2008-11-24 18:24:59','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Simulation Waiting time','EE01',10,'Amount of time needed to prepare the performance of the task on Duration Units','Y','N','N','N','N','N','N','N','N','N','Waiting Time',TO_TIMESTAMP('2008-11-24 18:24:59','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:02 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56505 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:03 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56506,2777,0,11,53158,'SetupTime',TO_TIMESTAMP('2008-11-24 18:25:02','YYYY-MM-DD HH24:MI:SS'),0,'Setup time before starting Production','EE01',10,'Once per operation','Y','N','N','N','N','N','N','N','N','N','Setup Time',TO_TIMESTAMP('2008-11-24 18:25:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:03 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56506 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:06 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56507,53234,0,11,53158,'QueuingTime',TO_TIMESTAMP('2008-11-24 18:25:03','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','N','N','Queuing Time',TO_TIMESTAMP('2008-11-24 18:25:03','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:06 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56507 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:08 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56508,187,0,19,53158,'C_BPartner_ID',TO_TIMESTAMP('2008-11-24 18:25:06','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','EE01',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','N','N','Business Partner ',TO_TIMESTAMP('2008-11-24 18:25:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:08 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56508 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56509,275,0,10,53158,'Description',TO_TIMESTAMP('2008-11-24 18:25:08','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record','EE01',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','N','N','Description',TO_TIMESTAMP('2008-11-24 18:25:08','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56509 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56510,53237,0,20,53158,'IsMilestone',TO_TIMESTAMP('2008-11-24 18:25:10','YYYY-MM-DD HH24:MI:SS'),0,'EE01',1,'Y','N','N','N','N','N','N','N','N','N','Is Milestone',TO_TIMESTAMP('2008-11-24 18:25:10','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:12 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56510 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:25:14 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56511,53238,0,20,53158,'IsSubcontracting',TO_TIMESTAMP('2008-11-24 18:25:12','YYYY-MM-DD HH24:MI:SS'),0,'EE01',1,'Y','N','N','N','N','N','N','N','N','N','Is Subcontracting',TO_TIMESTAMP('2008-11-24 18:25:12','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Nov 24, 2008 6:25:14 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56511 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Nov 24, 2008 6:26:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56509,0,100,50985,50037,0,0,TO_TIMESTAMP('2008-11-24 18:26:24','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Description','C','F',20,80,'N',0,TO_TIMESTAMP('2008-11-24 18:26:24','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:26:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50985 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:26:53 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56508,0,100,50986,50037,0,0,TO_TIMESTAMP('2008-11-24 18:26:51','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Business Partner','C','F',20,90,'N',0,TO_TIMESTAMP('2008-11-24 18:26:51','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:26:53 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50986 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:27:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56510,0,100,50987,50037,0,0,TO_TIMESTAMP('2008-11-24 18:27:26','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Is Milestone','C','F',20,100,'N',0,TO_TIMESTAMP('2008-11-24 18:27:26','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:27:28 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50987 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:27:45 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56511,0,100,50988,50037,0,0,TO_TIMESTAMP('2008-11-24 18:27:43','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'IsSubcontracting','C','F',20,110,'N',0,TO_TIMESTAMP('2008-11-24 18:27:43','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:27:45 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50988 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:28:22 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56504,0,100,50989,50037,0,0,TO_TIMESTAMP('2008-11-24 18:28:19','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'MovingTime','C','F',20,120,'N',0,TO_TIMESTAMP('2008-11-24 18:28:19','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:28:22 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50989 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:28:46 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56507,0,100,50990,50037,0,0,TO_TIMESTAMP('2008-11-24 18:28:45','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Queuing Time','C','F',20,130,'N',0,TO_TIMESTAMP('2008-11-24 18:28:45','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:28:46 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50990 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:29:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56505,0,100,50991,50037,0,0,TO_TIMESTAMP('2008-11-24 18:29:08','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','Y','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Waiting Time','C','F',20,140,'N',0,TO_TIMESTAMP('2008-11-24 18:29:08','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:29:10 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50991 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:29:26 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:29:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:29:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:29:32 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:29:33 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:29:35 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:29:43 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsCentrallyMaintained='Y', IsGroupBy='N', IsPageBreak='N', PrintName='Description', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:29:43 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:29:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Business Partner', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:29:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:29:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Is Milestone', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:29:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:29:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Is Subcontracting', PrintName='IsSubcontracting', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:29:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:29:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:30:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Moving Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:30:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Moving Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:30:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:30:07 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Queuing Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:30:07 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:30:25 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Waiting Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:30:25 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:30:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:30:35 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:30:39 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:30:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:30:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:30:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:30:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:30:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:30:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:31:09 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='L', IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:31:10 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:31:11 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:31:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:31:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:31:14 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:31:16 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:31:17 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:31:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:31:26 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:31:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:31:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SeqNo=100, SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:31:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SeqNo=90, SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:31:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:31:49 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:31:52 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:31:57 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:31:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=30,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=40,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=50,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=60,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=70,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=80,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=90,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=100,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=110,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=120,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=130,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=140,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:33:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=150,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:33:47 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_PrintColor_ID,AD_PrintFormatItem_ID,AD_PrintFormat_ID,ArcDiameter,BelowColumn,Created,CreatedBy,FieldAlignmentType,ImageIsAttached,IsActive,IsAveraged,IsCentrallyMaintained,IsCounted,IsDeviationCalc,IsFilledRectangle,IsFixedWidth,IsGroupBy,IsHeightOneLine,IsImageField,IsMaxCalc,IsMinCalc,IsNextLine,IsNextPage,IsOrderBy,IsPageBreak,IsPrinted,IsRelativePosition,IsRunningTotal,IsSetNLPosition,IsSummarized,IsSuppressNull,IsSuppressRepeats,IsVarianceCalc,LineAlignmentType,LineWidth,MaxHeight,MaxWidth,Name,PrintAreaType,PrintFormatType,RunningTotalLines,SeqNo,ShapeType,SortNo,Updated,UpdatedBy,XPosition,XSpace,YPosition,YSpace) VALUES (0,56506,0,100,50992,50037,0,0,TO_TIMESTAMP('2008-11-24 18:33:46','YYYY-MM-DD HH24:MI:SS'),0,'D','N','Y','N','N','N','N','N','N','N','Y','N','N','N','N','N','N','N','Y','Y','N','N','N','N','N','N','X',1,0,0,'Setup Time','C','F',20,160,'N',0,TO_TIMESTAMP('2008-11-24 18:33:46','YYYY-MM-DD HH24:MI:SS'),0,0,0,0,0) +; + +-- Nov 24, 2008 6:33:47 PM ECT +-- fix Manufacturing Order Print +INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=50992 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID) +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=80,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=90,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=100,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=110,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=120,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=130,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=140,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=150,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:34:00 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=160,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:34:08 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50980 +; + +-- Nov 24, 2008 6:34:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50980 +; + +-- Nov 24, 2008 6:34:22 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:34:25 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:34:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:34:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:34:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:34:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:34:39 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:34:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:34:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSummarized='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:34:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:35:21 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintFormatChild_ID=50037, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:35:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 6:38:10 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET Description='Manufacturing Order Node', Name='Manufacturing_Order_Node ** TEMPLATE **',Updated=TO_TIMESTAMP('2008-11-24 18:38:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:39:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET AD_PrintColor_ID=NULL, FieldAlignmentType='L', IsGroupBy='N', IsHeightOneLine='N', IsPageBreak='N', PrintName='Setup Time', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:39:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:39:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:40:08 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormat SET AD_PrintFont_ID=119,Updated=TO_TIMESTAMP('2008-11-24 18:40:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormat_ID=50037 +; + +-- Nov 24, 2008 6:43:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Start', PrintName='Start', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:43:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:43:50 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:45:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Finish', PrintName='Finish', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:45:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:45:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:45:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Waiting T', PrintName='Waiting T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:45:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:45:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:45:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Setup T', PrintName='Setup T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:45:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:45:41 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:45:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Duration T', PrintName='Duration T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:45:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:45:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:45:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Moving T', PrintName='Moving T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:45:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:45:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:46:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Queuing T', PrintName='Queuing T', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:46:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:46:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:46:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', Name='Status', PrintName='Status', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:46:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:46:12 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50971 +; + +-- Nov 24, 2008 6:46:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Is Subcontracting', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:46:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:47:45 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='B.P.', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:47:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:47:45 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50986 +; + +-- Nov 24, 2008 6:48:01 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Requiered', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:48:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:48:01 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:48:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S.K.', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:48:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:48:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:49:05 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=3, IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:49:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-------------------------------------------- +-- Nov 24, 2008 6:49:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:49:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:53:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsSuppressNull='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:53:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintFormatItem_ID=50974 +; + + + +-- Nov 24, 2008 6:50:46 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=2, IsGroupBy='N', IsNextLine='Y', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:51:11 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET FieldAlignmentType='B', IsGroupBy='N', IsNextLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:51:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:51:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=5, IsGroupBy='N', IsNextLine='Y', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:51:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50968 +; + +-- Nov 24, 2008 6:51:48 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=9, IsGroupBy='N', IsNextLine='Y', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:51:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50974 +; + +-- Nov 24, 2008 6:52:09 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET BelowColumn=14, IsGroupBy='N', IsNextLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:52:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:52:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S.K.- Name', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:52:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:52:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:52:38 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Start - Finish', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:52:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:52:38 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:52:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Duration T - Requiered', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:52:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:52:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:55:20 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S.K./ Name', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:55:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:55:20 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:55:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S.K.', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:55:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:55:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50981 +; + +-- Nov 24, 2008 6:55:38 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsNextLine='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:55:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:55:43 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsNextLine='Y', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:55:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50985 +; + +-- Nov 24, 2008 6:55:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Start/Finish', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:55:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:55:58 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50969 +; + +-- Nov 24, 2008 6:56:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Name/Description', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:56:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:56:04 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50984 +; + +-- Nov 24, 2008 6:56:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Duration/Total', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:56:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:56:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 6:56:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='M', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:56:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:56:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50987 +; + +-- Nov 24, 2008 6:56:39 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='S', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:56:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:56:39 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50988 +; + +-- Nov 24, 2008 6:58:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Queuing', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:58:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:58:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50990 +; + +-- Nov 24, 2008 6:58:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Moving', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:58:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:58:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50989 +; + +-- Nov 24, 2008 6:58:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Setup', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:58:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:58:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50992 +; + +-- Nov 24, 2008 6:58:52 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Waiting', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:58:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:58:52 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50991 +; + +-- Nov 24, 2008 6:59:06 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsFixedWidth='Y', IsGroupBy='N', IsHeightOneLine='Y', IsPageBreak='N', MaxWidth=40, SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 18:59:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50980 +; + +-- Nov 24, 2008 7:01:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Drt/Req', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:01:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 7:01:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50972 +; + +-- Nov 24, 2008 7:07:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Finish Date', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:07:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50091 +; + +-- Nov 24, 2008 7:07:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50091 +; + +-- Nov 24, 2008 7:07:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Warehouse :', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:07:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:07:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:07:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Product :', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:07:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50082 +; + +-- Nov 24, 2008 7:07:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50082 +; + +-- Nov 24, 2008 7:07:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Quantity :', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:07:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50083 +; + +-- Nov 24, 2008 7:07:47 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50083 +; + +-- Nov 24, 2008 7:07:56 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Orden Date:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:07:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:07:56 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:08:06 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Promised D:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:08:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:08:06 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:08:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Date:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:08:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:08:13 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:08:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Promised:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:08:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:08:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:08:26 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Delivered Date:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:08:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50094 +; + +-- Nov 24, 2008 7:08:26 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50094 +; + +-- Nov 24, 2008 7:08:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Lot', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:08:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50095 +; + +-- Nov 24, 2008 7:08:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50095 +; + +-- Nov 24, 2008 7:08:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Workflow:', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:08:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 7:08:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 7:10:14 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Warehouse:', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:10:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:10:14 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:10:23 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Document Status:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:10:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:10:23 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:10:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET PrintName='Document No:', XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:10:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:10:44 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:11:15 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='Y', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:11:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=30,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=40,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=50,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50080 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=60,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=70,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50082 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=80,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50083 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=90,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50084 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=100,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50085 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=110,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=120,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50079 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=130,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50087 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=140,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50088 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=150,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50089 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=160,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50090 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=170,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50091 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=180,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50092 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=190,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50093 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=200,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50094 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=210,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50095 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=220,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=230,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50096 +; + +-- Nov 24, 2008 7:12:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET SeqNo=240,IsPrinted='Y' WHERE AD_PrintFormatItem_ID=50059 +; + +-- Nov 24, 2008 7:14:49 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='N', SortNo=0, XPosition=340, XSpace=0, YPosition=10, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:14:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:15:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=130, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:15:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:16:31 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsHeightOneLine='Y', IsPageBreak='N', SortNo=0, XPosition=20, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:16:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:17:23 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='Y', PrintAreaType='H', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:17:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:18:27 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET XPosition=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:18:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:18:34 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:19:25 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET XPosition=20, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:19:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:19:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, XSpace=200, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:19:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:19:35 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=20, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:19:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:19:54 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='N', SortNo=0, XPosition=200, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:19:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:20:15 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=0, YPosition=0, YSpace=40,Updated=TO_TIMESTAMP('2008-11-24 19:20:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:20:28 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XSpace=0, YPosition=50, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:20:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50081 +; + +-- Nov 24, 2008 7:21:40 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET XPosition=5, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:21:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50076 +; + +-- Nov 24, 2008 7:22:24 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', IsRelativePosition='N', SortNo=0, XPosition=200, XSpace=0, YPosition=40, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:22:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50057 +; + +-- Nov 24, 2008 7:22:30 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=520, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:22:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:22:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', SortNo=0, XPosition=5, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:22:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50078 +; + +-- Nov 24, 2008 7:24:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Reserved Qty:', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-24 19:24:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50080 +; + +-- Nov 24, 2008 7:24:36 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50080 +; + +-- Nov 24, 2008 7:24:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Qty Reject:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50084 +; + +-- Nov 24, 2008 7:24:51 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50084 +; + +-- Nov 24, 2008 7:24:55 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Qty Scrap:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:24:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50085 +; + +-- Nov 24, 2008 7:24:55 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50085 +; + +-- Nov 24, 2008 7:25:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Qty Batchs:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:25:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 7:25:03 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 7:25:08 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='Qty Batch Size:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:25:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50079 +; + +-- Nov 24, 2008 7:25:08 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50079 +; + +-- Nov 24, 2008 7:25:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem SET IsGroupBy='N', IsPageBreak='N', PrintName='# Batch:', SortNo=0, XSpace=0, YSpace=0,Updated=TO_TIMESTAMP('2008-11-24 19:25:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50086 +; + +-- Nov 24, 2008 7:25:18 PM ECT +-- fix Manufacturing Order Print +UPDATE AD_PrintFormatItem_Trl SET IsTranslated='N' WHERE AD_PrintFormatItem_ID=50086 +; + +UPDATE AD_PrintFormatItem SET AD_PrintFormatChild_ID=50002, IsGroupBy='N', IsPageBreak='N', PrintFormatType='P', SortNo=0, XPosition=0, YPosition=0,Updated=TO_TIMESTAMP('2008-11-25 17:15:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_PrintFormatItem_ID=50077 +; + +-- Nov 25, 2008 2:22:37 PM ECT +-- [ 2074600 ] Housekeeping - Process to delete historic information +UPDATE AD_PrintForm SET Distrib_Order_PrintFormat_ID=50011, Manuf_Order_PrintFormat_ID=50001,Updated=TO_TIMESTAMP('2008-11-25 14:22:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_PrintForm_ID=101 +; + +CREATE VIEW rv_pp_order_workflow AS +SELECT n.ad_client_id, n.ad_org_id, n.created, n.createdby, n.isactive, n.updated, n.updatedby, owf.PP_Order_Workflow_ID, + n.name,n.pp_order_id, n.docstatus, n.value, n.s_resource_id, + n.durationrequiered, n.durationreal, n.durationrequiered - n.durationreal AS duration,n.movingtime,n.waitingtime,n.setuptime,n.queuingtime, + n.qtydelivered, n.qtyreject, n.qtyscrap, n.datestartschedule, n.datefinishschedule, n.c_bpartner_id, n.description,n.ismilestone,n.issubcontracting + FROM pp_order_workflow owf INNER JOIN PP_Order_Node n ON (n.PP_Order_Workflow_ID=owf.PP_Order_Workflow_ID); + diff --git a/migration/352a-trunk/postgresql/334_FR2353794.sql b/migration/352a-trunk/postgresql/334_FR2353794.sql new file mode 100644 index 0000000000..365dfee37c --- /dev/null +++ b/migration/352a-trunk/postgresql/334_FR2353794.sql @@ -0,0 +1,9 @@ +-- Nov 28, 2008 4:45:06 PM MYT +-- [ 2353794 ] Financial Report: Add Natural Balance amount type +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53441,235,TO_TIMESTAMP('2008-11-28 16:44:54','YYYY-MM-DD HH24:MI:SS'),100,'BY for P & L account, BT for Balance Sheet account','D','Y','Natural Balance',TO_TIMESTAMP('2008-11-28 16:44:54','YYYY-MM-DD HH24:MI:SS'),100,'BN') +; + +-- Nov 28, 2008 4:45:06 PM MYT +-- [ 2353794 ] Financial Report: Add Natural Balance amount type +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53441 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; diff --git a/migration/352a-trunk/postgresql/335_BF1936311_migrate_bomtype.sql b/migration/352a-trunk/postgresql/335_BF1936311_migrate_bomtype.sql new file mode 100644 index 0000000000..97b98b5994 --- /dev/null +++ b/migration/352a-trunk/postgresql/335_BF1936311_migrate_bomtype.sql @@ -0,0 +1,35 @@ +update pp_product_bomline pbl +set componenttype = + (select (case + when mbl.bomtype = 'O' then 'OP' + when mbl.bomtype in ('1','2','3','4','5','6','7','8','9') then 'VA' + else 'CO' + end) + from m_product_bom mbl, pp_product_bom pb, pp_product_bomline pbl2 + where pbl2.pp_product_bomline_id = pbl.pp_product_bomline_id + and pb.m_product_id = mbl.m_product_id + and pbl2.pp_product_bom_id = pb.pp_product_bom_id + and mbl.m_productbom_id = pbl2.m_product_id) , + feature = + (select (case + when mbl.bomtype in ('1','2','3','4','5','6','7','8','9') + then (select name + from ad_ref_list + where ad_reference_id = 279 + and value = mbl.bomtype) + else null + end) + from m_product_bom mbl, pp_product_bom pb, pp_product_bomline pbl2 + where pbl2.pp_product_bomline_id = pbl.pp_product_bomline_id + and pb.m_product_id = mbl.m_product_id + and pbl2.pp_product_bom_id = pb.pp_product_bom_id + and mbl.m_productbom_id = pbl2.m_product_id) +where exists + (select * + from m_product_bom mbl, pp_product_bom pb, pp_product_bomline pbl2 + where (mbl.bomtype <> 'P' or pbl2.componenttype <> 'CO') + and pbl2.pp_product_bomline_id = pbl.pp_product_bomline_id + and pb.m_product_id = mbl.m_product_id + and pbl2.pp_product_bom_id = pb.pp_product_bom_id + and mbl.m_productbom_id = pbl2.m_product_id) +; diff --git a/migration/352a-trunk/postgresql/336_BF2227971_planning_window.sql b/migration/352a-trunk/postgresql/336_BF2227971_planning_window.sql new file mode 100644 index 0000000000..c29c8c8088 --- /dev/null +++ b/migration/352a-trunk/postgresql/336_BF2227971_planning_window.sql @@ -0,0 +1,205 @@ +-- 2/12/2008 11:11:17 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53606 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53566 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53567 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53568 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53569 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53570 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53571 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53572 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53573 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53574 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53575 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53576 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53577 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53578 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53579 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53580 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53581 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53582 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53583 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53584 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53585 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53586 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53587 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53588 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53589 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53590 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53591 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53592 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53593 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53594 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53595 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=53596 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=53597 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=53598 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=53599 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=53600 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=53601 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=53602 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=53603 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=53604 +; + +-- 2/12/2008 11:11:18 +-- [ 2227971 ] Product Planning window - overlapped fields +UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=53605 +; + diff --git a/migration/352a-trunk/postgresql/337_FR2380080_Implement_drop_shipment.sql b/migration/352a-trunk/postgresql/337_FR2380080_Implement_drop_shipment.sql new file mode 100644 index 0000000000..9a972779b4 --- /dev/null +++ b/migration/352a-trunk/postgresql/337_FR2380080_Implement_drop_shipment.sql @@ -0,0 +1,392 @@ +-- INSERTING into AD_ELEMENT +Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53460,0,0,'Y',TO_TIMESTAMP('01/MAY/08','DD/MON/RR'),100,TO_TIMESTAMP('01/MAY/08','DD/MON/RR'),100,'DropShip_User_ID','U','Drop Shipment Contact','Drop Shipment Contact','Business Partner Contact for drop shipment',null,null,null,null,null); +Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53459,0,0,'Y',TO_TIMESTAMP('01/MAY/08','DD/MON/RR'),100,TO_TIMESTAMP('07/MAY/08','DD/MON/RR'),100,'DropShip_Location_ID','D','Drop Shipment Location','Drop Shipment Location','Business Partner Location for shipping to',null,null,null,null,null); +Insert into AD_ELEMENT (AD_ELEMENT_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,CREATEDBY,UPDATED,UPDATEDBY,COLUMNNAME,ENTITYTYPE,NAME,PRINTNAME,DESCRIPTION,HELP,PO_NAME,PO_PRINTNAME,PO_DESCRIPTION,PO_HELP) values (53458,0,0,'Y',TO_TIMESTAMP('01/MAY/08','DD/MON/RR'),100,TO_TIMESTAMP('01/MAY/08','DD/MON/RR'),100,'DropShip_BPartner_ID','U','Drop Shipment Partner','Drop Shipment Partner','Business Partner to ship to','If empty the business partner will be shipped to.',null,null,null,null); + +-- INSERTING into AD_Column +Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS) values (55314,0,0,'Y',TO_TIMESTAMP('07/MAY/08','DD/MON/RR'),TO_TIMESTAMP('07/MAY/08','DD/MON/RR'),100,100,'Drop Shipment Partner','Business Partner to ship to','If empty the business partner will be shipped to.',1,'D','DropShip_BPartner_ID',259,30,138,230,22,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',53458,null,'N','N',null,null,null); + +-- 7/05/2008 11:35:44 +-- Drop shipment +ALTER TABLE C_Order ADD DropShip_BPartner_ID NUMERIC(10) +; + +-- 7/05/2008 11:40:02 +-- Drop shipment +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52022,'C_BPartner_Location.C_BPartner_ID=@DropShip_BPartner_ID@ AND C_BPartner_Location.IsShipTo=''Y'' AND C_BPartner_Location.IsActive=''Y''',TO_TIMESTAMP('2008-05-07 11:39:57','YYYY-MM-DD HH24:MI:SS'),100,'U','Y','C_BPartner_Loc Ship - Drop Ship BPartner','S',TO_TIMESTAMP('2008-05-07 11:39:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- INSERTING into AD_Column +Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION,HELP,VERSION,ENTITYTYPE, +COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH,DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY, +ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED,CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN, +AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE,COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS) +values (55315,0,0,'Y',TO_TIMESTAMP('07/MAY/08','DD/MON/RR'),TO_TIMESTAMP('07/MAY/08','DD/MON/RR'),100,100,'Drop Shipment Location', +'Business Partner Location for shipping to',null,1,'D','DropShip_Location_ID',259,18,159,52022,22,null,'N','N','N','Y', +null,'N',0,'N','N',null,null,null,null,'N',53459,null,'N','N',null,null,null); + +-- 7/05/2008 11:41:42 +-- Drop shipment +ALTER TABLE C_Order ADD DropShip_Location_ID NUMERIC(10) +; + +-- INSERTING +Insert into AD_Column (AD_COLUMN_ID,AD_CLIENT_ID,AD_ORG_ID,ISACTIVE,CREATED,UPDATED,CREATEDBY,UPDATEDBY,NAME,DESCRIPTION, +HELP,VERSION,ENTITYTYPE,COLUMNNAME,AD_TABLE_ID,AD_REFERENCE_ID,AD_REFERENCE_VALUE_ID,AD_VAL_RULE_ID,FIELDLENGTH, +DEFAULTVALUE,ISKEY,ISPARENT,ISMANDATORY,ISUPDATEABLE,READONLYLOGIC,ISIDENTIFIER,SEQNO,ISTRANSLATED,ISENCRYPTED, +CALLOUT,VFORMAT,VALUEMIN,VALUEMAX,ISSELECTIONCOLUMN,AD_ELEMENT_ID,AD_PROCESS_ID,ISSYNCDATABASE,ISALWAYSUPDATEABLE, +COLUMNSQL,MANDATORYLOGIC,INFOFACTORYCLASS) + values (55316,0,0,'Y',TO_TIMESTAMP('07/MAY/08','DD/MON/RR'),TO_TIMESTAMP('07/MAY/08','DD/MON/RR'),100,100, +'Drop Shipment Contact','Business Partner Contact for drop shipment',null,1,'D','DropShip_User_ID', +259,18,110,168,22,null,'N','N','N','Y',null,'N',0,'N','N',null,null,null,null,'N',53460,null,'N','N',null,null,null); + + +-- 7/05/2008 11:42:43 +-- Drop shipment +ALTER TABLE C_Order ADD DropShip_User_ID NUMERIC(10) +; + +-- 7/05/2008 11:46:47 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55317,2466,0,20,319,'IsDropShip',TO_TIMESTAMP('2008-05-07 11:46:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Drop Shipments are sent from the Vendor directly to the Customer','D',1,'Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment',0,TO_TIMESTAMP('2008-05-07 11:46:46','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 7/05/2008 11:47:15 +-- Drop shipment +ALTER TABLE M_InOut ADD IsDropShip CHAR(1) DEFAULT 'N' CHECK (IsDropShip IN ('Y','N')) +; + +-- 7/05/2008 11:48:17 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55318,53458,0,18,138,319,'DropShip_BPartner_ID',TO_TIMESTAMP('2008-05-07 11:48:16','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to','D',10,'If empty the business partner will be shipped to.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment Partner',0,TO_TIMESTAMP('2008-05-07 11:48:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 7/05/2008 11:48:21 +-- Drop shipment +ALTER TABLE M_InOut ADD DropShip_BPartner_ID NUMERIC(10) +; + + +-- 7/05/2008 11:49:16 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55319,53459,0,18,159,319,120,'DropShip_Location_ID',TO_TIMESTAMP('2008-05-07 11:49:15','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to','D',10,'Y','N','N','N','N','N','N','N','N','N','Y','Drop Shipment Location',0,TO_TIMESTAMP('2008-05-07 11:49:15','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 7/05/2008 11:49:18 +-- Drop shipment +ALTER TABLE M_InOut ADD DropShip_Location_ID NUMERIC(10) +; + + +-- 7/05/2008 11:49:58 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName, +Created,CreatedBy,Description,EntityType,FieldLength, +IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated, +IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55320,53460,0,18,110,319,168,'DropShip_User_ID', +TO_TIMESTAMP('2008-05-07 11:49:57','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment','D',10, +'Y','N','N','N','N','N','N','N','N','N', +'Y','Drop Shipment Contact',0,TO_TIMESTAMP('2008-05-07 11:49:57','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 7/05/2008 11:50:00 +-- Drop shipment +ALTER TABLE M_InOut ADD DropShip_User_ID NUMERIC(10) +; + +-- 7/05/2008 11:58:45 +-- Drop shipment +UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2008-05-07 11:58:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11580 +; + +-- 7/05/2008 12:03:04 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55314,55410,0,186,TO_TIMESTAMP('2008-05-07 12:03:03','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',192,0,TO_TIMESTAMP('2008-05-07 12:03:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:03:04 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55410 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:04:09 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55315,130,55411,0,186,TO_TIMESTAMP('2008-05-07 12:04:08','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Location',194,0,TO_TIMESTAMP('2008-05-07 12:04:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:04:09 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55411 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:04:17 +-- Drop shipment +UPDATE AD_Field SET AD_FieldGroup_ID=130,Updated=TO_TIMESTAMP('2008-05-07 12:04:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55410 +; + +-- 7/05/2008 12:05:27 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55316,130,55412,0,186,TO_TIMESTAMP('2008-05-07 12:05:26','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',196,0,TO_TIMESTAMP('2008-05-07 12:05:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:05:27 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55412 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:08:49 +-- Drop shipment +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-05-07 12:08:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55411 +; + +-- 7/05/2008 12:15:15 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55314,124,55413,0,294,TO_TIMESTAMP('2008-05-07 12:15:13','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',402,0,TO_TIMESTAMP('2008-05-07 12:15:13','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:15:15 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55413 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:16:35 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55315,124,55414,0,294,TO_TIMESTAMP('2008-05-07 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',404,0,TO_TIMESTAMP('2008-05-07 12:16:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:16:35 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55414 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:17:34 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55316,124,55415,0,294,TO_TIMESTAMP('2008-05-07 12:17:33','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',406,0,TO_TIMESTAMP('2008-05-07 12:17:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 7/05/2008 12:17:34 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55415 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 7/05/2008 12:17:50 +-- Drop shipment +UPDATE AD_Field SET IsReadOnly='N',Updated=TO_TIMESTAMP('2008-05-07 12:17:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10123 +; + + +-- 8/05/2008 10:32:31 +-- Drop shipment +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53461,0,'DropShip_Warehouse_ID',TO_TIMESTAMP('2008-05-08 10:32:26','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.','D','The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','Drop Ship Warehouse','Drop Ship Warehouse',TO_TIMESTAMP('2008-05-08 10:32:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 8/05/2008 10:32:31 +-- Drop shipment +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53461 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 8/05/2008 10:33:53 +-- Drop shipment +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,55321,53461,0,18,197,228,'DropShip_Warehouse_ID',TO_TIMESTAMP('2008-05-08 10:33:51','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.','D',22,'The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','N','N','N','N','N','N','N','N','N','Y','Drop Ship Warehouse',0,TO_TIMESTAMP('2008-05-08 10:33:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 8/05/2008 10:33:53 +-- Drop shipment +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55321 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 8/05/2008 10:33:56 +-- Drop shipment +ALTER TABLE AD_OrgInfo ADD DropShip_Warehouse_ID NUMERIC(10) +; + +-- 8/05/2008 10:35:33 +-- Drop shipment +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-05-08 10:35:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9245 +; + +-- 8/05/2008 10:36:37 +-- Drop shipment +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55321,55416,0,170,TO_TIMESTAMP('2008-05-08 10:36:36','YYYY-MM-DD HH24:MI:SS'),100,'The (logical) warehouse to use for recording drop ship receipts and shipments.',22,'D','The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.','Y','Y','Y','N','N','N','N','N','Drop Ship Warehouse',65,0,TO_TIMESTAMP('2008-05-08 10:36:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 8/05/2008 10:36:37 +-- Drop shipment +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55416 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 8/05/2008 10:39:12 +-- Drop shipment +UPDATE AD_Column SET AD_Val_Rule_ID=189,Updated=TO_TIMESTAMP('2008-05-08 10:39:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55321 +; + +-- 8/05/2008 10:39:12 +-- Drop shipment +UPDATE AD_Field SET Name='Drop Ship Warehouse', Description='The (logical) warehouse to use for recording drop ship receipts and shipments.', Help='The drop ship warehouse will be used for recording material transactions relating to drop shipments to and from this organization.' WHERE AD_Column_ID=55321 AND IsCentrallyMaintained='Y' +; + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55317,124,55419,0,257,TO_TIMESTAMP('2008-05-16 09:33:44','YYYY-MM-DD HH24:MI:SS'),100,'Drop Shipments are sent from the Vendor directly to the Customer',0,'D','Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','Y','Y','N','N','N','N','N','Drop Shipment',282,0,TO_TIMESTAMP('2008-05-16 09:33:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55419 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55319,55425,0,296,TO_TIMESTAMP('2008-05-16 09:43:45','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',246,0,TO_TIMESTAMP('2008-05-16 09:43:45','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55425 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55317,55426,0,296,TO_TIMESTAMP('2008-05-16 09:44:49','YYYY-MM-DD HH24:MI:SS'),100,'Drop Shipments are sent from the Vendor directly to the Customer',1,'D','Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from the Vendor''s inventory. The Shipment of the Vendor to the Customer must be confirmed.','Y','Y','Y','N','N','N','N','N','Drop Shipment',242,0,TO_TIMESTAMP('2008-05-16 09:44:49','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55426 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55318,55427,0,296,TO_TIMESTAMP('2008-05-16 09:45:31','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',14,'@IsDropShip@=Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',244,0,TO_TIMESTAMP('2008-05-16 09:45:31','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55427 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55320,55428,0,296,TO_TIMESTAMP('2008-05-16 09:46:13','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',248,0,TO_TIMESTAMP('2008-05-16 09:46:13','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55428 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55318,124,55429,0,257,TO_TIMESTAMP('2008-05-16 09:48:43','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner to ship to',0,'@IsDropShip@=''Y''','D','If empty the business partner will be shipped to.','Y','Y','Y','N','N','N','N','N','Drop Shipment Partner',284,0,TO_TIMESTAMP('2008-05-16 09:48:43','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55429 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55319,124,55430,0,257,TO_TIMESTAMP('2008-05-16 09:49:38','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Location for shipping to',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','Y','Drop Shipment Location',286,0,TO_TIMESTAMP('2008-05-16 09:49:38','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55430 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55320,124,55431,0,257,TO_TIMESTAMP('2008-05-16 09:50:20','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact for drop shipment',14,'@IsDropShip@=''Y''','D','Y','Y','Y','N','N','N','N','N','Drop Shipment Contact',288,0,TO_TIMESTAMP('2008-05-16 09:50:20','YYYY-MM-DD HH24:MI:SS'),100) +; + + +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55431 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + + DROP VIEW m_inout_candidate_v; + +CREATE OR REPLACE VIEW m_inout_candidate_v AS + SELECT o.ad_client_id, o.ad_org_id, o.c_bpartner_id, o.c_order_id, o.documentno, o.dateordered, o.c_doctype_id, o.poreference, o.description, o.salesrep_id, l.m_warehouse_id, sum((l.qtyordered - l.qtydelivered) * l.priceactual) AS totallines + FROM c_order o + JOIN c_orderline l ON o.c_order_id = l.c_order_id + WHERE o.docstatus = 'CO'::bpchar AND o.isdelivered = 'N'::bpchar AND (o.c_doctype_id IN ( SELECT c_doctype.c_doctype_id + FROM c_doctype + WHERE c_doctype.docbasetype = 'SOO'::bpchar AND (c_doctype.docsubtypeso <> ALL (ARRAY['ON'::bpchar, 'OB'::bpchar, 'WR'::bpchar])))) AND o.deliveryrule <> 'M'::bpchar AND (l.m_product_id IS NULL OR (EXISTS ( SELECT 1 + FROM m_product p + WHERE l.m_product_id = p.m_product_id AND p.isexcludeautodelivery = 'N'::bpchar))) AND l.qtyordered <> l.qtydelivered AND (l.m_product_id IS NOT NULL OR l.c_charge_id IS NOT NULL) AND NOT (EXISTS ( SELECT 1 + FROM m_inoutline iol + JOIN m_inout io ON iol.m_inout_id = io.m_inout_id + WHERE iol.c_orderline_id = l.c_orderline_id AND (io.docstatus = ANY (ARRAY['IP'::bpchar, 'WC'::bpchar])))) + GROUP BY o.ad_client_id, o.ad_org_id, o.c_bpartner_id, o.c_order_id, o.documentno, o.dateordered, o.c_doctype_id, o.poreference, o.description, o.salesrep_id, l.m_warehouse_id; + + DROP VIEW c_order_header_v; + +CREATE OR REPLACE VIEW c_order_header_v AS + SELECT o.ad_client_id, o.ad_org_id, o.isactive, o.created, o.createdby, o.updated, o.updatedby, 'en_US'::character varying AS ad_language, o.c_order_id, o.issotrx, o.documentno, o.docstatus, o.c_doctype_id, o.c_bpartner_id, bp.value AS bpvalue, bp.taxid AS bptaxid, bp.naics, bp.duns, oi.c_location_id AS org_location_id, oi.taxid, o.m_warehouse_id, wh.c_location_id AS warehouse_location_id, dt.printname AS documenttype, dt.documentnote AS documenttypenote, o.salesrep_id, COALESCE(ubp.name, u.name) AS salesrep_name, o.dateordered, o.datepromised, bpg.greeting AS bpgreeting, bp.name, bp.name2, bpcg.greeting AS bpcontactgreeting, bpc.title, bpc.phone, NULLIF(bpc.name::text, bp.name::text) AS contactname, bpl.c_location_id, l.postal::text || l.postal_add::text AS postal, bp.referenceno, o.bill_bpartner_id, o.bill_location_id, o.bill_user_id, bbp.value AS bill_bpvalue, bbp.taxid AS bill_bptaxid, bbp.name AS bill_name, bbp.name2 AS bill_name2, bbpc.title AS bill_title, bbpc.phone AS bill_phone, NULLIF(bbpc.name::text, bbp.name::text) AS bill_contactname, bbpl.c_location_id AS bill_c_location_id, o.isdropship, COALESCE(o.dropship_bpartner_id, o.c_bpartner_id) AS ship_bpartner_id, COALESCE(o.dropship_location_id, o.c_bpartner_location_id) AS ship_location_id, COALESCE(o.dropship_user_id, o.ad_user_id) AS ship_user_id, COALESCE(dsbp.value, bp.value) AS ship_bpvalue, COALESCE(dsbp.taxid, bp.taxid) AS ship_bptaxid, COALESCE(dsbp.name, bp.name) AS ship_name, COALESCE(dsbp.name2, bp.name2) AS ship_name2, COALESCE(dsbpc.title, bpc.title) AS ship_title, COALESCE(dsbpc.phone, bpc.phone) AS ship_phone, NULLIF (COALESCE(dsbpc.name, bpc.name),COALESCE(dsbp.name, bp.name)) AS ship_contactname, COALESCE(dsbpl.c_location_id, bpl.c_location_id) AS ship_c_location_id, o.description, o.poreference, o.c_currency_id, pt.name AS paymentterm, pt.documentnote AS paymenttermnote, o.c_charge_id, o.chargeamt, o.totallines, o.grandtotal, o.grandtotal AS amtinwords, o.m_pricelist_id, o.istaxincluded, o.volume, o.weight, o.c_campaign_id, o.c_project_id, o.c_activity_id, o.m_shipper_id, o.deliveryrule, o.deliveryviarule, o.priorityrule, o.invoicerule + FROM c_order o + JOIN c_doctype dt ON o.c_doctype_id = dt.c_doctype_id + JOIN m_warehouse wh ON o.m_warehouse_id = wh.m_warehouse_id + JOIN c_paymentterm pt ON o.c_paymentterm_id = pt.c_paymentterm_id + JOIN c_bpartner bp ON o.c_bpartner_id = bp.c_bpartner_id + LEFT JOIN c_greeting bpg ON bp.c_greeting_id = bpg.c_greeting_id + JOIN c_bpartner_location bpl ON o.c_bpartner_location_id = bpl.c_bpartner_location_id + JOIN c_location l ON bpl.c_location_id = l.c_location_id + LEFT JOIN ad_user bpc ON o.ad_user_id = bpc.ad_user_id + LEFT JOIN c_greeting bpcg ON bpc.c_greeting_id = bpcg.c_greeting_id + JOIN ad_orginfo oi ON o.ad_org_id = oi.ad_org_id + LEFT JOIN ad_user u ON o.salesrep_id = u.ad_user_id + LEFT JOIN c_bpartner ubp ON u.c_bpartner_id = ubp.c_bpartner_id + JOIN c_bpartner bbp ON o.bill_bpartner_id = bbp.c_bpartner_id + JOIN c_bpartner_location bbpl ON o.bill_location_id = bbpl.c_bpartner_location_id + LEFT JOIN ad_user bbpc ON o.bill_user_id = bbpc.ad_user_id + LEFT JOIN c_bpartner dsbp ON (o.dropship_bpartner_id=dsbp.c_bpartner_id) + LEFT JOIN c_bpartner_location dsbpl ON (o.dropship_location_id=dsbpl.c_bpartner_location_id) + LEFT JOIN ad_user dsbpc ON (o.dropship_user_id=dsbpc.ad_user_id); + + DROP VIEW c_order_header_vt; + +CREATE OR REPLACE VIEW c_order_header_vt AS + SELECT o.ad_client_id, o.ad_org_id, o.isactive, o.created, o.createdby, o.updated, o.updatedby, dt.ad_language, o.c_order_id, o.issotrx, o.documentno, o.docstatus, o.c_doctype_id, o.c_bpartner_id, bp.value AS bpvalue, bp.taxid AS bptaxid, bp.naics, bp.duns, oi.c_location_id AS org_location_id, oi.taxid, o.m_warehouse_id, wh.c_location_id AS warehouse_location_id, dt.printname AS documenttype, dt.documentnote AS documenttypenote, o.salesrep_id, COALESCE(ubp.name, u.name) AS salesrep_name, o.dateordered, o.datepromised, bpg.greeting AS bpgreeting, bp.name, bp.name2, bpcg.greeting AS bpcontactgreeting, bpc.title, bpc.phone, NULLIF(bpc.name::text, bp.name::text) AS contactname, bpl.c_location_id, l.postal::text || l.postal_add::text AS postal, bp.referenceno, o.bill_bpartner_id, o.bill_location_id, o.bill_user_id, bbp.value AS bill_bpvalue, bbp.taxid AS bill_bptaxid, bbp.name AS bill_name, bbp.name2 AS bill_name2, bbpc.title AS bill_title, bbpc.phone AS bill_phone, NULLIF(bbpc.name::text, bbp.name::text) AS bill_contactname, bbpl.c_location_id AS bill_c_location_id, o.isdropship, COALESCE(o.dropship_bpartner_id, o.c_bpartner_id) AS ship_bpartner_id, COALESCE(o.dropship_location_id, o.c_bpartner_location_id) AS ship_location_id, COALESCE(o.dropship_user_id, o.ad_user_id) AS ship_user_id, COALESCE(dsbp.value, bp.value) AS ship_bpvalue, COALESCE(dsbp.taxid, bp.taxid) AS ship_bptaxid, COALESCE(dsbp.name, bp.name) AS ship_name, COALESCE(dsbp.name2, bp.name2) AS ship_name2, COALESCE(dsbpc.title, bpc.title) AS ship_title, COALESCE(dsbpc.phone, bpc.phone) AS ship_phone, NULLIF (COALESCE(dsbpc.name, bpc.name),COALESCE(dsbp.name, bp.name)) AS ship_contactname, COALESCE(dsbpl.c_location_id, bpl.c_location_id) AS ship_c_location_id, o.description, o.poreference, o.c_currency_id, pt.name AS paymentterm, pt.documentnote AS paymenttermnote, o.c_charge_id, o.chargeamt, o.totallines, o.grandtotal, o.grandtotal AS amtinwords, o.m_pricelist_id, o.istaxincluded, o.volume, o.weight, o.c_campaign_id, o.c_project_id, o.c_activity_id, o.m_shipper_id, o.deliveryrule, o.deliveryviarule, o.priorityrule, o.invoicerule + FROM c_order o + JOIN c_doctype_trl dt ON o.c_doctype_id = dt.c_doctype_id + JOIN m_warehouse wh ON o.m_warehouse_id = wh.m_warehouse_id + JOIN c_paymentterm_trl pt ON o.c_paymentterm_id = pt.c_paymentterm_id AND dt.ad_language::text = pt.ad_language::text + JOIN c_bpartner bp ON o.c_bpartner_id = bp.c_bpartner_id + LEFT JOIN c_greeting_trl bpg ON bp.c_greeting_id = bpg.c_greeting_id AND dt.ad_language::text = bpg.ad_language::text + JOIN c_bpartner_location bpl ON o.c_bpartner_location_id = bpl.c_bpartner_location_id + JOIN c_location l ON bpl.c_location_id = l.c_location_id + LEFT JOIN ad_user bpc ON o.ad_user_id = bpc.ad_user_id + LEFT JOIN c_greeting_trl bpcg ON bpc.c_greeting_id = bpcg.c_greeting_id AND dt.ad_language::text = bpcg.ad_language::text + JOIN ad_orginfo oi ON o.ad_org_id = oi.ad_org_id + LEFT JOIN ad_user u ON o.salesrep_id = u.ad_user_id + LEFT JOIN c_bpartner ubp ON u.c_bpartner_id = ubp.c_bpartner_id + JOIN c_bpartner bbp ON o.bill_bpartner_id = bbp.c_bpartner_id + JOIN c_bpartner_location bbpl ON o.bill_location_id = bbpl.c_bpartner_location_id + LEFT JOIN ad_user bbpc ON o.bill_user_id = bbpc.ad_user_id + LEFT JOIN c_bpartner dsbp ON (o.dropship_bpartner_id=dsbp.c_bpartner_id) + LEFT JOIN c_bpartner_location dsbpl ON (o.dropship_location_id=dsbpl.c_bpartner_location_id) + LEFT JOIN ad_user dsbpc ON (o.dropship_user_id=dsbpc.ad_user_id); + + DROP VIEW m_inout_header_v; + +CREATE OR REPLACE VIEW m_inout_header_v AS + SELECT io.ad_client_id, io.ad_org_id, io.isactive, io.created, io.createdby, io.updated, io.updatedby, 'en_US'::character varying AS ad_language, io.m_inout_id, io.issotrx, io.documentno, io.docstatus, io.c_doctype_id, io.c_bpartner_id, bp.value AS bpvalue, bp.taxid AS bptaxid, bp.naics, bp.duns, oi.c_location_id AS org_location_id, oi.taxid, io.m_warehouse_id, wh.c_location_id AS warehouse_location_id, dt.printname AS documenttype, dt.documentnote AS documenttypenote, io.c_order_id, io.movementdate, io.movementtype, bpg.greeting AS bpgreeting, bp.name, bp.name2, bpcg.greeting AS bpcontactgreeting, bpc.title, bpc.phone, NULLIF(bpc.name::text, bp.name::text) AS contactname, bpl.c_location_id, l.postal::text || l.postal_add::text AS postal, bp.referenceno, io.description, io.poreference, io.dateordered, io.volume, io.weight, io.m_shipper_id, io.deliveryrule, io.deliveryviarule, io.priorityrule, io.isdropship, COALESCE(io.dropship_bpartner_id, io.c_bpartner_id) AS ship_bpartner_id, COALESCE(io.dropship_location_id, io.c_bpartner_location_id) AS ship_location_id, COALESCE(io.dropship_user_id, io.ad_user_id) AS ship_user_id, COALESCE(dsbp.value, bp.value) AS ship_bpvalue, COALESCE(dsbp.taxid, bp.taxid) AS ship_bptaxid, COALESCE(dsbp.name, bp.name) AS ship_name, COALESCE(dsbp.name2, bp.name2) AS ship_name2, COALESCE(dsbpc.title, bpc.title) AS ship_title, COALESCE(dsbpc.phone, bpc.phone) AS ship_phone, NULLIF (COALESCE(dsbpc.name, bpc.name),COALESCE(dsbp.name, bp.name)) AS ship_contactname, COALESCE(dsbpl.c_location_id, bpl.c_location_id) AS ship_c_location_id + FROM m_inout io + JOIN c_doctype dt ON io.c_doctype_id = dt.c_doctype_id + JOIN c_bpartner bp ON io.c_bpartner_id = bp.c_bpartner_id + LEFT JOIN c_greeting bpg ON bp.c_greeting_id = bpg.c_greeting_id + JOIN c_bpartner_location bpl ON io.c_bpartner_location_id = bpl.c_bpartner_location_id + JOIN c_location l ON bpl.c_location_id = l.c_location_id + LEFT JOIN ad_user bpc ON io.ad_user_id = bpc.ad_user_id + LEFT JOIN c_greeting bpcg ON bpc.c_greeting_id = bpcg.c_greeting_id + JOIN ad_orginfo oi ON io.ad_org_id = oi.ad_org_id + JOIN m_warehouse wh ON io.m_warehouse_id = wh.m_warehouse_id + LEFT JOIN c_bpartner dsbp ON (io.dropship_bpartner_id=dsbp.c_bpartner_id) + LEFT JOIN c_bpartner_location dsbpl ON (io.dropship_location_id=dsbpl.c_bpartner_location_id) + LEFT JOIN ad_user dsbpc ON (io.dropship_user_id=dsbpc.ad_user_id); + + DROP VIEW m_inout_header_vt; + +CREATE OR REPLACE VIEW m_inout_header_vt AS + SELECT io.ad_client_id, io.ad_org_id, io.isactive, io.created, io.createdby, io.updated, io.updatedby, dt.ad_language, io.m_inout_id, io.issotrx, io.documentno, io.docstatus, io.c_doctype_id, io.c_bpartner_id, bp.value AS bpvalue, bp.taxid AS bptaxid, bp.naics, bp.duns, oi.c_location_id AS org_location_id, oi.taxid, io.m_warehouse_id, wh.c_location_id AS warehouse_location_id, dt.printname AS documenttype, dt.documentnote AS documenttypenote, io.c_order_id, bpc.phone, io.movementdate, io.movementtype, bpg.greeting AS bpgreeting, bp.name, bp.name2, bpcg.greeting AS bpcontactgreeting, bpc.title, NULLIF(bpc.name::text, bp.name::text) AS contactname, bpl.c_location_id, l.postal::text || l.postal_add::text AS postal, bp.referenceno, io.description, io.poreference, io.dateordered, io.volume, io.weight, io.m_shipper_id, io.deliveryrule, io.deliveryviarule, io.priorityrule, io.isdropship, COALESCE(io.dropship_bpartner_id, io.c_bpartner_id) AS ship_bpartner_id, COALESCE(io.dropship_location_id, io.c_bpartner_location_id) AS ship_location_id, COALESCE(io.dropship_user_id, io.ad_user_id) AS ship_user_id, COALESCE(dsbp.value, bp.value) AS ship_bpvalue, COALESCE(dsbp.taxid, bp.taxid) AS ship_bptaxid, COALESCE(dsbp.name, bp.name) AS ship_name, COALESCE(dsbp.name2, bp.name2) AS ship_name2, COALESCE(dsbpc.title, bpc.title) AS ship_title, COALESCE(dsbpc.phone, bpc.phone) AS ship_phone, NULLIF (COALESCE(dsbpc.name, bpc.name),COALESCE(dsbp.name, bp.name)) AS ship_contactname, COALESCE(dsbpl.c_location_id, bpl.c_location_id) AS ship_c_location_id + FROM m_inout io + JOIN c_doctype_trl dt ON io.c_doctype_id = dt.c_doctype_id + JOIN c_bpartner bp ON io.c_bpartner_id = bp.c_bpartner_id + LEFT JOIN c_greeting_trl bpg ON bp.c_greeting_id = bpg.c_greeting_id AND dt.ad_language::text = bpg.ad_language::text + JOIN c_bpartner_location bpl ON io.c_bpartner_location_id = bpl.c_bpartner_location_id + JOIN c_location l ON bpl.c_location_id = l.c_location_id + LEFT JOIN ad_user bpc ON io.ad_user_id = bpc.ad_user_id + LEFT JOIN c_greeting_trl bpcg ON bpc.c_greeting_id = bpcg.c_greeting_id AND dt.ad_language::text = bpcg.ad_language::text + JOIN ad_orginfo oi ON io.ad_org_id = oi.ad_org_id + JOIN m_warehouse wh ON io.m_warehouse_id = wh.m_warehouse_id + LEFT JOIN c_bpartner dsbp ON (io.dropship_bpartner_id=dsbp.c_bpartner_id) + LEFT JOIN c_bpartner_location dsbpl ON (io.dropship_location_id=dsbpl.c_bpartner_location_id) + LEFT JOIN ad_user dsbpc ON (io.dropship_user_id=dsbpc.ad_user_id); + + + diff --git a/migration/352a-trunk/postgresql/338_BF2374272.sql b/migration/352a-trunk/postgresql/338_BF2374272.sql new file mode 100644 index 0000000000..0f58cfea60 --- /dev/null +++ b/migration/352a-trunk/postgresql/338_BF2374272.sql @@ -0,0 +1,4 @@ +-- Dez 02, 2008 12:27:12 PM ECT +-- fix Region Alaska +update c_region set Description='Alaska',Updated=TO_DATE('2008-12-02 12:27:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 where c_region_id=118 +; diff --git a/migration/352a-trunk/postgresql/339_fixPaymentWindow.sql b/migration/352a-trunk/postgresql/339_fixPaymentWindow.sql new file mode 100644 index 0000000000..0eeb13cfa2 --- /dev/null +++ b/migration/352a-trunk/postgresql/339_fixPaymentWindow.sql @@ -0,0 +1,3 @@ +-- Set Proper Where clause +UPDATE AD_Tab SET WhereClause='C_BPartner_ID IS NOT null',Updated=now(),UpdatedBy=100 WHERE AD_Tab_ID=330 +; \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/340_FR2391012_Invoke_AD_Form_from_button.sql b/migration/352a-trunk/postgresql/340_FR2391012_Invoke_AD_Form_from_button.sql new file mode 100644 index 0000000000..cb82c8f235 --- /dev/null +++ b/migration/352a-trunk/postgresql/340_FR2391012_Invoke_AD_Form_from_button.sql @@ -0,0 +1,25 @@ +-- 4/12/2008 17:08:52 +-- Call form from button +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56515,1298,0,19,284,'AD_Form_ID',TO_TIMESTAMP('2008-12-04 17:08:50','YYYY-MM-DD HH24:MI:SS'),100,'Special Form','D',10,'The Special Form field identifies a unique Special Form in the system.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Special Form',0,TO_TIMESTAMP('2008-12-04 17:08:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 4/12/2008 17:08:52 +-- Call form from button +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56515 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 4/12/2008 17:08:57 +-- Call form from button +ALTER TABLE AD_Process ADD COLUMN AD_Form_ID NUMERIC(10) +; + +-- 4/12/2008 17:11:17 +-- Call form from button +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56515,56497,0,245,TO_TIMESTAMP('2008-12-04 17:11:03','YYYY-MM-DD HH24:MI:SS'),100,'Special Form',14,'D','The Special Form field identifies a unique Special Form in the system.','Y','Y','Y','N','N','N','N','N','Special Form',155,0,TO_TIMESTAMP('2008-12-04 17:11:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 4/12/2008 17:11:17 +-- Call form from button +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56497 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + diff --git a/migration/352a-trunk/postgresql/341_FR2350428_LocatorInReplenishTab.sql b/migration/352a-trunk/postgresql/341_FR2350428_LocatorInReplenishTab.sql new file mode 100644 index 0000000000..098b8f6d22 --- /dev/null +++ b/migration/352a-trunk/postgresql/341_FR2350428_LocatorInReplenishTab.sql @@ -0,0 +1,55 @@ +-- 2008-dec-05 09:18:11 CET +-- [ 2350428 ] Add default locator to replenishment line +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56518,448,0,19,249,127,'M_Locator_ID',TO_TIMESTAMP('2008-12-05 09:18:10','YYYY-MM-DD HH24:MI:SS'),100,'Warehouse Locator','D',1,'The Locator indicates where in a Warehouse a product is located.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Locator',0,TO_TIMESTAMP('2008-12-05 09:18:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 2008-dec-05 09:18:11 CET +-- [ 2350428 ] Add default locator to replenishment line +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56518 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2008-dec-05 09:18:34 CET +-- [ 2350428 ] Add default locator to replenishment line +ALTER TABLE M_Replenish ADD COLUMN M_Locator_ID NUMERIC(10) +; + +-- 2008-dec-05 09:19:11 CET +-- [ 2350428 ] Add default locator to replenishment line +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56518,56500,0,182,TO_TIMESTAMP('2008-12-05 09:19:10','YYYY-MM-DD HH24:MI:SS'),100,'Warehouse Locator',1,'D','The Locator indicates where in a Warehouse a product is located.','Y','Y','Y','N','N','N','N','N','Locator',TO_TIMESTAMP('2008-12-05 09:19:10','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2008-dec-05 09:19:11 CET +-- [ 2350428 ] Add default locator to replenishment line +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56500 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56500 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=1051 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=1052 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=1053 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=1054 +; + +-- 2008-dec-05 09:19:21 CET +-- [ 2350428 ] Add default locator to replenishment line +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=12133 +; + diff --git a/migration/352a-trunk/postgresql/342_FR2337778.sql b/migration/352a-trunk/postgresql/342_FR2337778.sql new file mode 100644 index 0000000000..2555aaf204 --- /dev/null +++ b/migration/352a-trunk/postgresql/342_FR2337778.sql @@ -0,0 +1 @@ +-- placeholder for experimental \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/343_nextBusinessDay.sql b/migration/352a-trunk/postgresql/343_nextBusinessDay.sql new file mode 100644 index 0000000000..1f54056599 --- /dev/null +++ b/migration/352a-trunk/postgresql/343_nextBusinessDay.sql @@ -0,0 +1,61 @@ +CREATE OR REPLACE FUNCTION nextbusinessday(p_date timestamp with time zone, p_ad_client_id numeric) + RETURNS timestamp with time zone AS +$BODY$ +/** +*This file is part of Adempiere ERP Bazaar +*http://www.adempiere.org +* +*Copyright (C) 2007 Teo Sarca +* +*This program is free software; you can redistribute it and/or +*modify it under the terms of the GNU General Public License +*as published by the Free Software Foundation; either version 2 +*of the License, or (at your option) any later version. +* +*This program is distributed in the hope that it will be useful, +*but WITHOUT ANY WARRANTY; without even the implied warranty of +*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +*GNU General Public License for more details. +* +*You should have received a copy of the GNU General Public License +*along with this program; if not, write to the Free Software +*Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.of +* +* Converted to PostgreSQL by Tony Snook, +* tspc@dodo.com.au +*/ +DECLARE + v_nextDate date := trunc(p_Date); + v_offset numeric := 0; + v_Saturday numeric := TO_CHAR(TO_DATE('2000-01-01', 'YYYY-MM-DD'), 'D'); + v_Sunday numeric := (case when v_Saturday = 7 then 1 else v_Saturday + 1 end); + v_isHoliday boolean := true; + nbd C_NonBusinessDay%ROWTYPE; +begin + v_isHoliday := true; + loop + SELECT CASE TO_CHAR(v_nextDate,'D')::numeric + WHEN v_Saturday THEN 2 + WHEN v_Sunday THEN 1 + ELSE 0 + END INTO v_offset; + v_nextDate := v_nextDate + v_offset::integer; + v_isHoliday := false; + FOR nbd IN SELECT * + FROM C_NonBusinessDay + WHERE AD_Client_ID=p_AD_Client_ID and IsActive ='Y' and Date1 >= v_nextDate + ORDER BY Date1 + LOOP + exit when v_nextDate <> trunc(nbd.Date1); + v_nextDate := v_nextDate + 1; + v_isHoliday := true; + end loop; + exit when v_isHoliday=false; + end loop; + -- + return v_nextDate::timestamp with time zone; +end; +$BODY$ + LANGUAGE 'plpgsql' VOLATILE; + +ALTER FUNCTION nextbusinessday(timestamp with time zone, numeric) OWNER TO adempiere; diff --git a/migration/352a-trunk/postgresql/344_BF1895317.sql b/migration/352a-trunk/postgresql/344_BF1895317.sql new file mode 100644 index 0000000000..495a04621f --- /dev/null +++ b/migration/352a-trunk/postgresql/344_BF1895317.sql @@ -0,0 +1,15 @@ +-- 08.12.2008 11:38:06 EET +-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53047,0,TO_TIMESTAMP('2008-12-08 11:37:49','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Invoice is fully matched.','E',TO_TIMESTAMP('2008-12-08 11:37:49','YYYY-MM-DD HH24:MI:SS'),0,'InvoiceFullyMatched') +; + +-- 08.12.2008 11:38:07 EET +-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53047 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- 08.12.2008 11:39:11 EET +-- BF [ 1895317 ] InvoiceCreateInOut: you can create many receipts +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Factura este integral receptionata.',Updated=TO_TIMESTAMP('2008-12-08 11:39:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53047 AND AD_Language='ro_RO' +; + diff --git a/migration/352a-trunk/postgresql/345_FR2406777.sql b/migration/352a-trunk/postgresql/345_FR2406777.sql new file mode 100644 index 0000000000..29f2a8852b --- /dev/null +++ b/migration/352a-trunk/postgresql/345_FR2406777.sql @@ -0,0 +1,15 @@ +-- 08.12.2008 18:04:07 EET +-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53048,0,TO_TIMESTAMP('2008-12-08 18:04:06','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','No Current Vendor Selected','Indicates that the Product has no Current Vendor selected','I',TO_TIMESTAMP('2008-12-08 18:04:06','YYYY-MM-DD HH24:MI:SS'),0,'MRP-130') +; + +-- 08.12.2008 18:04:07 EET +-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53048 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- 08.12.2008 18:06:55 EET +-- FR [ 2406777 ] Introduce MRP-130 No Current Vendor Selected +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Furnizorul curent nu este specificat',MsgTip='Produsul nu are furnizor curent specificat',Updated=TO_TIMESTAMP('2008-12-08 18:06:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53048 AND AD_Language='ro_RO' +; + diff --git a/migration/352a-trunk/postgresql/346_placeholder.sql b/migration/352a-trunk/postgresql/346_placeholder.sql new file mode 100644 index 0000000000..e69de29bb2 diff --git a/migration/352a-trunk/postgresql/347_recoverDICTIONARY_ID_COMMENTS.sql b/migration/352a-trunk/postgresql/347_recoverDICTIONARY_ID_COMMENTS.sql new file mode 100644 index 0000000000..aa60149d05 --- /dev/null +++ b/migration/352a-trunk/postgresql/347_recoverDICTIONARY_ID_COMMENTS.sql @@ -0,0 +1,4 @@ +-- Dec 8, 2008 9:36:58 PM COT +UPDATE AD_SysConfig SET Value='I forgot to set the DICTIONARY_ID_COMMENTS System Configurator',Updated=TO_TIMESTAMP('2008-12-08 21:36:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50003 +; + diff --git a/migration/352a-trunk/postgresql/348_FR2408411_AD_Workflow_IsBetaFunctionality.sql b/migration/352a-trunk/postgresql/348_FR2408411_AD_Workflow_IsBetaFunctionality.sql new file mode 100644 index 0000000000..9e4427e4e1 --- /dev/null +++ b/migration/352a-trunk/postgresql/348_FR2408411_AD_Workflow_IsBetaFunctionality.sql @@ -0,0 +1,90 @@ +-- Dec 8, 2008 9:45:04 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56519,2554,0,20,117,'IsBetaFunctionality',TO_TIMESTAMP('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,'N','This functionality is considered Beta','D',1,'Beta functionality is not fully tested or completed.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Beta Functionality',0,TO_TIMESTAMP('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Dec 8, 2008 9:45:04 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56519 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Dec 8, 2008 9:46:03 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +ALTER TABLE AD_Workflow ADD COLUMN IsBetaFunctionality CHAR(1) DEFAULT 'N' CHECK (IsBetaFunctionality IN ('Y','N')) NOT NULL +; + +-- Dec 8, 2008 9:47:56 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56519,56501,0,148,TO_TIMESTAMP('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100,'This functionality is considered Beta',1,'D','Beta functionality is not fully tested or completed.','Y','Y','Y','N','N','N','N','N','Beta Functionality',310,0,TO_TIMESTAMP('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 8, 2008 9:47:56 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56501 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56501 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=10084 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=3665 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=9495 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8752 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8745 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=8747 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=8750 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=8744 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=8753 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=10085 +; + +-- Dec 8, 2008 9:48:28 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=10919 +; + +-- Dec 8, 2008 9:48:43 PM COT +-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-12-08 21:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56501 +; + diff --git a/migration/352a-trunk/postgresql/349_MarkBetaFunctionalities.sql b/migration/352a-trunk/postgresql/349_MarkBetaFunctionalities.sql new file mode 100644 index 0000000000..9d0bc9c608 --- /dev/null +++ b/migration/352a-trunk/postgresql/349_MarkBetaFunctionalities.sql @@ -0,0 +1,450 @@ +/* Mark unstable processes/windows/forms as beta functionalities */ + +update ad_process set isbetafunctionality='Y' where ad_process_id=53004 /* PP_Product_BOM CopyFrom */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53006 /* Multi Level BOM and Formula Detail */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53008 /* Mutiple Components Change */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53010 /* Create Product Planning */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53012 /* Calculate Low Level */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53014 /* Create Record MRP */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53016 /* Calculate Material Plan */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53018 /* MRP Details */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53020 /* Calculate Capacity Plan */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53022 /* Calculate Distribution Plan */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53024 /* DRP Details */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53026 /* Process Manufacturing Order */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53028 /* Manufacturing Order */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53030 /* Manufacturing Orders Review */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53032 /* Component Check */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53034 /* Print and Release Order */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53036 /* Inventory in Process */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53038 /* Process Cost Collector */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53040 /* Shop Floor Transaction Details */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53042 /* Process Distribution Order */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53044 /* Distribution Order Print */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53046 /* Generate Movement */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53048 /* Print Test Results */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53050 /* Create Doc Type to Manufacturing */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53052 /* Create Element */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53054 /* Product Costing */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53056 /* Copy Price to Standard Cost */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53058 /* Workflow Cost Roll-Up */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53060 /* Cost Workflow and Process Details */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53062 /* Bill of Material and Formula Cost Roll-UP */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53072 /* C_Invoce Calculate Tax */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53074 /* Test Import Model */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53076 /* Process Payroll */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53078 /* Create Concept for Payroll */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53080 /* HRPayroll Create Periods */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53082 /* Payroll Processing */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53084 /* Payroll Send EMail */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53085 /* Export Format Generator */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53089 /* Test Export Model */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53091 /* Import FA Journal */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53093 /* Build Depreciation Forecast File */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53095 /* Process Entry */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53097 /* Asset Disposal Expense Entry Rpt */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53099 /* Asset Transfer Entry */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53101 /* A_Asset_Split */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53103 /* A_Asset_Disposal */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53105 /* A_Depreciation_Transfer */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53107 /* Asset Split Entry */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53109 /* Depreciation Expense Entry */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53111 /* Build Depreciation Workfile */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53113 /* Asset Depreciation Forecast */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53115 /* RV_Asset_Parent_Report */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53117 /* RV_Depreciation_Table */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53119 /* Spread Report */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53121 /* RV_Asset_Depreciation_Method */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53123 /* Create Depreciation Function */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53125 /* RV_Asset_Convention_Rpt */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53127 /* A_Depreciation_Entry_Cleanup */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53129 /* RV_Depreciation_Calculation_Methods */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53131 /* RV_Asset_Group_Defaults */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53133 /* Inbound Charges for GL */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53135 /* Inbound Charge Entry Report */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53137 /* Inbound Charges for AP */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53139 /* Import Asset */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53144 /* Forecast Report */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53146 /* Forecast Report by Period */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53148 /* Calculate Forecast */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53150 /* Distribution Run Orders */ +; + +update ad_process set isbetafunctionality='Y' where ad_process_id=53151 /* Distribution Order Detail */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53004 /* Manufacturing Resource */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53005 /* Manufacturing Workflows */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53006 /* Bill of Materials and Formula */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53007 /* Product Planning */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53008 /* MRP Notice */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53009 /* Manufacturing Order */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53010 /* Spare parts */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53011 /* Activity Control Report */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53012 /* Distribution Order */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53013 /* Quality Specifications */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53014 /* Cost Collector */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53018 /* Distribution Network */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53020 /* Tax Group */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53021 /* Tax Definition */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53022 /* Tax Rate Parent */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53023 /* Tax Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53024 /* Tax Base */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53025 /* Export Format */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53026 /* Export Processor */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53027 /* Export Processor Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53028 /* Import Processor */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53029 /* Import Processor Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53032 /* Payroll Contract */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53033 /* Payroll Employee */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53034 /* Payroll Department */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53035 /* Payroll Job */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53036 /* Payroll Concept Catalog */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53037 /* Payroll Process */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53038 /* Payroll Definition */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53039 /* Payroll Concept Category */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53040 /* Payroll Table Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53041 /* Payroll Table */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53042 /* Payroll Movement */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53044 /* Asset Revaluation Processing */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53045 /* Asset Revaluation Index */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53046 /* Transfer Asset Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53047 /* Disposed Asset Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53048 /* Asset Split */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53049 /* Asset Disposal */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53050 /* Asset Transfers */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53051 /* Split Asset Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53052 /* Build Depreciation Workfile */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53053 /* Post Depreciation Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53054 /* Build Depreciation Forecast */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53055 /* Inbound Asset Entry */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53056 /* Post Imported Assets */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53057 /* Depreciation Period Spread Type */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53058 /* Depreciation Methods */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53059 /* Depreciation Tables */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53060 /* Depreciation First Year Conventions */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53061 /* Depreciation Calculation Method */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53064 /* View MRP Records */ +; + +update ad_window set isbetafunctionality='Y' where ad_window_id=53065 /* Web POS Terminal */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53001 /* BOM and Formula Info */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53002 /* Product Configuration BOM */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53003 /* MRP Info */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53004 /* Planned Order Approval */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53005 /* CRP Info */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53006 /* Resource Load View */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53007 /* Order Receipt and Issue */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53008 /* Generate Movement Manual */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53009 /* Payroll Action Notice */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53010 /* Generate Shipments and Invoices (manual) */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53012 /* Material Receipt Distribution Order */ +; + +update ad_form set isbetafunctionality='Y' where ad_form_id=53013 /* Manufacturing Workflow Editor */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50000 /* Manufacturing Management Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50001 /* Manufacturing Workflow Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50002 /* Bill of Material and Formula Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50003 /* Planning Management Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50004 /* Material Requirement Planning Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50005 /* Capacity Requirement Planning Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50006 /* Distribution Resource Planning Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50007 /* Discrete Manufacturing Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50008 /* Process_Manufacturing_Order */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50009 /* Process_CostCollector */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50010 /* Distribution Management Setup */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50011 /* Process_Distribution_Order */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50012 /* Setup Replication */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50013 /* Process_Payroll */ +; + +update ad_workflow set isbetafunctionality='Y' where ad_workflow_id=50014 /* Setup Human Resource and Payroll */ +; + + diff --git a/migration/352a-trunk/postgresql/350_RF2408898_CostCollectorType.sql b/migration/352a-trunk/postgresql/350_RF2408898_CostCollectorType.sql new file mode 100644 index 0000000000..ac7f82f904 --- /dev/null +++ b/migration/352a-trunk/postgresql/350_RF2408898_CostCollectorType.sql @@ -0,0 +1,256 @@ +-- Dec 8, 2008 9:17:03 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53712,0,'CostCollectorType',TO_TIMESTAMP('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0,'Transaction Type for Manufacturing Management','EE01','Y','Cost Collector Type','Cost Collector Type',TO_TIMESTAMP('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Dec 8, 2008 9:17:03 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53712 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Dec 8, 2008 9:20:29 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53287,TO_TIMESTAMP('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','PP_CostCollectorType Transaction Manufacturing Management',TO_TIMESTAMP('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,' ','L') +; + +-- Dec 8, 2008 9:20:29 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53287 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Dec 8, 2008 9:32:54 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53442,53287,TO_TIMESTAMP('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Receipt Material',TO_TIMESTAMP('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'100') +; + +-- Dec 8, 2008 9:32:54 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53442 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:34:41 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53443,53287,TO_TIMESTAMP('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Component Issue',TO_TIMESTAMP('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'110') +; + +-- Dec 8, 2008 9:34:41 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53443 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:38:41 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Ref_List SET Name='Material Receipt',Updated=TO_TIMESTAMP('2008-12-08 21:38:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53442 +; + +-- Dec 8, 2008 9:38:41 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53442 +; + +-- Dec 8, 2008 9:40:03 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53444,53287,TO_TIMESTAMP('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Usege Variance',TO_TIMESTAMP('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'120') +; + +-- Dec 8, 2008 9:40:03 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53444 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:43:53 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53445,53287,TO_TIMESTAMP('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Method Change Variance',TO_TIMESTAMP('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'130') +; + +-- Dec 8, 2008 9:43:53 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53445 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:44:06 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53446,53287,TO_TIMESTAMP('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Rate Variance',TO_TIMESTAMP('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'140') +; + +-- Dec 8, 2008 9:44:06 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53446 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:44:23 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53447,53287,TO_TIMESTAMP('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Mix Variance',TO_TIMESTAMP('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'150') +; + +-- Dec 8, 2008 9:44:23 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53447 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 9:52:18 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Column SET AD_Element_ID=53712, AD_Reference_Value_ID=53287, ColumnName='CostCollectorType', Description='Transaction Type for Manufacturing Management', Help=NULL, Name='Cost Collector Type',Updated=TO_TIMESTAMP('2008-12-08 21:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827 +; + +-- Dec 8, 2008 9:52:18 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53827 +; + +-- Dec 8, 2008 9:52:19 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET Name='Cost Collector Type', Description='Transaction Type for Manufacturing Management', Help=NULL WHERE AD_Column_ID=53827 AND IsCentrallyMaintained='Y' +; + +-- Dec 8, 2008 10:01:03 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=54082 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54106 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54107 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54108 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54109 +; + +-- Dec 8, 2008 10:01:04 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54110 +; + +-- Dec 8, 2008 10:01:19 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-12-08 22:01:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082 +; + +-- Dec 8, 2008 10:02:35 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-12-08 22:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082 +; + +-- Dec 8, 2008 10:03:21 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53448,53287,TO_TIMESTAMP('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Activity Control Report',TO_TIMESTAMP('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'160') +; + +-- Dec 8, 2008 10:03:21 PM ECT +-- Cost Collector Type Manufacturing Management +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53448 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Dec 8, 2008 10:07:24 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53231 +; + +-- Dec 8, 2008 10:07:24 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53231 +; + +-- Dec 8, 2008 10:07:33 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53233 +; + +-- Dec 8, 2008 10:07:33 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53233 +; + +-- Dec 8, 2008 10:07:42 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53234 +; + +-- Dec 8, 2008 10:07:42 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53234 +; + +-- Dec 8, 2008 10:07:49 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53236 +; + +-- Dec 8, 2008 10:07:49 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53236 +; + +-- Dec 8, 2008 10:07:53 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53237 +; + +-- Dec 8, 2008 10:07:53 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53237 +; + +-- Dec 8, 2008 10:07:57 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53238 +; + +-- Dec 8, 2008 10:07:57 PM ECT +-- Cost Collector Type Manufacturing Management +DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53238 +; + +-- Dec 8, 2008 10:08:27 PM ECT +-- Cost Collector Type Manufacturing Management +UPDATE AD_Ref_Table SET WhereClause='C_DocType.AD_Client_ID=@#AD_Client_ID@ AND C_DocType.DocBaseType IN (''MOP'',''MOF'',''MQO'') ',Updated=TO_TIMESTAMP('2008-12-08 22:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53233 +; + + + + + + + + +ALTER TABLE PP_Cost_Collector ADD COLUMN CostCollectorType VARCHAR(3); +update PP_Cost_Collector set CostCollectorType='100' where MovementType in ('P+','W+'); +update PP_Cost_Collector set CostCollectorType='110' where CostCollectorType is null; +alter table PP_Cost_Collector drop column MovementType; + +-- 09.12.2008 19:25:45 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE PP_Cost_Collector ADD COLUMN CostCollectorType VARCHAR(2) +; + +-- 09.12.2008 19:27:54 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET FieldLength=3,Updated=TO_TIMESTAMP('2008-12-09 19:27:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827 +; +-- 09.12.2008 19:32:27 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-12-09 19:32:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827 +; + +-- 09.12.2008 19:32:30 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +insert into t_alter_column values('pp_cost_collector','CostCollectorType','VARCHAR(3)',null,'NULL') +; + +-- 09.12.2008 19:32:30 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +insert into t_alter_column values('pp_cost_collector','CostCollectorType',null,'NOT NULL',null) +; + diff --git a/migration/352a-trunk/postgresql/351_FR2391399_dunning_run_org_filter.sql b/migration/352a-trunk/postgresql/351_FR2391399_dunning_run_org_filter.sql new file mode 100644 index 0000000000..060935ad48 --- /dev/null +++ b/migration/352a-trunk/postgresql/351_FR2391399_dunning_run_org_filter.sql @@ -0,0 +1,10 @@ +-- 5/12/2008 11:49:34 +-- Dunning run create requires AD_Org +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,289,53261,19,104,'AD_Org_ID',TO_TIMESTAMP('2008-12-05 11:49:31','YYYY-MM-DD HH24:MI:SS'),100,'0',NULL,'D',12,'Y','Y','Y','N','Organization',5,TO_TIMESTAMP('2008-12-05 11:49:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 5/12/2008 11:49:34 +-- Dunning run create requires AD_Org +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53261 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + diff --git a/migration/352a-trunk/postgresql/352_BF2412212_PP_Cost_Collector.sql b/migration/352a-trunk/postgresql/352_BF2412212_PP_Cost_Collector.sql new file mode 100644 index 0000000000..f0794e1682 --- /dev/null +++ b/migration/352a-trunk/postgresql/352_BF2412212_PP_Cost_Collector.sql @@ -0,0 +1,52 @@ +-- 09.12.2008 19:27:42 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Val_Rule_ID=189,Updated=TO_TIMESTAMP('2008-12-09 19:27:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53824 +; + +-- 09.12.2008 19:27:47 EET +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +insert into t_alter_column values('pp_cost_collector','M_Warehouse_ID','NUMERIC(10)',null,'NULL') +; + + +-- 09.12.2008 19:54:39 EET +-- [ 2412212 ] Fix Activity Control Report Window +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52035,'PP_Order_Node.PP_Order_Workflow_ID=@PP_Order_Workflow_ID@',TO_TIMESTAMP('2008-12-09 19:54:37','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','PP_Order_Node of PP_Order_Workflow','S',TO_TIMESTAMP('2008-12-09 19:54:37','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 09.12.2008 19:54:39 EET +-- [ 2412212 ] Fix Activity Control Report Window +INSERT INTO AD_Val_Rule_Trl (AD_Language,AD_Val_Rule_ID, Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Val_Rule_ID, t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Val_Rule t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Val_Rule_ID=52035 AND EXISTS (SELECT * FROM AD_Val_Rule_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Val_Rule_ID!=t.AD_Val_Rule_ID) +; + +-- 09.12.2008 19:55:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET AD_Val_Rule_ID=52035,Updated=TO_TIMESTAMP('2008-12-09 19:55:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53831 +; + +-- 09.12.2008 19:55:29 EET +-- [ 2412212 ] Fix Activity Control Report Window +insert into t_alter_column values('pp_cost_collector','PP_Order_Node_ID','NUMERIC(10)',null,'NULL') +; + +-- 09.12.2008 20:11:54 EET +-- [ 2412212 ] Fix Activity Control Report Window +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52036,'PP_Order_Workflow.PP_Order_ID=@PP_Order_ID@',TO_TIMESTAMP('2008-12-09 20:11:53','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','PP_Order_Workflow_ID of PP_Order_ID','S',TO_TIMESTAMP('2008-12-09 20:11:53','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 09.12.2008 20:11:54 EET +-- [ 2412212 ] Fix Activity Control Report Window +INSERT INTO AD_Val_Rule_Trl (AD_Language,AD_Val_Rule_ID, Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Val_Rule_ID, t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Val_Rule t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Val_Rule_ID=52036 AND EXISTS (SELECT * FROM AD_Val_Rule_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Val_Rule_ID!=t.AD_Val_Rule_ID) +; + +-- 09.12.2008 20:14:34 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET AD_Val_Rule_ID=52036,Updated=TO_TIMESTAMP('2008-12-09 20:14:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53832 +; + +update AD_Val_Rule set entitytype='EE01' where AD_Val_Rule_ID in (52035, 52036); + + -- 09.12.2008 21:53:16 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET AD_Val_Rule_ID=164,Updated=TO_TIMESTAMP('2008-12-09 21:53:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53806 +; diff --git a/migration/352a-trunk/postgresql/353_PA_DashboardContent_IsCollapsible.sql b/migration/352a-trunk/postgresql/353_PA_DashboardContent_IsCollapsible.sql new file mode 100644 index 0000000000..f6792afc33 --- /dev/null +++ b/migration/352a-trunk/postgresql/353_PA_DashboardContent_IsCollapsible.sql @@ -0,0 +1,35 @@ +-- Dec 10, 2008 3:05:19 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53715,0,'IsCollapsible',TO_TIMESTAMP('2008-12-10 15:05:17','YYYY-MM-DD HH24:MI:SS'),100,'Flag to indicate the state of the dashboard panel','D','Flag to indicate the state of the dashboard panel (i.e. collapsible or static)','Y','Collapsible','Collapsible',TO_TIMESTAMP('2008-12-10 15:05:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 10, 2008 3:05:19 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53715 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Dec 10, 2008 3:05:44 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56522,53715,0,20,50010,'IsCollapsible',TO_TIMESTAMP('2008-12-10 15:05:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','Flag to indicate the state of the dashboard panel','D',1,'Flag to indicate the state of the dashboard panel (i.e. collapsible or static)','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Collapsible',0,TO_TIMESTAMP('2008-12-10 15:05:40','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Dec 10, 2008 3:05:44 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56522 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Dec 10, 2008 3:05:47 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +ALTER TABLE PA_DashboardContent ADD COLUMN IsCollapsible CHAR(1) DEFAULT 'Y' CHECK (IsCollapsible IN ('Y','N')) NOT NULL +; + +-- Dec 10, 2008 3:06:04 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56522,56504,0,50010,TO_TIMESTAMP('2008-12-10 15:06:00','YYYY-MM-DD HH24:MI:SS'),100,'Flag to indicate the state of the dashboard panel',1,'D','Flag to indicate the state of the dashboard panel (i.e. collapsible or static)','Y','Y','Y','N','N','N','N','N','Collapsible',TO_TIMESTAMP('2008-12-10 15:06:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Dec 10, 2008 3:06:04 PM SGT +-- Allow user to control the dashboard panel to be static or collapsible +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56504 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + diff --git a/migration/352a-trunk/postgresql/354_OrderDistributionDetail.sql b/migration/352a-trunk/postgresql/354_OrderDistributionDetail.sql new file mode 100644 index 0000000000..12ab95fe60 --- /dev/null +++ b/migration/352a-trunk/postgresql/354_OrderDistributionDetail.sql @@ -0,0 +1,97 @@ +DROP VIEW RV_DD_ORDERDETAIL; +CREATE OR REPLACE VIEW RV_DD_ORDERDETAIL AS +SELECT l.AD_Client_ID, l.AD_Org_ID, + l.IsActive, l.Created, l.CreatedBy, l.Updated, l.UpdatedBy,o.DD_Order_ID, + o.C_Order_ID, o.DocStatus, o.DocAction, o.C_DocType_ID, o.IsApproved, --o.IsCreditApproved, + o.SalesRep_ID, + o.IsDropShip, + o.C_BPartner_ID, + bp.C_BP_Group_ID, + o.AD_User_ID, + o.POReference, + o.IsSOTrx, + l.C_Campaign_ID, l.C_Project_ID, l.C_Activity_ID, + --l.C_ProjectPhase_ID, l.C_ProjectTask_ID, + l.DD_OrderLine_ID, l.DateOrdered, l.DatePromised, l.M_Product_ID, l.M_Locator_ID,l.M_LocatorTo_ID, + l.M_AttributeSetInstance_ID, productAttribute(l.M_AttributeSetInstance_ID) AS ProductAttribute, + l.M_AttributeSetInstanceTo_ID, productAttribute(l.M_AttributeSetInstanceTo_ID) AS ProductAttributeTo, + pasi.M_AttributeSet_ID, pasi.M_Lot_ID, pasi.GuaranteeDate, pasi.Lot, pasi.SerNo, + l.C_UOM_ID, l.QtyEntered, l.QtyOrdered, l.QtyReserved, l.QtyDelivered, l.Confirmedqty, l.Qtyintransit, l.TargetQty, + l.QtyOrdered-l.QtyDelivered AS QtyToDeliver +FROM DD_Order o + INNER JOIN DD_OrderLine l ON (l.DD_Order_ID=o.DD_Order_ID) + INNER JOIN C_BPartner bp ON (bp.C_BPartner_ID=o.C_BPartner_ID) + LEFT OUTER JOIN M_AttributeSetInstance pasi ON (l.M_AttributeSetInstance_ID=pasi.M_AttributeSetInstance_ID) + LEFT OUTER JOIN M_AttributeSetInstance pasito ON (l.M_AttributeSetInstanceTo_ID=pasito.M_AttributeSetInstance_ID); + + +-- Dec 10, 2008 10:54:34 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1383,0,53151,53262,19,'C_BP_Group_ID',TO_TIMESTAMP('2008-12-10 22:54:33','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner Group','EE01',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','N','N','Business Partner Group',30,TO_TIMESTAMP('2008-12-10 22:54:33','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Dec 10, 2008 10:54:35 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53262 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- Dec 10, 2008 10:54:54 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-12-10 22:54:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53262 +; + +-- Dec 10, 2008 10:54:57 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2008-12-10 22:54:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53227 +; + +-- Dec 10, 2008 10:54:59 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2008-12-10 22:54:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53228 +; + +-- Dec 10, 2008 10:55:02 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2008-12-10 22:55:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53230 +; + +-- Dec 10, 2008 10:55:07 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_TIMESTAMP('2008-12-10 22:55:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53231 +; + +-- Dec 10, 2008 10:55:16 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_TIMESTAMP('2008-12-10 22:55:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53229 +; + +-- Dec 10, 2008 11:01:58 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56523,187,0,19,53144,'C_BPartner_ID',TO_TIMESTAMP('2008-12-10 23:01:55','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','EE01',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','N','N','Business Partner ',TO_TIMESTAMP('2008-12-10 23:01:55','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Dec 10, 2008 11:01:58 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56523 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Dec 10, 2008 11:01:58 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56524,1383,0,19,53144,'C_BP_Group_ID',TO_TIMESTAMP('2008-12-10 23:01:58','YYYY-MM-DD HH24:MI:SS'),0,'Business Partner Group','EE01',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','N','N','N','N','N','N','N','N','N','Business Partner Group',TO_TIMESTAMP('2008-12-10 23:01:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Dec 10, 2008 11:01:58 PM ECT +-- Adding BP Group in Distribution Order Detail +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56524 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Dec 10, 2008 11:04:31 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-12-10 23:04:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53226 +; + +-- Dec 10, 2008 11:04:37 PM ECT +-- Adding BP Group in Distribution Order Detail +UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2008-12-10 23:04:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53262 +; + diff --git a/migration/352a-trunk/postgresql/355_BF2417012.sql b/migration/352a-trunk/postgresql/355_BF2417012.sql new file mode 100644 index 0000000000..d391c72ae8 --- /dev/null +++ b/migration/352a-trunk/postgresql/355_BF2417012.sql @@ -0,0 +1,13 @@ +-- 11.12.2008 15:19:17 EET +-- [ 2417012 ] Create PO from Requsition display all requisitions +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52037,'M_Requisition.DocStatus IN (''CO'') +AND EXISTS (SELECT 1 FROM M_RequisitionLine rl + WHERE rl.M_Requisition_ID=M_Requisition.M_Requisition_ID + AND rl.C_OrderLine_ID IS NULL)',TO_TIMESTAMP('2008-12-11 15:19:15','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','M_Requistion PO Create Candidate','S',TO_TIMESTAMP('2008-12-11 15:19:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- 11.12.2008 15:19:55 EET +-- [ 2417012 ] Create PO from Requsition display all requisitions +UPDATE AD_Process_Para SET AD_Val_Rule_ID=52037,Updated=TO_TIMESTAMP('2008-12-11 15:19:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=697 +; + diff --git a/migration/352a-trunk/postgresql/356_FR2419089_Hide_Fields_WFM.sql b/migration/352a-trunk/postgresql/356_FR2419089_Hide_Fields_WFM.sql new file mode 100644 index 0000000000..d5699fe6c5 --- /dev/null +++ b/migration/352a-trunk/postgresql/356_FR2419089_Hide_Fields_WFM.sql @@ -0,0 +1,435 @@ +-- Dec 11, 2008 9:04:56 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53302 +; + +-- Dec 11, 2008 9:04:56 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53301 +; + +-- Dec 11, 2008 9:04:56 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53303 +; + +-- Dec 11, 2008 9:04:56 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53304 +; + +-- Dec 11, 2008 9:06:42 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53439 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53438 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53440 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53437 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53450 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53441 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53452 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53442 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53443 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53444 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53445 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53446 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53447 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53448 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53449 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53451 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53453 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53454 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53455 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53456 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53457 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53458 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53459 +; + +-- Dec 11, 2008 9:06:43 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53460 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53388 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53397 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53398 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53396 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53399 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53411 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53412 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53379 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53385 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53389 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53392 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53395 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53391 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53384 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53394 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53390 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53393 +; + +-- Dec 11, 2008 9:10:09 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53382 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53404 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53380 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53381 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53383 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53386 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53387 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53400 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53401 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53402 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53403 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53405 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53406 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53407 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53408 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53409 +; + +-- Dec 11, 2008 9:10:10 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53410 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53404 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53400 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53401 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53402 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53403 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53405 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53406 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53407 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53408 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53409 +; + +-- Dec 11, 2008 9:25:11 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53410 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53452 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53453 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53454 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53455 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53456 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53457 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53458 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53459 +; + +-- Dec 11, 2008 9:25:31 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53460 +; + +-- Dec 11, 2008 9:43:44 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET DefaultValue='EE01',Updated=TO_TIMESTAMP('2008-12-11 09:43:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53423 +; + +-- Dec 11, 2008 9:47:59 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53422 +; + +-- Dec 11, 2008 9:47:59 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53423 +; + +-- Dec 11, 2008 9:55:37 AM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET DefaultValue='M',Updated=TO_TIMESTAMP('2008-12-11 09:55:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53433 +; + +-- Dec 11, 2008 4:51:54 PM ECT +-- Hide Fields that do not necessary for Manufacturing +UPDATE AD_Field SET DefaultValue='160', IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-12-11 16:51:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54001 +; + diff --git a/migration/352a-trunk/postgresql/357_BF2412212_PP_Cost_Collector.sql b/migration/352a-trunk/postgresql/357_BF2412212_PP_Cost_Collector.sql new file mode 100644 index 0000000000..491f11127d --- /dev/null +++ b/migration/352a-trunk/postgresql/357_BF2412212_PP_Cost_Collector.sql @@ -0,0 +1,740 @@ +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:17:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:17:56 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:17:56 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:19:37 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@#AD_Client_ID@', IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-12-11 17:19:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53976 +; + +-- 11.12.2008 17:20:12 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:20:12 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53981 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53982 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53983 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53984 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53985 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53986 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53987 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53988 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53989 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53990 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53991 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53992 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53993 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53994 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53995 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53996 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53997 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53998 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:20:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:20:14 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:20:14 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:20:14 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:20:14 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:20:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:20:48 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-12-11 17:20:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53969 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:24:23 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:24:34 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@#AD_Org_ID@',Updated=TO_TIMESTAMP('2008-12-11 17:24:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53977 +; + +-- 11.12.2008 17:24:51 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:24:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53979 +; + +-- 11.12.2008 17:24:56 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2008-12-11 17:24:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53981 +; + +-- 11.12.2008 17:25:00 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:25:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53982 +; + +-- 11.12.2008 17:25:03 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:25:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53983 +; + +-- 11.12.2008 17:25:10 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:25:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53984 +; + +-- 11.12.2008 17:25:13 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:25:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53985 +; + +-- 11.12.2008 17:25:36 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:25:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53996 +; + +-- 11.12.2008 17:25:39 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:25:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53997 +; + +-- 11.12.2008 17:25:42 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:25:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53998 +; + +-- 11.12.2008 17:25:48 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-12-11 17:25:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:25:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsReadOnly='Y', IsSameLine='Y',Updated=TO_TIMESTAMP('2008-12-11 17:25:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:26:01 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-12-11 17:26:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:26:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-12-11 17:26:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:26:38 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@Processed@=Y & @#ShowAcct@=Y', IsSameLine='N',Updated=TO_TIMESTAMP('2008-12-11 17:26:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:26:58 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_PJ@=''Y''',Updated=TO_TIMESTAMP('2008-12-11 17:26:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:27:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_AY@=''Y''',Updated=TO_TIMESTAMP('2008-12-11 17:27:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:27:15 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_MC@=''Y''',Updated=TO_TIMESTAMP('2008-12-11 17:27:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:27:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_OT@=Y',Updated=TO_TIMESTAMP('2008-12-11 17:27:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:27:28 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_U1@=Y',Updated=TO_TIMESTAMP('2008-12-11 17:27:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:27:35 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic='@$Element_U2@=Y',Updated=TO_TIMESTAMP('2008-12-11 17:27:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:28:57 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DefaultValue='@#AD_Client_ID@', DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-12-11 17:28:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53976 +; + +-- 11.12.2008 17:29:02 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2008-12-11 17:29:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53977 +; + +-- 11.12.2008 17:29:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DefaultValue='@#AD_Org_ID@',Updated=TO_TIMESTAMP('2008-12-11 17:29:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53977 +; + +-- 11.12.2008 17:30:24 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-12-11 17:30:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:30:29 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:30:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53976 +; + +-- 11.12.2008 17:30:32 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:30:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53977 +; + +-- 11.12.2008 17:30:36 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:30:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53978 +; + +-- 11.12.2008 17:32:11 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2008-12-11 17:32:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:32:20 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_TIMESTAMP('2008-12-11 17:32:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=54000 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:33:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:33:05 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:33:25 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=104,Updated=TO_TIMESTAMP('2008-12-11 17:33:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:33:34 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_TIMESTAMP('2008-12-11 17:33:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:33:38 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:33:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:33:55 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='N',Updated=TO_TIMESTAMP('2008-12-11 17:33:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:34:00 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_TIMESTAMP('2008-12-11 17:34:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:34:15 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10,Updated=TO_TIMESTAMP('2008-12-11 17:34:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:34:19 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DisplayLength=10, IsSameLine='Y',Updated=TO_TIMESTAMP('2008-12-11 17:34:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:34:35 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2008-12-11 17:34:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:34:38 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2008-12-11 17:34:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:34:42 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2008-12-11 17:34:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:34:57 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2008-12-11 17:34:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:35:04 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET AD_FieldGroup_ID=101,Updated=TO_TIMESTAMP('2008-12-11 17:35:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=53986 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53987 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53988 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53989 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53990 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53991 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53992 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53993 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53994 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53995 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53996 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53997 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53998 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53973 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53971 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53972 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53967 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53968 +; + +-- 11.12.2008 17:40:21 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53966 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:40:22 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=54002 +; + +-- 11.12.2008 17:41:26 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:41:26 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53999 +; + +-- 11.12.2008 17:41:26 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53980 +; + +-- 11.12.2008 17:41:26 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53975 +; + +-- 11.12.2008 17:42:50 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Field SET DefaultValue='160',Updated=TO_TIMESTAMP('2008-12-11 17:42:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54001 +; + +-- 11.12.2008 17:48:40 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET DefaultValue='0',Updated=TO_TIMESTAMP('2008-12-11 17:48:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53810 +; + +-- 11.12.2008 17:54:07 EET +-- [ 2412212 ] Fix Activity Control Report Window +UPDATE AD_Column SET AD_Reference_Value_ID=NULL,Updated=TO_TIMESTAMP('2008-12-11 17:54:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53810 +; + diff --git a/migration/352a-trunk/postgresql/358_FR2419954.sql b/migration/352a-trunk/postgresql/358_FR2419954.sql new file mode 100644 index 0000000000..4fe6365c99 --- /dev/null +++ b/migration/352a-trunk/postgresql/358_FR2419954.sql @@ -0,0 +1,15 @@ +-- 12.12.2008 10:46:47 EET +-- +INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53049,0,TO_TIMESTAMP('2008-12-12 10:46:44','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Check attached file','I',TO_TIMESTAMP('2008-12-12 10:46:44','YYYY-MM-DD HH24:MI:SS'),0,'SeeAttachment') +; + +-- 12.12.2008 10:46:47 EET +-- +INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53049 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID) +; + +-- 12.12.2008 10:47:44 EET +-- +UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Vezi fisierul atasat ',Updated=TO_TIMESTAMP('2008-12-12 10:47:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53049 AND AD_Language='ro_RO' +; + diff --git a/migration/352a-trunk/postgresql/359_BF2420918.sql b/migration/352a-trunk/postgresql/359_BF2420918.sql new file mode 100644 index 0000000000..e5b86de8a1 --- /dev/null +++ b/migration/352a-trunk/postgresql/359_BF2420918.sql @@ -0,0 +1,4 @@ +-- 12.12.2008 15:10:33 EET +UPDATE AD_Column SET DefaultValue='Z',Updated=TO_TIMESTAMP('2008-12-12 15:10:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53457 +; + diff --git a/migration/352a-trunk/postgresql/360_BF2431049.sql b/migration/352a-trunk/postgresql/360_BF2431049.sql new file mode 100644 index 0000000000..258bd1eea8 --- /dev/null +++ b/migration/352a-trunk/postgresql/360_BF2431049.sql @@ -0,0 +1,10 @@ +-- 15.12.2008 16:46:02 EET +-- +UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-12-15 16:46:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5584 +; + +-- 15.12.2008 16:46:08 EET +-- +UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-12-15 16:46:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5579 +; + diff --git a/migration/352a-trunk/postgresql/361_BF2431285.sql b/migration/352a-trunk/postgresql/361_BF2431285.sql new file mode 100644 index 0000000000..9ea8ece721 --- /dev/null +++ b/migration/352a-trunk/postgresql/361_BF2431285.sql @@ -0,0 +1,4 @@ +-- Dec 15, 2008 6:21:13 PM EET +-- [ 2431285 ] Discount Schema - Wrong tab level +UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2008-12-15 18:21:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=406 +; \ No newline at end of file diff --git a/migration/352a-trunk/postgresql/build.xml b/migration/352a-trunk/postgresql/build.xml new file mode 100644 index 0000000000..afba0b34d7 --- /dev/null +++ b/migration/352a-trunk/postgresql/build.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + File ${file.name} status ${psql.result} + + +