[cleanup] Back out Quality Control Report
authorVíctor Martínez Romanos <victor.martinez@openbravo.com>
Wed, 04 May 2011 10:29:32 +0200
changeset 11944 443f57de8082
parent 11777 22126397f8b8
child 11945 b9ff758db6ba
[cleanup] Back out Quality Control Report
referencedata/sampledata/F_B_International_Group.xml
referencedata/sampledata/QA_Testing.xml
src-db/database/model/functions/MA_MEASURE_SHIFT_EXPLODE.xml
src-db/database/model/functions/MA_MEASURE_TIME_EXPLODE.xml
src-db/database/model/functions/MA_MEASURE_TIME_EXPLODE0.xml
src-db/database/model/tables/MA_MEASURE_GROUP.xml
src-db/database/model/tables/MA_MEASURE_SHIFT.xml
src-db/database/model/tables/MA_MEASURE_TIME.xml
src-db/database/model/tables/MA_MEASURE_VALUES.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_DATASET_TABLE.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src-db/database/sourcedata/AD_FIELD.xml
src-db/database/sourcedata/AD_MENU.xml
src-db/database/sourcedata/AD_MODEL_OBJECT.xml
src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
src-db/database/sourcedata/AD_PROCESS.xml
src-db/database/sourcedata/AD_TAB.xml
src-db/database/sourcedata/AD_TABLE.xml
src-db/database/sourcedata/AD_TREENODE.xml
src-db/database/sourcedata/AD_WINDOW.xml
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.html
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.java
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.xml
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Hours.srpt
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Hours.xml
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Hours_data.xsql
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Values.srpt
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Values.xml
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Values_data.xsql
src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_data.xsql
src/org/openbravo/erpReports/RptMA_CCP_Measures.fo
src/org/openbravo/erpReports/RptMA_CCP_Measures.java
src/org/openbravo/erpReports/RptMA_CCP_Measures.xml
src/org/openbravo/erpReports/RptMA_CCP_Measures_Hours.fo
src/org/openbravo/erpReports/RptMA_CCP_Measures_Hours.xml
src/org/openbravo/erpReports/RptMA_CCP_Measures_Hours_data.xsql
src/org/openbravo/erpReports/RptMA_CCP_Measures_Values.fo
src/org/openbravo/erpReports/RptMA_CCP_Measures_Values.xml
src/org/openbravo/erpReports/RptMA_CCP_Measures_Values_data.xsql
src/org/openbravo/erpReports/RptMA_CCP_Measures_data.xsql
--- a/referencedata/sampledata/F_B_International_Group.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/referencedata/sampledata/F_B_International_Group.xml	Wed May 04 10:29:32 2011 +0200
@@ -85532,6 +85532,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="0A03F3066E794899BC6455CBC0B85DAF">
+    <id>0A03F3066E794899BC6455CBC0B85DAF</id>
+    <process id="800119"/>
+    <role id="D14389DC0EE74A22AE41C4F9060B24E5"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="0A0E9C5113BB43BA8E0642980985B043">
     <id>0A0E9C5113BB43BA8E0642980985B043</id>
     <process id="800064"/>
@@ -85937,6 +85946,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="0D8366A5639949288B3C123921C1FA87">
+    <id>0D8366A5639949288B3C123921C1FA87</id>
+    <process id="800128"/>
+    <role id="1700BE6E97C947A0A765C68976366234"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="0DADC15DF5A34755B46734103117910F">
     <id>0DADC15DF5A34755B46734103117910F</id>
     <process id="1003900000"/>
@@ -86189,6 +86207,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="1093641E97C24F948463878C670E2313">
+    <id>1093641E97C24F948463878C670E2313</id>
+    <process id="800114"/>
+    <role id="1700BE6E97C947A0A765C68976366234"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="109F88256368403088F0C2FBD220078C">
     <id>109F88256368403088F0C2FBD220078C</id>
     <process id="800134"/>
@@ -87134,6 +87161,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="19D4A67E87C6407E81AF9373FCE58758">
+    <id>19D4A67E87C6407E81AF9373FCE58758</id>
+    <process id="800127"/>
+    <role id="43720ABF2A244050BB11E2C5AC652B5B"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="19EC1E433CC24341AABF0F78F4927874">
     <id>19EC1E433CC24341AABF0F78F4927874</id>
     <process id="1004400004"/>
@@ -88502,6 +88538,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="273696B7175B4654BE5C89B4D2C40057">
+    <id>273696B7175B4654BE5C89B4D2C40057</id>
+    <process id="800128"/>
+    <role id="5E7548CC7E0543D985D6C27C484F9256"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="27461614A00A4F98934BD7E660462D9F">
     <id>27461614A00A4F98934BD7E660462D9F</id>
     <process id="800187"/>
@@ -88844,6 +88889,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="2B1FD6A5AEF440F6986801D360E6EC8D">
+    <id>2B1FD6A5AEF440F6986801D360E6EC8D</id>
+    <process id="800127"/>
+    <role id="0216E47FFEEC4049BF3FD35F6476D0C2"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="2B2E869FD8F34807961F9FE94ADEEAC4">
     <id>2B2E869FD8F34807961F9FE94ADEEAC4</id>
     <process id="800201"/>
@@ -88979,6 +89033,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="2C567E17883C419089CE3ABE7449AAE8">
+    <id>2C567E17883C419089CE3ABE7449AAE8</id>
+    <process id="800128"/>
+    <role id="D260159822F9431E99214DD016765CD3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="2C5919158A704D989400E165A44BD05F">
     <id>2C5919158A704D989400E165A44BD05F</id>
     <process id="1000500000"/>
@@ -89312,6 +89375,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="2F1DFE2C1AB744AB80DF188680599B13">
+    <id>2F1DFE2C1AB744AB80DF188680599B13</id>
+    <process id="800128"/>
+    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="2F22994D5DBE45AC8AC68172DEDB5CD7">
     <id>2F22994D5DBE45AC8AC68172DEDB5CD7</id>
     <process id="217"/>
@@ -90347,6 +90419,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="3A1E33FC6BEA4FE7B8B4296B9BA99043">
+    <id>3A1E33FC6BEA4FE7B8B4296B9BA99043</id>
+    <process id="800114"/>
+    <role id="43720ABF2A244050BB11E2C5AC652B5B"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="3A3CB36DA1BC41EC8047E37BBF3FFE9E">
     <id>3A3CB36DA1BC41EC8047E37BBF3FFE9E</id>
     <process id="800197"/>
@@ -91373,6 +91454,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="443C2CCBD37E4AB38BE085432AD1680B">
+    <id>443C2CCBD37E4AB38BE085432AD1680B</id>
+    <process id="800114"/>
+    <role id="D14389DC0EE74A22AE41C4F9060B24E5"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="44443BCEB5754AA38CD8289F46D20B7F">
     <id>44443BCEB5754AA38CD8289F46D20B7F</id>
     <process id="159"/>
@@ -91796,6 +91886,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="480C1B14418040819E7D9A6BB14A0CCC">
+    <id>480C1B14418040819E7D9A6BB14A0CCC</id>
+    <process id="800127"/>
+    <role id="D260159822F9431E99214DD016765CD3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="48280F6EEA7046AF86343A93107B4B8E">
     <id>48280F6EEA7046AF86343A93107B4B8E</id>
     <process id="800135"/>
@@ -92417,6 +92516,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="4E6A52BD92574670AB2D894504A80523">
+    <id>4E6A52BD92574670AB2D894504A80523</id>
+    <process id="800119"/>
+    <role id="D260159822F9431E99214DD016765CD3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="4E6BA9795D0246F5AB105743F58EAA48">
     <id>4E6BA9795D0246F5AB105743F58EAA48</id>
     <process id="190"/>
@@ -92741,6 +92849,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="514C9CE45BCC444F96AC7140D476CED6">
+    <id>514C9CE45BCC444F96AC7140D476CED6</id>
+    <process id="800127"/>
+    <role id="5CDB22F60411492E8716401BF5203770"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="5175A60036954EC7BB8394168C14551E">
     <id>5175A60036954EC7BB8394168C14551E</id>
     <process id="142"/>
@@ -95198,6 +95315,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="695EACA25CDE421BA0C392DD590EFA63">
+    <id>695EACA25CDE421BA0C392DD590EFA63</id>
+    <process id="800119"/>
+    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="695F29E8E96945359760D5D1CB7C256D">
     <id>695F29E8E96945359760D5D1CB7C256D</id>
     <process id="800085"/>
@@ -95585,6 +95711,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="6D0EAEF5D95F4D2BA2FD342D4CB2456E">
+    <id>6D0EAEF5D95F4D2BA2FD342D4CB2456E</id>
+    <process id="800128"/>
+    <role id="43720ABF2A244050BB11E2C5AC652B5B"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="6D288F39797A42C68DA6F2D2DA6B8FB9">
     <id>6D288F39797A42C68DA6F2D2DA6B8FB9</id>
     <process id="800205"/>
@@ -97286,6 +97421,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="7BA7F5A9D55D468882B024D587F09E96">
+    <id>7BA7F5A9D55D468882B024D587F09E96</id>
+    <process id="800127"/>
+    <role id="5E7548CC7E0543D985D6C27C484F9256"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="7BBE4A721886447DBFCF662C0E250F7A">
     <id>7BBE4A721886447DBFCF662C0E250F7A</id>
     <process id="222"/>
@@ -97394,6 +97538,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="7C9366C6CC3A4B7A85E4040347DD141B">
+    <id>7C9366C6CC3A4B7A85E4040347DD141B</id>
+    <process id="800114"/>
+    <role id="808C1DC2670B40B8985F3948D22D339C"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="7C99B57B0DD44A748DE741B607CF46F5">
     <id>7C99B57B0DD44A748DE741B607CF46F5</id>
     <process id="800040"/>
@@ -97925,6 +98078,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="813C4F927C0C44E2983EB9FE34DD694C">
+    <id>813C4F927C0C44E2983EB9FE34DD694C</id>
+    <process id="800127"/>
+    <role id="1700BE6E97C947A0A765C68976366234"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="814E948F6B0246F2AC55A11DE8BC5C77">
     <id>814E948F6B0246F2AC55A11DE8BC5C77</id>
     <process id="800175"/>
@@ -98060,6 +98222,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="82B095350B1D4CE091BEDCD216096EA6">
+    <id>82B095350B1D4CE091BEDCD216096EA6</id>
+    <process id="800128"/>
+    <role id="0216E47FFEEC4049BF3FD35F6476D0C2"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="82D23E12070A49B0912C83F91DB0BF9E">
     <id>82D23E12070A49B0912C83F91DB0BF9E</id>
     <process id="1005400001"/>
@@ -100049,6 +100220,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="976CB856915A4650B44684707516CA2D">
+    <id>976CB856915A4650B44684707516CA2D</id>
+    <process id="800128"/>
+    <role id="5CDB22F60411492E8716401BF5203770"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="978DD37758AF4922B3F71BB96039A696">
     <id>978DD37758AF4922B3F71BB96039A696</id>
     <process id="151"/>
@@ -100544,6 +100724,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="9CA6AF613A0D4A40A6C1F9E53E4CE375">
+    <id>9CA6AF613A0D4A40A6C1F9E53E4CE375</id>
+    <process id="800114"/>
+    <role id="0216E47FFEEC4049BF3FD35F6476D0C2"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="9CBAC1EF1B95426DB275F344AC5D4FEB">
     <id>9CBAC1EF1B95426DB275F344AC5D4FEB</id>
     <process id="166"/>
@@ -100670,6 +100859,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="9DC2F11EE3D443BB937BF7213B4FC93B">
+    <id>9DC2F11EE3D443BB937BF7213B4FC93B</id>
+    <process id="800119"/>
+    <role id="5E7548CC7E0543D985D6C27C484F9256"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="9E43BB3F15634C328E7ED1708B485E75">
     <id>9E43BB3F15634C328E7ED1708B485E75</id>
     <process id="221"/>
@@ -100751,6 +100949,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="9EFA41983A9249B791016095AC5AB0C3">
+    <id>9EFA41983A9249B791016095AC5AB0C3</id>
+    <process id="800114"/>
+    <role id="5CDB22F60411492E8716401BF5203770"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="9F515040D7414CCE97D2773627C47CDF">
     <id>9F515040D7414CCE97D2773627C47CDF</id>
     <process id="800040"/>
@@ -100922,6 +101129,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="A127650A10194C3FB10FBADB8A52AFB5">
+    <id>A127650A10194C3FB10FBADB8A52AFB5</id>
+    <process id="800127"/>
+    <role id="808C1DC2670B40B8985F3948D22D339C"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="A150DAE831BF42CAB07FB10C24F82E9F">
     <id>A150DAE831BF42CAB07FB10C24F82E9F</id>
     <process id="800088"/>
@@ -101579,6 +101795,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="A6CF62EB0DCE4EEC91D34F15D0B1A846">
+    <id>A6CF62EB0DCE4EEC91D34F15D0B1A846</id>
+    <process id="800119"/>
+    <role id="808C1DC2670B40B8985F3948D22D339C"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="A6D9DF17A0754855A5473E62A9D7D889">
     <id>A6D9DF17A0754855A5473E62A9D7D889</id>
     <process id="800048"/>
@@ -103415,6 +103640,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="B88A6A662EC240AB96C508AB16267BDB">
+    <id>B88A6A662EC240AB96C508AB16267BDB</id>
+    <process id="800128"/>
+    <role id="D14389DC0EE74A22AE41C4F9060B24E5"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="B8A02B529C7548BBB8744906F4D08E88">
     <id>B8A02B529C7548BBB8744906F4D08E88</id>
     <process id="800026"/>
@@ -103496,6 +103730,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="B92216AE473042868234A420BBFFD989">
+    <id>B92216AE473042868234A420BBFFD989</id>
+    <process id="800119"/>
+    <role id="0216E47FFEEC4049BF3FD35F6476D0C2"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="B94AEF8FD77E47F89EA0FB0D8DD75BFF">
     <id>B94AEF8FD77E47F89EA0FB0D8DD75BFF</id>
     <process id="200"/>
@@ -103505,6 +103748,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="B974D16F7A4F4BECA67BD55AADA31C1A">
+    <id>B974D16F7A4F4BECA67BD55AADA31C1A</id>
+    <process id="800128"/>
+    <role id="808C1DC2670B40B8985F3948D22D339C"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="B979F96150BC47AAA1D7F3E1C6B4B0A5">
     <id>B979F96150BC47AAA1D7F3E1C6B4B0A5</id>
     <process id="800198"/>
@@ -103613,6 +103865,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="BA20FBB411354E498D815900263F75CB">
+    <id>BA20FBB411354E498D815900263F75CB</id>
+    <process id="800127"/>
+    <role id="D14389DC0EE74A22AE41C4F9060B24E5"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="BA561619199440F9A0904DDA8D3E1739">
     <id>BA561619199440F9A0904DDA8D3E1739</id>
     <process id="800078"/>
@@ -104315,6 +104576,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="C15D5B78A952429DBB9C3CCAA8344D7F">
+    <id>C15D5B78A952429DBB9C3CCAA8344D7F</id>
+    <process id="800114"/>
+    <role id="5E7548CC7E0543D985D6C27C484F9256"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="C186E873D8274FC5B7680E31BA133AB2">
     <id>C186E873D8274FC5B7680E31BA133AB2</id>
     <process id="1005800000"/>
@@ -104396,6 +104666,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="C29BAB11A95E4B35AAFE472A88B5D9A7">
+    <id>C29BAB11A95E4B35AAFE472A88B5D9A7</id>
+    <process id="800119"/>
+    <role id="5CDB22F60411492E8716401BF5203770"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="C2A14B5BBEC44E919631D5621E44BA61">
     <id>C2A14B5BBEC44E919631D5621E44BA61</id>
     <process id="121"/>
@@ -104702,6 +104981,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="C56F87611BC34B50BA2371017FF3132A">
+    <id>C56F87611BC34B50BA2371017FF3132A</id>
+    <process id="800119"/>
+    <role id="9E980E565D804FBDA90453DD1B601BF3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="C577633D3F9441B79B6B017BA13A40D8">
     <id>C577633D3F9441B79B6B017BA13A40D8</id>
     <process id="190"/>
@@ -105107,6 +105395,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="C937BEC74A4940A388B73ECB0C9CFA46">
+    <id>C937BEC74A4940A388B73ECB0C9CFA46</id>
+    <process id="800114"/>
+    <role id="D260159822F9431E99214DD016765CD3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="C9467E5DAF5B42BCAE2B31516F881F61">
     <id>C9467E5DAF5B42BCAE2B31516F881F61</id>
     <process id="205"/>
@@ -107762,6 +108059,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="E1FE65A330D84E5BBFEA3DBD25BE106F">
+    <id>E1FE65A330D84E5BBFEA3DBD25BE106F</id>
+    <process id="800127"/>
+    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="E2214CA75A4D49C29FEADE2A23AA4F38">
     <id>E2214CA75A4D49C29FEADE2A23AA4F38</id>
     <process id="800195"/>
@@ -108077,6 +108383,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="E496E371857F4F4B9B255A0EE179D269">
+    <id>E496E371857F4F4B9B255A0EE179D269</id>
+    <process id="800128"/>
+    <role id="9E980E565D804FBDA90453DD1B601BF3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="E4E30752DC8B40E78D42AA74B08D6879">
     <id>E4E30752DC8B40E78D42AA74B08D6879</id>
     <process id="C125EA7C85234D8B89FEA511FCCD2E9E"/>
@@ -108392,6 +108707,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="E97E33EB3E4D4DAEA98DE91CD51DCEFF">
+    <id>E97E33EB3E4D4DAEA98DE91CD51DCEFF</id>
+    <process id="800119"/>
+    <role id="1700BE6E97C947A0A765C68976366234"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="E98D0CB1DEC344D3840C2F9E81D61EA3">
     <id>E98D0CB1DEC344D3840C2F9E81D61EA3</id>
     <process id="800200"/>
@@ -108491,6 +108815,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="EABFF438244F4F3A9D24541D7A278E28">
+    <id>EABFF438244F4F3A9D24541D7A278E28</id>
+    <process id="800119"/>
+    <role id="43720ABF2A244050BB11E2C5AC652B5B"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="EACC829B994843FC86AD1CAF0E89A357">
     <id>EACC829B994843FC86AD1CAF0E89A357</id>
     <process id="800199"/>
@@ -108527,6 +108860,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="EAFF373F73814A54B099754A7C5B0855">
+    <id>EAFF373F73814A54B099754A7C5B0855</id>
+    <process id="800114"/>
+    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="EB00F22AE48D4B8E9B4E9EF39058648A">
     <id>EB00F22AE48D4B8E9B4E9EF39058648A</id>
     <process id="800038"/>
@@ -108599,6 +108941,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="EBCFB8A5ACAD4693B3C4E7C6FF068054">
+    <id>EBCFB8A5ACAD4693B3C4E7C6FF068054</id>
+    <process id="800114"/>
+    <role id="9E980E565D804FBDA90453DD1B601BF3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="EBE784D7E3584A79822311D81B6B93AA">
     <id>EBE784D7E3584A79822311D81B6B93AA</id>
     <process id="800171"/>
@@ -110183,6 +110534,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="FB783F46BC954C67823CFC16D1394BA9">
+    <id>FB783F46BC954C67823CFC16D1394BA9</id>
+    <process id="800127"/>
+    <role id="9E980E565D804FBDA90453DD1B601BF3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="FB97A0F3C9FB4951AAFE86154EF65781">
     <id>FB97A0F3C9FB4951AAFE86154EF65781</id>
     <process id="800207"/>
@@ -111497,6 +111857,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="07E66D50FB0844A1856C7965AB4D9054">
+    <id>07E66D50FB0844A1856C7965AB4D9054</id>
+    <window id="800064"/>
+    <role id="0216E47FFEEC4049BF3FD35F6476D0C2"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="080925FEFC9C4CF9B019765EC7DF05C4">
     <id>080925FEFC9C4CF9B019765EC7DF05C4</id>
     <window id="233"/>
@@ -113135,6 +113504,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="211D80CF6A2D4A1590C10933C1F2332D">
+    <id>211D80CF6A2D4A1590C10933C1F2332D</id>
+    <window id="800064"/>
+    <role id="5E7548CC7E0543D985D6C27C484F9256"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="212432E351B64EA4909A75C4A9FCCE22">
     <id>212432E351B64EA4909A75C4A9FCCE22</id>
     <window id="234"/>
@@ -113369,6 +113747,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="245BF0D921A34F2FA8CCA844DB456310">
+    <id>245BF0D921A34F2FA8CCA844DB456310</id>
+    <window id="800064"/>
+    <role id="D260159822F9431E99214DD016765CD3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="24AAA72DA6E649E597761E5CA0138208">
     <id>24AAA72DA6E649E597761E5CA0138208</id>
     <window id="147"/>
@@ -116411,6 +116798,24 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="5AACC6DAB3DF4B04856B535B7F4FDDA4">
+    <id>5AACC6DAB3DF4B04856B535B7F4FDDA4</id>
+    <window id="800064"/>
+    <role id="D14389DC0EE74A22AE41C4F9060B24E5"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="5AB16EB4D12A4EBBB7072888DA3EEC0C">
+    <id>5AB16EB4D12A4EBBB7072888DA3EEC0C</id>
+    <window id="800064"/>
+    <role id="43720ABF2A244050BB11E2C5AC652B5B"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="5B071411DAF549ADBEC1815070124E0C">
     <id>5B071411DAF549ADBEC1815070124E0C</id>
     <window id="131"/>
@@ -116717,6 +117122,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="5FEF483EA83D4ABF8048F899966D5F06">
+    <id>5FEF483EA83D4ABF8048F899966D5F06</id>
+    <window id="800064"/>
+    <role id="9E980E565D804FBDA90453DD1B601BF3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="6007D2269BA54AF2833CBA321124556D">
     <id>6007D2269BA54AF2833CBA321124556D</id>
     <window id="147"/>
@@ -119273,6 +119687,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="8FE19ECC365D43A9A50F210F982205DF">
+    <id>8FE19ECC365D43A9A50F210F982205DF</id>
+    <window id="800064"/>
+    <role id="1700BE6E97C947A0A765C68976366234"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="8FF810BE48B84C29A22B047B09BCED26">
     <id>8FF810BE48B84C29A22B047B09BCED26</id>
     <window id="E547CE89D4C04429B6340FFA44E70716"/>
@@ -119417,6 +119840,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="939789F097B14A619370B27733A622F4">
+    <id>939789F097B14A619370B27733A622F4</id>
+    <window id="800064"/>
+    <role id="808C1DC2670B40B8985F3948D22D339C"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="93A802D01AF845B693175735DA2FCD8A">
     <id>93A802D01AF845B693175735DA2FCD8A</id>
     <window id="800030"/>
@@ -121757,6 +122189,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="C29AF47E6F7A42E9A2FA4108DADA47FD">
+    <id>C29AF47E6F7A42E9A2FA4108DADA47FD</id>
+    <window id="800064"/>
+    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="C29EED494BE44123A3388A4F7E4B1492">
     <id>C29EED494BE44123A3388A4F7E4B1492</id>
     <window id="6F8F913FA60F4CBD93DC1D3AA696E76E"/>
@@ -123710,6 +124151,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="EAAA9E5631F84504817D87B56D7D19BA">
+    <id>EAAA9E5631F84504817D87B56D7D19BA</id>
+    <window id="800064"/>
+    <role id="5CDB22F60411492E8716401BF5203770"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="EAB42D9248F546CF823A8DAC05EC5FF5">
     <id>EAB42D9248F546CF823A8DAC05EC5FF5</id>
     <window id="191"/>
@@ -372476,12 +372926,12 @@
     <subAccountLength xsi:nil="true"/>
   </OrganizationAcctSchema>
   <FIN_Payment id="16248F4ADAE448F482815CB91E1B6AE7">
+    <documentNo>400003</documentNo>
     <id>16248F4ADAE448F482815CB91E1B6AE7</id>
-    <documentNo>400003</documentNo>
     <paymentDate>2010-08-27T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E56F01C7"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>3.00</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372512,12 +372962,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="22F7D21FB4104C089194547F00D0626B">
+    <documentNo>700007</documentNo>
     <id>22F7D21FB4104C089194547F00D0626B</id>
-    <documentNo>700007</documentNo>
     <paymentDate>2010-09-08T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0D8E225ADA6E425E98EAA0F34E5912D7"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E7A301E9"/>
+    <organization id="0D8E225ADA6E425E98EAA0F34E5912D7"/>
     <amount>550.18</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372548,12 +372998,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="3D048FCA18DF41A1B09D2FDD088B562B">
+    <documentNo>400001</documentNo>
     <id>3D048FCA18DF41A1B09D2FDD088B562B</id>
-    <documentNo>400001</documentNo>
     <paymentDate>2010-08-11T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E56F01C7"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>610.07</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372584,12 +373034,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="4A5808566ECC40DEAF4A5C05D225D81E">
+    <documentNo>700005</documentNo>
     <id>4A5808566ECC40DEAF4A5C05D225D81E</id>
-    <documentNo>700005</documentNo>
     <paymentDate>2010-08-27T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E77001E4"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>202.68</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372620,12 +373070,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="4CBE98FC1EF44556B499DB99EDA26C1B">
+    <documentNo>700002</documentNo>
     <id>4CBE98FC1EF44556B499DB99EDA26C1B</id>
-    <documentNo>700002</documentNo>
     <paymentDate>2010-09-06T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E49501B5"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>50.00</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372656,12 +373106,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="53CC001E6036491080266E38A54D73DF">
+    <documentNo>700006</documentNo>
     <id>53CC001E6036491080266E38A54D73DF</id>
-    <documentNo>700006</documentNo>
     <paymentDate>2010-09-06T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E77001E4"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>300.00</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372692,12 +373142,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="8A64B71A2B68AAA5012B7D1849130026">
+    <documentNo>400005</documentNo>
     <id>8A64B71A2B68AAA5012B7D1849130026</id>
-    <documentNo>400005</documentNo>
     <paymentDate>2010-09-08T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E4D501BB"/>
+    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <amount>1383.20</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372728,12 +373178,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="A9310A008E744E50929ADE299B724D1E">
+    <documentNo>700003</documentNo>
     <id>A9310A008E744E50929ADE299B724D1E</id>
-    <documentNo>700003</documentNo>
     <paymentDate>2010-09-08T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E37001AB"/>
+    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <amount>628.79</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372764,12 +373214,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="B67C90A29C734646ABB52EE1F8F64974">
+    <documentNo>400008</documentNo>
     <id>B67C90A29C734646ABB52EE1F8F64974</id>
-    <documentNo>400008</documentNo>
     <paymentDate>2010-09-06T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E8B50200"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>846.83</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372800,12 +373250,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="BE8D60B5AFF8448CBD44DAF62260D2B5">
+    <documentNo>400010</documentNo>
     <id>BE8D60B5AFF8448CBD44DAF62260D2B5</id>
-    <documentNo>400010</documentNo>
     <paymentDate>2010-09-08T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0D8E225ADA6E425E98EAA0F34E5912D7"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E86301FA"/>
+    <organization id="0D8E225ADA6E425E98EAA0F34E5912D7"/>
     <amount>97.94</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372836,12 +373286,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="C3783FC1B5C2436C81247DDAEF9D1738">
+    <documentNo>400007</documentNo>
     <id>C3783FC1B5C2436C81247DDAEF9D1738</id>
-    <documentNo>400007</documentNo>
     <paymentDate>2010-08-27T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E8B50200"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>500.00</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372872,12 +373322,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="C40A8A65B0FB4522A40830387B93E5CB">
+    <documentNo>400004</documentNo>
     <id>C40A8A65B0FB4522A40830387B93E5CB</id>
-    <documentNo>400004</documentNo>
     <paymentDate>2010-09-06T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E56F01C7"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>3.31</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372908,12 +373358,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="E80E742A75F94BB0AA623EA9BBD40758">
+    <documentNo>400006</documentNo>
     <id>E80E742A75F94BB0AA623EA9BBD40758</id>
-    <documentNo>400006</documentNo>
     <paymentDate>2010-08-11T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E82201F4"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>317.19</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372944,12 +373394,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="F9C59628E69F413386585EDBC9DDDD34">
+    <documentNo>700004</documentNo>
     <id>F9C59628E69F413386585EDBC9DDDD34</id>
-    <documentNo>700004</documentNo>
     <paymentDate>2010-08-11T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E77001E4"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>0</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372978,12 +373428,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="FAE31E5467274E86BC7CDF5FBF1788C2">
+    <documentNo>700001</documentNo>
     <id>FAE31E5467274E86BC7CDF5FBF1788C2</id>
-    <documentNo>700001</documentNo>
     <paymentDate>2010-08-27T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E49501B5"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>75.03</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -373014,12 +373464,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="FF8080812E38E087012E38EA0ACE000C">
+    <documentNo>700010</documentNo>
     <id>FF8080812E38E087012E38EA0ACE000C</id>
-    <documentNo>700010</documentNo>
     <paymentDate>2011-02-18T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E49501B5"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>1089.26</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -373050,12 +373500,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="FF8080812E38E087012E38EF47FE0016">
+    <documentNo>700011</documentNo>
     <id>FF8080812E38E087012E38EF47FE0016</id>
-    <documentNo>700011</documentNo>
     <paymentDate>2011-02-18T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E77001E4"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>3910.23</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -373086,12 +373536,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="FF8080812E39520D012E396BFE590014">
+    <documentNo>400012</documentNo>
     <id>FF8080812E39520D012E396BFE590014</id>
-    <documentNo>400012</documentNo>
     <paymentDate>2011-02-18T00:00:00.0Z</paymentDate>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E51401C1"/>
+    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <amount>48.46</amount>
     <active>true</active>
     <receipt>true</receipt>
--- a/referencedata/sampledata/QA_Testing.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/referencedata/sampledata/QA_Testing.xml	Wed May 04 10:29:32 2011 +0200
@@ -61618,6 +61618,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="1FEC7C58EB0D4ADE86522A8AD8105D3F">
+    <id>1FEC7C58EB0D4ADE86522A8AD8105D3F</id>
+    <process id="800119"/>
+    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="20899716C6E24922BD585353282BA29C">
     <id>20899716C6E24922BD585353282BA29C</id>
     <process id="800117"/>
@@ -61807,6 +61816,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="263A364047A24EADA6B40B81FD036A2C">
+    <id>263A364047A24EADA6B40B81FD036A2C</id>
+    <process id="800128"/>
+    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="264B7D563C0C4671AABB5E8DAEA660FD">
     <id>264B7D563C0C4671AABB5E8DAEA660FD</id>
     <process id="800207"/>
@@ -62068,6 +62086,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="3064382EECBC491FBD6A7359F9D8CB1C">
+    <id>3064382EECBC491FBD6A7359F9D8CB1C</id>
+    <process id="800127"/>
+    <role id="4028E6C72959682B01295A071429011E"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="30F19FA4967C4C66B81AA6742C6B7E65">
     <id>30F19FA4967C4C66B81AA6742C6B7E65</id>
     <process id="112"/>
@@ -62212,6 +62239,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="3454362920F1485DBBD5C7F0D1BC2C55">
+    <id>3454362920F1485DBBD5C7F0D1BC2C55</id>
+    <process id="800127"/>
+    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="35327584CE8F4F178C5C46D8C4AFC86A">
     <id>35327584CE8F4F178C5C46D8C4AFC86A</id>
     <process id="205"/>
@@ -62221,6 +62257,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="3567E678A54043199E8CE83A71A4178B">
+    <id>3567E678A54043199E8CE83A71A4178B</id>
+    <process id="800127"/>
+    <role id="0256D4272D82412C9CDF41B67E362599"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="365ABE9A604D4E9BB42AA0D8EF0B4A38">
     <id>365ABE9A604D4E9BB42AA0D8EF0B4A38</id>
     <process id="140"/>
@@ -62275,6 +62320,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="37BDA17F015E4124915CD2FDA7968F81">
+    <id>37BDA17F015E4124915CD2FDA7968F81</id>
+    <process id="800119"/>
+    <role id="4028E6C72959682B01295A071429011E"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="386AD6888643418B93BAAC3B0362ACD2">
     <id>386AD6888643418B93BAAC3B0362ACD2</id>
     <process id="800020"/>
@@ -62527,6 +62581,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="3ED4637F73D74E4781DC031C475B2ECF">
+    <id>3ED4637F73D74E4781DC031C475B2ECF</id>
+    <process id="800114"/>
+    <role id="4028E6C72959682B01295A071429011E"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="3F0E68CEED7E48BDB8F0C6B01787B198">
     <id>3F0E68CEED7E48BDB8F0C6B01787B198</id>
     <process id="165"/>
@@ -63175,6 +63238,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="4E8030F0EEE54F2DA905F2260BD9A2B0">
+    <id>4E8030F0EEE54F2DA905F2260BD9A2B0</id>
+    <process id="800114"/>
+    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="4E8AB3487AEB4D37BA9BA6C89DDD4C77">
     <id>4E8AB3487AEB4D37BA9BA6C89DDD4C77</id>
     <process id="800103"/>
@@ -65290,6 +65362,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="9277343D48D34EA485241D754CB39DB4">
+    <id>9277343D48D34EA485241D754CB39DB4</id>
+    <process id="800128"/>
+    <role id="4028E6C72959682B01295A071429011E"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="92E3AF2BC8644A5DBB2D2E29C9519400">
     <id>92E3AF2BC8644A5DBB2D2E29C9519400</id>
     <process id="153"/>
@@ -67621,6 +67702,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="DB242DDAC54644A68746EBA3D5C20B4A">
+    <id>DB242DDAC54644A68746EBA3D5C20B4A</id>
+    <process id="800128"/>
+    <role id="0256D4272D82412C9CDF41B67E362599"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="DB2C8AD0A9044C60A78B581ACA1B3C0F">
     <id>DB2C8AD0A9044C60A78B581ACA1B3C0F</id>
     <process id="105"/>
@@ -67657,6 +67747,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="DB7337D0286F4C228BA8E9E76DED282D">
+    <id>DB7337D0286F4C228BA8E9E76DED282D</id>
+    <process id="800114"/>
+    <role id="0256D4272D82412C9CDF41B67E362599"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="DB7B01F6AEC54504A0DA491B27FC046B">
     <id>DB7B01F6AEC54504A0DA491B27FC046B</id>
     <process id="800024"/>
@@ -68458,6 +68557,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="F3E3262AA9F146378C06F20562D40268">
+    <id>F3E3262AA9F146378C06F20562D40268</id>
+    <process id="800119"/>
+    <role id="0256D4272D82412C9CDF41B67E362599"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="F43376A6371344EE93AC54A619A05DF1">
     <id>F43376A6371344EE93AC54A619A05DF1</id>
     <process id="221"/>
@@ -69313,6 +69421,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="20722961A0294A17932EB3A64EB2C92A">
+    <id>20722961A0294A17932EB3A64EB2C92A</id>
+    <window id="800064"/>
+    <role id="4028E6C72959682B01295A071429011E"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="21273B600C6B426D96F4F6EFA74122BA">
     <id>21273B600C6B426D96F4F6EFA74122BA</id>
     <window id="167"/>
@@ -70447,6 +70564,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="5E297490383F46A49E5129A2FE5C691E">
+    <id>5E297490383F46A49E5129A2FE5C691E</id>
+    <window id="800064"/>
+    <role id="0256D4272D82412C9CDF41B67E362599"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="5E62F57F908D43C680627C53305C7CC7">
     <id>5E62F57F908D43C680627C53305C7CC7</id>
     <window id="162"/>
@@ -72238,6 +72364,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="CBF0836C7B004FFAA0FE83101292A4E5">
+    <id>CBF0836C7B004FFAA0FE83101292A4E5</id>
+    <window id="800064"/>
+    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="CD3C73838D7643D7B7AB4BA5F928347B">
     <id>CD3C73838D7643D7B7AB4BA5F928347B</id>
     <window id="207"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/MA_MEASURE_SHIFT_EXPLODE.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,162 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION MA_MEASURE_SHIFT_EXPLODE">
+    <function name="MA_MEASURE_SHIFT_EXPLODE" type="NULL">
+      <parameter name="p_pinstance_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2001-2006 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+  --  Logistice
+  v_ResultStr VARCHAR2(2000):='';
+  v_Message VARCHAR2(2000):='';
+  v_Record_ID VARCHAR2(32);
+  v_Result NUMBER:=1; --  Success
+  --  Parameter
+  TYPE RECORD IS REF CURSOR;
+    Cur_Parameter RECORD;
+    --  Record Info
+    v_Client_ID VARCHAR2(32);
+    v_Org_ID VARCHAR2(32);
+    v_User_ID VARCHAR2(32);
+    v_Shift VARCHAR2(60);
+    v_CCP_Group NUMBER;
+    v_Line NUMBER;
+    v_Processed CHAR;
+    v_Time DATE;
+    v_Measure_Group VARCHAR2(32);
+    v_Measure_Time VARCHAR2(32);
+    Cur_CCP_Group RECORD;
+    FINISH_PROCESS BOOLEAN:=false;
+  BEGIN
+    --p_Result := 1;
+    --  Get Parameters
+    v_ResultStr:='ReadingParameters';
+    FOR Cur_Parameter IN
+      (SELECT i.Record_ID,
+        i.AD_User_ID,
+        p.ParameterName,
+        p.P_String,
+        p.P_Number,
+        p.P_Date,
+        i.AD_Org_ID,
+        i.AD_Client_ID
+      FROM AD_PInstance i
+      LEFT JOIN AD_PInstance_Para p
+        ON i.AD_PInstance_ID=p.AD_PInstance_ID
+      WHERE i.AD_PInstance_ID=p_PInstance_ID
+      ORDER BY p.SeqNo
+      )
+    LOOP
+      v_Record_ID:=Cur_Parameter.Record_ID;
+      v_User_ID:=Cur_Parameter.AD_User_ID;
+      v_Org_ID:=Cur_Parameter.AD_Org_ID;
+      v_Client_ID:=Cur_Parameter.AD_Client_ID;
+    END LOOP; --  Get Parameter
+    DBMS_OUTPUT.PUT_LINE('  v_Record_ID=' || v_Record_ID) ;
+    --  Update AD_PInstance
+    DBMS_OUTPUT.PUT_LINE('Updating PInstance - Processing ' || p_PInstance_ID) ;
+    v_ResultStr:='PInstanceNotFound';
+    AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'Y', NULL, NULL) ;
+  BEGIN --BODY
+    SELECT processed
+    INTO v_Processed
+    FROM MA_Measure_Shift
+    WHERE MA_Measure_Shift_ID=v_Record_ID;
+    IF v_Processed='Y' THEN
+      v_ResultStr:='Document is Processed';
+      DBMS_OUTPUT.PUT_LINE('Measure Shift is already Processed') ;
+      v_Message:='@MeasureTimeProcessed@';
+      RAISE_APPLICATION_ERROR(-20000, v_Message);
+    END IF;
+    IF(NOT FINISH_PROCESS) THEN
+      SELECT shift
+      INTO v_Shift
+      FROM MA_Measure_Shift
+      WHERE MA_Measure_Shift_ID=v_Record_ID;
+      FOR Cur_CCP_Group IN
+        (SELECT g.*,
+          s.STARTTIME,
+          s.ENDTIME
+        FROM MA_CCP_Group g,
+          MA_CCP_Shift s
+        WHERE g.MA_CCP_GROUP_ID=s.MA_CCP_GROUP_ID
+          AND s.SHIFT=v_Shift
+        ORDER BY g.SEQNO
+        )
+      LOOP
+        Ad_Sequence_Next('MA_Measure_Group', v_Org_ID, v_Measure_Group);
+        INSERT
+        INTO MA_Measure_Group
+          (
+            MA_Measure_Group_ID, AD_Client_ID, AD_Org_ID, Isactive,
+            Created, Createdby, Updated, Updatedby,
+            MA_CCP_Group_ID, MA_Measure_Shift_ID, Seqno
+          )
+          VALUES
+          (
+            v_Measure_Group, v_Client_ID, v_Org_ID, 'Y',
+            now(), v_User_ID, now(), v_User_ID,
+            Cur_CCP_Group.MA_CCP_Group_ID, v_Record_ID, Cur_CCP_Group.SEQNO
+          )
+          ;
+        -- v_time is equal to now() at starttime
+        v_Time:=TRUNC(now()) +(Cur_CCP_Group.STARTTIME - TRUNC(Cur_CCP_Group.STARTTIME)) ;
+        WHILE(v_Time - TRUNC(v_Time))<=(Cur_CCP_Group.ENDTIME - TRUNC(Cur_CCP_Group.ENDTIME))
+        LOOP
+          Ad_Sequence_Next('MA_Measure_Time', v_Org_ID, v_Measure_Time);
+          INSERT
+          INTO MA_Measure_Time
+            (
+              MA_Measure_Time_ID, AD_Client_ID, AD_Org_ID, Isactive,
+              Created, Createdby, Updated, Updatedby,
+              MA_Measure_Group_ID, Measurehour, Explode, Processed
+            )
+            VALUES
+            (
+              v_Measure_Time, v_Client_ID, v_Org_ID, 'Y',
+              now(), v_User_ID, now(), v_User_ID,
+              v_Measure_Group, v_Time, 'Y', 'N'
+            )
+            ;
+          MA_MEASURE_TIME_EXPLODE(p_PInstance_ID, v_Measure_Time) ;
+          --Frecuency is stored in date/time format. Convert to hours is needed
+          v_Time:=v_Time +(Cur_CCP_Group.FRECUENCY - TRUNC(Cur_CCP_Group.FRECUENCY)) ;
+        END LOOP;
+      END LOOP;
+      v_ResultStr:='Update Processed Shift';
+      UPDATE MA_Measure_Shift
+        SET Processed='Y'
+      WHERE MA_Measure_Shift_ID=v_Record_ID;
+    END IF;--FINISH_PROCESS
+    --<<FINISH_PROCESS>>
+    --  Update AD_PInstance
+    DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished - ' || v_Message) ;
+    AD_UPDATE_PINSTANCE(p_PInstance_ID, v_User_ID, 'N', v_Result, v_Message) ;
+    RETURN;
+  END; --BODY
+EXCEPTION
+WHEN OTHERS THEN
+  DBMS_OUTPUT.PUT_LINE('MA_MEASURE_SHIFT_EXPLODE exception: ' || v_ResultStr) ;
+  v_ResultStr:= '@ERROR=' || SQLERRM;
+  DBMS_OUTPUT.PUT_LINE(v_ResultStr) ;
+  ROLLBACK;
+  AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'N', 0, v_ResultStr) ;
+  RETURN;
+END MA_MEASURE_SHIFT_EXPLODE
+]]></body>
+    </function>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/MA_MEASURE_TIME_EXPLODE.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,156 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION MA_MEASURE_TIME_EXPLODE">
+    <function name="MA_MEASURE_TIME_EXPLODE" type="NULL">
+      <parameter name="p_pinstance_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_measure_time_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2001-2006 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+  --  Logistice
+  v_ResultStr VARCHAR2(2000):='';
+  v_Message VARCHAR2(2000):='';
+  v_Record_ID VARCHAR2(32);
+  v_Result NUMBER:=1; --  Success
+  --  Parameter
+  TYPE RECORD IS REF CURSOR;
+    Cur_Parameter RECORD;
+    --  Record Info
+    v_Client_ID VARCHAR2(32);
+    v_Org_ID VARCHAR2(32);
+    v_User_ID VARCHAR2(32);
+    v_CCP_Group NUMBER;
+    v_MeasureQty NUMBER;
+    v_Line NUMBER;
+    v_Processed CHAR;
+    Cur_CCP RECORD;
+    FINISH_PROCESS BOOLEAN:=false;
+    v_NextNo VARCHAR2(32);
+  BEGIN
+    --p_Result := 1;
+    --  Get Parameters
+    v_ResultStr:='ReadingParameters';
+    FOR Cur_Parameter IN
+      (SELECT i.Record_ID,
+        i.AD_User_ID,
+        p.ParameterName,
+        p.P_String,
+        p.P_Number,
+        p.P_Date,
+        i.AD_Org_ID,
+        i.AD_Client_ID
+      FROM AD_PInstance i
+      LEFT JOIN AD_PInstance_Para p
+        ON i.AD_PInstance_ID=p.AD_PInstance_ID
+      WHERE i.AD_PInstance_ID=p_PInstance_ID
+      ORDER BY p.SeqNo
+      )
+    LOOP
+      v_Record_ID:=Cur_Parameter.Record_ID;
+      v_User_ID:=Cur_Parameter.AD_User_ID;
+      v_Org_ID:=Cur_Parameter.AD_Org_ID;
+      v_Client_ID:=Cur_Parameter.AD_Client_ID;
+    END LOOP; --  Get Parameter
+    DBMS_OUTPUT.PUT_LINE('  v_Record_ID=' || v_Record_ID) ;
+    IF(p_Measure_Time_ID IS NULL) THEN
+      --  Update AD_PInstance
+      DBMS_OUTPUT.PUT_LINE('Updating PInstance - Processing ' || p_PInstance_ID) ;
+      v_ResultStr:='PInstanceNotFound';
+      AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'Y', NULL, NULL) ;
+    ELSE
+      DBMS_OUTPUT.PUT_LINE('--<<MA_GlobalUse_Distribute>>') ;
+      v_Record_ID:=p_Measure_Time_ID;
+    END IF;
+  BEGIN --BODY
+    SELECT processed
+    INTO v_Processed
+    FROM MA_Measure_Time
+    WHERE MA_Measure_Time_ID=v_Record_ID;
+    IF v_Processed='Y' THEN
+      v_ResultStr:='Document is Processed';
+      DBMS_OUTPUT.PUT_LINE('Measure Time is already Processed') ;
+      v_Message:='@MeasureTimeProcessed@';
+      RAISE_APPLICATION_ERROR(-20000, v_Message);
+    END IF;
+    IF(NOT FINISH_PROCESS) THEN
+      v_ResultStr:='Inserting Measure Values';
+      v_Line:=0;
+      FOR Cur_CCP IN
+        (SELECT c.*
+        FROM MA_CCP c,
+          MA_Measure_Group g,
+          MA_Measure_Time t
+        WHERE t.MA_MEASURE_GROUP_ID=g.MA_MEASURE_GROUP_ID
+          AND g.MA_CCP_GROUP_ID=c.MA_CCP_GROUP_ID
+          AND t.MA_MEASURE_TIME_ID=v_Record_ID
+        ORDER BY c.SEQNO
+        )
+      LOOP
+        v_MeasureQty:=0;
+        WHILE v_MeasureQty<Cur_CCP.VALUENUMBER
+        LOOP
+          v_Line:=v_Line + 10;
+          Ad_Sequence_Next('MA_Measure_Values', v_Org_ID, v_NextNo);
+          INSERT
+          INTO MA_MEASURE_VALUES
+            (
+              MA_Measure_Values_ID, AD_Client_ID, AD_Org_ID, Isactive,
+              Created, Createdby, Updated, Updatedby,
+              MA_Measure_Time_ID, MA_Ccp_ID, Valuetype, SeqNo
+            )
+            VALUES
+            (
+              v_NextNo, v_Client_ID, v_Org_ID, 'Y',
+              now(), v_User_ID, now(), V_User_ID,
+              v_Record_ID, Cur_CCP.MA_Ccp_ID, Cur_CCP.VALUETYPE, v_Line
+            )
+            ;
+          v_MeasureQty:=v_MeasureQty+1;
+        END LOOP;
+      END LOOP;
+      v_ResultStr:='Update Processed Time';
+      UPDATE MA_Measure_Time
+        SET Processed='Y'
+      WHERE MA_Measure_Time_ID=v_Record_ID;
+    END IF; --FINISH_PROCESS
+    --<<FINISH_PROCESS>>
+    IF(p_Measure_Time_ID IS NULL) THEN
+      --  Update AD_PInstance
+      DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished - ' || v_Message) ;
+      AD_UPDATE_PINSTANCE(p_PInstance_ID, v_User_ID, 'N', v_Result, v_Message) ;
+    ELSE
+      DBMS_OUTPUT.PUT_LINE('--<<MA_Measure_Time_Explode finished>> ' || v_Message) ;
+    END IF;
+    RETURN;
+  END; --BODY
+EXCEPTION
+WHEN OTHERS THEN
+  DBMS_OUTPUT.PUT_LINE(v_ResultStr) ;
+  IF(p_Measure_Time_ID IS NULL) THEN
+    v_ResultStr:= '@ERROR=' || SQLERRM;
+    DBMS_OUTPUT.PUT_LINE(v_ResultStr) ;
+    ROLLBACK;
+    AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'N', 0, v_ResultStr) ;
+  ELSE
+    RAISE;
+  END IF;
+END MA_MEASURE_TIME_EXPLODE
+]]></body>
+    </function>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/MA_MEASURE_TIME_EXPLODE0.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION MA_MEASURE_TIME_EXPLODE0">
+    <function name="MA_MEASURE_TIME_EXPLODE0" type="NULL">
+      <parameter name="p_pinstance_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2001-2006 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+BEGIN
+  MA_MEASURE_TIME_EXPLODE(p_PInstance_ID, NULL) ;
+END MA_MEASURE_TIME_EXPLODE0
+]]></body>
+    </function>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/MA_MEASURE_GROUP.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+  <database name="TABLE MA_MEASURE_GROUP">
+    <table name="MA_MEASURE_GROUP" primaryKey="MA_MEASURE_GROUP_KEY">
+      <column name="MA_MEASURE_GROUP_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MA_CCP_GROUP_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MA_MEASURE_SHIFT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMEASURE_GROUP">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="MA_CCP_GROUP" name="MA_CCP_GROUP_MAMEASURE_GROUP">
+        <reference local="MA_CCP_GROUP_ID" foreign="MA_CCP_GROUP_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="MA_MEASURE_GROUP_AD_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="MA_MEASURE_SHIFT" name="MA_MEASURESHIFT_MAMEASUREGROUP">
+        <reference local="MA_MEASURE_SHIFT_ID" foreign="MA_MEASURE_SHIFT_ID"/>
+      </foreign-key>
+      <check name="MA_MEASURE_GROU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+    </table>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/MA_MEASURE_SHIFT.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,72 @@
+<?xml version="1.0"?>
+  <database name="TABLE MA_MEASURE_SHIFT">
+    <table name="MA_MEASURE_SHIFT" primaryKey="MA_MEASURE_SHIFT_KEY">
+      <column name="MA_MEASURE_SHIFT_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="SHIFT" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MEASUREDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="OBSERVATION" primaryKey="false" required="false" type="VARCHAR" size="4000" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_USER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="EDIT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMEASURE_SHIFT">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_USER" name="AD_USER_MAMEASURESHIFT">
+        <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="MA_MEASURE_SHIFT_AD_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <check name="MA_MEASURE_SHIFT_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="MA_MEASURE_SHIFT_SHIFT_CHECK"><![CDATA[SHIFT IN ('M', 'T')]]></check>
+    </table>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/MA_MEASURE_TIME.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+  <database name="TABLE MA_MEASURE_TIME">
+    <table name="MA_MEASURE_TIME" primaryKey="MA_MEASURE_TIME_KEY">
+      <column name="MA_MEASURE_TIME_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MA_MEASURE_GROUP_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MEASUREHOUR" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="EXPLODE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMEASURETIME">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="MA_MEASURE_GROUP" name="MA_MEASURE_GROUP_MAMEASURETIME">
+        <reference local="MA_MEASURE_GROUP_ID" foreign="MA_MEASURE_GROUP_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="MA_MEASURE_TIME_AD_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <check name="MA_MEASURE_TIME_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+    </table>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/MA_MEASURE_VALUES.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+  <database name="TABLE MA_MEASURE_VALUES">
+    <table name="MA_MEASURE_VALUES" primaryKey="MA_MEASURE_VALUES_KEY">
+      <column name="MA_MEASURE_VALUES_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MA_MEASURE_TIME_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MA_CCP_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="VALUETYPE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="V_STRING" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="V_NUMBER" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="V_CHAR" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="SEQNO" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMEASUREVALUES">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="MA_CCP" name="MA_CCP_MAMEASUREVALUES">
+        <reference local="MA_CCP_ID" foreign="MA_CCP_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="MA_MEASURE_VALUES_AD_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="MA_MEASURE_TIME" name="MA_MEASURETIME_MAMEASUREVALUES">
+        <reference local="MA_MEASURE_TIME_ID" foreign="MA_MEASURE_TIME_ID"/>
+      </foreign-key>
+      <check name="MA_MEASURE_VALU_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+    </table>
+  </database>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Wed May 04 10:29:32 2011 +0200
@@ -177956,6 +177956,1013 @@
 <!--802231-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--802231--></AD_COLUMN>
 
+<!--802232--><AD_COLUMN>
+<!--802232-->  <AD_COLUMN_ID><![CDATA[802232]]></AD_COLUMN_ID>
+<!--802232-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802232-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802232-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802232-->  <NAME><![CDATA[Measurement Set]]></NAME>
+<!--802232-->  <HELP><![CDATA[Indicates the groups that are measured in the measure shift.]]></HELP>
+<!--802232-->  <COLUMNNAME><![CDATA[MA_Measure_Group_ID]]></COLUMNNAME>
+<!--802232-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802232-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--802232-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--802232-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--802232-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802232-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802232-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802232-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802232-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--802232-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802232-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802232-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802232-->  <AD_ELEMENT_ID><![CDATA[800476]]></AD_ELEMENT_ID>
+<!--802232-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802232-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802232-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802232-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802232-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802232-->  <POSITION><![CDATA[1]]></POSITION>
+<!--802232-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802232-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802232-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802232--></AD_COLUMN>
+
+<!--802233--><AD_COLUMN>
+<!--802233-->  <AD_COLUMN_ID><![CDATA[802233]]></AD_COLUMN_ID>
+<!--802233-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802233-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802233-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802233-->  <NAME><![CDATA[Client]]></NAME>
+<!--802233-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--802233-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--802233-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--802233-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802233-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802233-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802233-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--802233-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802233-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802233-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802233-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802233-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802233-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--802233-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802233-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802233-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802233-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--802233-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--802233-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802233-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802233-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802233-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802233-->  <POSITION><![CDATA[2]]></POSITION>
+<!--802233-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802233-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802233-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802233--></AD_COLUMN>
+
+<!--802234--><AD_COLUMN>
+<!--802234-->  <AD_COLUMN_ID><![CDATA[802234]]></AD_COLUMN_ID>
+<!--802234-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802234-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802234-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802234-->  <NAME><![CDATA[Organization]]></NAME>
+<!--802234-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--802234-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--802234-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--802234-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802234-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802234-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802234-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--802234-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802234-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802234-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802234-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802234-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802234-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--802234-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802234-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802234-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802234-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--802234-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--802234-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802234-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802234-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802234-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802234-->  <POSITION><![CDATA[3]]></POSITION>
+<!--802234-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802234-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802234-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802234--></AD_COLUMN>
+
+<!--802235--><AD_COLUMN>
+<!--802235-->  <AD_COLUMN_ID><![CDATA[802235]]></AD_COLUMN_ID>
+<!--802235-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802235-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802235-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802235-->  <NAME><![CDATA[Active]]></NAME>
+<!--802235-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--802235-->  <HELP><![CDATA[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 reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--802235-->  <COLUMNNAME><![CDATA[IsActive]]></COLUMNNAME>
+<!--802235-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802235-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--802235-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802235-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--802235-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802235-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802235-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802235-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802235-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802235-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--802235-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802235-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802235-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802235-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--802235-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802235-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802235-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802235-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802235-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802235-->  <POSITION><![CDATA[4]]></POSITION>
+<!--802235-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802235-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802235-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802235--></AD_COLUMN>
+
+<!--802236--><AD_COLUMN>
+<!--802236-->  <AD_COLUMN_ID><![CDATA[802236]]></AD_COLUMN_ID>
+<!--802236-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802236-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802236-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802236-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--802236-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--802236-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--802236-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--802236-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802236-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--802236-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802236-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--802236-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802236-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802236-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802236-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802236-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802236-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--802236-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802236-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802236-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802236-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--802236-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802236-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802236-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802236-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802236-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802236-->  <POSITION><![CDATA[5]]></POSITION>
+<!--802236-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802236-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802236-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802236--></AD_COLUMN>
+
+<!--802237--><AD_COLUMN>
+<!--802237-->  <AD_COLUMN_ID><![CDATA[802237]]></AD_COLUMN_ID>
+<!--802237-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802237-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802237-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802237-->  <NAME><![CDATA[Created By]]></NAME>
+<!--802237-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--802237-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--802237-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--802237-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802237-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--802237-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802237-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802237-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802237-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802237-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802237-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802237-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--802237-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802237-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802237-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802237-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--802237-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802237-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802237-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802237-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802237-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802237-->  <POSITION><![CDATA[6]]></POSITION>
+<!--802237-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802237-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802237-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802237--></AD_COLUMN>
+
+<!--802238--><AD_COLUMN>
+<!--802238-->  <AD_COLUMN_ID><![CDATA[802238]]></AD_COLUMN_ID>
+<!--802238-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802238-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802238-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802238-->  <NAME><![CDATA[Updated]]></NAME>
+<!--802238-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--802238-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--802238-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--802238-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802238-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--802238-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802238-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--802238-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802238-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802238-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802238-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802238-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802238-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--802238-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802238-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802238-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802238-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--802238-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802238-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802238-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802238-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802238-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802238-->  <POSITION><![CDATA[7]]></POSITION>
+<!--802238-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802238-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802238-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802238--></AD_COLUMN>
+
+<!--802239--><AD_COLUMN>
+<!--802239-->  <AD_COLUMN_ID><![CDATA[802239]]></AD_COLUMN_ID>
+<!--802239-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802239-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802239-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802239-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--802239-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--802239-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--802239-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--802239-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802239-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--802239-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802239-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802239-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802239-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802239-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802239-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802239-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--802239-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802239-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802239-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802239-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--802239-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802239-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802239-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802239-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802239-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802239-->  <POSITION><![CDATA[8]]></POSITION>
+<!--802239-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802239-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802239-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802239--></AD_COLUMN>
+
+<!--802240--><AD_COLUMN>
+<!--802240-->  <AD_COLUMN_ID><![CDATA[802240]]></AD_COLUMN_ID>
+<!--802240-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802240-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802240-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802240-->  <NAME><![CDATA[Quality Control Point Set]]></NAME>
+<!--802240-->  <DESCRIPTION><![CDATA[A collection of points to be checked at a specified time period.]]></DESCRIPTION>
+<!--802240-->  <HELP><![CDATA[Identifies a group of critical control points.]]></HELP>
+<!--802240-->  <COLUMNNAME><![CDATA[MA_CCP_Group_ID]]></COLUMNNAME>
+<!--802240-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802240-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802240-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802240-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802240-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802240-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802240-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802240-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--802240-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--802240-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802240-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802240-->  <CALLOUT><![CDATA[SL_CCPMeasure_Group]]></CALLOUT>
+<!--802240-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802240-->  <AD_ELEMENT_ID><![CDATA[800474]]></AD_ELEMENT_ID>
+<!--802240-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802240-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802240-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802240-->  <AD_CALLOUT_ID><![CDATA[116]]></AD_CALLOUT_ID>
+<!--802240-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802240-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802240-->  <POSITION><![CDATA[9]]></POSITION>
+<!--802240-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802240-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802240-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802240--></AD_COLUMN>
+
+<!--802243--><AD_COLUMN>
+<!--802243-->  <AD_COLUMN_ID><![CDATA[802243]]></AD_COLUMN_ID>
+<!--802243-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802243-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802243-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802243-->  <NAME><![CDATA[Measurement Time]]></NAME>
+<!--802243-->  <HELP><![CDATA[Identifies the time of the data gathering.]]></HELP>
+<!--802243-->  <COLUMNNAME><![CDATA[MA_Measure_Time_ID]]></COLUMNNAME>
+<!--802243-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802243-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--802243-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--802243-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--802243-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802243-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802243-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802243-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802243-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--802243-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802243-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802243-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802243-->  <AD_ELEMENT_ID><![CDATA[800477]]></AD_ELEMENT_ID>
+<!--802243-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802243-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802243-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802243-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802243-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802243-->  <POSITION><![CDATA[1]]></POSITION>
+<!--802243-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802243-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802243-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802243--></AD_COLUMN>
+
+<!--802244--><AD_COLUMN>
+<!--802244-->  <AD_COLUMN_ID><![CDATA[802244]]></AD_COLUMN_ID>
+<!--802244-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802244-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802244-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802244-->  <NAME><![CDATA[Client]]></NAME>
+<!--802244-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--802244-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--802244-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--802244-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802244-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802244-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802244-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--802244-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802244-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802244-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802244-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802244-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802244-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--802244-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802244-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802244-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802244-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--802244-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--802244-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802244-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802244-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802244-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802244-->  <POSITION><![CDATA[2]]></POSITION>
+<!--802244-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802244-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802244-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802244--></AD_COLUMN>
+
+<!--802245--><AD_COLUMN>
+<!--802245-->  <AD_COLUMN_ID><![CDATA[802245]]></AD_COLUMN_ID>
+<!--802245-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802245-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802245-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802245-->  <NAME><![CDATA[Organization]]></NAME>
+<!--802245-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--802245-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--802245-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--802245-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802245-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802245-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802245-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--802245-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802245-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802245-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802245-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802245-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802245-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--802245-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802245-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802245-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802245-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--802245-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--802245-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802245-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802245-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802245-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802245-->  <POSITION><![CDATA[3]]></POSITION>
+<!--802245-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802245-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802245-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802245--></AD_COLUMN>
+
+<!--802246--><AD_COLUMN>
+<!--802246-->  <AD_COLUMN_ID><![CDATA[802246]]></AD_COLUMN_ID>
+<!--802246-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802246-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802246-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802246-->  <NAME><![CDATA[Active]]></NAME>
+<!--802246-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--802246-->  <HELP><![CDATA[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 reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--802246-->  <COLUMNNAME><![CDATA[IsActive]]></COLUMNNAME>
+<!--802246-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802246-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--802246-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802246-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--802246-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802246-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802246-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802246-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802246-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802246-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--802246-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802246-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802246-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802246-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--802246-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802246-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802246-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802246-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802246-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802246-->  <POSITION><![CDATA[4]]></POSITION>
+<!--802246-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802246-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802246-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802246--></AD_COLUMN>
+
+<!--802247--><AD_COLUMN>
+<!--802247-->  <AD_COLUMN_ID><![CDATA[802247]]></AD_COLUMN_ID>
+<!--802247-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802247-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802247-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802247-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--802247-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--802247-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--802247-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--802247-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802247-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--802247-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802247-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--802247-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802247-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802247-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802247-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802247-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802247-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--802247-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802247-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802247-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802247-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--802247-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802247-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802247-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802247-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802247-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802247-->  <POSITION><![CDATA[5]]></POSITION>
+<!--802247-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802247-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802247-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802247--></AD_COLUMN>
+
+<!--802248--><AD_COLUMN>
+<!--802248-->  <AD_COLUMN_ID><![CDATA[802248]]></AD_COLUMN_ID>
+<!--802248-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802248-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802248-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802248-->  <NAME><![CDATA[Created By]]></NAME>
+<!--802248-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--802248-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--802248-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--802248-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802248-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--802248-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802248-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802248-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802248-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802248-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802248-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802248-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--802248-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802248-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802248-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802248-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--802248-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802248-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802248-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802248-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802248-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802248-->  <POSITION><![CDATA[6]]></POSITION>
+<!--802248-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802248-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802248-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802248--></AD_COLUMN>
+
+<!--802249--><AD_COLUMN>
+<!--802249-->  <AD_COLUMN_ID><![CDATA[802249]]></AD_COLUMN_ID>
+<!--802249-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802249-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802249-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802249-->  <NAME><![CDATA[Updated]]></NAME>
+<!--802249-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--802249-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--802249-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--802249-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802249-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--802249-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802249-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--802249-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802249-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802249-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802249-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802249-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802249-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--802249-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802249-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802249-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802249-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--802249-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802249-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802249-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802249-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802249-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802249-->  <POSITION><![CDATA[7]]></POSITION>
+<!--802249-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802249-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802249-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802249--></AD_COLUMN>
+
+<!--802250--><AD_COLUMN>
+<!--802250-->  <AD_COLUMN_ID><![CDATA[802250]]></AD_COLUMN_ID>
+<!--802250-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802250-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802250-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802250-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--802250-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--802250-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--802250-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--802250-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802250-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--802250-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802250-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802250-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802250-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802250-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802250-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802250-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--802250-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802250-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802250-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802250-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--802250-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802250-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802250-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802250-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802250-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802250-->  <POSITION><![CDATA[8]]></POSITION>
+<!--802250-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802250-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802250-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802250--></AD_COLUMN>
+
+<!--802251--><AD_COLUMN>
+<!--802251-->  <AD_COLUMN_ID><![CDATA[802251]]></AD_COLUMN_ID>
+<!--802251-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802251-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802251-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802251-->  <NAME><![CDATA[Measurement Set]]></NAME>
+<!--802251-->  <HELP><![CDATA[Indicates the groups that are measured in the measure shift.]]></HELP>
+<!--802251-->  <COLUMNNAME><![CDATA[MA_Measure_Group_ID]]></COLUMNNAME>
+<!--802251-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802251-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802251-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802251-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802251-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--802251-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802251-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802251-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--802251-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--802251-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802251-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802251-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802251-->  <AD_ELEMENT_ID><![CDATA[800476]]></AD_ELEMENT_ID>
+<!--802251-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802251-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802251-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802251-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802251-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802251-->  <POSITION><![CDATA[9]]></POSITION>
+<!--802251-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802251-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802251-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802251--></AD_COLUMN>
+
+<!--802252--><AD_COLUMN>
+<!--802252-->  <AD_COLUMN_ID><![CDATA[802252]]></AD_COLUMN_ID>
+<!--802252-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802252-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802252-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802252-->  <NAME><![CDATA[Measurement Hour]]></NAME>
+<!--802252-->  <HELP><![CDATA[Time when the gathering was made.]]></HELP>
+<!--802252-->  <COLUMNNAME><![CDATA[Measurehour]]></COLUMNNAME>
+<!--802252-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802252-->  <AD_REFERENCE_ID><![CDATA[24]]></AD_REFERENCE_ID>
+<!--802252-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802252-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802252-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802252-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802252-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802252-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802252-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--802252-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802252-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802252-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802252-->  <AD_ELEMENT_ID><![CDATA[800480]]></AD_ELEMENT_ID>
+<!--802252-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802252-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802252-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802252-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802252-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802252-->  <POSITION><![CDATA[10]]></POSITION>
+<!--802252-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802252-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802252-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802252--></AD_COLUMN>
+
+<!--802253--><AD_COLUMN>
+<!--802253-->  <AD_COLUMN_ID><![CDATA[802253]]></AD_COLUMN_ID>
+<!--802253-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802253-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802253-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802253-->  <NAME><![CDATA[Measurement Values]]></NAME>
+<!--802253-->  <HELP><![CDATA[Identifies each value measured in a measure time.]]></HELP>
+<!--802253-->  <COLUMNNAME><![CDATA[MA_Measure_Values_ID]]></COLUMNNAME>
+<!--802253-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802253-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--802253-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--802253-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--802253-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802253-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802253-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802253-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802253-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--802253-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802253-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802253-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802253-->  <AD_ELEMENT_ID><![CDATA[800478]]></AD_ELEMENT_ID>
+<!--802253-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802253-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802253-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802253-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802253-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802253-->  <POSITION><![CDATA[1]]></POSITION>
+<!--802253-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802253-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802253-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802253--></AD_COLUMN>
+
+<!--802254--><AD_COLUMN>
+<!--802254-->  <AD_COLUMN_ID><![CDATA[802254]]></AD_COLUMN_ID>
+<!--802254-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802254-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802254-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802254-->  <NAME><![CDATA[Client]]></NAME>
+<!--802254-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--802254-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--802254-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--802254-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802254-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802254-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802254-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--802254-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802254-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802254-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802254-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802254-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802254-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--802254-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802254-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802254-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802254-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--802254-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--802254-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802254-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802254-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802254-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802254-->  <POSITION><![CDATA[2]]></POSITION>
+<!--802254-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802254-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802254-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802254--></AD_COLUMN>
+
+<!--802255--><AD_COLUMN>
+<!--802255-->  <AD_COLUMN_ID><![CDATA[802255]]></AD_COLUMN_ID>
+<!--802255-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802255-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802255-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802255-->  <NAME><![CDATA[Organization]]></NAME>
+<!--802255-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--802255-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--802255-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--802255-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802255-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802255-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802255-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--802255-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802255-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802255-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802255-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802255-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802255-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--802255-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802255-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802255-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802255-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--802255-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--802255-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802255-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802255-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802255-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802255-->  <POSITION><![CDATA[3]]></POSITION>
+<!--802255-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802255-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802255-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802255--></AD_COLUMN>
+
+<!--802256--><AD_COLUMN>
+<!--802256-->  <AD_COLUMN_ID><![CDATA[802256]]></AD_COLUMN_ID>
+<!--802256-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802256-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802256-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802256-->  <NAME><![CDATA[Active]]></NAME>
+<!--802256-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--802256-->  <HELP><![CDATA[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 reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--802256-->  <COLUMNNAME><![CDATA[IsActive]]></COLUMNNAME>
+<!--802256-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802256-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--802256-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802256-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--802256-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802256-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802256-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802256-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802256-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802256-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--802256-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802256-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802256-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802256-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--802256-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802256-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802256-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802256-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802256-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802256-->  <POSITION><![CDATA[4]]></POSITION>
+<!--802256-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802256-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802256-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802256--></AD_COLUMN>
+
+<!--802257--><AD_COLUMN>
+<!--802257-->  <AD_COLUMN_ID><![CDATA[802257]]></AD_COLUMN_ID>
+<!--802257-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802257-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802257-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802257-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--802257-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--802257-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--802257-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--802257-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802257-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--802257-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802257-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--802257-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802257-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802257-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802257-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802257-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802257-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--802257-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802257-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802257-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802257-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--802257-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802257-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802257-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802257-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802257-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802257-->  <POSITION><![CDATA[5]]></POSITION>
+<!--802257-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802257-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802257-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802257--></AD_COLUMN>
+
+<!--802258--><AD_COLUMN>
+<!--802258-->  <AD_COLUMN_ID><![CDATA[802258]]></AD_COLUMN_ID>
+<!--802258-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802258-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802258-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802258-->  <NAME><![CDATA[Created By]]></NAME>
+<!--802258-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--802258-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--802258-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--802258-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802258-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--802258-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802258-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802258-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802258-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802258-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802258-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802258-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--802258-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802258-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802258-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802258-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--802258-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802258-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802258-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802258-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802258-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802258-->  <POSITION><![CDATA[6]]></POSITION>
+<!--802258-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802258-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802258-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802258--></AD_COLUMN>
+
+<!--802259--><AD_COLUMN>
+<!--802259-->  <AD_COLUMN_ID><![CDATA[802259]]></AD_COLUMN_ID>
+<!--802259-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802259-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802259-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802259-->  <NAME><![CDATA[Updated]]></NAME>
+<!--802259-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--802259-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--802259-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--802259-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802259-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--802259-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802259-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--802259-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802259-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802259-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802259-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802259-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802259-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--802259-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802259-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802259-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802259-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--802259-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802259-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802259-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802259-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802259-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802259-->  <POSITION><![CDATA[7]]></POSITION>
+<!--802259-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802259-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802259-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802259--></AD_COLUMN>
+
+<!--802260--><AD_COLUMN>
+<!--802260-->  <AD_COLUMN_ID><![CDATA[802260]]></AD_COLUMN_ID>
+<!--802260-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802260-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802260-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802260-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--802260-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--802260-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--802260-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--802260-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802260-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--802260-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802260-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802260-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802260-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802260-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802260-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802260-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--802260-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802260-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802260-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802260-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--802260-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802260-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802260-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802260-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802260-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802260-->  <POSITION><![CDATA[8]]></POSITION>
+<!--802260-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802260-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802260-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802260--></AD_COLUMN>
+
+<!--802261--><AD_COLUMN>
+<!--802261-->  <AD_COLUMN_ID><![CDATA[802261]]></AD_COLUMN_ID>
+<!--802261-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802261-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802261-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802261-->  <NAME><![CDATA[Measurement Time]]></NAME>
+<!--802261-->  <HELP><![CDATA[Identifies the time of the data gathering.]]></HELP>
+<!--802261-->  <COLUMNNAME><![CDATA[MA_Measure_Time_ID]]></COLUMNNAME>
+<!--802261-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802261-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802261-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802261-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802261-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--802261-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802261-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802261-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--802261-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--802261-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802261-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802261-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802261-->  <AD_ELEMENT_ID><![CDATA[800477]]></AD_ELEMENT_ID>
+<!--802261-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802261-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802261-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802261-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802261-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802261-->  <POSITION><![CDATA[9]]></POSITION>
+<!--802261-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802261-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802261-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802261--></AD_COLUMN>
+
+<!--802262--><AD_COLUMN>
+<!--802262-->  <AD_COLUMN_ID><![CDATA[802262]]></AD_COLUMN_ID>
+<!--802262-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802262-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802262-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802262-->  <NAME><![CDATA[Critical Control Point]]></NAME>
+<!--802262-->  <HELP><![CDATA[Identifies each measured critical control point.]]></HELP>
+<!--802262-->  <COLUMNNAME><![CDATA[MA_Ccp_ID]]></COLUMNNAME>
+<!--802262-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802262-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802262-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802262-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802262-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802262-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802262-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802262-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--802262-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--802262-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802262-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802262-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802262-->  <AD_ELEMENT_ID><![CDATA[800475]]></AD_ELEMENT_ID>
+<!--802262-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802262-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802262-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802262-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802262-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802262-->  <POSITION><![CDATA[10]]></POSITION>
+<!--802262-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802262-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802262-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802262--></AD_COLUMN>
+
+<!--802263--><AD_COLUMN>
+<!--802263-->  <AD_COLUMN_ID><![CDATA[802263]]></AD_COLUMN_ID>
+<!--802263-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802263-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802263-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802263-->  <NAME><![CDATA[Value Type]]></NAME>
+<!--802263-->  <HELP><![CDATA[Set the value type expected for the point. Possible options are: Yes/No, String or Number.]]></HELP>
+<!--802263-->  <COLUMNNAME><![CDATA[Valuetype]]></COLUMNNAME>
+<!--802263-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802263-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
+<!--802263-->  <AD_REFERENCE_VALUE_ID><![CDATA[800039]]></AD_REFERENCE_VALUE_ID>
+<!--802263-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--802263-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--802263-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802263-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802263-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802263-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802263-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802263-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--802263-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802263-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802263-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802263-->  <AD_ELEMENT_ID><![CDATA[800483]]></AD_ELEMENT_ID>
+<!--802263-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802263-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802263-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802263-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802263-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802263-->  <POSITION><![CDATA[11]]></POSITION>
+<!--802263-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802263-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802263-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802263--></AD_COLUMN>
+
 <!--802265--><AD_COLUMN>
 <!--802265-->  <AD_COLUMN_ID><![CDATA[802265]]></AD_COLUMN_ID>
 <!--802265-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -178088,6 +179095,539 @@
 <!--802297-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--802297--></AD_COLUMN>
 
+<!--802299--><AD_COLUMN>
+<!--802299-->  <AD_COLUMN_ID><![CDATA[802299]]></AD_COLUMN_ID>
+<!--802299-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802299-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802299-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802299-->  <NAME><![CDATA[Measurement Shift]]></NAME>
+<!--802299-->  <HELP><![CDATA[Indicates a measure shift of critical control points.]]></HELP>
+<!--802299-->  <COLUMNNAME><![CDATA[MA_Measure_Shift_ID]]></COLUMNNAME>
+<!--802299-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802299-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802299-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802299-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802299-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--802299-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802299-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802299-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--802299-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--802299-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802299-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802299-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802299-->  <AD_ELEMENT_ID><![CDATA[800490]]></AD_ELEMENT_ID>
+<!--802299-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802299-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802299-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802299-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802299-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802299-->  <POSITION><![CDATA[10]]></POSITION>
+<!--802299-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802299-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802299-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802299--></AD_COLUMN>
+
+<!--802300--><AD_COLUMN>
+<!--802300-->  <AD_COLUMN_ID><![CDATA[802300]]></AD_COLUMN_ID>
+<!--802300-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802300-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802300-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802300-->  <NAME><![CDATA[Measurement Shift]]></NAME>
+<!--802300-->  <HELP><![CDATA[Indicates a measure shift of critical control points.]]></HELP>
+<!--802300-->  <COLUMNNAME><![CDATA[MA_Measure_Shift_ID]]></COLUMNNAME>
+<!--802300-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802300-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--802300-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--802300-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--802300-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802300-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802300-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802300-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802300-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--802300-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802300-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802300-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802300-->  <AD_ELEMENT_ID><![CDATA[800490]]></AD_ELEMENT_ID>
+<!--802300-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802300-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802300-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802300-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802300-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802300-->  <POSITION><![CDATA[1]]></POSITION>
+<!--802300-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802300-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802300-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802300--></AD_COLUMN>
+
+<!--802301--><AD_COLUMN>
+<!--802301-->  <AD_COLUMN_ID><![CDATA[802301]]></AD_COLUMN_ID>
+<!--802301-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802301-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802301-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802301-->  <NAME><![CDATA[Client]]></NAME>
+<!--802301-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--802301-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--802301-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--802301-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802301-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802301-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802301-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--802301-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802301-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802301-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802301-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802301-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802301-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--802301-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802301-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802301-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802301-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--802301-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--802301-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802301-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802301-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802301-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802301-->  <POSITION><![CDATA[2]]></POSITION>
+<!--802301-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802301-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802301-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802301--></AD_COLUMN>
+
+<!--802302--><AD_COLUMN>
+<!--802302-->  <AD_COLUMN_ID><![CDATA[802302]]></AD_COLUMN_ID>
+<!--802302-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802302-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802302-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802302-->  <NAME><![CDATA[Organization]]></NAME>
+<!--802302-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--802302-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--802302-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--802302-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802302-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802302-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802302-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--802302-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802302-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802302-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802302-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802302-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802302-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--802302-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802302-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802302-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802302-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--802302-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--802302-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802302-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802302-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802302-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802302-->  <POSITION><![CDATA[3]]></POSITION>
+<!--802302-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802302-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802302-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802302--></AD_COLUMN>
+
+<!--802303--><AD_COLUMN>
+<!--802303-->  <AD_COLUMN_ID><![CDATA[802303]]></AD_COLUMN_ID>
+<!--802303-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802303-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802303-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802303-->  <NAME><![CDATA[Active]]></NAME>
+<!--802303-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--802303-->  <HELP><![CDATA[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 reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--802303-->  <COLUMNNAME><![CDATA[IsActive]]></COLUMNNAME>
+<!--802303-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802303-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--802303-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802303-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--802303-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802303-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802303-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802303-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802303-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802303-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--802303-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802303-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802303-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802303-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--802303-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802303-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802303-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802303-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802303-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802303-->  <POSITION><![CDATA[4]]></POSITION>
+<!--802303-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802303-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802303-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802303--></AD_COLUMN>
+
+<!--802304--><AD_COLUMN>
+<!--802304-->  <AD_COLUMN_ID><![CDATA[802304]]></AD_COLUMN_ID>
+<!--802304-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802304-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802304-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802304-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--802304-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--802304-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--802304-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--802304-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802304-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--802304-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802304-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--802304-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802304-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802304-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802304-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802304-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802304-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--802304-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802304-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802304-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802304-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--802304-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802304-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802304-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802304-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802304-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802304-->  <POSITION><![CDATA[5]]></POSITION>
+<!--802304-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802304-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802304-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802304--></AD_COLUMN>
+
+<!--802305--><AD_COLUMN>
+<!--802305-->  <AD_COLUMN_ID><![CDATA[802305]]></AD_COLUMN_ID>
+<!--802305-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802305-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802305-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802305-->  <NAME><![CDATA[Created By]]></NAME>
+<!--802305-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--802305-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--802305-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--802305-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802305-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--802305-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802305-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802305-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802305-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802305-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802305-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802305-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--802305-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802305-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802305-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802305-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--802305-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802305-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802305-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802305-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802305-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802305-->  <POSITION><![CDATA[6]]></POSITION>
+<!--802305-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802305-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802305-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802305--></AD_COLUMN>
+
+<!--802306--><AD_COLUMN>
+<!--802306-->  <AD_COLUMN_ID><![CDATA[802306]]></AD_COLUMN_ID>
+<!--802306-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802306-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802306-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802306-->  <NAME><![CDATA[Updated]]></NAME>
+<!--802306-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--802306-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--802306-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--802306-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802306-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--802306-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--802306-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--802306-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802306-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802306-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802306-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802306-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802306-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--802306-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802306-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802306-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802306-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--802306-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802306-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802306-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802306-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802306-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802306-->  <POSITION><![CDATA[7]]></POSITION>
+<!--802306-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802306-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802306-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802306--></AD_COLUMN>
+
+<!--802307--><AD_COLUMN>
+<!--802307-->  <AD_COLUMN_ID><![CDATA[802307]]></AD_COLUMN_ID>
+<!--802307-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802307-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802307-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802307-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--802307-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--802307-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--802307-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--802307-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802307-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--802307-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802307-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802307-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802307-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802307-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--802307-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802307-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--802307-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802307-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802307-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802307-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--802307-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802307-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802307-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802307-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802307-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802307-->  <POSITION><![CDATA[8]]></POSITION>
+<!--802307-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802307-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802307-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802307--></AD_COLUMN>
+
+<!--802308--><AD_COLUMN>
+<!--802308-->  <AD_COLUMN_ID><![CDATA[802308]]></AD_COLUMN_ID>
+<!--802308-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802308-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802308-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802308-->  <NAME><![CDATA[Shift]]></NAME>
+<!--802308-->  <DESCRIPTION><![CDATA[A partition of the workday into intervals.]]></DESCRIPTION>
+<!--802308-->  <HELP><![CDATA[Indicates the shift when the group is going to be measured. Available options are morning and swing shift]]></HELP>
+<!--802308-->  <COLUMNNAME><![CDATA[Shift]]></COLUMNNAME>
+<!--802308-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802308-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
+<!--802308-->  <AD_REFERENCE_VALUE_ID><![CDATA[800038]]></AD_REFERENCE_VALUE_ID>
+<!--802308-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--802308-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802308-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802308-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802308-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802308-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802308-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--802308-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802308-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802308-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802308-->  <AD_ELEMENT_ID><![CDATA[800481]]></AD_ELEMENT_ID>
+<!--802308-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802308-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802308-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802308-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802308-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802308-->  <POSITION><![CDATA[9]]></POSITION>
+<!--802308-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802308-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802308-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802308--></AD_COLUMN>
+
+<!--802309--><AD_COLUMN>
+<!--802309-->  <AD_COLUMN_ID><![CDATA[802309]]></AD_COLUMN_ID>
+<!--802309-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802309-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802309-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802309-->  <NAME><![CDATA[Measurement Date]]></NAME>
+<!--802309-->  <HELP><![CDATA[Date when the measures are taken.]]></HELP>
+<!--802309-->  <COLUMNNAME><![CDATA[Measuredate]]></COLUMNNAME>
+<!--802309-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802309-->  <AD_REFERENCE_ID><![CDATA[15]]></AD_REFERENCE_ID>
+<!--802309-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
+<!--802309-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802309-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802309-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802309-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802309-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--802309-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--802309-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802309-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802309-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802309-->  <AD_ELEMENT_ID><![CDATA[800479]]></AD_ELEMENT_ID>
+<!--802309-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802309-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802309-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802309-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802309-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802309-->  <POSITION><![CDATA[10]]></POSITION>
+<!--802309-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802309-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802309-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802309--></AD_COLUMN>
+
+<!--802310--><AD_COLUMN>
+<!--802310-->  <AD_COLUMN_ID><![CDATA[802310]]></AD_COLUMN_ID>
+<!--802310-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802310-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802310-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802310-->  <NAME><![CDATA[Text]]></NAME>
+<!--802310-->  <DESCRIPTION><![CDATA[A place to add observations related to a specified check point.]]></DESCRIPTION>
+<!--802310-->  <HELP><![CDATA[Result of the measure in text format.]]></HELP>
+<!--802310-->  <COLUMNNAME><![CDATA[V_String]]></COLUMNNAME>
+<!--802310-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802310-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--802310-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--802310-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802310-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802310-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802310-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802310-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802310-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--802310-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802310-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802310-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802310-->  <AD_ELEMENT_ID><![CDATA[1486]]></AD_ELEMENT_ID>
+<!--802310-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802310-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802310-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802310-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802310-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802310-->  <POSITION><![CDATA[12]]></POSITION>
+<!--802310-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802310-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802310-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802310--></AD_COLUMN>
+
+<!--802311--><AD_COLUMN>
+<!--802311-->  <AD_COLUMN_ID><![CDATA[802311]]></AD_COLUMN_ID>
+<!--802311-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802311-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802311-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802311-->  <NAME><![CDATA[Value]]></NAME>
+<!--802311-->  <DESCRIPTION><![CDATA[A statement of worth or importance given in many forms.]]></DESCRIPTION>
+<!--802311-->  <HELP><![CDATA[Result of the measure in numeric format.]]></HELP>
+<!--802311-->  <COLUMNNAME><![CDATA[V_Number]]></COLUMNNAME>
+<!--802311-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802311-->  <AD_REFERENCE_ID><![CDATA[22]]></AD_REFERENCE_ID>
+<!--802311-->  <FIELDLENGTH><![CDATA[14]]></FIELDLENGTH>
+<!--802311-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802311-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802311-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802311-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802311-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802311-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--802311-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802311-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802311-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802311-->  <AD_ELEMENT_ID><![CDATA[1485]]></AD_ELEMENT_ID>
+<!--802311-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802311-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802311-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802311-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802311-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802311-->  <POSITION><![CDATA[13]]></POSITION>
+<!--802311-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802311-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802311-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802311--></AD_COLUMN>
+
+<!--802312--><AD_COLUMN>
+<!--802312-->  <AD_COLUMN_ID><![CDATA[802312]]></AD_COLUMN_ID>
+<!--802312-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802312-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802312-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802312-->  <NAME><![CDATA[Check]]></NAME>
+<!--802312-->  <HELP><![CDATA[Yes/No result of the measure.]]></HELP>
+<!--802312-->  <COLUMNNAME><![CDATA[V_Char]]></COLUMNNAME>
+<!--802312-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802312-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--802312-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802312-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802312-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802312-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802312-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802312-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802312-->  <SEQNO><![CDATA[140]]></SEQNO>
+<!--802312-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802312-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802312-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802312-->  <AD_ELEMENT_ID><![CDATA[800492]]></AD_ELEMENT_ID>
+<!--802312-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802312-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802312-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802312-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802312-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802312-->  <POSITION><![CDATA[14]]></POSITION>
+<!--802312-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802312-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802312-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802312--></AD_COLUMN>
+
+<!--802313--><AD_COLUMN>
+<!--802313-->  <AD_COLUMN_ID><![CDATA[802313]]></AD_COLUMN_ID>
+<!--802313-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802313-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802313-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802313-->  <NAME><![CDATA[Insert Values]]></NAME>
+<!--802313-->  <HELP><![CDATA[Process to insert all the necessary measure values of the measured group.]]></HELP>
+<!--802313-->  <COLUMNNAME><![CDATA[Explode]]></COLUMNNAME>
+<!--802313-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802313-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--802313-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802313-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802313-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802313-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802313-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802313-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802313-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--802313-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802313-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802313-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802313-->  <AD_ELEMENT_ID><![CDATA[800493]]></AD_ELEMENT_ID>
+<!--802313-->  <AD_PROCESS_ID><![CDATA[800114]]></AD_PROCESS_ID>
+<!--802313-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802313-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802313-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802313-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802313-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802313-->  <POSITION><![CDATA[11]]></POSITION>
+<!--802313-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802313-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802313-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802313--></AD_COLUMN>
+
+<!--802314--><AD_COLUMN>
+<!--802314-->  <AD_COLUMN_ID><![CDATA[802314]]></AD_COLUMN_ID>
+<!--802314-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802314-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802314-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802314-->  <NAME><![CDATA[Processed]]></NAME>
+<!--802314-->  <DESCRIPTION><![CDATA[A confirmation that the associated documents or requests are processed.]]></DESCRIPTION>
+<!--802314-->  <HELP><![CDATA[The Processed checkbox indicates that a document has been processed.]]></HELP>
+<!--802314-->  <COLUMNNAME><![CDATA[Processed]]></COLUMNNAME>
+<!--802314-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--802314-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--802314-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802314-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--802314-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802314-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802314-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802314-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802314-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802314-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--802314-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802314-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802314-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802314-->  <AD_ELEMENT_ID><![CDATA[1047]]></AD_ELEMENT_ID>
+<!--802314-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802314-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802314-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802314-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802314-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802314-->  <POSITION><![CDATA[12]]></POSITION>
+<!--802314-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802314-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802314-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802314--></AD_COLUMN>
+
 <!--802315--><AD_COLUMN>
 <!--802315-->  <AD_COLUMN_ID><![CDATA[802315]]></AD_COLUMN_ID>
 <!--802315-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -178122,6 +179662,40 @@
 <!--802315-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--802315--></AD_COLUMN>
 
+<!--802316--><AD_COLUMN>
+<!--802316-->  <AD_COLUMN_ID><![CDATA[802316]]></AD_COLUMN_ID>
+<!--802316-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802316-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802316-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802316-->  <NAME><![CDATA[Sequence Number]]></NAME>
+<!--802316-->  <DESCRIPTION><![CDATA[The order of records in a specified document.]]></DESCRIPTION>
+<!--802316-->  <HELP><![CDATA[The Sequence indicates the order of records]]></HELP>
+<!--802316-->  <COLUMNNAME><![CDATA[SeqNo]]></COLUMNNAME>
+<!--802316-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--802316-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--802316-->  <FIELDLENGTH><![CDATA[4]]></FIELDLENGTH>
+<!--802316-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT COALESCE(MAX(SEQNO),0)+10 AS DefaultValue FROM MA_MEASURE_VALUES WHERE MA_MEASURE_TIME_ID=@MA_MEASURE_TIME_ID@ AND MA_CCP_ID=@MA_CCP_ID@]]></DEFAULTVALUE>
+<!--802316-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802316-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802316-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--802316-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802316-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802316-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--802316-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802316-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802316-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802316-->  <AD_ELEMENT_ID><![CDATA[566]]></AD_ELEMENT_ID>
+<!--802316-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802316-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802316-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802316-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802316-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802316-->  <POSITION><![CDATA[15]]></POSITION>
+<!--802316-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802316-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802316-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802316--></AD_COLUMN>
+
 <!--802317--><AD_COLUMN>
 <!--802317-->  <AD_COLUMN_ID><![CDATA[802317]]></AD_COLUMN_ID>
 <!--802317-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -179793,6 +181367,40 @@
 <!--802374-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--802374--></AD_COLUMN>
 
+<!--802375--><AD_COLUMN>
+<!--802375-->  <AD_COLUMN_ID><![CDATA[802375]]></AD_COLUMN_ID>
+<!--802375-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802375-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802375-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802375-->  <NAME><![CDATA[Sequence Number]]></NAME>
+<!--802375-->  <DESCRIPTION><![CDATA[The order of records in a specified document.]]></DESCRIPTION>
+<!--802375-->  <HELP><![CDATA[The Sequence indicates the order of records]]></HELP>
+<!--802375-->  <COLUMNNAME><![CDATA[SeqNo]]></COLUMNNAME>
+<!--802375-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--802375-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--802375-->  <FIELDLENGTH><![CDATA[6]]></FIELDLENGTH>
+<!--802375-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT COALESCE(MAX(SEQNO),0)+10 AS DefaultValue FROM MA_MEASURE_GROUP WHERE MA_MEASURE_SHIFT_ID=@MA_MEASURE_SHIFT_ID@]]></DEFAULTVALUE>
+<!--802375-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802375-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802375-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802375-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802375-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802375-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--802375-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802375-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802375-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802375-->  <AD_ELEMENT_ID><![CDATA[566]]></AD_ELEMENT_ID>
+<!--802375-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802375-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802375-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802375-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802375-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802375-->  <POSITION><![CDATA[11]]></POSITION>
+<!--802375-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802375-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802375-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802375--></AD_COLUMN>
+
 <!--802376--><AD_COLUMN>
 <!--802376-->  <AD_COLUMN_ID><![CDATA[802376]]></AD_COLUMN_ID>
 <!--802376-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -179826,6 +181434,72 @@
 <!--802376-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--802376--></AD_COLUMN>
 
+<!--802378--><AD_COLUMN>
+<!--802378-->  <AD_COLUMN_ID><![CDATA[802378]]></AD_COLUMN_ID>
+<!--802378-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802378-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802378-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802378-->  <NAME><![CDATA[Comments]]></NAME>
+<!--802378-->  <DESCRIPTION><![CDATA[A space to write additional related information.]]></DESCRIPTION>
+<!--802378-->  <HELP><![CDATA[Observations occurred during the process or operation.]]></HELP>
+<!--802378-->  <COLUMNNAME><![CDATA[Observation]]></COLUMNNAME>
+<!--802378-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802378-->  <AD_REFERENCE_ID><![CDATA[34]]></AD_REFERENCE_ID>
+<!--802378-->  <FIELDLENGTH><![CDATA[4000]]></FIELDLENGTH>
+<!--802378-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802378-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802378-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802378-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802378-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802378-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--802378-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802378-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802378-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802378-->  <AD_ELEMENT_ID><![CDATA[800506]]></AD_ELEMENT_ID>
+<!--802378-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802378-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802378-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802378-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802378-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802378-->  <POSITION><![CDATA[11]]></POSITION>
+<!--802378-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802378-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802378-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802378--></AD_COLUMN>
+
+<!--802379--><AD_COLUMN>
+<!--802379-->  <AD_COLUMN_ID><![CDATA[802379]]></AD_COLUMN_ID>
+<!--802379-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802379-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802379-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802379-->  <NAME><![CDATA[User/Contact]]></NAME>
+<!--802379-->  <DESCRIPTION><![CDATA[An acquaintance to reach for information related to the business partner.]]></DESCRIPTION>
+<!--802379-->  <HELP><![CDATA[The User identifies a unique user in the system. This could be an internal user or a business partner contact]]></HELP>
+<!--802379-->  <COLUMNNAME><![CDATA[AD_User_ID]]></COLUMNNAME>
+<!--802379-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802379-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--802379-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--802379-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802379-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802379-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802379-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802379-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802379-->  <SEQNO><![CDATA[160]]></SEQNO>
+<!--802379-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802379-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802379-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802379-->  <AD_ELEMENT_ID><![CDATA[138]]></AD_ELEMENT_ID>
+<!--802379-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802379-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802379-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802379-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802379-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802379-->  <POSITION><![CDATA[12]]></POSITION>
+<!--802379-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802379-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802379-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802379--></AD_COLUMN>
+
 <!--802380--><AD_COLUMN>
 <!--802380-->  <AD_COLUMN_ID><![CDATA[802380]]></AD_COLUMN_ID>
 <!--802380-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -183520,6 +185194,75 @@
 <!--802500-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--802500--></AD_COLUMN>
 
+<!--802501--><AD_COLUMN>
+<!--802501-->  <AD_COLUMN_ID><![CDATA[802501]]></AD_COLUMN_ID>
+<!--802501-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802501-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802501-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802501-->  <NAME><![CDATA[Processed]]></NAME>
+<!--802501-->  <DESCRIPTION><![CDATA[A confirmation that the associated documents or requests are processed.]]></DESCRIPTION>
+<!--802501-->  <HELP><![CDATA[The Processed checkbox indicates that a document has been processed.]]></HELP>
+<!--802501-->  <COLUMNNAME><![CDATA[Processed]]></COLUMNNAME>
+<!--802501-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802501-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--802501-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802501-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--802501-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802501-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802501-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802501-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802501-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802501-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--802501-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802501-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802501-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802501-->  <AD_ELEMENT_ID><![CDATA[1047]]></AD_ELEMENT_ID>
+<!--802501-->  <AD_PROCESS_ID><![CDATA[800127]]></AD_PROCESS_ID>
+<!--802501-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802501-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802501-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802501-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802501-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802501-->  <POSITION><![CDATA[14]]></POSITION>
+<!--802501-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802501-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802501-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802501--></AD_COLUMN>
+
+<!--802502--><AD_COLUMN>
+<!--802502-->  <AD_COLUMN_ID><![CDATA[802502]]></AD_COLUMN_ID>
+<!--802502-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802502-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802502-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802502-->  <NAME><![CDATA[Edit Measurements]]></NAME>
+<!--802502-->  <DESCRIPTION><![CDATA[Edit measures of CCP]]></DESCRIPTION>
+<!--802502-->  <HELP><![CDATA[Edit measures of CCP]]></HELP>
+<!--802502-->  <COLUMNNAME><![CDATA[Edit]]></COLUMNNAME>
+<!--802502-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--802502-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--802502-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--802502-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--802502-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--802502-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--802502-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--802502-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--802502-->  <SEQNO><![CDATA[180]]></SEQNO>
+<!--802502-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--802502-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802502-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--802502-->  <AD_ELEMENT_ID><![CDATA[800527]]></AD_ELEMENT_ID>
+<!--802502-->  <AD_PROCESS_ID><![CDATA[800128]]></AD_PROCESS_ID>
+<!--802502-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--802502-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--802502-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--802502-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--802502-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802502-->  <POSITION><![CDATA[13]]></POSITION>
+<!--802502-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--802502-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--802502-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--802502--></AD_COLUMN>
+
 <!--802503--><AD_COLUMN>
 <!--802503-->  <AD_COLUMN_ID><![CDATA[802503]]></AD_COLUMN_ID>
 <!--802503-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Wed May 04 10:29:32 2011 +0200
@@ -4242,6 +4242,62 @@
 <!--A73AA318BAE111DD80BA001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--A73AA318BAE111DD80BA001B388C61A4--></AD_DATASET_TABLE>
 
+<!--A73AAD86BAE111DD853B001B388C61A4--><AD_DATASET_TABLE>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A73AAD86BAE111DD853B001B388C61A4]]></AD_DATASET_TABLE_ID>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <AD_DATASET_ID><![CDATA[D81C5C810AEF47C690E4F688ABC8AAC8]]></AD_DATASET_ID>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <WHERECLAUSE><![CDATA[client.id=:ClientID]]></WHERECLAUSE>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <EXCLUDEAUDITINFO><![CDATA[N]]></EXCLUDEAUDITINFO>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
+<!--A73AAD86BAE111DD853B001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A73AAD86BAE111DD853B001B388C61A4--></AD_DATASET_TABLE>
+
+<!--A73AB6E6BAE111DD8415001B388C61A4--><AD_DATASET_TABLE>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A73AB6E6BAE111DD8415001B388C61A4]]></AD_DATASET_TABLE_ID>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <AD_DATASET_ID><![CDATA[D81C5C810AEF47C690E4F688ABC8AAC8]]></AD_DATASET_ID>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <WHERECLAUSE><![CDATA[client.id=:ClientID]]></WHERECLAUSE>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <EXCLUDEAUDITINFO><![CDATA[N]]></EXCLUDEAUDITINFO>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
+<!--A73AB6E6BAE111DD8415001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A73AB6E6BAE111DD8415001B388C61A4--></AD_DATASET_TABLE>
+
+<!--A73AC05ABAE111DDA1C2001B388C61A4--><AD_DATASET_TABLE>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A73AC05ABAE111DDA1C2001B388C61A4]]></AD_DATASET_TABLE_ID>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <AD_DATASET_ID><![CDATA[D81C5C810AEF47C690E4F688ABC8AAC8]]></AD_DATASET_ID>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <WHERECLAUSE><![CDATA[client.id=:ClientID]]></WHERECLAUSE>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <EXCLUDEAUDITINFO><![CDATA[N]]></EXCLUDEAUDITINFO>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
+<!--A73AC05ABAE111DDA1C2001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A73AC05ABAE111DDA1C2001B388C61A4--></AD_DATASET_TABLE>
+
+<!--A73AC9BABAE111DD871F001B388C61A4--><AD_DATASET_TABLE>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A73AC9BABAE111DD871F001B388C61A4]]></AD_DATASET_TABLE_ID>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <AD_DATASET_ID><![CDATA[D81C5C810AEF47C690E4F688ABC8AAC8]]></AD_DATASET_ID>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <WHERECLAUSE><![CDATA[client.id=:ClientID]]></WHERECLAUSE>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <EXCLUDEAUDITINFO><![CDATA[N]]></EXCLUDEAUDITINFO>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
+<!--A73AC9BABAE111DD871F001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A73AC9BABAE111DD871F001B388C61A4--></AD_DATASET_TABLE>
+
 <!--A73AD464BAE111DDAB2E001B388C61A4--><AD_DATASET_TABLE>
 <!--A73AD464BAE111DDAB2E001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A73AD464BAE111DDAB2E001B388C61A4]]></AD_DATASET_TABLE_ID>
 <!--A73AD464BAE111DDAB2E001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_ELEMENT.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_ELEMENT.xml	Wed May 04 10:29:32 2011 +0200
@@ -16542,6 +16542,42 @@
 <!--800475-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--800475--></AD_ELEMENT>
 
+<!--800476--><AD_ELEMENT>
+<!--800476-->  <AD_ELEMENT_ID><![CDATA[800476]]></AD_ELEMENT_ID>
+<!--800476-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800476-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800476-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800476-->  <COLUMNNAME><![CDATA[MA_Measure_Group_ID]]></COLUMNNAME>
+<!--800476-->  <NAME><![CDATA[Measurement Set]]></NAME>
+<!--800476-->  <PRINTNAME><![CDATA[Measure Group]]></PRINTNAME>
+<!--800476-->  <HELP><![CDATA[Indicates the groups that are measured in the measure shift.]]></HELP>
+<!--800476-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800476--></AD_ELEMENT>
+
+<!--800477--><AD_ELEMENT>
+<!--800477-->  <AD_ELEMENT_ID><![CDATA[800477]]></AD_ELEMENT_ID>
+<!--800477-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800477-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800477-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800477-->  <COLUMNNAME><![CDATA[MA_Measure_Time_ID]]></COLUMNNAME>
+<!--800477-->  <NAME><![CDATA[Measurement Time]]></NAME>
+<!--800477-->  <PRINTNAME><![CDATA[MEasure Time]]></PRINTNAME>
+<!--800477-->  <HELP><![CDATA[Identifies the time of the data gathering.]]></HELP>
+<!--800477-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800477--></AD_ELEMENT>
+
+<!--800478--><AD_ELEMENT>
+<!--800478-->  <AD_ELEMENT_ID><![CDATA[800478]]></AD_ELEMENT_ID>
+<!--800478-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800478-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800478-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800478-->  <COLUMNNAME><![CDATA[MA_Measure_Values_ID]]></COLUMNNAME>
+<!--800478-->  <NAME><![CDATA[Measurement Values]]></NAME>
+<!--800478-->  <PRINTNAME><![CDATA[MA_Measure_Values_ID]]></PRINTNAME>
+<!--800478-->  <HELP><![CDATA[Identifies each value measured in a measure time.]]></HELP>
+<!--800478-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800478--></AD_ELEMENT>
+
 <!--800479--><AD_ELEMENT>
 <!--800479-->  <AD_ELEMENT_ID><![CDATA[800479]]></AD_ELEMENT_ID>
 <!--800479-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -16626,6 +16662,18 @@
 <!--800485-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--800485--></AD_ELEMENT>
 
+<!--800490--><AD_ELEMENT>
+<!--800490-->  <AD_ELEMENT_ID><![CDATA[800490]]></AD_ELEMENT_ID>
+<!--800490-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800490-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800490-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800490-->  <COLUMNNAME><![CDATA[MA_Measure_Shift_ID]]></COLUMNNAME>
+<!--800490-->  <NAME><![CDATA[Measurement Shift]]></NAME>
+<!--800490-->  <PRINTNAME><![CDATA[Measure Shift]]></PRINTNAME>
+<!--800490-->  <HELP><![CDATA[Indicates a measure shift of critical control points.]]></HELP>
+<!--800490-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800490--></AD_ELEMENT>
+
 <!--800492--><AD_ELEMENT>
 <!--800492-->  <AD_ELEMENT_ID><![CDATA[800492]]></AD_ELEMENT_ID>
 <!--800492-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_FIELD.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Wed May 04 10:29:32 2011 +0200
@@ -121550,6 +121550,448 @@
 <!--802512-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
 <!--802512--></AD_FIELD>
 
+<!--802513--><AD_FIELD>
+<!--802513-->  <AD_FIELD_ID><![CDATA[802513]]></AD_FIELD_ID>
+<!--802513-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802513-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802513-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802513-->  <NAME><![CDATA[Measurement Set]]></NAME>
+<!--802513-->  <HELP><![CDATA[Indicates the groups that are measured in the measure shift.]]></HELP>
+<!--802513-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802513-->  <AD_TAB_ID><![CDATA[800153]]></AD_TAB_ID>
+<!--802513-->  <AD_COLUMN_ID><![CDATA[802232]]></AD_COLUMN_ID>
+<!--802513-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--802513-->  <DISPLAYLENGTH><![CDATA[10]]></DISPLAYLENGTH>
+<!--802513-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802513-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802513-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802513-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802513-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802513-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802513-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802513-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802513-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802513--></AD_FIELD>
+
+<!--802514--><AD_FIELD>
+<!--802514-->  <AD_FIELD_ID><![CDATA[802514]]></AD_FIELD_ID>
+<!--802514-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802514-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802514-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802514-->  <NAME><![CDATA[Client]]></NAME>
+<!--802514-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--802514-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--802514-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802514-->  <AD_TAB_ID><![CDATA[800153]]></AD_TAB_ID>
+<!--802514-->  <AD_COLUMN_ID><![CDATA[802233]]></AD_COLUMN_ID>
+<!--802514-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--802514-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802514-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802514-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802514-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802514-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802514-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802514-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802514-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802514-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802514-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802514--></AD_FIELD>
+
+<!--802515--><AD_FIELD>
+<!--802515-->  <AD_FIELD_ID><![CDATA[802515]]></AD_FIELD_ID>
+<!--802515-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802515-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802515-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802515-->  <NAME><![CDATA[Organization]]></NAME>
+<!--802515-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--802515-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--802515-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802515-->  <AD_TAB_ID><![CDATA[800153]]></AD_TAB_ID>
+<!--802515-->  <AD_COLUMN_ID><![CDATA[802234]]></AD_COLUMN_ID>
+<!--802515-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802515-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802515-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802515-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--802515-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--802515-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802515-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802515-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802515-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802515-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802515-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802515-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802515--></AD_FIELD>
+
+<!--802516--><AD_FIELD>
+<!--802516-->  <AD_FIELD_ID><![CDATA[802516]]></AD_FIELD_ID>
+<!--802516-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802516-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802516-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802516-->  <NAME><![CDATA[Active]]></NAME>
+<!--802516-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--802516-->  <HELP><![CDATA[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 reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--802516-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802516-->  <AD_TAB_ID><![CDATA[800153]]></AD_TAB_ID>
+<!--802516-->  <AD_COLUMN_ID><![CDATA[802235]]></AD_COLUMN_ID>
+<!--802516-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802516-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802516-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802516-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--802516-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802516-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802516-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802516-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802516-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802516-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802516-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802516-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802516--></AD_FIELD>
+
+<!--802517--><AD_FIELD>
+<!--802517-->  <AD_FIELD_ID><![CDATA[802517]]></AD_FIELD_ID>
+<!--802517-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802517-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802517-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802517-->  <NAME><![CDATA[Quality Control Point Set]]></NAME>
+<!--802517-->  <DESCRIPTION><![CDATA[A collection of points to be checked at a specified time period.]]></DESCRIPTION>
+<!--802517-->  <HELP><![CDATA[Identifies a group of critical control points.]]></HELP>
+<!--802517-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802517-->  <AD_TAB_ID><![CDATA[800153]]></AD_TAB_ID>
+<!--802517-->  <AD_COLUMN_ID><![CDATA[802240]]></AD_COLUMN_ID>
+<!--802517-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802517-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802517-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802517-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--802517-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802517-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802517-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802517-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802517-->  <ISFIRSTFOCUSEDFIELD><![CDATA[Y]]></ISFIRSTFOCUSEDFIELD>
+<!--802517-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802517-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802517-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802517--></AD_FIELD>
+
+<!--802520--><AD_FIELD>
+<!--802520-->  <AD_FIELD_ID><![CDATA[802520]]></AD_FIELD_ID>
+<!--802520-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802520-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802520-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802520-->  <NAME><![CDATA[Measurement Time]]></NAME>
+<!--802520-->  <HELP><![CDATA[Identifies the time of the data gathering.]]></HELP>
+<!--802520-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802520-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--802520-->  <AD_COLUMN_ID><![CDATA[802243]]></AD_COLUMN_ID>
+<!--802520-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--802520-->  <DISPLAYLENGTH><![CDATA[10]]></DISPLAYLENGTH>
+<!--802520-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802520-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802520-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802520-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802520-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802520-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802520-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802520-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802520-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802520--></AD_FIELD>
+
+<!--802521--><AD_FIELD>
+<!--802521-->  <AD_FIELD_ID><![CDATA[802521]]></AD_FIELD_ID>
+<!--802521-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802521-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802521-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802521-->  <NAME><![CDATA[Client]]></NAME>
+<!--802521-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--802521-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--802521-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802521-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--802521-->  <AD_COLUMN_ID><![CDATA[802244]]></AD_COLUMN_ID>
+<!--802521-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--802521-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802521-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802521-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802521-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802521-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802521-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802521-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802521-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802521-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802521-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802521--></AD_FIELD>
+
+<!--802522--><AD_FIELD>
+<!--802522-->  <AD_FIELD_ID><![CDATA[802522]]></AD_FIELD_ID>
+<!--802522-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802522-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802522-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802522-->  <NAME><![CDATA[Organization]]></NAME>
+<!--802522-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--802522-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--802522-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802522-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--802522-->  <AD_COLUMN_ID><![CDATA[802245]]></AD_COLUMN_ID>
+<!--802522-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802522-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802522-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802522-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--802522-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--802522-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802522-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802522-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802522-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802522-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802522-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802522-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802522--></AD_FIELD>
+
+<!--802523--><AD_FIELD>
+<!--802523-->  <AD_FIELD_ID><![CDATA[802523]]></AD_FIELD_ID>
+<!--802523-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802523-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802523-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802523-->  <NAME><![CDATA[Active]]></NAME>
+<!--802523-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--802523-->  <HELP><![CDATA[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 reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--802523-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802523-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--802523-->  <AD_COLUMN_ID><![CDATA[802246]]></AD_COLUMN_ID>
+<!--802523-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802523-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802523-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802523-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--802523-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802523-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802523-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802523-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802523-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802523-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802523-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802523-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802523--></AD_FIELD>
+
+<!--802524--><AD_FIELD>
+<!--802524-->  <AD_FIELD_ID><![CDATA[802524]]></AD_FIELD_ID>
+<!--802524-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802524-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802524-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802524-->  <NAME><![CDATA[Measurement Set]]></NAME>
+<!--802524-->  <HELP><![CDATA[Indicates the groups that are measured in the measure shift.]]></HELP>
+<!--802524-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802524-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--802524-->  <AD_COLUMN_ID><![CDATA[802251]]></AD_COLUMN_ID>
+<!--802524-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802524-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802524-->  <ISREADONLY><![CDATA[Y]]></ISREADONLY>
+<!--802524-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--802524-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802524-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802524-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802524-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802524-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802524-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802524-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802524-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802524--></AD_FIELD>
+
+<!--802525--><AD_FIELD>
+<!--802525-->  <AD_FIELD_ID><![CDATA[802525]]></AD_FIELD_ID>
+<!--802525-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802525-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802525-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802525-->  <NAME><![CDATA[Measurement Hour]]></NAME>
+<!--802525-->  <HELP><![CDATA[Time when the gathering was made.]]></HELP>
+<!--802525-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802525-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--802525-->  <AD_COLUMN_ID><![CDATA[802252]]></AD_COLUMN_ID>
+<!--802525-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802525-->  <DISPLAYLENGTH><![CDATA[8]]></DISPLAYLENGTH>
+<!--802525-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802525-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--802525-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802525-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802525-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802525-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802525-->  <ISFIRSTFOCUSEDFIELD><![CDATA[Y]]></ISFIRSTFOCUSEDFIELD>
+<!--802525-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802525-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802525-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802525--></AD_FIELD>
+
+<!--802526--><AD_FIELD>
+<!--802526-->  <AD_FIELD_ID><![CDATA[802526]]></AD_FIELD_ID>
+<!--802526-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802526-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802526-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802526-->  <NAME><![CDATA[Measurement Values]]></NAME>
+<!--802526-->  <HELP><![CDATA[Identifies each value measured in a measure time.]]></HELP>
+<!--802526-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802526-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802526-->  <AD_COLUMN_ID><![CDATA[802253]]></AD_COLUMN_ID>
+<!--802526-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--802526-->  <DISPLAYLENGTH><![CDATA[10]]></DISPLAYLENGTH>
+<!--802526-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802526-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802526-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802526-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802526-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802526-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802526-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802526-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802526-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802526--></AD_FIELD>
+
+<!--802527--><AD_FIELD>
+<!--802527-->  <AD_FIELD_ID><![CDATA[802527]]></AD_FIELD_ID>
+<!--802527-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802527-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802527-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802527-->  <NAME><![CDATA[Client]]></NAME>
+<!--802527-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--802527-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--802527-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802527-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802527-->  <AD_COLUMN_ID><![CDATA[802254]]></AD_COLUMN_ID>
+<!--802527-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--802527-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802527-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802527-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802527-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802527-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802527-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802527-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802527-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802527-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802527-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802527--></AD_FIELD>
+
+<!--802528--><AD_FIELD>
+<!--802528-->  <AD_FIELD_ID><![CDATA[802528]]></AD_FIELD_ID>
+<!--802528-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802528-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802528-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802528-->  <NAME><![CDATA[Organization]]></NAME>
+<!--802528-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--802528-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--802528-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802528-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802528-->  <AD_COLUMN_ID><![CDATA[802255]]></AD_COLUMN_ID>
+<!--802528-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802528-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802528-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802528-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--802528-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--802528-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802528-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802528-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802528-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802528-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802528-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802528-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802528--></AD_FIELD>
+
+<!--802529--><AD_FIELD>
+<!--802529-->  <AD_FIELD_ID><![CDATA[802529]]></AD_FIELD_ID>
+<!--802529-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802529-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802529-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802529-->  <NAME><![CDATA[Active]]></NAME>
+<!--802529-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--802529-->  <HELP><![CDATA[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 reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--802529-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802529-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802529-->  <AD_COLUMN_ID><![CDATA[802256]]></AD_COLUMN_ID>
+<!--802529-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802529-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802529-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802529-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--802529-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802529-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802529-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802529-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802529-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802529-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802529-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802529-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802529--></AD_FIELD>
+
+<!--802530--><AD_FIELD>
+<!--802530-->  <AD_FIELD_ID><![CDATA[802530]]></AD_FIELD_ID>
+<!--802530-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802530-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802530-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802530-->  <NAME><![CDATA[Measurement Time]]></NAME>
+<!--802530-->  <HELP><![CDATA[Identifies the time of the data gathering.]]></HELP>
+<!--802530-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802530-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802530-->  <AD_COLUMN_ID><![CDATA[802261]]></AD_COLUMN_ID>
+<!--802530-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802530-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802530-->  <ISREADONLY><![CDATA[Y]]></ISREADONLY>
+<!--802530-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--802530-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802530-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802530-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802530-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802530-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802530-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802530-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802530-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802530--></AD_FIELD>
+
+<!--802531--><AD_FIELD>
+<!--802531-->  <AD_FIELD_ID><![CDATA[802531]]></AD_FIELD_ID>
+<!--802531-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802531-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802531-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802531-->  <NAME><![CDATA[Critical Control Point]]></NAME>
+<!--802531-->  <HELP><![CDATA[Identifies each measured critical control point.]]></HELP>
+<!--802531-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802531-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802531-->  <AD_COLUMN_ID><![CDATA[802262]]></AD_COLUMN_ID>
+<!--802531-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802531-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802531-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802531-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--802531-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802531-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802531-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802531-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802531-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802531-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802531-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802531-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802531--></AD_FIELD>
+
+<!--802532--><AD_FIELD>
+<!--802532-->  <AD_FIELD_ID><![CDATA[802532]]></AD_FIELD_ID>
+<!--802532-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802532-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802532-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802532-->  <NAME><![CDATA[Value Type]]></NAME>
+<!--802532-->  <HELP><![CDATA[Set the value type expected for the point. Possible options are: Yes/No, String or Number.]]></HELP>
+<!--802532-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802532-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802532-->  <AD_COLUMN_ID><![CDATA[802263]]></AD_COLUMN_ID>
+<!--802532-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802532-->  <DISPLAYLENGTH><![CDATA[21]]></DISPLAYLENGTH>
+<!--802532-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802532-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--802532-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802532-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802532-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802532-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802532-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802532-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802532-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802532-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802532--></AD_FIELD>
+
 <!--802534--><AD_FIELD>
 <!--802534-->  <AD_FIELD_ID><![CDATA[802534]]></AD_FIELD_ID>
 <!--802534-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -121701,6 +122143,305 @@
 <!--802560-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
 <!--802560--></AD_FIELD>
 
+<!--802562--><AD_FIELD>
+<!--802562-->  <AD_FIELD_ID><![CDATA[802562]]></AD_FIELD_ID>
+<!--802562-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802562-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802562-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802562-->  <NAME><![CDATA[Measurement Shift]]></NAME>
+<!--802562-->  <HELP><![CDATA[Indicates a measure shift of critical control points.]]></HELP>
+<!--802562-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802562-->  <AD_TAB_ID><![CDATA[800153]]></AD_TAB_ID>
+<!--802562-->  <AD_COLUMN_ID><![CDATA[802299]]></AD_COLUMN_ID>
+<!--802562-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802562-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802562-->  <ISREADONLY><![CDATA[Y]]></ISREADONLY>
+<!--802562-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--802562-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802562-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802562-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802562-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802562-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802562-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802562-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802562-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802562--></AD_FIELD>
+
+<!--802563--><AD_FIELD>
+<!--802563-->  <AD_FIELD_ID><![CDATA[802563]]></AD_FIELD_ID>
+<!--802563-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802563-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802563-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802563-->  <NAME><![CDATA[Measurement Shift]]></NAME>
+<!--802563-->  <HELP><![CDATA[Indicates a measure shift of critical control points.]]></HELP>
+<!--802563-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802563-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802563-->  <AD_COLUMN_ID><![CDATA[802300]]></AD_COLUMN_ID>
+<!--802563-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--802563-->  <DISPLAYLENGTH><![CDATA[10]]></DISPLAYLENGTH>
+<!--802563-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802563-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802563-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802563-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802563-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802563-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802563-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802563-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802563-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802563--></AD_FIELD>
+
+<!--802564--><AD_FIELD>
+<!--802564-->  <AD_FIELD_ID><![CDATA[802564]]></AD_FIELD_ID>
+<!--802564-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802564-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802564-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802564-->  <NAME><![CDATA[Client]]></NAME>
+<!--802564-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--802564-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--802564-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802564-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802564-->  <AD_COLUMN_ID><![CDATA[802301]]></AD_COLUMN_ID>
+<!--802564-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--802564-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802564-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802564-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802564-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802564-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802564-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802564-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802564-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802564-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802564-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802564--></AD_FIELD>
+
+<!--802565--><AD_FIELD>
+<!--802565-->  <AD_FIELD_ID><![CDATA[802565]]></AD_FIELD_ID>
+<!--802565-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802565-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802565-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802565-->  <NAME><![CDATA[Organization]]></NAME>
+<!--802565-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--802565-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--802565-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802565-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802565-->  <AD_COLUMN_ID><![CDATA[802302]]></AD_COLUMN_ID>
+<!--802565-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802565-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802565-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802565-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--802565-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--802565-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802565-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802565-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802565-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802565-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802565-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802565-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802565--></AD_FIELD>
+
+<!--802566--><AD_FIELD>
+<!--802566-->  <AD_FIELD_ID><![CDATA[802566]]></AD_FIELD_ID>
+<!--802566-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802566-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802566-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802566-->  <NAME><![CDATA[Active]]></NAME>
+<!--802566-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--802566-->  <HELP><![CDATA[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 reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--802566-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802566-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802566-->  <AD_COLUMN_ID><![CDATA[802303]]></AD_COLUMN_ID>
+<!--802566-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802566-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802566-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802566-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--802566-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802566-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802566-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802566-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802566-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802566-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802566-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802566-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802566--></AD_FIELD>
+
+<!--802567--><AD_FIELD>
+<!--802567-->  <AD_FIELD_ID><![CDATA[802567]]></AD_FIELD_ID>
+<!--802567-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802567-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802567-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802567-->  <NAME><![CDATA[Shift]]></NAME>
+<!--802567-->  <DESCRIPTION><![CDATA[A partition of the workday into intervals.]]></DESCRIPTION>
+<!--802567-->  <HELP><![CDATA[Indicates the shift when the group is going to be measured. Available options are morning and swing shift]]></HELP>
+<!--802567-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802567-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802567-->  <AD_COLUMN_ID><![CDATA[802308]]></AD_COLUMN_ID>
+<!--802567-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802567-->  <DISPLAYLENGTH><![CDATA[21]]></DISPLAYLENGTH>
+<!--802567-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802567-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--802567-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--802567-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802567-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802567-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802567-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802567-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802567-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802567-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802567--></AD_FIELD>
+
+<!--802568--><AD_FIELD>
+<!--802568-->  <AD_FIELD_ID><![CDATA[802568]]></AD_FIELD_ID>
+<!--802568-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802568-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802568-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802568-->  <NAME><![CDATA[Measurement Date]]></NAME>
+<!--802568-->  <HELP><![CDATA[Date when the measures are taken.]]></HELP>
+<!--802568-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802568-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802568-->  <AD_COLUMN_ID><![CDATA[802309]]></AD_COLUMN_ID>
+<!--802568-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802568-->  <DISPLAYLENGTH><![CDATA[10]]></DISPLAYLENGTH>
+<!--802568-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802568-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--802568-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802568-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802568-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802568-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802568-->  <ISFIRSTFOCUSEDFIELD><![CDATA[Y]]></ISFIRSTFOCUSEDFIELD>
+<!--802568-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802568-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802568-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802568--></AD_FIELD>
+
+<!--802569--><AD_FIELD>
+<!--802569-->  <AD_FIELD_ID><![CDATA[802569]]></AD_FIELD_ID>
+<!--802569-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802569-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802569-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802569-->  <NAME><![CDATA[Text]]></NAME>
+<!--802569-->  <DESCRIPTION><![CDATA[A place to add observations related to a specified check point.]]></DESCRIPTION>
+<!--802569-->  <HELP><![CDATA[Result of the measure in text format.]]></HELP>
+<!--802569-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802569-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802569-->  <AD_COLUMN_ID><![CDATA[802310]]></AD_COLUMN_ID>
+<!--802569-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802569-->  <DISPLAYLOGIC><![CDATA[@Valuetype@='T']]></DISPLAYLOGIC>
+<!--802569-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
+<!--802569-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802569-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--802569-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802569-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802569-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802569-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802569-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802569-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802569-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802569-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802569--></AD_FIELD>
+
+<!--802570--><AD_FIELD>
+<!--802570-->  <AD_FIELD_ID><![CDATA[802570]]></AD_FIELD_ID>
+<!--802570-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802570-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802570-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802570-->  <NAME><![CDATA[Value]]></NAME>
+<!--802570-->  <DESCRIPTION><![CDATA[A statement of worth or importance given in many forms.]]></DESCRIPTION>
+<!--802570-->  <HELP><![CDATA[Result of the measure in numeric format.]]></HELP>
+<!--802570-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802570-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802570-->  <AD_COLUMN_ID><![CDATA[802311]]></AD_COLUMN_ID>
+<!--802570-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802570-->  <DISPLAYLOGIC><![CDATA[@Valuetype@='N']]></DISPLAYLOGIC>
+<!--802570-->  <DISPLAYLENGTH><![CDATA[14]]></DISPLAYLENGTH>
+<!--802570-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802570-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--802570-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802570-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802570-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802570-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802570-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802570-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802570-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802570-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802570--></AD_FIELD>
+
+<!--802571--><AD_FIELD>
+<!--802571-->  <AD_FIELD_ID><![CDATA[802571]]></AD_FIELD_ID>
+<!--802571-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802571-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802571-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802571-->  <NAME><![CDATA[Check]]></NAME>
+<!--802571-->  <HELP><![CDATA[Yes/No result of the measure.]]></HELP>
+<!--802571-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802571-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802571-->  <AD_COLUMN_ID><![CDATA[802312]]></AD_COLUMN_ID>
+<!--802571-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802571-->  <DISPLAYLOGIC><![CDATA[@Valuetype@='C']]></DISPLAYLOGIC>
+<!--802571-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802571-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802571-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--802571-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802571-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802571-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802571-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802571-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802571-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802571-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802571-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802571--></AD_FIELD>
+
+<!--802572--><AD_FIELD>
+<!--802572-->  <AD_FIELD_ID><![CDATA[802572]]></AD_FIELD_ID>
+<!--802572-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802572-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802572-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802572-->  <NAME><![CDATA[Input Time Measurement]]></NAME>
+<!--802572-->  <DESCRIPTION><![CDATA[With this process are inserted all the Control Points of the selected group to fill with taken measurements.]]></DESCRIPTION>
+<!--802572-->  <HELP><![CDATA[With this process are inserted all the Control Points of the selected group to fill with taken measurements.]]></HELP>
+<!--802572-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802572-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--802572-->  <AD_COLUMN_ID><![CDATA[802313]]></AD_COLUMN_ID>
+<!--802572-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802572-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802572-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802572-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--802572-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802572-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802572-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802572-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802572-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802572-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802572-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802572-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802572--></AD_FIELD>
+
+<!--802573--><AD_FIELD>
+<!--802573-->  <AD_FIELD_ID><![CDATA[802573]]></AD_FIELD_ID>
+<!--802573-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802573-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802573-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802573-->  <NAME><![CDATA[Processed]]></NAME>
+<!--802573-->  <DESCRIPTION><![CDATA[A confirmation that the associated documents or requests are processed.]]></DESCRIPTION>
+<!--802573-->  <HELP><![CDATA[The Processed checkbox indicates that a document has been processed.]]></HELP>
+<!--802573-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802573-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--802573-->  <AD_COLUMN_ID><![CDATA[802314]]></AD_COLUMN_ID>
+<!--802573-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802573-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802573-->  <ISREADONLY><![CDATA[Y]]></ISREADONLY>
+<!--802573-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--802573-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--802573-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802573-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802573-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802573-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802573-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802573-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802573-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802573--></AD_FIELD>
+
 <!--802574--><AD_FIELD>
 <!--802574-->  <AD_FIELD_ID><![CDATA[802574]]></AD_FIELD_ID>
 <!--802574-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -121727,6 +122468,32 @@
 <!--802574-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
 <!--802574--></AD_FIELD>
 
+<!--802575--><AD_FIELD>
+<!--802575-->  <AD_FIELD_ID><![CDATA[802575]]></AD_FIELD_ID>
+<!--802575-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802575-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802575-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802575-->  <NAME><![CDATA[Sequence Number]]></NAME>
+<!--802575-->  <DESCRIPTION><![CDATA[The order of records in a specified document.]]></DESCRIPTION>
+<!--802575-->  <HELP><![CDATA[The Sequence indicates the order of records]]></HELP>
+<!--802575-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802575-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--802575-->  <AD_COLUMN_ID><![CDATA[802316]]></AD_COLUMN_ID>
+<!--802575-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802575-->  <DISPLAYLENGTH><![CDATA[4]]></DISPLAYLENGTH>
+<!--802575-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802575-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--802575-->  <SORTNO><![CDATA[1]]></SORTNO>
+<!--802575-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802575-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802575-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802575-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802575-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802575-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802575-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802575-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802575--></AD_FIELD>
+
 <!--802576--><AD_FIELD>
 <!--802576-->  <AD_FIELD_ID><![CDATA[802576]]></AD_FIELD_ID>
 <!--802576-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -122570,6 +123337,31 @@
 <!--802615-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
 <!--802615--></AD_FIELD>
 
+<!--802616--><AD_FIELD>
+<!--802616-->  <AD_FIELD_ID><![CDATA[802616]]></AD_FIELD_ID>
+<!--802616-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802616-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802616-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802616-->  <NAME><![CDATA[Sequence Number]]></NAME>
+<!--802616-->  <DESCRIPTION><![CDATA[The order of records in a specified document.]]></DESCRIPTION>
+<!--802616-->  <HELP><![CDATA[The Sequence indicates the order of records]]></HELP>
+<!--802616-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802616-->  <AD_TAB_ID><![CDATA[800153]]></AD_TAB_ID>
+<!--802616-->  <AD_COLUMN_ID><![CDATA[802375]]></AD_COLUMN_ID>
+<!--802616-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802616-->  <DISPLAYLENGTH><![CDATA[6]]></DISPLAYLENGTH>
+<!--802616-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802616-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--802616-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--802616-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802616-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802616-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802616-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802616-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802616-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802616-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802616--></AD_FIELD>
+
 <!--802617--><AD_FIELD>
 <!--802617-->  <AD_FIELD_ID><![CDATA[802617]]></AD_FIELD_ID>
 <!--802617-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -122617,6 +123409,56 @@
 <!--802619-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
 <!--802619--></AD_FIELD>
 
+<!--802621--><AD_FIELD>
+<!--802621-->  <AD_FIELD_ID><![CDATA[802621]]></AD_FIELD_ID>
+<!--802621-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802621-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802621-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802621-->  <NAME><![CDATA[Comments]]></NAME>
+<!--802621-->  <DESCRIPTION><![CDATA[A space to write additional related information.]]></DESCRIPTION>
+<!--802621-->  <HELP><![CDATA[Observations occurred during the process or operation.]]></HELP>
+<!--802621-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802621-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802621-->  <AD_COLUMN_ID><![CDATA[802378]]></AD_COLUMN_ID>
+<!--802621-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802621-->  <DISPLAYLENGTH><![CDATA[4000]]></DISPLAYLENGTH>
+<!--802621-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802621-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--802621-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802621-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802621-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802621-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802621-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802621-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802621-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802621-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802621--></AD_FIELD>
+
+<!--802622--><AD_FIELD>
+<!--802622-->  <AD_FIELD_ID><![CDATA[802622]]></AD_FIELD_ID>
+<!--802622-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802622-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802622-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802622-->  <NAME><![CDATA[User/Contact]]></NAME>
+<!--802622-->  <DESCRIPTION><![CDATA[An acquaintance to reach for information related to the business partner.]]></DESCRIPTION>
+<!--802622-->  <HELP><![CDATA[The User identifies a unique user in the system. This could be an internal user or a business partner contact]]></HELP>
+<!--802622-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802622-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802622-->  <AD_COLUMN_ID><![CDATA[802379]]></AD_COLUMN_ID>
+<!--802622-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802622-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
+<!--802622-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802622-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--802622-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802622-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802622-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802622-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--802622-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802622-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802622-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802622-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802622--></AD_FIELD>
+
 <!--802623--><AD_FIELD>
 <!--802623-->  <AD_FIELD_ID><![CDATA[802623]]></AD_FIELD_ID>
 <!--802623-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -124022,6 +124864,58 @@
 <!--802723-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
 <!--802723--></AD_FIELD>
 
+<!--802724--><AD_FIELD>
+<!--802724-->  <AD_FIELD_ID><![CDATA[802724]]></AD_FIELD_ID>
+<!--802724-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802724-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802724-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802724-->  <NAME><![CDATA[Create CCP]]></NAME>
+<!--802724-->  <DESCRIPTION><![CDATA[Create the CCP for the date and shift selected]]></DESCRIPTION>
+<!--802724-->  <HELP><![CDATA[Create the CCP for the date and shift selected]]></HELP>
+<!--802724-->  <ISCENTRALLYMAINTAINED><![CDATA[N]]></ISCENTRALLYMAINTAINED>
+<!--802724-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802724-->  <AD_COLUMN_ID><![CDATA[802501]]></AD_COLUMN_ID>
+<!--802724-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802724-->  <DISPLAYLOGIC><![CDATA[@Processed@='N']]></DISPLAYLOGIC>
+<!--802724-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802724-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802724-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--802724-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802724-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802724-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802724-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802724-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802724-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802724-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802724-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802724--></AD_FIELD>
+
+<!--802725--><AD_FIELD>
+<!--802725-->  <AD_FIELD_ID><![CDATA[802725]]></AD_FIELD_ID>
+<!--802725-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802725-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802725-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802725-->  <NAME><![CDATA[Edit CCP Measured Values]]></NAME>
+<!--802725-->  <DESCRIPTION><![CDATA[Edit CCP Measured Values]]></DESCRIPTION>
+<!--802725-->  <HELP><![CDATA[Edit CCP Measured Values]]></HELP>
+<!--802725-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--802725-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--802725-->  <AD_COLUMN_ID><![CDATA[802502]]></AD_COLUMN_ID>
+<!--802725-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--802725-->  <DISPLAYLOGIC><![CDATA[@Processed@='Y']]></DISPLAYLOGIC>
+<!--802725-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--802725-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--802725-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--802725-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--802725-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--802725-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--802725-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--802725-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--802725-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--802725-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--802725-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--802725--></AD_FIELD>
+
 <!--802755--><AD_FIELD>
 <!--802755-->  <AD_FIELD_ID><![CDATA[802755]]></AD_FIELD_ID>
 <!--802755-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MENU.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_MENU.xml	Wed May 04 10:29:32 2011 +0200
@@ -3153,6 +3153,19 @@
 <!--800168-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--800168--></AD_MENU>
 
+<!--800169--><AD_MENU>
+<!--800169-->  <AD_MENU_ID><![CDATA[800169]]></AD_MENU_ID>
+<!--800169-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800169-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800169-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800169-->  <NAME><![CDATA[Quality Control Report]]></NAME>
+<!--800169-->  <DESCRIPTION><![CDATA[Create and edit measurements and report findings at predefined checkpoints.  The goal is to ensure output quality during production.]]></DESCRIPTION>
+<!--800169-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
+<!--800169-->  <ACTION><![CDATA[W]]></ACTION>
+<!--800169-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800169-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800169--></AD_MENU>
+
 <!--800172--><AD_MENU>
 <!--800172-->  <AD_MENU_ID><![CDATA[800172]]></AD_MENU_ID>
 <!--800172-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Wed May 04 10:29:32 2011 +0200
@@ -1656,6 +1656,18 @@
 <!--800871-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--800871--></AD_MODEL_OBJECT>
 
+<!--800872--><AD_MODEL_OBJECT>
+<!--800872-->  <AD_MODEL_OBJECT_ID><![CDATA[800872]]></AD_MODEL_OBJECT_ID>
+<!--800872-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800872-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800872-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800872-->  <ACTION><![CDATA[R]]></ACTION>
+<!--800872-->  <CLASSNAME><![CDATA[org.openbravo.erpReports.RptMA_CCP_Measures]]></CLASSNAME>
+<!--800872-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--800872-->  <AD_PROCESS_ID><![CDATA[800119]]></AD_PROCESS_ID>
+<!--800872-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
+<!--800872--></AD_MODEL_OBJECT>
+
 <!--800873--><AD_MODEL_OBJECT>
 <!--800873-->  <AD_MODEL_OBJECT_ID><![CDATA[800873]]></AD_MODEL_OBJECT_ID>
 <!--800873-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1800,6 +1812,18 @@
 <!--801007-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--801007--></AD_MODEL_OBJECT>
 
+<!--801011--><AD_MODEL_OBJECT>
+<!--801011-->  <AD_MODEL_OBJECT_ID><![CDATA[801011]]></AD_MODEL_OBJECT_ID>
+<!--801011-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--801011-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--801011-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--801011-->  <ACTION><![CDATA[P]]></ACTION>
+<!--801011-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_actionButton.EditCCPMeasureValues]]></CLASSNAME>
+<!--801011-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--801011-->  <AD_PROCESS_ID><![CDATA[800128]]></AD_PROCESS_ID>
+<!--801011-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
+<!--801011--></AD_MODEL_OBJECT>
+
 <!--801013--><AD_MODEL_OBJECT>
 <!--801013-->  <AD_MODEL_OBJECT_ID><![CDATA[801013]]></AD_MODEL_OBJECT_ID>
 <!--801013-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Wed May 04 10:29:32 2011 +0200
@@ -1420,6 +1420,16 @@
 <!--801134-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
 <!--801134--></AD_MODEL_OBJECT_MAPPING>
 
+<!--801135--><AD_MODEL_OBJECT_MAPPING>
+<!--801135-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801135]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--801135-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--801135-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--801135-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--801135-->  <AD_MODEL_OBJECT_ID><![CDATA[800872]]></AD_MODEL_OBJECT_ID>
+<!--801135-->  <MAPPINGNAME><![CDATA[/RptMA_CCP_Measures.pdf]]></MAPPINGNAME>
+<!--801135-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--801135--></AD_MODEL_OBJECT_MAPPING>
+
 <!--801136--><AD_MODEL_OBJECT_MAPPING>
 <!--801136-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801136]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--801136-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1630,6 +1640,16 @@
 <!--801291-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
 <!--801291--></AD_MODEL_OBJECT_MAPPING>
 
+<!--801296--><AD_MODEL_OBJECT_MAPPING>
+<!--801296-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801296]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--801296-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--801296-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--801296-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--801296-->  <AD_MODEL_OBJECT_ID><![CDATA[801011]]></AD_MODEL_OBJECT_ID>
+<!--801296-->  <MAPPINGNAME><![CDATA[/ad_actionButton/EditCCPMeasureValues.html]]></MAPPINGNAME>
+<!--801296-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--801296--></AD_MODEL_OBJECT_MAPPING>
+
 <!--801300--><AD_MODEL_OBJECT_MAPPING>
 <!--801300-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801300]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--801300-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1990,6 +2010,26 @@
 <!--801514-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
 <!--801514--></AD_MODEL_OBJECT_MAPPING>
 
+<!--801515--><AD_MODEL_OBJECT_MAPPING>
+<!--801515-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801515]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--801515-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--801515-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--801515-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--801515-->  <AD_MODEL_OBJECT_ID><![CDATA[800872]]></AD_MODEL_OBJECT_ID>
+<!--801515-->  <MAPPINGNAME><![CDATA[/RptMA_CCP_Measures_Hours.pdf]]></MAPPINGNAME>
+<!--801515-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--801515--></AD_MODEL_OBJECT_MAPPING>
+
+<!--801516--><AD_MODEL_OBJECT_MAPPING>
+<!--801516-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801516]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--801516-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--801516-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--801516-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--801516-->  <AD_MODEL_OBJECT_ID><![CDATA[800872]]></AD_MODEL_OBJECT_ID>
+<!--801516-->  <MAPPINGNAME><![CDATA[/RptMA_CCP_Measures_Values.pdf]]></MAPPINGNAME>
+<!--801516-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--801516--></AD_MODEL_OBJECT_MAPPING>
+
 <!--801517--><AD_MODEL_OBJECT_MAPPING>
 <!--801517-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[801517]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--801517-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_PROCESS.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_PROCESS.xml	Wed May 04 10:29:32 2011 +0200
@@ -3486,6 +3486,26 @@
 <!--800112-->  <UIPATTERN><![CDATA[S]]></UIPATTERN>
 <!--800112--></AD_PROCESS>
 
+<!--800114--><AD_PROCESS>
+<!--800114-->  <AD_PROCESS_ID><![CDATA[800114]]></AD_PROCESS_ID>
+<!--800114-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800114-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800114-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800114-->  <VALUE><![CDATA[MA_Measure_Time_Explode]]></VALUE>
+<!--800114-->  <NAME><![CDATA[Input Time Measurement]]></NAME>
+<!--800114-->  <DESCRIPTION><![CDATA[With this process are inserted all the Control Points of the selected group to fill with taken measurements.]]></DESCRIPTION>
+<!--800114-->  <HELP><![CDATA[With this process are inserted all the Control Points of the selected group to fill with taken measurements.]]></HELP>
+<!--800114-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
+<!--800114-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
+<!--800114-->  <PROCEDURENAME><![CDATA[MA_Measure_Time_Explode0]]></PROCEDURENAME>
+<!--800114-->  <ISREPORT><![CDATA[N]]></ISREPORT>
+<!--800114-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
+<!--800114-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--800114-->  <ISJASPER><![CDATA[N]]></ISJASPER>
+<!--800114-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800114-->  <UIPATTERN><![CDATA[S]]></UIPATTERN>
+<!--800114--></AD_PROCESS>
+
 <!--800115--><AD_PROCESS>
 <!--800115-->  <AD_PROCESS_ID><![CDATA[800115]]></AD_PROCESS_ID>
 <!--800115-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3545,6 +3565,25 @@
 <!--800118-->  <UIPATTERN><![CDATA[S]]></UIPATTERN>
 <!--800118--></AD_PROCESS>
 
+<!--800119--><AD_PROCESS>
+<!--800119-->  <AD_PROCESS_ID><![CDATA[800119]]></AD_PROCESS_ID>
+<!--800119-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800119-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800119-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800119-->  <VALUE><![CDATA[Rpt MA_CCP_Measures]]></VALUE>
+<!--800119-->  <NAME><![CDATA[CCP Measures sheet]]></NAME>
+<!--800119-->  <DESCRIPTION><![CDATA[Print of the selected critical control points measures.]]></DESCRIPTION>
+<!--800119-->  <HELP><![CDATA[Print of the selected critical control points measures.]]></HELP>
+<!--800119-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
+<!--800119-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
+<!--800119-->  <ISREPORT><![CDATA[Y]]></ISREPORT>
+<!--800119-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
+<!--800119-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--800119-->  <ISJASPER><![CDATA[N]]></ISJASPER>
+<!--800119-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800119-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
+<!--800119--></AD_PROCESS>
+
 <!--800120--><AD_PROCESS>
 <!--800120-->  <AD_PROCESS_ID><![CDATA[800120]]></AD_PROCESS_ID>
 <!--800120-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3643,6 +3682,46 @@
 <!--800126-->  <UIPATTERN><![CDATA[S]]></UIPATTERN>
 <!--800126--></AD_PROCESS>
 
+<!--800127--><AD_PROCESS>
+<!--800127-->  <AD_PROCESS_ID><![CDATA[800127]]></AD_PROCESS_ID>
+<!--800127-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800127-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800127-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800127-->  <VALUE><![CDATA[MA_Measure_Shift_Explode]]></VALUE>
+<!--800127-->  <NAME><![CDATA[Explode Measure Shift]]></NAME>
+<!--800127-->  <DESCRIPTION><![CDATA[Explode Measure Shift]]></DESCRIPTION>
+<!--800127-->  <HELP><![CDATA[Explode Measure Shift]]></HELP>
+<!--800127-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
+<!--800127-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
+<!--800127-->  <PROCEDURENAME><![CDATA[MA_Measure_Shift_Explode]]></PROCEDURENAME>
+<!--800127-->  <ISREPORT><![CDATA[N]]></ISREPORT>
+<!--800127-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
+<!--800127-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--800127-->  <ISJASPER><![CDATA[N]]></ISJASPER>
+<!--800127-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800127-->  <UIPATTERN><![CDATA[S]]></UIPATTERN>
+<!--800127--></AD_PROCESS>
+
+<!--800128--><AD_PROCESS>
+<!--800128-->  <AD_PROCESS_ID><![CDATA[800128]]></AD_PROCESS_ID>
+<!--800128-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800128-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800128-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800128-->  <VALUE><![CDATA[EditCCPMeasureValues]]></VALUE>
+<!--800128-->  <NAME><![CDATA[Edit CCP Measured Values]]></NAME>
+<!--800128-->  <DESCRIPTION><![CDATA[Edit CCP Measured Values]]></DESCRIPTION>
+<!--800128-->  <HELP><![CDATA[Edit CCP Measured Values]]></HELP>
+<!--800128-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
+<!--800128-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
+<!--800128-->  <ISREPORT><![CDATA[N]]></ISREPORT>
+<!--800128-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
+<!--800128-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_actionButton.EditCCPMeasureValues]]></CLASSNAME>
+<!--800128-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--800128-->  <ISJASPER><![CDATA[N]]></ISJASPER>
+<!--800128-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800128-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
+<!--800128--></AD_PROCESS>
+
 <!--800129--><AD_PROCESS>
 <!--800129-->  <AD_PROCESS_ID><![CDATA[800129]]></AD_PROCESS_ID>
 <!--800129-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TAB.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_TAB.xml	Wed May 04 10:29:32 2011 +0200
@@ -7724,6 +7724,111 @@
 <!--800152-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
 <!--800152--></AD_TAB>
 
+<!--800153--><AD_TAB>
+<!--800153-->  <AD_TAB_ID><![CDATA[800153]]></AD_TAB_ID>
+<!--800153-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800153-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800153-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800153-->  <NAME><![CDATA[Check Point Set]]></NAME>
+<!--800153-->  <DESCRIPTION><![CDATA[Create and edit checkpoints for the related measurement.]]></DESCRIPTION>
+<!--800153-->  <HELP><![CDATA[Create and edit checkpoints for the related measurement.]]></HELP>
+<!--800153-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--800153-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800153-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--800153-->  <TABLEVEL><![CDATA[1]]></TABLEVEL>
+<!--800153-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--800153-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--800153-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--800153-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--800153-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--800153-->  <ORDERBYCLAUSE><![CDATA[MA_Measure_Group.seqno]]></ORDERBYCLAUSE>
+<!--800153-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--800153-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--800153-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--800153-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800153-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--800153-->  <HQLORDERBYCLAUSE><![CDATA[sequenceNumber]]></HQLORDERBYCLAUSE>
+<!--800153--></AD_TAB>
+
+<!--800154--><AD_TAB>
+<!--800154-->  <AD_TAB_ID><![CDATA[800154]]></AD_TAB_ID>
+<!--800154-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800154-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800154-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800154-->  <NAME><![CDATA[Time]]></NAME>
+<!--800154-->  <DESCRIPTION><![CDATA[Create and edit times for related check points.]]></DESCRIPTION>
+<!--800154-->  <HELP><![CDATA[Create and edit times for related check points.]]></HELP>
+<!--800154-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--800154-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800154-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--800154-->  <TABLEVEL><![CDATA[2]]></TABLEVEL>
+<!--800154-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--800154-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--800154-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--800154-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--800154-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--800154-->  <ORDERBYCLAUSE><![CDATA[MA_Measure_Time.MeasureHour]]></ORDERBYCLAUSE>
+<!--800154-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--800154-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--800154-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--800154-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800154-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--800154-->  <HQLORDERBYCLAUSE><![CDATA[measurementHour]]></HQLORDERBYCLAUSE>
+<!--800154--></AD_TAB>
+
+<!--800155--><AD_TAB>
+<!--800155-->  <AD_TAB_ID><![CDATA[800155]]></AD_TAB_ID>
+<!--800155-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800155-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800155-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800155-->  <NAME><![CDATA[Values]]></NAME>
+<!--800155-->  <DESCRIPTION><![CDATA[Create and edit values for a related measurement.]]></DESCRIPTION>
+<!--800155-->  <HELP><![CDATA[Create and edit values for a related measurement.]]></HELP>
+<!--800155-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--800155-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800155-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--800155-->  <TABLEVEL><![CDATA[3]]></TABLEVEL>
+<!--800155-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--800155-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--800155-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--800155-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--800155-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--800155-->  <ORDERBYCLAUSE><![CDATA[TO_NUMBER(MA_Measure_Values.SeqNo)]]></ORDERBYCLAUSE>
+<!--800155-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--800155-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--800155-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--800155-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800155-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--800155-->  <HQLORDERBYCLAUSE><![CDATA[sequenceNumber]]></HQLORDERBYCLAUSE>
+<!--800155--></AD_TAB>
+
+<!--800158--><AD_TAB>
+<!--800158-->  <AD_TAB_ID><![CDATA[800158]]></AD_TAB_ID>
+<!--800158-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800158-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800158-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800158-->  <NAME><![CDATA[Date and Shift]]></NAME>
+<!--800158-->  <DESCRIPTION><![CDATA[Create measurements and insert gathered values or a specifc date and shift.]]></DESCRIPTION>
+<!--800158-->  <HELP><![CDATA[Create measurements and insert gathered values or a specifc date and shift.]]></HELP>
+<!--800158-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--800158-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800158-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--800158-->  <TABLEVEL><![CDATA[0]]></TABLEVEL>
+<!--800158-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--800158-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--800158-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--800158-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--800158-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--800158-->  <ORDERBYCLAUSE><![CDATA[MA_Measure_Shift.MeasureDate DESC]]></ORDERBYCLAUSE>
+<!--800158-->  <AD_PROCESS_ID><![CDATA[800119]]></AD_PROCESS_ID>
+<!--800158-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--800158-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--800158-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--800158-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800158-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--800158-->  <HQLORDERBYCLAUSE><![CDATA[-measurementDate]]></HQLORDERBYCLAUSE>
+<!--800158--></AD_TAB>
+
 <!--800159--><AD_TAB>
 <!--800159-->  <AD_TAB_ID><![CDATA[800159]]></AD_TAB_ID>
 <!--800159-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TABLE.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_TABLE.xml	Wed May 04 10:29:32 2011 +0200
@@ -6719,6 +6719,102 @@
 <!--800132-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EC4B84E040007F01006125]]></AD_PACKAGE_ID>
 <!--800132--></AD_TABLE>
 
+<!--800133--><AD_TABLE>
+<!--800133-->  <AD_TABLE_ID><![CDATA[800133]]></AD_TABLE_ID>
+<!--800133-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800133-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800133-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800133-->  <NAME><![CDATA[ManufacturingMeasureGroup]]></NAME>
+<!--800133-->  <DESCRIPTION><![CDATA[Group data registration]]></DESCRIPTION>
+<!--800133-->  <HELP><![CDATA[This tab contains the CCP data registered on this group]]></HELP>
+<!--800133-->  <TABLENAME><![CDATA[MA_Measure_Group]]></TABLENAME>
+<!--800133-->  <CLASSNAME><![CDATA[MeasureGroup]]></CLASSNAME>
+<!--800133-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--800133-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--800133-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800133-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--800133-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
+<!--800133-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--800133-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--800133-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--800133-->  <PO_WINDOW_ID><![CDATA[800064]]></PO_WINDOW_ID>
+<!--800133-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--800133-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--800133-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EC4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--800133--></AD_TABLE>
+
+<!--800134--><AD_TABLE>
+<!--800134-->  <AD_TABLE_ID><![CDATA[800134]]></AD_TABLE_ID>
+<!--800134-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800134-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800134-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800134-->  <NAME><![CDATA[ManufacturingMeasureTime]]></NAME>
+<!--800134-->  <DESCRIPTION><![CDATA[Time registration]]></DESCRIPTION>
+<!--800134-->  <HELP><![CDATA[This tab defines the time of the gathering.]]></HELP>
+<!--800134-->  <TABLENAME><![CDATA[MA_Measure_Time]]></TABLENAME>
+<!--800134-->  <CLASSNAME><![CDATA[MeasureTime]]></CLASSNAME>
+<!--800134-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--800134-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--800134-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800134-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--800134-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
+<!--800134-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--800134-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--800134-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--800134-->  <PO_WINDOW_ID><![CDATA[800064]]></PO_WINDOW_ID>
+<!--800134-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--800134-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--800134-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EC4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--800134--></AD_TABLE>
+
+<!--800135--><AD_TABLE>
+<!--800135-->  <AD_TABLE_ID><![CDATA[800135]]></AD_TABLE_ID>
+<!--800135-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800135-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800135-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800135-->  <NAME><![CDATA[ManufacturingMeasureValues]]></NAME>
+<!--800135-->  <DESCRIPTION><![CDATA[Values registration]]></DESCRIPTION>
+<!--800135-->  <HELP><![CDATA[In this table gathering values are registered.]]></HELP>
+<!--800135-->  <TABLENAME><![CDATA[MA_Measure_Values]]></TABLENAME>
+<!--800135-->  <CLASSNAME><![CDATA[MeasureValues]]></CLASSNAME>
+<!--800135-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--800135-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--800135-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800135-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--800135-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
+<!--800135-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--800135-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--800135-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--800135-->  <PO_WINDOW_ID><![CDATA[800064]]></PO_WINDOW_ID>
+<!--800135-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--800135-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--800135-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EC4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--800135--></AD_TABLE>
+
+<!--800138--><AD_TABLE>
+<!--800138-->  <AD_TABLE_ID><![CDATA[800138]]></AD_TABLE_ID>
+<!--800138-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800138-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800138-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800138-->  <NAME><![CDATA[ManufacturingMeasureShift]]></NAME>
+<!--800138-->  <DESCRIPTION><![CDATA[CCP data registration]]></DESCRIPTION>
+<!--800138-->  <HELP><![CDATA[This tab defines the shift and date in which the gathering is done]]></HELP>
+<!--800138-->  <TABLENAME><![CDATA[MA_Measure_Shift]]></TABLENAME>
+<!--800138-->  <CLASSNAME><![CDATA[MeasureShift]]></CLASSNAME>
+<!--800138-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--800138-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--800138-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800138-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--800138-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
+<!--800138-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--800138-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--800138-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--800138-->  <PO_WINDOW_ID><![CDATA[800064]]></PO_WINDOW_ID>
+<!--800138-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--800138-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--800138-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EC4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--800138--></AD_TABLE>
+
 <!--800139--><AD_TABLE>
 <!--800139-->  <AD_TABLE_ID><![CDATA[800139]]></AD_TABLE_ID>
 <!--800139-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TREENODE.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_TREENODE.xml	Wed May 04 10:29:32 2011 +0200
@@ -2694,6 +2694,17 @@
 <!--52118BF1A3164D84E040007F01005FEC-->  <SEQNO><![CDATA[90]]></SEQNO>
 <!--52118BF1A3164D84E040007F01005FEC--></AD_TREENODE>
 
+<!--52118BF1A3174D84E040007F01005FEC--><AD_TREENODE>
+<!--52118BF1A3174D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A3174D84E040007F01005FEC]]></AD_TREENODE_ID>
+<!--52118BF1A3174D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
+<!--52118BF1A3174D84E040007F01005FEC-->  <NODE_ID><![CDATA[800169]]></NODE_ID>
+<!--52118BF1A3174D84E040007F01005FEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--52118BF1A3174D84E040007F01005FEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--52118BF1A3174D84E040007F01005FEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--52118BF1A3174D84E040007F01005FEC-->  <PARENT_ID><![CDATA[800245]]></PARENT_ID>
+<!--52118BF1A3174D84E040007F01005FEC-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--52118BF1A3174D84E040007F01005FEC--></AD_TREENODE>
+
 <!--52118BF1A3184D84E040007F01005FEC--><AD_TREENODE>
 <!--52118BF1A3184D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A3184D84E040007F01005FEC]]></AD_TREENODE_ID>
 <!--52118BF1A3184D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
--- a/src-db/database/sourcedata/AD_WINDOW.xml	Thu Apr 14 13:45:51 2011 +0200
+++ b/src-db/database/sourcedata/AD_WINDOW.xml	Wed May 04 10:29:32 2011 +0200
@@ -2014,6 +2014,22 @@
 <!--800063-->  <ISTHREADSAFE><![CDATA[N]]></ISTHREADSAFE>
 <!--800063--></AD_WINDOW>
 
+<!--800064--><AD_WINDOW>
+<!--800064-->  <AD_WINDOW_ID><![CDATA[800064]]></AD_WINDOW_ID>
+<!--800064-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800064-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800064-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800064-->  <NAME><![CDATA[Quality Control Report]]></NAME>
+<!--800064-->  <DESCRIPTION><![CDATA[Create and edit measurements and report findings at predefined checkpoints.  The goal is to ensure output quality during production.]]></DESCRIPTION>
+<!--800064-->  <HELP><![CDATA[Create and edit measurements and report findings at predefined checkpoints.  The goal is to ensure output quality during production.]]></HELP>
+<!--800064-->  <WINDOWTYPE><![CDATA[M]]></WINDOWTYPE>
+<!--800064-->  <ISSOTRX><![CDATA[Y]]></ISSOTRX>
+<!--800064-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--800064-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--800064-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800064-->  <ISTHREADSAFE><![CDATA[N]]></ISTHREADSAFE>
+<!--800064--></AD_WINDOW>
+
 <!--800066--><AD_WINDOW>
 <!--800066-->  <AD_WINDOW_ID><![CDATA[800066]]></AD_WINDOW_ID>
 <!--800066-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.html	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,381 @@
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>Edit PCC Values</title>
+  <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
+  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"></link>
+
+  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
+
+
+  <script language="JavaScript" type="text/javascript" id="paramLanguage">	defaultLang = "en_US";</script>
+  <script language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirectory = "http://openbravo/web/";</script>
+  <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
+  <script language="JavaScript" type="text/javascript">
+  function loadData(value, enable) {
+    if (enable == null) enable = false;
+    document.frmMain.elements["inpmovementqty" + value].disabled = !enable;
+    document.frmMain.elements["inpquantityorder" + value].disabled = !enable;
+    return true;
+  }
+
+  function validate(action) {
+    var frm=document.frmMain;
+    return true;
+  }
+  </script>
+
+  <script language="JavaScript" type="text/javascript">
+  function closeThisPage() {
+    top.close();
+    return true;
+  }
+
+  function submitThisPage(strCommand) {
+    if (validate(strCommand)) {
+      submitCommandForm(strCommand, false, null, 'EditCCPMeasureValues.html', null);
+      return true;
+    }
+    return true;
+  }
+  </script>
+  <script language="JavaScript" type="text/javascript">
+  function onLoadDo(){
+    this.windowTables = new Array(
+      new windowTableId('client_middle', 'buttonOK'),
+      new windowTableId('client_bottom', 'buttonOK')
+    );
+    setWindowTableParentElement();
+    enableShortcuts('popup');
+    setBrowserAutoComplete(false);
+
+    resizeAreaCreateFrom();	
+    setWindowElementFocus('firstElement');
+  }
+
+  function onResizeDo(){
+    resizeAreaCreateFrom();
+  }
+  </script>
+</head>
+
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
+  <div class="Popup_ContentPane_CircleLogo">
+    <div class="Popup_WindowLogo">
+      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border="0"/>
+    </div>
+  </div>
+
+<form id="form" method="post" action="../ad_actionButton/EditCCPMeasureValues.html" name="frmMain">
+  <input type="hidden" name="Command"/>
+  <input type="hidden" name="IsPopUpCall" value="1"/>
+  <input type="hidden" name="inpLastFieldChanged"/>
+  <input type="hidden" name="inpmaMeasureShiftId" value="" id="paramKey"/> 
+  <input type="hidden" name="inpWindowId" value="" id="paramWindowId"/> 
+  <input type="hidden" name="inpTabId" value="" id="paramTabId"/>
+  
+  <table id="table_header" cellspacing="0" cellpadding="0" width="100%">
+  <tr>
+    <td id="tdNavigation">
+      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
+        <tr class="Popup_NavBar_bg"><td></td>
+          <td class="Popup_NavBar_separator_cell"></td>
+          <td class="Popup_NavBar_bg_logo_left"></td>
+          <td class="Popup_NavBar_bg_logo" width="1" onclick="openNewBrowser('http://www.openbravo.com', 'Openbravo');return false;"><img src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
+          <td class="Popup_NavBar_bg_logo_right"></td>
+          <td class="Popup_NavBar_Popup_title_cell"><span>Edit Control Point Measures</span></td>
+          <td class="Popup_NavBar_separator_cell"></td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+  <tr>
+    <td id="tdSeparator">
+      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
+        <tr>
+          <td class="Popup_SeparatorBar_bg"></td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+  </table>
+
+  <table cellspacing="0" cellpadding="0" width="100%">
+  <tr>
+    <td>
+      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client_messagebox">
+                            <!-- MessageBox -->
+                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
+                              <tbody>
+                              <tr class="MessageBox_TopMargin">
+                                <td class="MessageBox_LeftMargin"></td>
+                                <td></td>
+                                <td class="MessageBox_RightMargin"></td>
+                              </tr>
+                              <tr>
+                                <td class="MessageBox_LeftMargin"></td>
+                                <td>
+
+                                  <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
+                                    <tbody>
+                                    <tr>
+                                      <td class="MessageBox_LeftTrans">
+                                        <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
+                                          <tbody>
+                                          <tr>
+                                            <td class="MessageBox_TopLeft"></td>
+                                          </tr>
+                                          <tr>
+                                            <td class="MessageBox_Left"></td>
+                                          </tr>
+                                          </tbody>
+                                        </table>
+                                      </td>
+                                      <td class="MessageBox_bg">
+
+                                        <table class="MessageBox_Top">
+                                        <tbody>
+                                          <tr>
+                                            <td>
+                                              <span>
+                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
+                                                <tbody>
+                                                <tr>
+                                                  <td class="MessageBox_Icon_ContentCell">
+                                                    <div class="MessageBox_Icon"></div>
+                                                  </td>
+                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
+                                                    <span>
+                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
+                                                        xxInfo: AccessTableWithNoView
+                                                      </div>
+                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
+                                                        xxThe current information is empty.
+                                                      </div>
+                                                      <div class="MessageBox_TextSeparator"></div>
+                                                    </span>
+                                                  </td>
+                                                </tr>
+                                                </tbody>
+                                              </table>
+                                              </span>
+                                            </td>
+                                          </tr>
+                                          </tbody>
+                                        </table>
+
+                                      </td>
+                                      <td class="MessageBox_RightTrans">
+                                        <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
+                                          <tbody>
+                                          <tr>
+                                            <td class="MessageBox_TopRight"></td>
+                                          </tr>
+                                          <tr>
+                                            <td class="MessageBox_Right"></td>
+                                          </tr>
+                                          </tbody>
+                                        </table>
+                                      </td>
+                                    </tr>
+                                    <tr>
+                                      <td rowspan="2" class="MessageBox_BottomLeft">
+                                      </td>
+                                      <td class="MessageBox_BottomTrans MessageBox_bg">
+                                      </td>
+                                      <td rowspan="2" class="MessageBox_BottomRight">
+                                      </td>
+                                    </tr>
+                                    <tr>
+                                      <td class="MessageBox_Bottom">
+                                      </td>
+                                    </tr>
+                                    </tbody>
+                                  </table>
+
+                                </td>
+                                <td class="MessageBox_RightMargin"></td>
+                              </tr>
+                              <tr class="MessageBox_BottomMargin">
+                                <td class="MessageBox_LeftMargin"></td>
+                                <td></td>
+                                <td class="MessageBox_RightMargin"></td>
+                              </tr>
+                              </tbody>
+                            </table>
+                            <!-- MessageBox END -->
+      </div>
+    </td>
+  </tr>
+  </table>
+
+  <table cellspacing="0" cellpadding="0" width="100%">
+  <tr>
+    <td>
+      <div class="Popup_ContentPane_Client" style="overflow: auto" id="client_top">
+        <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
+          <tbody>
+          <tr height="10px"><td colspan="6"></td></tr>
+          <tr>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+          </tr>
+          <tr> 
+            <td class="TitleCell"><span class="LabelText">Measure date</span></td>
+            <td class="ReadOnly_Text_ContentCell"><span id="paramMeasureDate" class="Label_ReadOnly_Text"></span></td>
+            <td class="TitleCell"><span class="LabelText">Shift</span></td>
+            <td class="ReadOnly_Text_ContentCell"><span id="paramShift" class="Label_ReadOnly_Text"></span></td>
+            <td/>
+            <td/>
+          </tr>
+          </tbody>
+        </table>
+      </div>
+    </td>
+  </tr>
+
+  <tr>
+    <td>
+      <div class="Popup_ContentPane_Client" style="overflow: auto; display: none" id="client_middle">
+        <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
+          <tr>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+          </tr>
+               
+          <div id="sectionDetail">
+            <tr>
+              <td colspan="6">
+                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
+                  <tr class="FieldGroup_TopMargin"></tr>
+                  <tr>
+                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                    <td class="FieldGroupTitle"><span id="fieldGroup">xxGroup</span></td>
+                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                    <td class="FieldGroupContent"></td>
+                  </tr>
+                  <tr class="FieldGroup_BottomMargin"></tr>
+                </table>
+              </td>
+            </tr>
+            <tr>
+              <td colspan="6">
+                <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector_Grid">
+                  <div id="reportHours"></div>
+                  <div id="reportValues"></div>
+                </table>
+              </td>
+            </tr>
+          </div>
+        </table>
+      </div>
+    </td>
+  </tr>
+  <tr>
+    <td>
+      <div class="Popup_ContentPane_Client" style="overflow: auto; padding-bottom: 5px;" id="client_bottom">
+        <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
+          <tr>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+          </tr>
+
+          <tr>
+
+            <td></td>
+            <td></td>
+            <td class="Button_RightAlign_ContentCell">
+              <div>
+                <button type="button" 
+                  id="buttonOK" 
+                  class="ButtonLink" 
+                  onclick="submitThisPage('SAVE');return false;" 
+                  onfocus="buttonEvent('onfocus', this); window.status='Accept'; return true;" 
+                  onblur="buttonEvent('onblur', this);" 
+                  onkeyup="buttonEvent('onkeyup', this);" 
+                  onkeydown="buttonEvent('onkeydown', this);" 
+                  onkeypress="buttonEvent('onkeypress', this);" 
+                  onmouseup="buttonEvent('onmouseup', this);" 
+                  onmousedown="buttonEvent('onmousedown', this);" 
+                  onmouseover="buttonEvent('onmouseover', this); window.status='Accept'; return true;" 
+                  onmouseout="buttonEvent('onmouseout', this);">
+                  <table class="Button">
+                    <tr>
+                      <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border="0" /></td>
+                      <td class="Button_text Button_width">OK</td>
+                      <td class="Button_right"></td>
+                    </tr>
+                  </table>
+                </button>
+              </div>
+            </td>
+            <td class="Button_LeftAlign_ContentCell">
+              <div>
+                <button type="button" 
+                  id="buttonCancel" 
+                  class="ButtonLink" 
+                  onclick="closeThisPage();return false;" 
+                  onfocus="buttonEvent('onfocus', this); window.status='Cancel'; return true;" 
+                  onblur="buttonEvent('onblur', this);" 
+                  onkeyup="buttonEvent('onkeyup', this);" 
+                  onkeydown="buttonEvent('onkeydown', this);" 
+                  onkeypress="buttonEvent('onkeypress', this);" 
+                  onmouseup="buttonEvent('onmouseup', this);" 
+                  onmousedown="buttonEvent('onmousedown', this);" 
+                  onmouseover="buttonEvent('onmouseover', this); window.status='Cancel'; return true;" 
+                  onmouseout="buttonEvent('onmouseout', this);">
+                  <table class="Button">
+                    <tr>
+                      <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border="0" /></td>
+                      <td class="Button_text Button_width">Cancel</td>
+                      <td class="Button_right"></td>
+                    </tr>
+                  </table>
+                </button>
+              </div>
+            </td>
+            <td></td>
+            <td></td>
+          </tr>
+        </table>
+      </div>
+    </td>
+  </tr>
+
+</table>
+</form>
+</body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.java	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,215 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2009 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.erpCommon.ad_actionButton;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.sql.Connection;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.utility.OBError;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.xmlEngine.XmlDocument;
+
+public class EditCCPMeasureValues extends HttpSecureAppServlet {
+  private static final long serialVersionUID = 1L;
+
+  public void init(ServletConfig config) {
+    super.init(config);
+    boolHist = false;
+  }
+
+  public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException,
+      ServletException {
+    VariablesSecureApp vars = new VariablesSecureApp(request);
+    if (vars.commandIn("DEFAULT")) {
+
+      String strWindowId = vars.getStringParameter("inpwindowId");
+      String strKey = vars.getRequiredStringParameter("inpmaMeasureShiftId");
+      String strTabId = vars.getStringParameter("inpTabId");
+      String strProcessId = "800062";
+      String strMeasureDate = vars.getStringParameter("inpmeasuredate");
+      String strShift = vars.getStringParameter("inpshift");
+
+      printPageDataSheet(response, vars, strKey, strWindowId, strTabId, strProcessId,
+          strMeasureDate, strShift);
+    } else if (vars.commandIn("SAVE")) {
+      String strKey = vars.getStringParameter("inpmaMeasureShiftId");
+      String strWindowId = vars.getStringParameter("inpWindowId");
+      String strTabId = vars.getStringParameter("inpTabId");
+      String[] strValueId = request.getParameterValues("strKey");
+      String[] strGroupId = request.getParameterValues("strGroup");
+      ActionButtonDefaultData[] tab = ActionButtonDefaultData.windowName(this, strTabId);
+
+      String strWindowPath = Utility.getTabURL(strTabId, "R", true);
+      if (strWindowPath.equals(""))
+        strWindowPath = strDefaultServlet;
+
+      OBError myMessage = updateValues(vars, strValueId, strGroupId, strKey, strWindowId);
+      vars.setMessage(strTabId, myMessage);
+      printPageClosePopUp(response, vars, strWindowPath);
+    } else
+      pageErrorPopUp(response);
+  }
+
+  private void printPageDataSheet(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strWindowId, String strTabId, String strProcessId,
+      String strMeasureDate, String strShift) throws IOException, ServletException {
+    if (log4j.isDebugEnabled())
+      log4j.debug("Output: values ");
+    String[] discard = { "" };
+    EditCCPMeasureValuesData[] data = null;
+    data = EditCCPMeasureValuesData.select(this, strKey);
+
+    String shift = "";
+
+    if (vars.getLanguage().equals("en_US"))
+      shift = EditCCPMeasureValuesData.selectShift(this, strShift);
+    else
+      shift = EditCCPMeasureValuesData.selectShiftTrl(this, strShift, vars.getLanguage());
+    XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
+        "org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues", discard)
+        .createXmlDocument();
+
+    xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
+    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
+    xmlDocument.setParameter("theme", vars.getTheme());
+    xmlDocument.setParameter("key", strKey);
+    xmlDocument.setParameter("windowId", strWindowId);
+    xmlDocument.setParameter("tabId", strTabId);
+
+    xmlDocument.setParameter("measureDate", strMeasureDate);
+    xmlDocument.setParameter("shift", shift);
+
+    if (log4j.isDebugEnabled())
+      log4j.debug("Param: " + vars.getLanguage() + " " + strReplaceWith + " " + strKey + " "
+          + strWindowId + " " + strTabId + " " + strMeasureDate + " shift: " + shift + " "
+          + strShift);
+    EditCCPMeasureValuesHoursData[][] dataHours = new EditCCPMeasureValuesHoursData[data.length][10];
+    EditCCPMeasureValuesValuesData[][] dataValues = new EditCCPMeasureValuesValuesData[data.length][];
+
+    for (int i = 0; i < data.length; i++) {
+      dataHours[i] = EditCCPMeasureValuesHoursData.select(this, data[i].groupid);
+      if (dataHours[i] == null || dataHours[i].length == 0)
+        dataHours[i] = new EditCCPMeasureValuesHoursData[0];
+
+      dataValues[i] = EditCCPMeasureValuesValuesData.select(this, data[i].groupid);
+      if (dataValues[i] == null || dataValues[i].length == 0)
+        dataValues[i] = new EditCCPMeasureValuesValuesData[0];
+    }
+
+    OBError myMessage = vars.getMessage("EditCCPMeasureValues");
+    vars.removeMessage("EditCCPMeasureValues");
+    if (myMessage != null) {
+      xmlDocument.setParameter("messageType", myMessage.getType());
+      xmlDocument.setParameter("messageTitle", myMessage.getTitle());
+      xmlDocument.setParameter("messageMessage", myMessage.getMessage());
+    }
+    xmlDocument.setData("structure1", data);
+    xmlDocument.setDataArray("reportHours", "structureHours", dataHours);
+    xmlDocument.setDataArray("reportValues", "structureValues", dataValues);
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    out.println(xmlDocument.print());
+    out.close();
+    if (log4j.isDebugEnabled())
+      log4j.debug("Output: values - out");
+  }
+
+  private OBError updateValues(VariablesSecureApp vars, String[] strValueId, String[] strGroupId,
+      String strKey, String strWindowId) {
+
+    if (log4j.isDebugEnabled())
+      log4j.debug("Update: values");
+
+    OBError myError = null;
+    int total = 0;
+    Boolean error = false;
+
+    if (log4j.isDebugEnabled())
+      log4j.debug("Update: values after strValueID");
+    if (strValueId == null || strValueId.length == 0) {
+      myError = Utility.translateError(this, vars, vars.getLanguage(), "ProcessRunError");
+      return myError;
+    }
+    Connection conn = null;
+    try {
+      conn = this.getTransactionConnection();
+      for (int i = 0; i < strValueId.length; i++) {
+        String numeric = "";
+        String text = "";
+        String check = "N";
+        if (log4j.isDebugEnabled())
+          log4j.debug("*****strValueId[i]=" + strValueId[i]);
+        if (!strValueId[i].equals("0")) {
+          String type = EditCCPMeasureValuesData.selectType(this, strValueId[i]);
+          if (type.equals("N"))
+            numeric = vars.getStringParameter("strValue" + strValueId[i]);
+          else if (type.equals("T"))
+            text = vars.getStringParameter("strValue" + strValueId[i]);
+          else
+            check = vars.getStringParameter("strValue" + strValueId[i]);
+          if (log4j.isDebugEnabled())
+            log4j.debug("Values to update: " + strValueId[i] + ", " + numeric + ", " + text + ", "
+                + check);
+          try {
+            total = EditCCPMeasureValuesData.update(conn, this, numeric, text,
+                check.equals("Y") ? "Y" : "N", strValueId[i]);
+          } catch (ServletException ex) {
+            myError = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
+            releaseRollbackConnection(conn);
+            return myError;
+          }
+          if (total == 0)
+            error = true;
+        }
+      }
+
+      if (error) {
+        myError = Utility.translateError(this, vars, vars.getLanguage(), "@CODE=DBExecuteError");
+        return myError;
+      }
+
+      releaseCommitConnection(conn);
+      myError = new OBError();
+      myError.setType("Success");
+      myError.setTitle("");
+      myError.setMessage(Utility.messageBD(this, "Success", vars.getLanguage()));
+    } catch (Exception e) {
+      try {
+        releaseRollbackConnection(conn);
+      } catch (Exception ignored) {
+      }
+      e.printStackTrace();
+      log4j.warn("Rollback in transaction");
+      myError = Utility.translateError(this, vars, vars.getLanguage(), "ProcessRunError");
+    }
+    return myError;
+  }
+
+  public String getServletInfo() {
+    return "Servlet that presents the button of Create From Multiple";
+  } // end of getServletInfo() method
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2008 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+  <template file="EditCCPMeasureValues.html"/>
+  <PARAMETER id="paramCheckN" name="check" default="N"/>
+  <PARAMETER id="paramDirectory" name="directory" default=""/>
+  <PARAMETER id="paramLanguage" name="language" default=""/>
+	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
+  <PARAMETER id="paramKey" name="key" attribute="value"/>
+  <PARAMETER id="paramWindowId" name="windowId" attribute="value"/>
+  <PARAMETER id="paramTabId" name="tabId" attribute="value"/>
+  <PARAMETER id="paramMeasureDate" name="measureDate"/>
+  <PARAMETER id="paramShift" name="shift"/>
+  <PARAMETER id="paramProduct" name="product"/>
+  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
+  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
+  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
+  <structure name="structure1">
+    <FIELD id="fieldGroup">groupname</FIELD>
+    <FIELD id="fieldGroupId" attribute="value">groupid</FIELD>
+    <FIELD id="fieldProduct" attribute="value">product</FIELD>
+    <FIELD id="fieldProduct" attribute="name" replace="xx">groupid</FIELD>
+    <SUBREPORT id="reportHours" name="reportHours" report="org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Hours"/>
+    <SUBREPORT id="reportValues" name="reportValues" report="org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Values"/>
+    <SECTION id="sectionDetail"/>
+  </structure>
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Hours.srpt	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,25 @@
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+<tr class="Popup_Client_Selector_DataGrid_HeaderRow">
+  <th width="30%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">HOUR:</th>
+  <div id="sectionHours">
+    <th width="7%" class="datagridCell Popup_Client_Selector_HeaderRow_bg"><span id="fieldHour">xx02:00</span></th>
+  </div>
+</tr>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Hours.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+	<template file="EditCCPMeasureValues_Hours.srpt"/>
+	<structure name="structureHours">
+		<FIELD id="fieldHour">hour</FIELD>
+		<SECTION id="sectionHours"/>
+	</structure>
+	<DISCARD id="discard"/>
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Hours_data.xsql	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+
+
+
+
+<SqlClass name="EditCCPMeasureValuesHoursData" package="org.openbravo.erpCommon.ad_actionButton">
+   <SqlClassComment></SqlClassComment>
+   <SqlMethod name="select" type="preparedStatement" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql>
+      <![CDATA[
+        select hour
+        from (
+        select TO_CHAR(MEASUREHOUR, 'HH24:MI') as hour
+                from MA_MEASURE_TIME
+                where MA_Measure_Group_ID = ?
+            union all
+            select null as hour
+            from ad_integer
+            where value <= (select 10-count(*) from MA_Measure_time
+                   where ma_measure_group_id=?)
+            ORDER BY hour) A
+      ]]>
+      </Sql>
+      <Parameter name="maMeasureGroupId"/>
+      <Parameter name="maMeasureGroupId"/>
+   </SqlMethod>
+   <SqlMethod name="set" type="constant" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql></Sql>
+  </SqlMethod>
+</SqlClass>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Values.srpt	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,28 @@
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+<div id="sectionPunto">
+<tr class="Popup_Client_Selector_DataGrid_HeaderRow">
+  <td id="fieldName" class="cell">xxName</td>
+  <div id="sectionValues">
+    <input type="hidden" name="strKey" value="" id="fieldValueId"></input>
+    <td class="cell"><input class="dojoValidateValid number" size="3" type="text" name="strValuexx" value="xxValue" id="fieldValue"></input></td>
+  </div>
+</tr>
+</div>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Values.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+	<template file="EditCCPMeasureValues_Values.srpt"/>
+  <PARAMETER id="paramCheck" name="paramCheck" default="Y"/>
+
+	<structure name="structureValues">
+		<FIELD id="fieldSeqNo">seqno</FIELD>
+		<FIELD id="fieldValueId" attribute="value">valueid</FIELD>
+		<FIELD id="fieldValue" attribute="value">value</FIELD>
+		<FIELD id="fieldValue" attribute="name" replace="xx">valueid</FIELD>
+		<FIELD id="fieldValue" attribute="type">type</FIELD>
+    <FIELD id="fieldValue" boolean="checked" withId="paramCheck">valuec</FIELD>
+		<FIELD id="fieldName">name</FIELD>
+		<FIELD id="fieldValue" attribute="class" replace="number" default="">validatetype</FIELD>
+		<SECTION id="sectionPunto" field="seqno"/>
+		<SECTION id="sectionValues"/>
+	</structure>
+	<DISCARD id="discard"/>
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_Values_data.xsql	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2008 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+
+<SqlClass name="EditCCPMeasureValuesValuesData" package="org.openbravo.erpCommon.ad_actionButton">
+   <SqlClassComment></SqlClassComment>
+   <SqlMethod name="select" type="preparedStatement" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql>
+      <![CDATA[
+        select measurehour, name, max(value) as value, identific, seqno, valueid, type, valuec, validatetype
+        from (
+            select t.MEASUREHOUR, v.seqno, c.name || (CASE c.CRITICAL WHEN 'Y' THEN ' (PC)' ELSE '' END) AS name, COALESCE((CASE v.VALUETYPE WHEN 'N' THEN TO_CHAR(v_number) WHEN 
+                'C' THEN 'Y' ELSE TO_CHAR(v_string) END),' ') AS value, 0 as identific, v.MA_Measure_Values_ID as valueid, (CASE v.VALUETYPE WHEN 'C' THEN 'checkbox' ELSE 'text' END) as type, (CASE v.VALUETYPE WHEN 'N' THEN 'number' ELSE '' END) as validatetype, v_char as valuec
+            from MA_MEASURE_TIME t, MA_MEASURE_VALUES v, MA_CCP c
+            where t.MA_MEASURE_TIME_ID = v.MA_MEASURE_TIME_ID
+              and v.MA_CCP_ID = c.MA_CCP_ID 
+              and t.MA_MEASURE_GROUP_ID = ?
+            union all
+              select to_date('31/12/9999'), v.seqno, c.name || (CASE c.CRITICAL WHEN 'Y' THEN ' (PC)' ELSE '' END) AS name, ' ' as value, identific, '0' as valueid, 'hidden' as type,  'hidden' as validatetype, 'N' as valuec
+              from ma_measure_time t, ma_measure_values v, ma_ccp c, 
+                (select VALUE-1 as identific from ad_INTEGER 
+                 where VALUE<=(
+                   select 10-count(*) from MA_Measure_time
+                   where ma_measure_group_id=?)) AAA
+              where t.ma_measure_group_id = ?
+                and t.MA_MEASURE_TIME_ID = v.MA_MEASURE_TIME_ID
+                and v.MA_CCP_ID = c.MA_CCP_ID
+        ) AA
+        group by  seqno,measurehour, name, identific, valueid, type, valuec, validatetype
+        order by seqno, name, measurehour
+      ]]>
+      </Sql>
+      <Parameter name="maMeasureGroupId"/>
+      <Parameter name="maMeasureGroupId"/>
+      <Parameter name="maMeasureGroupId"/>
+   </SqlMethod>
+   <SqlMethod name="set" type="constant" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql></Sql>
+  </SqlMethod>
+</SqlClass>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues_data.xsql	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+
+<SqlClass name="EditCCPMeasureValuesData" package="org.openbravo.erpCommon.ad_actionButton">
+  <SqlMethod name="select" type="preparedStatement" return="multiple">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT g.MA_MEASURE_GROUP_ID as groupid, cg.NAME as groupname, '' AS name, '' as Type
+        FROM MA_Measure_Shift s, MA_Measure_Group g, MA_CCP_Group cg
+        WHERE g.MA_CCP_GROUP_ID = cg.MA_CCP_GROUP_ID
+          AND s.MA_Measure_Shift_ID = g.MA_Measure_Shift_ID
+          AND s.MA_Measure_Shift_ID = ?
+        ORDER BY g.MA_MEASURE_GROUP_ID, cg.seqno
+      ]]>
+      </Sql>
+      <Parameter name="maMeasureShiftID"/>
+  </SqlMethod>
+  <SqlMethod name="selectShift" type="preparedStatement" return="String">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT NAME FROM AD_REF_LIST
+        WHERE AD_REFERENCE_ID = '800038'
+          AND value = ?
+      ]]>
+      </Sql>
+      <Parameter name="shift"/>
+  </SqlMethod>
+  <SqlMethod name="selectShiftTrl" type="preparedStatement" return="String">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT NAME
+        FROM AD_REF_LIST_TRL
+        WHERE AD_REF_LIST_ID IN (SELECT AD_REF_LIST_ID FROM AD_REF_LIST
+                WHERE AD_REFERENCE_ID = '800038'
+                  AND value = ?)
+          AND AD_LANGUAGE = ?
+      ]]>
+      </Sql>
+      <Parameter name="maMeasureShiftID"/>
+      <Parameter name="language"/>
+  </SqlMethod>
+  <SqlMethod name="selectType" type="preparedStatement" return="String">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT VALUETYPE AS TYPE
+        FROM MA_MEASURE_VALUES
+        WHERE MA_MEASURE_VALUES_ID = ?
+      ]]>
+      </Sql>
+      <Parameter name="maMeasureValueID"/>
+  </SqlMethod>
+  <SqlMethod name="update" connection="true" type="preparedStatement" return="rowCount">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        UPDATE MA_MEASURE_VALUES
+        SET V_NUMBER = TO_NUMBER(?),
+            V_STRING = ?,
+            V_CHAR = ?
+        WHERE MA_MEASURE_VALUES_ID = ?
+      ]]>
+    </Sql>
+    <Parameter name="vnumber"/>
+    <Parameter name="vstring"/>
+    <Parameter name="vchar"/>
+    <Parameter name="maMeasureValueId"/>
+  </SqlMethod>
+</SqlClass>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures.fo	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+  <fo:layout-master-set>
+    <fo:simple-page-master master-name="first" page-height="29.7cm" page-width="21cm" margin-top="1.5cm" margin-bottom="0.25cm" margin-left="1cm" margin-right="1cm">
+      <fo:region-before extent="3cm"/>
+      <fo:region-after extent="1cm"/>
+      <fo:region-body margin-top="3cm" margin-bottom="1.25cm"/>
+    </fo:simple-page-master>
+  </fo:layout-master-set>
+  <DIVFO id="sectionShiftid">
+    <fo:page-sequence master-reference="first">
+      <fo:static-content flow-name="xsl-region-before">
+        <fo:block font-size="10pt">
+          <fo:table table-layout="fixed" border-width="0.5pt" border-style="solid">
+            <fo:table-column column-width="4cm"/>
+            <fo:table-column column-width="11cm"/>
+            <fo:table-column column-width="4cm"/>
+            <fo:table-body>
+              <fo:table-row>
+                <fo:table-cell border-right-width="0.5pt" border-right-style="solid">
+                  <fo:block text-align="center">
+                    <fo:external-graphic src="../../../../../web/images/Openbravo_replace_report.gif"/>
+                  </fo:block>
+                </fo:table-cell>
+                <fo:table-cell border-right-width="0.5pt" border-right-style="solid">
+                  <fo:block text-align="center" padding-top="0.5cm" padding-bottom="0.5cm" font-weight="bold">QUALITY CONTROL REPORT</fo:block>
+                </fo:table-cell>
+                <fo:table-cell>
+                  <fo:block padding-top="35pt" text-align="end" font-size="7pt" font-weight="bold">R-07</fo:block>
+                  <fo:block text-align="end" font-size="7pt" font-weight="bold">xxMeasures</fo:block>
+                </fo:table-cell>
+              </fo:table-row>
+            </fo:table-body>
+          </fo:table>
+        </fo:block>
+      </fo:static-content>
+      <fo:static-content flow-name="xsl-region-after">
+        <fo:block font-size="8pt">
+          <fo:table table-layout="fixed">
+            <fo:table-column column-width="14cm"/>
+            <fo:table-column column-width="5cm"/>
+            <fo:table-body>
+              <fo:table-row>
+                <fo:table-cell>
+                  <fo:block>&#160;</fo:block>
+                </fo:table-cell>
+                <fo:table-cell>
+                  <fo:block>Shift:<fo:inline id="fieldShift">shift</fo:inline>
+                  </fo:block>
+                </fo:table-cell>
+              </fo:table-row>
+              <fo:table-row>
+                <fo:table-cell>
+                  <fo:block>&#160;</fo:block>
+                </fo:table-cell>
+                <fo:table-cell>
+                  <fo:block>Done by:<fo:inline id="fieldUser">xxuser</fo:inline>
+                  </fo:block>
+                </fo:table-cell>
+              </fo:table-row>
+            </fo:table-body>
+          </fo:table>
+        </fo:block>
+      </fo:static-content>
+      <fo:flow flow-name="xsl-region-body">
+        <fo:block font-size="8pt">
+          <fo:table table-layout="fixed" space-before.optimum="0.5cm">
+            <fo:table-column column-width="12cm"/>
+            <fo:table-column column-width="7cm"/>
+            <fo:table-body>
+              <fo:table-row>
+                <fo:table-cell>
+                  <fo:block>
+                    <fo:table table-layout="fixed">
+                      <fo:table-column column-width="2cm"/>
+                      <fo:table-column column-width="5cm"/>
+                      <fo:table-body>
+                        <fo:table-row>
+                          <fo:table-cell>
+                            <fo:block>DATE:</fo:block>
+                          </fo:table-cell>
+                          <fo:table-cell border-style="solid" border-width="0.5pt">
+                            <fo:block id="fieldDate" padding-left="0.5cm">&#160;</fo:block>
+                          </fo:table-cell>
+                        </fo:table-row>
+                      </fo:table-body>
+                    </fo:table>
+                  </fo:block>
+                </fo:table-cell>
+              </fo:table-row>
+            </fo:table-body>
+          </fo:table>
+        </fo:block>
+        <fo:block font-size="10pt">
+          <DIVFO id="sectionDetail">
+            <fo:table table-layout="fixed" space-before.optimum="0.6cm">
+              <fo:table-column column-width="19cm"/>
+              <fo:table-body>
+                <fo:table-row keep-with-next="always">
+                  <fo:table-cell>
+                    <fo:block>
+                      <fo:table table-layout="fixed">
+                        <fo:table-column column-width="12cm"/>
+                        <fo:table-column column-width="7cm"/>
+                        <fo:table-body>
+                          <fo:table-row>
+                            <fo:table-cell>
+                              <fo:block id="fieldGroup">group</fo:block>
+                            </fo:table-cell>
+                            <fo:table-cell>
+                              <fo:block font-size="7pt">(each<fo:inline id="fieldFrecuency">xx</fo:inline>hour)</fo:block>
+                            </fo:table-cell>
+                          </fo:table-row>
+                        </fo:table-body>
+                      </fo:table>
+                    </fo:block>
+                  </fo:table-cell>
+                </fo:table-row>
+                <fo:table-row>
+                  <fo:table-cell>
+                    <fo:block>
+                      <fo:table table-layout="fixed">
+                        <fo:table-column column-width="6cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-column column-width="1.3cm"/>
+                        <fo:table-body>
+                          <DIVFO id="reportHours"/>
+                          <DIVFO id="reportValues"/>
+                        </fo:table-body>
+                      </fo:table>
+                    </fo:block>
+                  </fo:table-cell>
+                </fo:table-row>
+              </fo:table-body>
+            </fo:table>
+          </DIVFO>
+        </fo:block>
+        <fo:table table-layout="fixed">
+          <fo:table-column column-width="19cm"/>
+          <fo:table-body>
+            <fo:table-row keep-with-next="always">
+              <fo:table-cell>
+                <fo:block padding-top="0.5cm" white-space-collapse="false" linefeed-treatment="preserve">OBSERVATIONS:<fo:inline id="fieldObservation">xxshift</fo:inline>
+                </fo:block>
+              </fo:table-cell>
+            </fo:table-row>
+            <fo:table-row>
+              <fo:table-cell>
+                <fo:block text-align="right" font-size="7pt" padding-top="7cm">Resp. checked</fo:block>
+              </fo:table-cell>
+            </fo:table-row>
+          </fo:table-body>
+        </fo:table>
+      </fo:flow>
+    </fo:page-sequence>
+  </DIVFO>
+</fo:root>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures.java	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,88 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2009 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.erpReports;
+
+import java.io.IOException;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.xmlEngine.XmlDocument;
+
+public class RptMA_CCP_Measures extends HttpSecureAppServlet {
+  private static final long serialVersionUID = 1L;
+
+  public void init(ServletConfig config) {
+    super.init(config);
+    boolHist = false;
+  }
+
+  public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException,
+      ServletException {
+    VariablesSecureApp vars = new VariablesSecureApp(request);
+
+    if (vars.commandIn("DEFAULT")) {
+      String strmaMeasureShift = vars.getSessionValue("RptMA_CCP_Measures.inpmaMeasureShift_R");
+      if (strmaMeasureShift.equals(""))
+        strmaMeasureShift = vars.getSessionValue("RptMA_CCP_Measures.inpmaMeasureShiftId");
+      printPagePartePDF(response, vars, strmaMeasureShift);
+    } else
+      pageError(response);
+  }
+
+  private void printPagePartePDF(HttpServletResponse response, VariablesSecureApp vars,
+      String strmaMeasureShift) throws IOException, ServletException {
+    if (log4j.isDebugEnabled())
+      log4j.debug("Output: pdf");
+    XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
+        "org/openbravo/erpReports/RptMA_CCP_Measures").createXmlDocument();
+    // here we pass the familiy-ID with report.setData
+    RptMACCPMeasuresData[] data = RptMACCPMeasuresData.select(this, strmaMeasureShift);
+    if (data == null || data.length == 0)
+      data = RptMACCPMeasuresData.set();
+
+    RptMACCPMeasuresHoursData[][] dataHours = new RptMACCPMeasuresHoursData[data.length][10];
+    RptMACCPMeasuresValuesData[][] dataValues = new RptMACCPMeasuresValuesData[data.length][];
+
+    for (int i = 0; i < data.length; i++) {
+      dataHours[i] = RptMACCPMeasuresHoursData.select(this, data[i].groupid);
+      if (dataHours[i] == null || dataHours[i].length == 0)
+        dataHours[i] = new RptMACCPMeasuresHoursData[0];
+
+      dataValues[i] = RptMACCPMeasuresValuesData.select(this, data[i].groupid);
+      if (dataValues[i] == null || dataValues[i].length == 0)
+        dataValues[i] = new RptMACCPMeasuresValuesData[0];
+    }
+    xmlDocument.setData("structure1", data);
+    xmlDocument.setDataArray("reportHours", "structureHours", dataHours);
+    xmlDocument.setDataArray("reportValues", "structureValues", dataValues);
+    String strResult = xmlDocument.print();
+    if (log4j.isDebugEnabled())
+      log4j.debug(strResult);
+    renderFO(strResult, response);
+  }
+
+  public String getServletInfo() {
+    return "Servlet that presents the RptMACcp seeker";
+  } // End of getServletInfo() method
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+  <template file="RptMA_CCP_Measures.fo"/>
+  <structure name="structure1">
+    <FIELD id="fieldDate" replaceCharacters="fo">measuredate</FIELD>
+    <FIELD id="fieldGroup" replaceCharacters="fo">grupo</FIELD>
+    <FIELD id="fieldFrecuency" replaceCharacters="fo">frecuency</FIELD>
+    <FIELD id="fieldShift" replaceCharacters="fo">shift</FIELD>
+    <FIELD id="fieldUser" replaceCharacters="fo">uname</FIELD>
+    <FIELD id="fieldObservation" replaceCharacters="fo">observation</FIELD>
+    <SUBREPORT id="reportHours" name="reportHours" report="org/openbravo/erpReports/RptMA_CCP_Measures_Hours"/>
+    <SUBREPORT id="reportValues" name="reportValues" report="org/openbravo/erpReports/RptMA_CCP_Measures_Values"/>
+    <SECTION id="sectionShiftid" field="shiftid"/>
+    <SECTION id="sectionDetail"/>
+  </structure>
+  <DISCARD id="discard"/>
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures_Hours.fo	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<DIVFO xmlns:fo="http://www.w3.org/1999/XSL/Format">
+	<fo:table-row keep-with-next="always">
+		<fo:table-cell>
+			<fo:block text-align="end" end-indent="0.5cm">HOUR:</fo:block>
+		</fo:table-cell>
+		<DIVFO id="sectionHours">
+			<fo:table-cell border-width="0.5pt" border-style="solid">
+				<fo:block id="fieldHour">xx02:00</fo:block>
+			</fo:table-cell>
+		</DIVFO>
+	</fo:table-row>
+</DIVFO>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures_Hours.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+	<template file="RptMA_CCP_Measures_Hours.fo"/>
+	<structure name="structureHours">
+		<FIELD id="fieldHour" replaceCharacters="fo">hour</FIELD>
+		<SECTION id="sectionHours"/>
+	</structure>
+	<DISCARD id="discard"/>
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures_Hours_data.xsql	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+
+
+
+
+<SqlClass name="RptMACCPMeasuresHoursData" package="org.openbravo.erpReports">
+   <SqlClassComment></SqlClassComment>
+   <SqlMethod name="select" type="preparedStatement" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql>
+      <![CDATA[
+        select TO_CHAR(MEASUREHOUR, 'HH:MI') as hour, 0 as ord
+                from MA_MEASURE_TIME
+                where MA_Measure_Group_ID = ?
+        union all
+        select ' ' as hour, 1 as ord
+        from ad_INTEGER
+        where VALUE <= 10-(select count(*) 
+                           from MA_MEASURE_TIME
+                           where MA_Measure_Group_ID = ?)
+        ORDER BY ord, hour
+      ]]>
+      </Sql>
+      <Parameter name="maMeasureGroupId"/>
+      <Parameter name="maMeasureGroupId"/>
+   </SqlMethod>
+   <SqlMethod name="set" type="constant" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql></Sql>
+  </SqlMethod>
+</SqlClass>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures_Values.fo	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<DIVFO id="sectionPunto" xmlns:fo="http://www.w3.org/1999/XSL/Format">
+	<fo:table-row keep-with-next="always">
+		<fo:table-cell>
+			<fo:block id="fieldName"/>
+		</fo:table-cell>
+		<DIVFO id="sectionValues">
+			<fo:table-cell border-width="0.7pt" border-style="solid">
+				<fo:block id="fieldValue">&#160;</fo:block>
+			</fo:table-cell>
+		</DIVFO>
+	</fo:table-row>
+</DIVFO>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures_Values.xml	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+	<template file="RptMA_CCP_Measures_Values.fo"/>
+	<structure name="structureValues">
+		<FIELD id="fieldSeqNo" replaceCharacters="fo">seqno</FIELD>
+		<FIELD id="fieldValue" replaceCharacters="fo">value</FIELD>
+		<FIELD id="fieldName" replaceCharacters="fo">name</FIELD>
+		<SECTION id="sectionPunto" field="seqno"/>
+		<SECTION id="sectionValues"/>
+	</structure>
+	<DISCARD id="discard"/>
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures_Values_data.xsql	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+
+
+
+
+<SqlClass name="RptMACCPMeasuresValuesData" package="org.openbravo.erpReports">
+   <SqlClassComment></SqlClassComment>
+   <SqlMethod name="select" type="preparedStatement" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql>
+      <![CDATA[
+        select measurehour, name, max(value) as value, identific, seqno
+        from (
+            select t.MEASUREHOUR, v.seqno, c.name || (CASE c.CRITICAL WHEN 'Y' THEN ' (PC)' ELSE '' END) AS name, COALESCE((CASE v.VALUETYPE WHEN 'N' THEN TO_CHAR(v_number) ELSE 
+                (CASE v.VALUETYPE WHEN 'C' THEN TO_CHAR(v_char) ELSE TO_CHAR(v_string) END) END),' ') AS value, 0 as identific
+            from MA_MEASURE_TIME t, MA_MEASURE_VALUES v, MA_CCP c
+            where t.MA_MEASURE_TIME_ID = v.MA_MEASURE_TIME_ID
+              and v.MA_CCP_ID = c.MA_CCP_ID 
+              and t.MA_MEASURE_GROUP_ID = ?
+            union all
+              select to_date('31/12/9999', 'DD/MM/YYYY'), v.seqno, c.name || (CASE c.CRITICAL WHEN 'Y' THEN ' (PC)' ELSE '' END) AS name, ' ' as value, identific
+              from ma_measure_time t, ma_measure_values v, ma_ccp c, 
+                (select VALUE-1 as identific from ad_INTEGER 
+                 where VALUE<=(
+                   select 10-count(*) from MA_Measure_time
+                   where ma_measure_group_id=?)) AAA
+              where t.ma_measure_group_id = ?
+                and t.MA_MEASURE_TIME_ID = v.MA_MEASURE_TIME_ID
+                and v.MA_CCP_ID = c.MA_CCP_ID
+        ) AA
+        group by  seqno,measurehour,  name, identific
+        order by seqno, name, measurehour
+      ]]>
+      </Sql>
+      <Parameter name="maMeasureGroupId"/>
+      <Parameter name="maMeasureGroupId"/>
+      <Parameter name="maMeasureGroupId"/>
+   </SqlMethod>
+   <SqlMethod name="set" type="constant" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql></Sql>
+  </SqlMethod>
+</SqlClass>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpReports/RptMA_CCP_Measures_data.xsql	Wed May 04 10:29:32 2011 +0200
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2006 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+
+
+
+
+<SqlClass name="RptMACCPMeasuresData" package="org.openbravo.erpReports">
+   <SqlClassComment></SqlClassComment>
+   <SqlMethod name="select" type="preparedStatement" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql>
+      <![CDATA[
+        select s.Measuredate as measuredate, TO_CHAR(cg.frecuency, 'HH:MI') as frecuency, s.MA_MEASURE_SHIFT_ID as shiftid, g.MA_MEASURE_GROUP_ID as groupid, g.MA_CCP_GROUP_ID, cg.NAME as grupo, (CASE s.shift WHEN 'M' THEN 'MaƱana' ELSE 'Tarde' END) as shift, cg.seqno, REPLACE(s.observation, CHR(10), '') AS observation, (CASE WHEN s.AD_User_ID IS NULL THEN ' ' ELSE TO_CHAR(u.Name) END) as uname
+        from AD_User u right join MA_Measure_Shift s on u.AD_User_ID  = s.AD_User_ID, MA_Measure_Group g, MA_CCP_Group cg
+        where s.MA_MEASURE_SHIFT_ID = g.MA_MEASURE_SHIFT_ID
+          and g.MA_CCP_GROUP_ID = cg.MA_CCP_GROUP_ID
+          AND 1=1
+        order by s.MA_Measure_Shift_ID, cg.seqno
+      ]]>
+      </Sql>
+      <Parameter name="maCcpGroupId" optional="true" type="argument" after="AND 1=1">
+      <![CDATA[ AND s.MA_Measure_Shift_ID IN ]]>
+      </Parameter>
+   </SqlMethod>
+   <SqlMethod name="set" type="constant" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql></Sql>
+  </SqlMethod>
+</SqlClass>