[costadj]Add landed cost process.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Mon, 18 Aug 2014 14:27:16 +0200
changeset 24793 3b226b09e927
parent 24792 e7f4f6fd5ca8
child 24794 ef972cfebd67
[costadj]Add landed cost process.
src-db/database/model/tables/M_LANDEDCOST.xml
src-db/database/model/tables/M_LC_COST.xml
src-db/database/model/tables/M_LC_RECEIPT.xml
src-db/database/model/tables/M_LC_RECEIPTLINE.xml
src-db/database/model/tables/M_LC_RECEIPTLINE_AMT.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src-db/database/sourcedata/AD_FIELD.xml
src-db/database/sourcedata/AD_MESSAGE.xml
src-db/database/sourcedata/AD_REFERENCE.xml
src-db/database/sourcedata/AD_TAB.xml
src-db/database/sourcedata/AD_TABLE.xml
src-db/database/sourcedata/OBUIAPP_PROCESS.xml
src-db/database/sourcedata/OBUISEL_SELECTOR.xml
src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
src/org/openbravo/costing/LandedCostDistributionAlgorithm.java
src/org/openbravo/costing/LandedCostDistributionByAmount.java
src/org/openbravo/costing/LandedCostProcess.java
src/org/openbravo/costing/LandedCostProcessCheck.java
src/org/openbravo/costing/LandedCostProcessHandler.java
--- a/src-db/database/model/tables/M_LANDEDCOST.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/model/tables/M_LANDEDCOST.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -67,6 +67,9 @@
       <foreign-key foreignTable="C_CURRENCY" name="M_LANDEDCOST_CURRENCY">
         <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
       </foreign-key>
+      <foreign-key foreignTable="C_DOCTYPE" name="M_LANDEDCOST_DOCTYPE">
+        <reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
+      </foreign-key>
       <foreign-key foreignTable="AD_ORG" name="M_LANDEDCOST_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
--- a/src-db/database/model/tables/M_LC_COST.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/model/tables/M_LC_COST.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -53,7 +53,7 @@
         <default/>
         <onCreateDefault/>
       </column>
-      <column name="M_LC_DISTRIBUTION_ALG_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+      <column name="M_LC_DISTRIBUTION_ALG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
         <default/>
         <onCreateDefault/>
       </column>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/M_LC_RECEIPT.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+  <database name="TABLE M_LC_RECEIPT">
+    <table name="M_LC_RECEIPT" primaryKey="M_LC_RECEIPT_KEY">
+      <column name="M_LC_RECEIPT_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="M_LANDEDCOST_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_INOUT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AMOUNT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_CLIENT" name="M_LC_RECEIPT_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_INOUT" name="M_LC_RECEIPT_INOUT">
+        <reference local="M_INOUT_ID" foreign="M_INOUT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_INOUTLINE" name="M_LC_RECEIPT_INOUTLINE">
+        <reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_LANDEDCOST" name="M_LC_RECEIPT_LC">
+        <reference local="M_LANDEDCOST_ID" foreign="M_LANDEDCOST_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_ORG" name="M_LC_RECEIPT_ORG">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <check name="M_LC_RECEIPT_ACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_LC_RECEIPT_IO_CHECK"><![CDATA[M_INOUT_ID IS NOT NULL OR M_INOUTLINE_ID IS NOT NULL]]></check>
+    </table>
+  </database>
--- a/src-db/database/model/tables/M_LC_RECEIPTLINE.xml	Mon Aug 18 10:39:54 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-<?xml version="1.0"?>
-  <database name="TABLE M_LC_RECEIPTLINE">
-    <table name="M_LC_RECEIPTLINE" primaryKey="M_LC_RECEIPTLINE_KEY">
-      <column name="M_LC_RECEIPTLINE_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="M_LANDEDCOST_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="M_INOUTLINE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="AMOUNT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <foreign-key foreignTable="AD_CLIENT" name="M_LC_RECEIPTLINE_CLIENT">
-        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="M_INOUTLINE" name="M_LC_RECEIPTLINE_INOUTLINE">
-        <reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="M_LANDEDCOST" name="M_LC_RECEIPTLINE_LC">
-        <reference local="M_LANDEDCOST_ID" foreign="M_LANDEDCOST_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="M_LC_RECEIPTLINE_ORG">
-        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
-      </foreign-key>
-      <check name="M_LC_RECEIPTLINE_ACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
-    </table>
-  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/M_LC_RECEIPTLINE_AMT.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+  <database name="TABLE M_LC_RECEIPTLINE_AMT">
+    <table name="M_LC_RECEIPTLINE_AMT" primaryKey="M_LC_RECEIPTLINEAMT_KEY">
+      <column name="M_LC_RECEIPTLINE_AMT_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="M_LC_COST_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_LC_RECEIPT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AMOUNT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_INOUTLINE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="M_LC_RECEIPT" name="M_LC_RECEIPTEAMT_INOUTLINE">
+        <reference local="M_LC_RECEIPT_ID" foreign="M_LC_RECEIPT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_INOUTLINE" name="M_LC_RECEIPTLINE_AMT_INOUTLINE">
+        <reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="M_LC_RECEIPTLINEAMT_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_LC_COST" name="M_LC_RECEIPTLINEAMT_LCCOST" onDelete="cascade">
+        <reference local="M_LC_COST_ID" foreign="M_LC_COST_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_ORG" name="M_LC_RECEIPTLINEAMT_ORG">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <check name="M_LC_RECEIPTLINEAMT_ACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+    </table>
+  </database>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -221294,6 +221294,7 @@
 <!--00568254CB3B8733E050007F01000513-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--00568254CB3B8733E050007F01000513-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--00568254CB3B8733E050007F01000513-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--00568254CB3B8733E050007F01000513-->  <EM_OBUIAPP_PROCESS_ID><![CDATA[96FE01F2F12F45FC8ED4A1978EBD034C]]></EM_OBUIAPP_PROCESS_ID>
 <!--00568254CB3B8733E050007F01000513--></AD_COLUMN>
 
 <!--00568254CB3C8733E050007F01000513--><AD_COLUMN>
@@ -221934,9 +221935,9 @@
 <!--00568254CB898733E050007F01000513-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--00568254CB898733E050007F01000513-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--00568254CB898733E050007F01000513-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--00568254CB898733E050007F01000513-->  <NAME><![CDATA[Landed Cost Receipt Line]]></NAME>
-<!--00568254CB898733E050007F01000513-->  <HELP><![CDATA[Identifies each Receipt Line assigned to the Landed Cost Document with the corresponding amount.]]></HELP>
-<!--00568254CB898733E050007F01000513-->  <COLUMNNAME><![CDATA[M_Lc_ReceiptLine_ID]]></COLUMNNAME>
+<!--00568254CB898733E050007F01000513-->  <NAME><![CDATA[Landed Cost Receipt]]></NAME>
+<!--00568254CB898733E050007F01000513-->  <HELP><![CDATA[Identifies each Receipt assigned to the Landed Cost Document with the corresponding amount.]]></HELP>
+<!--00568254CB898733E050007F01000513-->  <COLUMNNAME><![CDATA[M_Lc_Receipt_ID]]></COLUMNNAME>
 <!--00568254CB898733E050007F01000513-->  <AD_TABLE_ID><![CDATA[FC90AED3E5ED45CAB28A1FF2D571FB99]]></AD_TABLE_ID>
 <!--00568254CB898733E050007F01000513-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
 <!--00568254CB898733E050007F01000513-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
@@ -222264,7 +222265,7 @@
 <!--00568254CB928733E050007F01000513-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
 <!--00568254CB928733E050007F01000513-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--00568254CB928733E050007F01000513-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--00568254CB928733E050007F01000513-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--00568254CB928733E050007F01000513-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
 <!--00568254CB928733E050007F01000513-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
 <!--00568254CB928733E050007F01000513-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
 <!--00568254CB928733E050007F01000513-->  <SEQNO><![CDATA[100]]></SEQNO>
@@ -222310,7 +222311,7 @@
 <!--00568254CB938733E050007F01000513-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--00568254CB938733E050007F01000513-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--00568254CB938733E050007F01000513-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--00568254CB938733E050007F01000513-->  <POSITION><![CDATA[11]]></POSITION>
+<!--00568254CB938733E050007F01000513-->  <POSITION><![CDATA[12]]></POSITION>
 <!--00568254CB938733E050007F01000513-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--00568254CB938733E050007F01000513-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--00568254CB938733E050007F01000513-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
@@ -222318,6 +222319,393 @@
 <!--00568254CB938733E050007F01000513-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--00568254CB938733E050007F01000513--></AD_COLUMN>
 
+<!--005AE3B9D4ED3F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4ED3F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <NAME><![CDATA[Landed Cost Receipt Line Amount]]></NAME>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <HELP><![CDATA[Identifies the corresponding amount of each Landed Cost Cost assigned to each Receipt Line]]></HELP>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[M_Lc_Receiptline_Amt_ID]]></COLUMNNAME>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[005AE3B9D4E73F7BE050007F010019F4]]></AD_ELEMENT_ID>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <POSITION><![CDATA[1]]></POSITION>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4ED3F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4ED3F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4EE3F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4EE3F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <NAME><![CDATA[Client]]></NAME>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <POSITION><![CDATA[2]]></POSITION>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4EE3F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4EE3F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4EF3F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4EF3F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <NAME><![CDATA[Organization]]></NAME>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <POSITION><![CDATA[3]]></POSITION>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4EF3F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4EF3F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4F03F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F03F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <NAME><![CDATA[Active]]></NAME>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <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>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <POSITION><![CDATA[4]]></POSITION>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4F03F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4F03F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4F13F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F13F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <POSITION><![CDATA[5]]></POSITION>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4F13F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4F13F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4F23F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F23F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <NAME><![CDATA[Created By]]></NAME>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <POSITION><![CDATA[6]]></POSITION>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4F23F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4F23F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4F33F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F33F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <NAME><![CDATA[Updated]]></NAME>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <DESCRIPTION><![CDATA[The date that this record was last updated]]></DESCRIPTION>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <POSITION><![CDATA[7]]></POSITION>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4F33F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4F33F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4F43F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F43F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <POSITION><![CDATA[8]]></POSITION>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4F43F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4F43F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4F53F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F53F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <NAME><![CDATA[Landed Cost Cost]]></NAME>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <HELP><![CDATA[Each Landed Cost amount to be included in the Landed Cost document.]]></HELP>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[M_Lc_Cost_ID]]></COLUMNNAME>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[0056819E5113679FE050007F01000569]]></AD_ELEMENT_ID>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <POSITION><![CDATA[9]]></POSITION>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4F53F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4F53F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4F63F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F63F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <NAME><![CDATA[Landed Cost Receipt]]></NAME>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <HELP><![CDATA[Identifies each Receipt assigned to the Landed Cost Document with the corresponding amount.]]></HELP>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[M_Lc_Receipt_ID]]></COLUMNNAME>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[0056819E5126679FE050007F01000569]]></AD_ELEMENT_ID>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <POSITION><![CDATA[10]]></POSITION>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4F63F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4F63F7BE050007F010019F4--></AD_COLUMN>
+
+<!--005AE3B9D4F73F7BE050007F010019F4--><AD_COLUMN>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F73F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <NAME><![CDATA[Amount]]></NAME>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[Amount]]></COLUMNNAME>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <AD_REFERENCE_ID><![CDATA[22]]></AD_REFERENCE_ID>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[7890366979712CEFE040007F01013334]]></AD_ELEMENT_ID>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <POSITION><![CDATA[11]]></POSITION>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--005AE3B9D4F73F7BE050007F010019F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--005AE3B9D4F73F7BE050007F010019F4--></AD_COLUMN>
+
 <!--00987785B61346F9A1DC7E22C304CC82--><AD_COLUMN>
 <!--00987785B61346F9A1DC7E22C304CC82-->  <AD_COLUMN_ID><![CDATA[00987785B61346F9A1DC7E22C304CC82]]></AD_COLUMN_ID>
 <!--00987785B61346F9A1DC7E22C304CC82-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -222424,6 +222812,77 @@
 <!--00D6BA2224034FAD99CEA36332A9CE0D-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--00D6BA2224034FAD99CEA36332A9CE0D--></AD_COLUMN>
 
+<!--00E37E26A3AB0E3BE050007F010076CF--><AD_COLUMN>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_COLUMN_ID><![CDATA[00E37E26A3AB0E3BE050007F010076CF]]></AD_COLUMN_ID>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <NAME><![CDATA[Goods Shipment]]></NAME>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <DESCRIPTION><![CDATA[The document number for identifying an act of sending goods.]]></DESCRIPTION>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <HELP><![CDATA[The Shipment ID indicates the unique document for this shipment.]]></HELP>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <COLUMNNAME><![CDATA[M_Inout_ID]]></COLUMNNAME>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_TABLE_ID><![CDATA[FC90AED3E5ED45CAB28A1FF2D571FB99]]></AD_TABLE_ID>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_REFERENCE_VALUE_ID><![CDATA[E68CCF4495A34ED7902293A930386B93]]></AD_REFERENCE_VALUE_ID>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_ELEMENT_ID><![CDATA[1025]]></AD_ELEMENT_ID>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <POSITION><![CDATA[11]]></POSITION>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--00E37E26A3AB0E3BE050007F010076CF-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--00E37E26A3AB0E3BE050007F010076CF--></AD_COLUMN>
+
+<!--00E4337DDD50F96FE050007F01002D5E--><AD_COLUMN>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <AD_COLUMN_ID><![CDATA[00E4337DDD50F96FE050007F01002D5E]]></AD_COLUMN_ID>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <NAME><![CDATA[Goods Shipment Line]]></NAME>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <DESCRIPTION><![CDATA[A statement displaying one item, charge, or movement in a shipment.]]></DESCRIPTION>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <HELP><![CDATA[The Goods Shipment Line indicates a unique line in a Shipment document]]></HELP>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <COLUMNNAME><![CDATA[M_Inoutline_ID]]></COLUMNNAME>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <AD_ELEMENT_ID><![CDATA[1026]]></AD_ELEMENT_ID>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <POSITION><![CDATA[12]]></POSITION>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--00E4337DDD50F96FE050007F01002D5E-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--00E4337DDD50F96FE050007F01002D5E--></AD_COLUMN>
+
 <!--00ED8F7CB93B4006AA002FA9F3244E03--><AD_COLUMN>
 <!--00ED8F7CB93B4006AA002FA9F3244E03-->  <AD_COLUMN_ID><![CDATA[00ED8F7CB93B4006AA002FA9F3244E03]]></AD_COLUMN_ID>
 <!--00ED8F7CB93B4006AA002FA9F3244E03-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_ELEMENT.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/AD_ELEMENT.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -20652,10 +20652,10 @@
 <!--0056819E5126679FE050007F01000569-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--0056819E5126679FE050007F01000569-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0056819E5126679FE050007F01000569-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--0056819E5126679FE050007F01000569-->  <COLUMNNAME><![CDATA[M_Lc_ReceiptLine_ID]]></COLUMNNAME>
-<!--0056819E5126679FE050007F01000569-->  <NAME><![CDATA[Landed Cost Receipt Line]]></NAME>
+<!--0056819E5126679FE050007F01000569-->  <COLUMNNAME><![CDATA[M_Lc_Receipt_ID]]></COLUMNNAME>
+<!--0056819E5126679FE050007F01000569-->  <NAME><![CDATA[Landed Cost Receipt]]></NAME>
 <!--0056819E5126679FE050007F01000569-->  <PRINTNAME><![CDATA[Landed Cost Receipt Line]]></PRINTNAME>
-<!--0056819E5126679FE050007F01000569-->  <HELP><![CDATA[Identifies each Receipt Line assigned to the Landed Cost Document with the corresponding amount.]]></HELP>
+<!--0056819E5126679FE050007F01000569-->  <HELP><![CDATA[Identifies each Receipt assigned to the Landed Cost Document with the corresponding amount.]]></HELP>
 <!--0056819E5126679FE050007F01000569-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--0056819E5126679FE050007F01000569-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
 <!--0056819E5126679FE050007F01000569--></AD_ELEMENT>
@@ -20673,6 +20673,19 @@
 <!--00568254CB598733E050007F01000513-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
 <!--00568254CB598733E050007F01000513--></AD_ELEMENT>
 
+<!--005AE3B9D4E73F7BE050007F010019F4--><AD_ELEMENT>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <AD_ELEMENT_ID><![CDATA[005AE3B9D4E73F7BE050007F010019F4]]></AD_ELEMENT_ID>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <COLUMNNAME><![CDATA[M_Lc_Receiptline_Amt_ID]]></COLUMNNAME>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <NAME><![CDATA[Landed Cost Receipt Line Amount]]></NAME>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <PRINTNAME><![CDATA[Landed Cost Receipt Line Amount]]></PRINTNAME>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <HELP><![CDATA[Identifies the corresponding amount of each Landed Cost Cost assigned to each Receipt Line]]></HELP>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--005AE3B9D4E73F7BE050007F010019F4-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--005AE3B9D4E73F7BE050007F010019F4--></AD_ELEMENT>
+
 <!--0131585AC1F246DBAF6B84E53534F5FA--><AD_ELEMENT>
 <!--0131585AC1F246DBAF6B84E53534F5FA-->  <AD_ELEMENT_ID><![CDATA[0131585AC1F246DBAF6B84E53534F5FA]]></AD_ELEMENT_ID>
 <!--0131585AC1F246DBAF6B84E53534F5FA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_FIELD.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -175812,9 +175812,9 @@
 <!--0056819E5169679FE050007F01000569-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--0056819E5169679FE050007F01000569-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0056819E5169679FE050007F01000569-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--0056819E5169679FE050007F01000569-->  <NAME><![CDATA[Goods Shipment]]></NAME>
-<!--0056819E5169679FE050007F01000569-->  <DESCRIPTION><![CDATA[The document number for identifying an act of sending goods.]]></DESCRIPTION>
-<!--0056819E5169679FE050007F01000569-->  <HELP><![CDATA[The Shipment ID indicates the unique document for this shipment.]]></HELP>
+<!--0056819E5169679FE050007F01000569-->  <NAME><![CDATA[Goods Receipt]]></NAME>
+<!--0056819E5169679FE050007F01000569-->  <DESCRIPTION><![CDATA[The document number for identifying an act of receiving goods.]]></DESCRIPTION>
+<!--0056819E5169679FE050007F01000569-->  <HELP><![CDATA[The Receipt ID indicates the unique document for this receipt.]]></HELP>
 <!--0056819E5169679FE050007F01000569-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--0056819E5169679FE050007F01000569-->  <AD_TAB_ID><![CDATA[1C05058D61AC4B69A7E550F32F9F2873]]></AD_TAB_ID>
 <!--0056819E5169679FE050007F01000569-->  <AD_COLUMN_ID><![CDATA[00568254CB688733E050007F01000513]]></AD_COLUMN_ID>
@@ -176004,8 +176004,8 @@
 <!--005681FC737EF221E050007F01000565-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--005681FC737EF221E050007F01000565-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--005681FC737EF221E050007F01000565-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--005681FC737EF221E050007F01000565-->  <NAME><![CDATA[Landed Cost Receipt Line]]></NAME>
-<!--005681FC737EF221E050007F01000565-->  <HELP><![CDATA[Identifies each Receipt Line assigned to the Landed Cost Document with the corresponding amount.]]></HELP>
+<!--005681FC737EF221E050007F01000565-->  <NAME><![CDATA[Landed Cost Receipt]]></NAME>
+<!--005681FC737EF221E050007F01000565-->  <HELP><![CDATA[Identifies each Receipt assigned to the Landed Cost Document with the corresponding amount.]]></HELP>
 <!--005681FC737EF221E050007F01000565-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--005681FC737EF221E050007F01000565-->  <AD_TAB_ID><![CDATA[C0B6D4F225994C7C83CCFC6EF3822A4A]]></AD_TAB_ID>
 <!--005681FC737EF221E050007F01000565-->  <AD_COLUMN_ID><![CDATA[00568254CB898733E050007F01000513]]></AD_COLUMN_ID>
@@ -176097,7 +176097,7 @@
 <!--005681FC7381F221E050007F01000565-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--005681FC7381F221E050007F01000565-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--005681FC7381F221E050007F01000565-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--005681FC7381F221E050007F01000565-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--005681FC7381F221E050007F01000565-->  <SEQNO><![CDATA[40]]></SEQNO>
 <!--005681FC7381F221E050007F01000565-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--005681FC7381F221E050007F01000565-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--005681FC7381F221E050007F01000565-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -176142,9 +176142,9 @@
 <!--005681FC7383F221E050007F01000565-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--005681FC7383F221E050007F01000565-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--005681FC7383F221E050007F01000565-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--005681FC7383F221E050007F01000565-->  <NAME><![CDATA[Goods Shipment Line]]></NAME>
-<!--005681FC7383F221E050007F01000565-->  <DESCRIPTION><![CDATA[A statement displaying one item, charge, or movement in a shipment.]]></DESCRIPTION>
-<!--005681FC7383F221E050007F01000565-->  <HELP><![CDATA[The Goods Shipment Line indicates a unique line in a Shipment document]]></HELP>
+<!--005681FC7383F221E050007F01000565-->  <NAME><![CDATA[Goods Receipt Line]]></NAME>
+<!--005681FC7383F221E050007F01000565-->  <DESCRIPTION><![CDATA[A statement displaying one item, charge, or movement in a receipt.]]></DESCRIPTION>
+<!--005681FC7383F221E050007F01000565-->  <HELP><![CDATA[The Goods Receipt Line indicates a unique line in a Receipt document]]></HELP>
 <!--005681FC7383F221E050007F01000565-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--005681FC7383F221E050007F01000565-->  <AD_TAB_ID><![CDATA[C0B6D4F225994C7C83CCFC6EF3822A4A]]></AD_TAB_ID>
 <!--005681FC7383F221E050007F01000565-->  <AD_COLUMN_ID><![CDATA[00568254CB928733E050007F01000513]]></AD_COLUMN_ID>
@@ -176152,7 +176152,7 @@
 <!--005681FC7383F221E050007F01000565-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--005681FC7383F221E050007F01000565-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
 <!--005681FC7383F221E050007F01000565-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--005681FC7383F221E050007F01000565-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--005681FC7383F221E050007F01000565-->  <SEQNO><![CDATA[20]]></SEQNO>
 <!--005681FC7383F221E050007F01000565-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--005681FC7383F221E050007F01000565-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--005681FC7383F221E050007F01000565-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -176178,7 +176178,7 @@
 <!--005681FC7384F221E050007F01000565-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--005681FC7384F221E050007F01000565-->  <DISPLAYLENGTH><![CDATA[12]]></DISPLAYLENGTH>
 <!--005681FC7384F221E050007F01000565-->  <ISREADONLY><![CDATA[Y]]></ISREADONLY>
-<!--005681FC7384F221E050007F01000565-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--005681FC7384F221E050007F01000565-->  <SEQNO><![CDATA[30]]></SEQNO>
 <!--005681FC7384F221E050007F01000565-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--005681FC7384F221E050007F01000565-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--005681FC7384F221E050007F01000565-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -176334,9 +176334,9 @@
 <!--00568254CC058733E050007F01000513-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--00568254CC058733E050007F01000513-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--00568254CC058733E050007F01000513-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--00568254CC058733E050007F01000513-->  <NAME><![CDATA[Goods Shipment]]></NAME>
-<!--00568254CC058733E050007F01000513-->  <DESCRIPTION><![CDATA[The document number for identifying an act of sending goods.]]></DESCRIPTION>
-<!--00568254CC058733E050007F01000513-->  <HELP><![CDATA[The Shipment ID indicates the unique document for this shipment.]]></HELP>
+<!--00568254CC058733E050007F01000513-->  <NAME><![CDATA[Goods Receipt]]></NAME>
+<!--00568254CC058733E050007F01000513-->  <DESCRIPTION><![CDATA[The document number for identifying an act of receiving goods.]]></DESCRIPTION>
+<!--00568254CC058733E050007F01000513-->  <HELP><![CDATA[The Receipt ID indicates the unique document for this receipt.]]></HELP>
 <!--00568254CC058733E050007F01000513-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--00568254CC058733E050007F01000513-->  <AD_TAB_ID><![CDATA[0F76B56EB2874C729ABE1665D5853E9D]]></AD_TAB_ID>
 <!--00568254CC058733E050007F01000513-->  <AD_COLUMN_ID><![CDATA[00568254CB688733E050007F01000513]]></AD_COLUMN_ID>
@@ -176521,6 +176521,194 @@
 <!--00568254CC0B8733E050007F01000513-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--00568254CC0B8733E050007F01000513--></AD_FIELD>
 
+<!--007F8762B85BF72DE050007F010019DF--><AD_FIELD>
+<!--007F8762B85BF72DE050007F010019DF-->  <AD_FIELD_ID><![CDATA[007F8762B85BF72DE050007F010019DF]]></AD_FIELD_ID>
+<!--007F8762B85BF72DE050007F010019DF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--007F8762B85BF72DE050007F010019DF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--007F8762B85BF72DE050007F010019DF-->  <NAME><![CDATA[Landed Cost Receipt Line Amount]]></NAME>
+<!--007F8762B85BF72DE050007F010019DF-->  <HELP><![CDATA[Identifies the corresponding amount of each Landed Cost Cost assigned to each Receipt Line]]></HELP>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--007F8762B85BF72DE050007F010019DF-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--007F8762B85BF72DE050007F010019DF-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4ED3F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--007F8762B85BF72DE050007F010019DF-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--007F8762B85BF72DE050007F010019DF-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--007F8762B85BF72DE050007F010019DF-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--007F8762B85BF72DE050007F010019DF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--007F8762B85BF72DE050007F010019DF-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--007F8762B85BF72DE050007F010019DF-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--007F8762B85BF72DE050007F010019DF-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--007F8762B85BF72DE050007F010019DF-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--007F8762B85BF72DE050007F010019DF--></AD_FIELD>
+
+<!--007F8762B85CF72DE050007F010019DF--><AD_FIELD>
+<!--007F8762B85CF72DE050007F010019DF-->  <AD_FIELD_ID><![CDATA[007F8762B85CF72DE050007F010019DF]]></AD_FIELD_ID>
+<!--007F8762B85CF72DE050007F010019DF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--007F8762B85CF72DE050007F010019DF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--007F8762B85CF72DE050007F010019DF-->  <NAME><![CDATA[Client]]></NAME>
+<!--007F8762B85CF72DE050007F010019DF-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--007F8762B85CF72DE050007F010019DF-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--007F8762B85CF72DE050007F010019DF-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--007F8762B85CF72DE050007F010019DF-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4EE3F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--007F8762B85CF72DE050007F010019DF-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--007F8762B85CF72DE050007F010019DF-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--007F8762B85CF72DE050007F010019DF-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--007F8762B85CF72DE050007F010019DF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--007F8762B85CF72DE050007F010019DF-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--007F8762B85CF72DE050007F010019DF-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--007F8762B85CF72DE050007F010019DF-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--007F8762B85CF72DE050007F010019DF-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--007F8762B85CF72DE050007F010019DF--></AD_FIELD>
+
+<!--007F8762B85DF72DE050007F010019DF--><AD_FIELD>
+<!--007F8762B85DF72DE050007F010019DF-->  <AD_FIELD_ID><![CDATA[007F8762B85DF72DE050007F010019DF]]></AD_FIELD_ID>
+<!--007F8762B85DF72DE050007F010019DF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--007F8762B85DF72DE050007F010019DF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--007F8762B85DF72DE050007F010019DF-->  <NAME><![CDATA[Organization]]></NAME>
+<!--007F8762B85DF72DE050007F010019DF-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--007F8762B85DF72DE050007F010019DF-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--007F8762B85DF72DE050007F010019DF-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--007F8762B85DF72DE050007F010019DF-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4EF3F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--007F8762B85DF72DE050007F010019DF-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--007F8762B85DF72DE050007F010019DF-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--007F8762B85DF72DE050007F010019DF-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--007F8762B85DF72DE050007F010019DF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--007F8762B85DF72DE050007F010019DF-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--007F8762B85DF72DE050007F010019DF-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--007F8762B85DF72DE050007F010019DF-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--007F8762B85DF72DE050007F010019DF-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--007F8762B85DF72DE050007F010019DF--></AD_FIELD>
+
+<!--007F8762B85EF72DE050007F010019DF--><AD_FIELD>
+<!--007F8762B85EF72DE050007F010019DF-->  <AD_FIELD_ID><![CDATA[007F8762B85EF72DE050007F010019DF]]></AD_FIELD_ID>
+<!--007F8762B85EF72DE050007F010019DF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--007F8762B85EF72DE050007F010019DF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--007F8762B85EF72DE050007F010019DF-->  <NAME><![CDATA[Active]]></NAME>
+<!--007F8762B85EF72DE050007F010019DF-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--007F8762B85EF72DE050007F010019DF-->  <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>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--007F8762B85EF72DE050007F010019DF-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--007F8762B85EF72DE050007F010019DF-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F03F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--007F8762B85EF72DE050007F010019DF-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--007F8762B85EF72DE050007F010019DF-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--007F8762B85EF72DE050007F010019DF-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--007F8762B85EF72DE050007F010019DF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--007F8762B85EF72DE050007F010019DF-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--007F8762B85EF72DE050007F010019DF-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--007F8762B85EF72DE050007F010019DF-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--007F8762B85EF72DE050007F010019DF-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--007F8762B85EF72DE050007F010019DF--></AD_FIELD>
+
+<!--007F8762B85FF72DE050007F010019DF--><AD_FIELD>
+<!--007F8762B85FF72DE050007F010019DF-->  <AD_FIELD_ID><![CDATA[007F8762B85FF72DE050007F010019DF]]></AD_FIELD_ID>
+<!--007F8762B85FF72DE050007F010019DF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--007F8762B85FF72DE050007F010019DF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--007F8762B85FF72DE050007F010019DF-->  <NAME><![CDATA[Landed Cost Cost]]></NAME>
+<!--007F8762B85FF72DE050007F010019DF-->  <HELP><![CDATA[Each Landed Cost amount to be included in the Landed Cost document.]]></HELP>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--007F8762B85FF72DE050007F010019DF-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--007F8762B85FF72DE050007F010019DF-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F53F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--007F8762B85FF72DE050007F010019DF-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--007F8762B85FF72DE050007F010019DF-->  <DISPLAYLENGTH><![CDATA[100]]></DISPLAYLENGTH>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--007F8762B85FF72DE050007F010019DF-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--007F8762B85FF72DE050007F010019DF-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--007F8762B85FF72DE050007F010019DF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--007F8762B85FF72DE050007F010019DF-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--007F8762B85FF72DE050007F010019DF-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--007F8762B85FF72DE050007F010019DF-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--007F8762B85FF72DE050007F010019DF-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--007F8762B85FF72DE050007F010019DF--></AD_FIELD>
+
+<!--007F8762B860F72DE050007F010019DF--><AD_FIELD>
+<!--007F8762B860F72DE050007F010019DF-->  <AD_FIELD_ID><![CDATA[007F8762B860F72DE050007F010019DF]]></AD_FIELD_ID>
+<!--007F8762B860F72DE050007F010019DF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--007F8762B860F72DE050007F010019DF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--007F8762B860F72DE050007F010019DF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--007F8762B860F72DE050007F010019DF-->  <NAME><![CDATA[Landed Cost Receipt]]></NAME>
+<!--007F8762B860F72DE050007F010019DF-->  <HELP><![CDATA[Identifies each Receipt assigned to the Landed Cost Document with the corresponding amount.]]></HELP>
+<!--007F8762B860F72DE050007F010019DF-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--007F8762B860F72DE050007F010019DF-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--007F8762B860F72DE050007F010019DF-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F63F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--007F8762B860F72DE050007F010019DF-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--007F8762B860F72DE050007F010019DF-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--007F8762B860F72DE050007F010019DF-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--007F8762B860F72DE050007F010019DF-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--007F8762B860F72DE050007F010019DF-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--007F8762B860F72DE050007F010019DF-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--007F8762B860F72DE050007F010019DF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--007F8762B860F72DE050007F010019DF-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--007F8762B860F72DE050007F010019DF-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--007F8762B860F72DE050007F010019DF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--007F8762B860F72DE050007F010019DF-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--007F8762B860F72DE050007F010019DF-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--007F8762B860F72DE050007F010019DF-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--007F8762B860F72DE050007F010019DF-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--007F8762B860F72DE050007F010019DF--></AD_FIELD>
+
+<!--007F8762B861F72DE050007F010019DF--><AD_FIELD>
+<!--007F8762B861F72DE050007F010019DF-->  <AD_FIELD_ID><![CDATA[007F8762B861F72DE050007F010019DF]]></AD_FIELD_ID>
+<!--007F8762B861F72DE050007F010019DF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--007F8762B861F72DE050007F010019DF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--007F8762B861F72DE050007F010019DF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--007F8762B861F72DE050007F010019DF-->  <NAME><![CDATA[Amount]]></NAME>
+<!--007F8762B861F72DE050007F010019DF-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--007F8762B861F72DE050007F010019DF-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--007F8762B861F72DE050007F010019DF-->  <AD_COLUMN_ID><![CDATA[005AE3B9D4F73F7BE050007F010019F4]]></AD_COLUMN_ID>
+<!--007F8762B861F72DE050007F010019DF-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--007F8762B861F72DE050007F010019DF-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--007F8762B861F72DE050007F010019DF-->  <DISPLAYLENGTH><![CDATA[12]]></DISPLAYLENGTH>
+<!--007F8762B861F72DE050007F010019DF-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--007F8762B861F72DE050007F010019DF-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--007F8762B861F72DE050007F010019DF-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--007F8762B861F72DE050007F010019DF-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--007F8762B861F72DE050007F010019DF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--007F8762B861F72DE050007F010019DF-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--007F8762B861F72DE050007F010019DF-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--007F8762B861F72DE050007F010019DF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--007F8762B861F72DE050007F010019DF-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--007F8762B861F72DE050007F010019DF-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--007F8762B861F72DE050007F010019DF-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--007F8762B861F72DE050007F010019DF-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--007F8762B861F72DE050007F010019DF--></AD_FIELD>
+
 <!--00A85624B62A4151B3B1F5087CD5DE8B--><AD_FIELD>
 <!--00A85624B62A4151B3B1F5087CD5DE8B-->  <AD_FIELD_ID><![CDATA[00A85624B62A4151B3B1F5087CD5DE8B]]></AD_FIELD_ID>
 <!--00A85624B62A4151B3B1F5087CD5DE8B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -176607,6 +176795,62 @@
 <!--00E376EEC89349D986D386BFC4FDDE8E-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--00E376EEC89349D986D386BFC4FDDE8E--></AD_FIELD>
 
+<!--00E43446F17E3027E050007F01002D63--><AD_FIELD>
+<!--00E43446F17E3027E050007F01002D63-->  <AD_FIELD_ID><![CDATA[00E43446F17E3027E050007F01002D63]]></AD_FIELD_ID>
+<!--00E43446F17E3027E050007F01002D63-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--00E43446F17E3027E050007F01002D63-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--00E43446F17E3027E050007F01002D63-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--00E43446F17E3027E050007F01002D63-->  <NAME><![CDATA[Goods Receipt Line]]></NAME>
+<!--00E43446F17E3027E050007F01002D63-->  <DESCRIPTION><![CDATA[A statement displaying one item, charge, or movement in a receipt.]]></DESCRIPTION>
+<!--00E43446F17E3027E050007F01002D63-->  <HELP><![CDATA[The Goods Receipt Line indicates a unique line in a Receipt document]]></HELP>
+<!--00E43446F17E3027E050007F01002D63-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--00E43446F17E3027E050007F01002D63-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--00E43446F17E3027E050007F01002D63-->  <AD_COLUMN_ID><![CDATA[00E4337DDD50F96FE050007F01002D5E]]></AD_COLUMN_ID>
+<!--00E43446F17E3027E050007F01002D63-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--00E43446F17E3027E050007F01002D63-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--00E43446F17E3027E050007F01002D63-->  <DISPLAYLENGTH><![CDATA[100]]></DISPLAYLENGTH>
+<!--00E43446F17E3027E050007F01002D63-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--00E43446F17E3027E050007F01002D63-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--00E43446F17E3027E050007F01002D63-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--00E43446F17E3027E050007F01002D63-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--00E43446F17E3027E050007F01002D63-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--00E43446F17E3027E050007F01002D63-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--00E43446F17E3027E050007F01002D63-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--00E43446F17E3027E050007F01002D63-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--00E43446F17E3027E050007F01002D63-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--00E43446F17E3027E050007F01002D63-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--00E43446F17E3027E050007F01002D63-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--00E43446F17E3027E050007F01002D63-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--00E43446F17E3027E050007F01002D63--></AD_FIELD>
+
+<!--00E613F204372E40E050007F01002A87--><AD_FIELD>
+<!--00E613F204372E40E050007F01002A87-->  <AD_FIELD_ID><![CDATA[00E613F204372E40E050007F01002A87]]></AD_FIELD_ID>
+<!--00E613F204372E40E050007F01002A87-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--00E613F204372E40E050007F01002A87-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--00E613F204372E40E050007F01002A87-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--00E613F204372E40E050007F01002A87-->  <NAME><![CDATA[Goods Receipt]]></NAME>
+<!--00E613F204372E40E050007F01002A87-->  <DESCRIPTION><![CDATA[The document number for identifying an act of receiving goods.]]></DESCRIPTION>
+<!--00E613F204372E40E050007F01002A87-->  <HELP><![CDATA[The Receipt ID indicates the unique document for this receipt.]]></HELP>
+<!--00E613F204372E40E050007F01002A87-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--00E613F204372E40E050007F01002A87-->  <AD_TAB_ID><![CDATA[C0B6D4F225994C7C83CCFC6EF3822A4A]]></AD_TAB_ID>
+<!--00E613F204372E40E050007F01002A87-->  <AD_COLUMN_ID><![CDATA[00E37E26A3AB0E3BE050007F010076CF]]></AD_COLUMN_ID>
+<!--00E613F204372E40E050007F01002A87-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--00E613F204372E40E050007F01002A87-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--00E613F204372E40E050007F01002A87-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--00E613F204372E40E050007F01002A87-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--00E613F204372E40E050007F01002A87-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--00E613F204372E40E050007F01002A87-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--00E613F204372E40E050007F01002A87-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--00E613F204372E40E050007F01002A87-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--00E613F204372E40E050007F01002A87-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--00E613F204372E40E050007F01002A87-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--00E613F204372E40E050007F01002A87-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--00E613F204372E40E050007F01002A87-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--00E613F204372E40E050007F01002A87-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--00E613F204372E40E050007F01002A87-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--00E613F204372E40E050007F01002A87-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--00E613F204372E40E050007F01002A87--></AD_FIELD>
+
 <!--00E8CDA935E741F8BF00442E469AF177--><AD_FIELD>
 <!--00E8CDA935E741F8BF00442E469AF177-->  <AD_FIELD_ID><![CDATA[00E8CDA935E741F8BF00442E469AF177]]></AD_FIELD_ID>
 <!--00E8CDA935E741F8BF00442E469AF177-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MESSAGE.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/AD_MESSAGE.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -16270,6 +16270,18 @@
 <!--0FF0EC6915A04F4EA5FB2FD09DA82F14-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--0FF0EC6915A04F4EA5FB2FD09DA82F14--></AD_MESSAGE>
 
+<!--10287FBE789E46509443903185834BD2--><AD_MESSAGE>
+<!--10287FBE789E46509443903185834BD2-->  <AD_MESSAGE_ID><![CDATA[10287FBE789E46509443903185834BD2]]></AD_MESSAGE_ID>
+<!--10287FBE789E46509443903185834BD2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--10287FBE789E46509443903185834BD2-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--10287FBE789E46509443903185834BD2-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--10287FBE789E46509443903185834BD2-->  <VALUE><![CDATA[LandedCostNoReceipts]]></VALUE>
+<!--10287FBE789E46509443903185834BD2-->  <MSGTEXT><![CDATA[It is not possible to process a Landed Cost that does not have any Receipt assigned.]]></MSGTEXT>
+<!--10287FBE789E46509443903185834BD2-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--10287FBE789E46509443903185834BD2-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--10287FBE789E46509443903185834BD2-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--10287FBE789E46509443903185834BD2--></AD_MESSAGE>
+
 <!--102A41C23D53414FBDF15AD179133D42--><AD_MESSAGE>
 <!--102A41C23D53414FBDF15AD179133D42-->  <AD_MESSAGE_ID><![CDATA[102A41C23D53414FBDF15AD179133D42]]></AD_MESSAGE_ID>
 <!--102A41C23D53414FBDF15AD179133D42-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -18030,6 +18042,18 @@
 <!--3825F09ED9394245B85E9C7CDB878F59-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--3825F09ED9394245B85E9C7CDB878F59--></AD_MESSAGE>
 
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD--><AD_MESSAGE>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <AD_MESSAGE_ID><![CDATA[3858A8D7EE0E4CC691DA77C73B5F67BD]]></AD_MESSAGE_ID>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <VALUE><![CDATA[LCDistributionAlgorithmNotFound]]></VALUE>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <MSGTEXT><![CDATA[Error loading@distalg@  Distribution Algorithm. Please contact your System Administrator or use a different algorithm.]]></MSGTEXT>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--3858A8D7EE0E4CC691DA77C73B5F67BD--></AD_MESSAGE>
+
 <!--38E1FA87C7734186B03CF30F020247F9--><AD_MESSAGE>
 <!--38E1FA87C7734186B03CF30F020247F9-->  <AD_MESSAGE_ID><![CDATA[38E1FA87C7734186B03CF30F020247F9]]></AD_MESSAGE_ID>
 <!--38E1FA87C7734186B03CF30F020247F9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -23216,6 +23240,18 @@
 <!--C24C9FB428A64FA885563B8F7254CBB7-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--C24C9FB428A64FA885563B8F7254CBB7--></AD_MESSAGE>
 
+<!--C2F7BB10417D4338A8349A98B986150A--><AD_MESSAGE>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <AD_MESSAGE_ID><![CDATA[C2F7BB10417D4338A8349A98B986150A]]></AD_MESSAGE_ID>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <VALUE><![CDATA[LandedCostProcessed]]></VALUE>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <MSGTEXT><![CDATA[Cost Adjustment @documentNo@ has been created.]]></MSGTEXT>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--C2F7BB10417D4338A8349A98B986150A-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--C2F7BB10417D4338A8349A98B986150A--></AD_MESSAGE>
+
 <!--C3172067BB244F8693A584A9FAFBEE38--><AD_MESSAGE>
 <!--C3172067BB244F8693A584A9FAFBEE38-->  <AD_MESSAGE_ID><![CDATA[C3172067BB244F8693A584A9FAFBEE38]]></AD_MESSAGE_ID>
 <!--C3172067BB244F8693A584A9FAFBEE38-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -23710,6 +23746,18 @@
 <!--CFE6932D251A4631A5223E845D4A4891-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--CFE6932D251A4631A5223E845D4A4891--></AD_MESSAGE>
 
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F--><AD_MESSAGE>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <AD_MESSAGE_ID><![CDATA[CFF7E48DE32D4D77884A54E73D5C9D3F]]></AD_MESSAGE_ID>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <VALUE><![CDATA[M_LC_RECEIPT_IO_CHECK]]></VALUE>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <MSGTEXT><![CDATA[It is mandatory to define a Goods Receipt or Goods Receipt Line]]></MSGTEXT>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--CFF7E48DE32D4D77884A54E73D5C9D3F--></AD_MESSAGE>
+
 <!--CFFCDC177B244DBEAAA656CCF8E8C0AA--><AD_MESSAGE>
 <!--CFFCDC177B244DBEAAA656CCF8E8C0AA-->  <AD_MESSAGE_ID><![CDATA[CFFCDC177B244DBEAAA656CCF8E8C0AA]]></AD_MESSAGE_ID>
 <!--CFFCDC177B244DBEAAA656CCF8E8C0AA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -25111,6 +25159,18 @@
 <!--F4D0363B82154DD899F6B8481C072FB6-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--F4D0363B82154DD899F6B8481C072FB6--></AD_MESSAGE>
 
+<!--F4EC12348DD645CDB967482450314927--><AD_MESSAGE>
+<!--F4EC12348DD645CDB967482450314927-->  <AD_MESSAGE_ID><![CDATA[F4EC12348DD645CDB967482450314927]]></AD_MESSAGE_ID>
+<!--F4EC12348DD645CDB967482450314927-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--F4EC12348DD645CDB967482450314927-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--F4EC12348DD645CDB967482450314927-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--F4EC12348DD645CDB967482450314927-->  <VALUE><![CDATA[LandedCostNoCosts]]></VALUE>
+<!--F4EC12348DD645CDB967482450314927-->  <MSGTEXT><![CDATA[It is not possible to process a Landed Cost that does not have any Cost assigned.]]></MSGTEXT>
+<!--F4EC12348DD645CDB967482450314927-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--F4EC12348DD645CDB967482450314927-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--F4EC12348DD645CDB967482450314927-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--F4EC12348DD645CDB967482450314927--></AD_MESSAGE>
+
 <!--F572F66AA4F344769920F13B233D0B01--><AD_MESSAGE>
 <!--F572F66AA4F344769920F13B233D0B01-->  <AD_MESSAGE_ID><![CDATA[F572F66AA4F344769920F13B233D0B01]]></AD_MESSAGE_ID>
 <!--F572F66AA4F344769920F13B233D0B01-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -25359,6 +25419,18 @@
 <!--FBD240BC51C8471F85D65EFB40E079B6-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--FBD240BC51C8471F85D65EFB40E079B6--></AD_MESSAGE>
 
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B--><AD_MESSAGE>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <AD_MESSAGE_ID><![CDATA[FBDEF1CFE48249D69A50C8D1BB6C803B]]></AD_MESSAGE_ID>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <VALUE><![CDATA[LandedCostReceiptWithoutCosts]]></VALUE>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <MSGTEXT><![CDATA[It is not possible to process a Landed Cost that has some Receipts assigned whose cost is not available:]]></MSGTEXT>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--FBDEF1CFE48249D69A50C8D1BB6C803B--></AD_MESSAGE>
+
 <!--FC166D49E8CE423BB39BFFE4EAB6B1E0--><AD_MESSAGE>
 <!--FC166D49E8CE423BB39BFFE4EAB6B1E0-->  <AD_MESSAGE_ID><![CDATA[FC166D49E8CE423BB39BFFE4EAB6B1E0]]></AD_MESSAGE_ID>
 <!--FC166D49E8CE423BB39BFFE4EAB6B1E0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_REFERENCE.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/AD_REFERENCE.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -6310,6 +6310,18 @@
 <!--E125179F7310445E880814C659CA9F5A-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
 <!--E125179F7310445E880814C659CA9F5A--></AD_REFERENCE>
 
+<!--E68CCF4495A34ED7902293A930386B93--><AD_REFERENCE>
+<!--E68CCF4495A34ED7902293A930386B93-->  <AD_REFERENCE_ID><![CDATA[E68CCF4495A34ED7902293A930386B93]]></AD_REFERENCE_ID>
+<!--E68CCF4495A34ED7902293A930386B93-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E68CCF4495A34ED7902293A930386B93-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E68CCF4495A34ED7902293A930386B93-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E68CCF4495A34ED7902293A930386B93-->  <NAME><![CDATA[M_InOut Receipts]]></NAME>
+<!--E68CCF4495A34ED7902293A930386B93-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--E68CCF4495A34ED7902293A930386B93-->  <ISBASEREFERENCE><![CDATA[N]]></ISBASEREFERENCE>
+<!--E68CCF4495A34ED7902293A930386B93-->  <PARENTREFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></PARENTREFERENCE_ID>
+<!--E68CCF4495A34ED7902293A930386B93-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
+<!--E68CCF4495A34ED7902293A930386B93--></AD_REFERENCE>
+
 <!--E8E9B9F9FBDE4E679EC69611D2CCE1E3--><AD_REFERENCE>
 <!--E8E9B9F9FBDE4E679EC69611D2CCE1E3-->  <AD_REFERENCE_ID><![CDATA[E8E9B9F9FBDE4E679EC69611D2CCE1E3]]></AD_REFERENCE_ID>
 <!--E8E9B9F9FBDE4E679EC69611D2CCE1E3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TAB.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/AD_TAB.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -17500,7 +17500,7 @@
 <!--C0B6D4F225994C7C83CCFC6EF3822A4A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--C0B6D4F225994C7C83CCFC6EF3822A4A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--C0B6D4F225994C7C83CCFC6EF3822A4A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--C0B6D4F225994C7C83CCFC6EF3822A4A-->  <NAME><![CDATA[Receipt Line]]></NAME>
+<!--C0B6D4F225994C7C83CCFC6EF3822A4A-->  <NAME><![CDATA[Receipt]]></NAME>
 <!--C0B6D4F225994C7C83CCFC6EF3822A4A-->  <AD_TABLE_ID><![CDATA[FC90AED3E5ED45CAB28A1FF2D571FB99]]></AD_TABLE_ID>
 <!--C0B6D4F225994C7C83CCFC6EF3822A4A-->  <AD_WINDOW_ID><![CDATA[D1B11CBC0FEF4CA0B44D3BECEBA219BC]]></AD_WINDOW_ID>
 <!--C0B6D4F225994C7C83CCFC6EF3822A4A-->  <SEQNO><![CDATA[30]]></SEQNO>
@@ -17876,6 +17876,35 @@
 <!--CCE9944CB341484AAF200340ABAEE787-->  <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
 <!--CCE9944CB341484AAF200340ABAEE787--></AD_TAB>
 
+<!--CCFB20B3268346B99A2390B8989BCDAA--><AD_TAB>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <AD_TAB_ID><![CDATA[CCFB20B3268346B99A2390B8989BCDAA]]></AD_TAB_ID>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <NAME><![CDATA[Receipt Line Amount]]></NAME>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <AD_WINDOW_ID><![CDATA[D1B11CBC0FEF4CA0B44D3BECEBA219BC]]></AD_WINDOW_ID>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <TABLEVEL><![CDATA[2]]></TABLEVEL>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <DISABLE_PARENT_KEY_PROPERTY><![CDATA[N]]></DISABLE_PARENT_KEY_PROPERTY>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <ISREADONLYTREE><![CDATA[N]]></ISREADONLYTREE>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <ISSHOWTREENODEICONS><![CDATA[Y]]></ISSHOWTREENODEICONS>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--CCFB20B3268346B99A2390B8989BCDAA-->  <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
+<!--CCFB20B3268346B99A2390B8989BCDAA--></AD_TAB>
+
 <!--CD573DF1E351485EA2B2DE487DCACA6F--><AD_TAB>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <AD_TAB_ID><![CDATA[CD573DF1E351485EA2B2DE487DCACA6F]]></AD_TAB_ID>
 <!--CD573DF1E351485EA2B2DE487DCACA6F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TABLE.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/AD_TABLE.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -8930,6 +8930,7 @@
 <!--082F967CDF7245EB9A150941F326C45C-->  <CLASSNAME><![CDATA[LandedCost]]></CLASSNAME>
 <!--082F967CDF7245EB9A150941F326C45C-->  <ISVIEW><![CDATA[N]]></ISVIEW>
 <!--082F967CDF7245EB9A150941F326C45C-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--082F967CDF7245EB9A150941F326C45C-->  <AD_WINDOW_ID><![CDATA[D1B11CBC0FEF4CA0B44D3BECEBA219BC]]></AD_WINDOW_ID>
 <!--082F967CDF7245EB9A150941F326C45C-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
 <!--082F967CDF7245EB9A150941F326C45C-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
 <!--082F967CDF7245EB9A150941F326C45C-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
@@ -10000,6 +10001,29 @@
 <!--4D8C3B3C31D1410DA046140C9F024D17-->  <ISTREE><![CDATA[N]]></ISTREE>
 <!--4D8C3B3C31D1410DA046140C9F024D17--></AD_TABLE>
 
+<!--4DA32EB3E1A5429197785EC79FF34132--><AD_TABLE>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <AD_TABLE_ID><![CDATA[4DA32EB3E1A5429197785EC79FF34132]]></AD_TABLE_ID>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <NAME><![CDATA[LandedCostReceiptLineAmt]]></NAME>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <TABLENAME><![CDATA[M_LC_ReceiptLine_Amt]]></TABLENAME>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <CLASSNAME><![CDATA[LCReceiptLineAmt]]></CLASSNAME>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <AD_WINDOW_ID><![CDATA[D1B11CBC0FEF4CA0B44D3BECEBA219BC]]></AD_WINDOW_ID>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EF4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <DATAORIGINTYPE><![CDATA[Table]]></DATAORIGINTYPE>
+<!--4DA32EB3E1A5429197785EC79FF34132-->  <ISTREE><![CDATA[N]]></ISTREE>
+<!--4DA32EB3E1A5429197785EC79FF34132--></AD_TABLE>
+
 <!--4E9F9B0D69AC4BC2874FD2B80B948704--><AD_TABLE>
 <!--4E9F9B0D69AC4BC2874FD2B80B948704-->  <AD_TABLE_ID><![CDATA[4E9F9B0D69AC4BC2874FD2B80B948704]]></AD_TABLE_ID>
 <!--4E9F9B0D69AC4BC2874FD2B80B948704-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -10057,6 +10081,7 @@
 <!--55A984C314FD4C4FB5E7C32DE36BB07B-->  <CLASSNAME><![CDATA[LandedCostCost]]></CLASSNAME>
 <!--55A984C314FD4C4FB5E7C32DE36BB07B-->  <ISVIEW><![CDATA[N]]></ISVIEW>
 <!--55A984C314FD4C4FB5E7C32DE36BB07B-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--55A984C314FD4C4FB5E7C32DE36BB07B-->  <AD_WINDOW_ID><![CDATA[D1B11CBC0FEF4CA0B44D3BECEBA219BC]]></AD_WINDOW_ID>
 <!--55A984C314FD4C4FB5E7C32DE36BB07B-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
 <!--55A984C314FD4C4FB5E7C32DE36BB07B-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
 <!--55A984C314FD4C4FB5E7C32DE36BB07B-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
@@ -12118,11 +12143,12 @@
 <!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <NAME><![CDATA[LandedCostReceiptLine]]></NAME>
-<!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <TABLENAME><![CDATA[M_LC_ReceiptLine]]></TABLENAME>
-<!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <CLASSNAME><![CDATA[LandedCostReceiptLine]]></CLASSNAME>
+<!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <NAME><![CDATA[LandedCostReceipt]]></NAME>
+<!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <TABLENAME><![CDATA[M_LC_Receipt]]></TABLENAME>
+<!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <CLASSNAME><![CDATA[LCReceipt]]></CLASSNAME>
 <!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <ISVIEW><![CDATA[N]]></ISVIEW>
 <!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <AD_WINDOW_ID><![CDATA[D1B11CBC0FEF4CA0B44D3BECEBA219BC]]></AD_WINDOW_ID>
 <!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
 <!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
 <!--FC90AED3E5ED45CAB28A1FF2D571FB99-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
--- a/src-db/database/sourcedata/OBUIAPP_PROCESS.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/OBUIAPP_PROCESS.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -222,6 +222,23 @@
 <!--7DC2C8DC186B4C1DB18E147911950861-->  <ISGRIDLEGACY><![CDATA[Y]]></ISGRIDLEGACY>
 <!--7DC2C8DC186B4C1DB18E147911950861--></OBUIAPP_PROCESS>
 
+<!--96FE01F2F12F45FC8ED4A1978EBD034C--><OBUIAPP_PROCESS>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <OBUIAPP_PROCESS_ID><![CDATA[96FE01F2F12F45FC8ED4A1978EBD034C]]></OBUIAPP_PROCESS_ID>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <VALUE><![CDATA[LandedCostProcess]]></VALUE>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <NAME><![CDATA[Landed Cost Process]]></NAME>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <CLASSNAME><![CDATA[org.openbravo.costing.LandedCostProcessHandler]]></CLASSNAME>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <UIPATTERN><![CDATA[OBUIAPP_PickAndExecute]]></UIPATTERN>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <ISMULTIRECORD><![CDATA[N]]></ISMULTIRECORD>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C-->  <ISGRIDLEGACY><![CDATA[N]]></ISGRIDLEGACY>
+<!--96FE01F2F12F45FC8ED4A1978EBD034C--></OBUIAPP_PROCESS>
+
 <!--97FFD59B991D49BFB5153C309B009272--><OBUIAPP_PROCESS>
 <!--97FFD59B991D49BFB5153C309B009272-->  <OBUIAPP_PROCESS_ID><![CDATA[97FFD59B991D49BFB5153C309B009272]]></OBUIAPP_PROCESS_ID>
 <!--97FFD59B991D49BFB5153C309B009272-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -824,6 +824,22 @@
 <!--F132874BE0954A9B8C1301BE20704730-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
 <!--F132874BE0954A9B8C1301BE20704730--></OBUISEL_SELECTOR>
 
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF--><OBUISEL_SELECTOR>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <OBUISEL_SELECTOR_ID><![CDATA[F3CDEE79343F4746A2FEE8C60EBEC0BF]]></OBUISEL_SELECTOR_ID>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <NAME><![CDATA[Receipts]]></NAME>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <AD_REFERENCE_ID><![CDATA[E68CCF4495A34ED7902293A930386B93]]></AD_REFERENCE_ID>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <AD_TABLE_ID><![CDATA[319]]></AD_TABLE_ID>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <WHERECLAUSE><![CDATA[e.salesTransaction = false AND e.documentStatus = 'CO']]></WHERECLAUSE>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
+<!--F3CDEE79343F4746A2FEE8C60EBEC0BF--></OBUISEL_SELECTOR>
+
 <!--F42A1DD1B941461EB3B9AD07A534D91E--><OBUISEL_SELECTOR>
 <!--F42A1DD1B941461EB3B9AD07A534D91E-->  <OBUISEL_SELECTOR_ID><![CDATA[F42A1DD1B941461EB3B9AD07A534D91E]]></OBUISEL_SELECTOR_ID>
 <!--F42A1DD1B941461EB3B9AD07A534D91E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml	Mon Aug 18 10:39:54 2014 +0200
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml	Mon Aug 18 14:27:16 2014 +0200
@@ -300,6 +300,28 @@
 <!--1FFD5B1F3D7248DCAFA8225E92D17606-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
 <!--1FFD5B1F3D7248DCAFA8225E92D17606--></OBUISEL_SELECTOR_FIELD>
 
+<!--21FE670E3FBA43F680FAFC01E6C9A22C--><OBUISEL_SELECTOR_FIELD>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[21FE670E3FBA43F680FAFC01E6C9A22C]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <OBUISEL_SELECTOR_ID><![CDATA[F3CDEE79343F4746A2FEE8C60EBEC0BF]]></OBUISEL_SELECTOR_ID>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <AD_COLUMN_ID><![CDATA[3517]]></AD_COLUMN_ID>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <NAME><![CDATA[Movement Date]]></NAME>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <DESCRIPTION><![CDATA[The date that a certain item is moved from one location to another.]]></DESCRIPTION>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <HELP><![CDATA[The Movement Date indicates the date that a product moved in or out of inventory.  This is the result of a shipment, receipt or inventory movement.]]></HELP>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <PROPERTY><![CDATA[movementDate]]></PROPERTY>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <SORT><![CDATA[Y]]></SORT>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <FILTER><![CDATA[Y]]></FILTER>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <SEARCHINSUGGESTIONBOX><![CDATA[N]]></SEARCHINSUGGESTIONBOX>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <SORTNO><![CDATA[30]]></SORTNO>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--21FE670E3FBA43F680FAFC01E6C9A22C--></OBUISEL_SELECTOR_FIELD>
+
 <!--24DF67EEF05746109D7DE93F2CF64EAC--><OBUISEL_SELECTOR_FIELD>
 <!--24DF67EEF05746109D7DE93F2CF64EAC-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[24DF67EEF05746109D7DE93F2CF64EAC]]></OBUISEL_SELECTOR_FIELD_ID>
 <!--24DF67EEF05746109D7DE93F2CF64EAC-->  <OBUISEL_SELECTOR_ID><![CDATA[632F319DE1564495B3B5D710127DA6DC]]></OBUISEL_SELECTOR_ID>
@@ -1228,6 +1250,28 @@
 <!--6477530420434772824E4DA37608B04D-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
 <!--6477530420434772824E4DA37608B04D--></OBUISEL_SELECTOR_FIELD>
 
+<!--64B79D2B8C494F6F868E49BDB748F728--><OBUISEL_SELECTOR_FIELD>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[64B79D2B8C494F6F868E49BDB748F728]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <OBUISEL_SELECTOR_ID><![CDATA[F3CDEE79343F4746A2FEE8C60EBEC0BF]]></OBUISEL_SELECTOR_ID>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <AD_COLUMN_ID><![CDATA[3795]]></AD_COLUMN_ID>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <NAME><![CDATA[Business Partner]]></NAME>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <DESCRIPTION><![CDATA[Anyone who takes part in daily business operations by acting as a customer, employee, etc.]]></DESCRIPTION>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <HELP><![CDATA[A Business Partner is anyone with whom you transact.  This can include a customer, vendor, employee or any combination of these.]]></HELP>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <PROPERTY><![CDATA[businessPartner]]></PROPERTY>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <SORT><![CDATA[Y]]></SORT>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <FILTER><![CDATA[Y]]></FILTER>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <SEARCHINSUGGESTIONBOX><![CDATA[N]]></SEARCHINSUGGESTIONBOX>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <SORTNO><![CDATA[20]]></SORTNO>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--64B79D2B8C494F6F868E49BDB748F728-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--64B79D2B8C494F6F868E49BDB748F728--></OBUISEL_SELECTOR_FIELD>
+
 <!--65AE411567384A8D916F78C0597E40E4--><OBUISEL_SELECTOR_FIELD>
 <!--65AE411567384A8D916F78C0597E40E4-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[65AE411567384A8D916F78C0597E40E4]]></OBUISEL_SELECTOR_FIELD_ID>
 <!--65AE411567384A8D916F78C0597E40E4-->  <OBUISEL_SELECTOR_ID><![CDATA[D47A3616483E46C18A09794B9B276B37]]></OBUISEL_SELECTOR_ID>
@@ -1298,6 +1342,28 @@
 <!--681AD87159544997B999B254DD4F97EC-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
 <!--681AD87159544997B999B254DD4F97EC--></OBUISEL_SELECTOR_FIELD>
 
+<!--6C1E588A56A34E5C866EA80D4E07188C--><OBUISEL_SELECTOR_FIELD>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[6C1E588A56A34E5C866EA80D4E07188C]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <OBUISEL_SELECTOR_ID><![CDATA[F3CDEE79343F4746A2FEE8C60EBEC0BF]]></OBUISEL_SELECTOR_ID>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <AD_COLUMN_ID><![CDATA[3791]]></AD_COLUMN_ID>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <NAME><![CDATA[Document No.]]></NAME>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <DESCRIPTION><![CDATA[An often automatically generated identifier for all documents.]]></DESCRIPTION>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <HELP><![CDATA[The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice).  If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).]]></HELP>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <PROPERTY><![CDATA[documentNo]]></PROPERTY>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <SORT><![CDATA[Y]]></SORT>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <FILTER><![CDATA[Y]]></FILTER>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <SEARCHINSUGGESTIONBOX><![CDATA[Y]]></SEARCHINSUGGESTIONBOX>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <SORTNO><![CDATA[10]]></SORTNO>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--6C1E588A56A34E5C866EA80D4E07188C-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--6C1E588A56A34E5C866EA80D4E07188C--></OBUISEL_SELECTOR_FIELD>
+
 <!--6DDC519575994A81A5C92046AD2FB7B6--><OBUISEL_SELECTOR_FIELD>
 <!--6DDC519575994A81A5C92046AD2FB7B6-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[6DDC519575994A81A5C92046AD2FB7B6]]></OBUISEL_SELECTOR_FIELD_ID>
 <!--6DDC519575994A81A5C92046AD2FB7B6-->  <OBUISEL_SELECTOR_ID><![CDATA[D47A3616483E46C18A09794B9B276B37]]></OBUISEL_SELECTOR_ID>
@@ -2017,6 +2083,28 @@
 <!--A107CA07F28E4D44A6A3457DE7D19BD4-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
 <!--A107CA07F28E4D44A6A3457DE7D19BD4--></OBUISEL_SELECTOR_FIELD>
 
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7--><OBUISEL_SELECTOR_FIELD>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[A1103FF5E2C34CF2B39546D31E6F1CB7]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <OBUISEL_SELECTOR_ID><![CDATA[F3CDEE79343F4746A2FEE8C60EBEC0BF]]></OBUISEL_SELECTOR_ID>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <AD_COLUMN_ID><![CDATA[3798]]></AD_COLUMN_ID>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <NAME><![CDATA[Warehouse]]></NAME>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <DESCRIPTION><![CDATA[The location where products arrive to or are sent from.]]></DESCRIPTION>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <HELP><![CDATA[The Warehouse identifies a unique Warehouse where products are stored or Services are provided.]]></HELP>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <PROPERTY><![CDATA[warehouse]]></PROPERTY>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <SORT><![CDATA[Y]]></SORT>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <FILTER><![CDATA[Y]]></FILTER>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <SEARCHINSUGGESTIONBOX><![CDATA[N]]></SEARCHINSUGGESTIONBOX>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <SORTNO><![CDATA[0]]></SORTNO>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--A1103FF5E2C34CF2B39546D31E6F1CB7--></OBUISEL_SELECTOR_FIELD>
+
 <!--A246D4AC538E42BE9F0CD8182A558712--><OBUISEL_SELECTOR_FIELD>
 <!--A246D4AC538E42BE9F0CD8182A558712-->  <OBUISEL_SELECTOR_FIELD_ID><![CDATA[A246D4AC538E42BE9F0CD8182A558712]]></OBUISEL_SELECTOR_FIELD_ID>
 <!--A246D4AC538E42BE9F0CD8182A558712-->  <OBUISEL_SELECTOR_ID><![CDATA[862F54CB1B074513BD791C6789F4AA42]]></OBUISEL_SELECTOR_ID>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/costing/LandedCostDistributionAlgorithm.java	Mon Aug 18 14:27:16 2014 +0200
@@ -0,0 +1,27 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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) 2014 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ *************************************************************************
+ */
+package org.openbravo.costing;
+
+import org.openbravo.model.materialmgmt.cost.LandedCostCost;
+
+public abstract class LandedCostDistributionAlgorithm {
+
+  public abstract void distributeAmount(LandedCostCost lcCost);
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/costing/LandedCostDistributionByAmount.java	Mon Aug 18 14:27:16 2014 +0200
@@ -0,0 +1,157 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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) 2014 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ *************************************************************************
+ */
+package org.openbravo.costing;
+
+import java.math.BigDecimal;
+import java.math.RoundingMode;
+import java.util.Date;
+
+import org.hibernate.Query;
+import org.hibernate.ScrollableResults;
+import org.hibernate.criterion.Restrictions;
+import org.openbravo.base.provider.OBProvider;
+import org.openbravo.dal.service.OBCriteria;
+import org.openbravo.dal.service.OBDal;
+import org.openbravo.financial.FinancialUtils;
+import org.openbravo.model.common.currency.Currency;
+import org.openbravo.model.common.enterprise.Organization;
+import org.openbravo.model.materialmgmt.cost.CostAdjustment;
+import org.openbravo.model.materialmgmt.cost.CostAdjustmentLine;
+import org.openbravo.model.materialmgmt.cost.LCReceipt;
+import org.openbravo.model.materialmgmt.cost.LCReceiptLineAmt;
+import org.openbravo.model.materialmgmt.cost.LandedCost;
+import org.openbravo.model.materialmgmt.cost.LandedCostCost;
+import org.openbravo.model.materialmgmt.transaction.MaterialTransaction;
+import org.openbravo.model.materialmgmt.transaction.ShipmentInOutLine;
+
+public class LandedCostDistributionByAmount extends LandedCostDistributionAlgorithm {
+
+  @Override
+  public void distributeAmount(LandedCostCost lcCost) {
+    // Calculate total amount of all receipt lines assigned to the landed cost.
+    LandedCost landedCost = lcCost.getLandedCost();
+    String strCurId = landedCost.getCurrency().getId();
+    String strOrgId = landedCost.getOrganization().getId();
+    Date dateReference = landedCost.getReferenceDate();
+    int precission = landedCost.getCurrency().getStandardPrecision().intValue();
+    BigDecimal baseAmt = lcCost.getAmount();
+    if (!lcCost.getCurrency().getId().equals(strCurId)) {
+      baseAmt = FinancialUtils.getConvertedAmount(baseAmt, lcCost.getCurrency(),
+          landedCost.getCurrency(), dateReference, landedCost.getOrganization(), "C");
+    }
+
+    BigDecimal totalAmt = BigDecimal.ZERO;
+
+    // Loop to get all receipts amounts and calculate the total.
+    OBCriteria<LCReceipt> critLCRL = OBDal.getInstance().createCriteria(LCReceipt.class);
+    critLCRL.add(Restrictions.eq(LCReceipt.PROPERTY_LANDEDCOST, landedCost));
+    ScrollableResults receiptCosts = getReceiptCosts(landedCost, false);
+    int i = 0;
+    while (receiptCosts.next()) {
+      String strTrxCur = (String) receiptCosts.get()[2];
+      BigDecimal trxAmt = (BigDecimal) receiptCosts.get()[3];
+      if (!strTrxCur.equals(strCurId)) {
+        trxAmt = getConvertedAmount(trxAmt, strTrxCur, strCurId, dateReference, strOrgId);
+      }
+
+      totalAmt = totalAmt.add(trxAmt);
+
+      if (i % 100 == 0) {
+        OBDal.getInstance().flush();
+        OBDal.getInstance().getSession().clear();
+      }
+      i++;
+    }
+
+    BigDecimal pendingAmt = baseAmt;
+    // Loop to calculate the corresponding adjustment amount for each receipt line.
+    receiptCosts = getReceiptCosts(landedCost, true);
+    i = 0;
+    while (receiptCosts.next()) {
+      LCReceipt lcrl = OBDal.getInstance().get(LCReceipt.class, (String) receiptCosts.get()[0]);
+      ShipmentInOutLine receiptline = OBDal.getInstance().get(ShipmentInOutLine.class,
+          (String) receiptCosts.get()[1]);
+      String strTrxCurId = (String) receiptCosts.get()[2];
+      BigDecimal trxAmt = (BigDecimal) receiptCosts.get()[3];
+
+      if (!strTrxCurId.equals(strCurId)) {
+        trxAmt = getConvertedAmount(trxAmt, strTrxCurId, strCurId, dateReference, strOrgId);
+      }
+
+      BigDecimal receiptAmt = BigDecimal.ZERO;
+      if (receiptCosts.isLast()) {
+        // Insert pending amount on receipt with higher cost to avoid rounding issues.
+        receiptAmt = pendingAmt;
+      } else {
+        receiptAmt = baseAmt.multiply(trxAmt).divide(totalAmt, precission, RoundingMode.HALF_UP);
+      }
+      pendingAmt = pendingAmt.subtract(receiptAmt);
+      LCReceiptLineAmt lcrla = OBProvider.getInstance().get(LCReceiptLineAmt.class);
+      lcrla.setLandedCostCost((LandedCostCost) OBDal.getInstance().getProxy(
+          LandedCostCost.ENTITY_NAME, lcCost.getId()));
+      lcrla.setLandedCostReceipt(lcrl);
+      lcrla.setGoodsShipmentLine(receiptline);
+      lcrla.setAmount(receiptAmt);
+      OBDal.getInstance().save(lcrla);
+      if (i % 100 == 0) {
+        OBDal.getInstance().flush();
+        OBDal.getInstance().getSession().clear();
+      }
+      i++;
+    }
+  }
+
+  private ScrollableResults getReceiptCosts(LandedCost landedCost, boolean doOrderBy) {
+    StringBuffer qry = new StringBuffer();
+    qry.append("select lcr.id as lcreceipt"); // 0
+    qry.append("   , iol.id as receiptline"); // 1
+    qry.append("   , trx." + MaterialTransaction.PROPERTY_CURRENCY + ".id as currency"); // 2
+    qry.append("   , sum(cal." + CostAdjustmentLine.PROPERTY_ADJUSTMENTAMOUNT + ") as cost"); // 3
+    qry.append(" from " + CostAdjustmentLine.ENTITY_NAME + " as cal");
+    qry.append("   join cal." + CostAdjustmentLine.PROPERTY_COSTADJUSTMENT + " as ca");
+    qry.append("   join cal." + CostAdjustmentLine.PROPERTY_INVENTORYTRANSACTION + " as trx");
+    qry.append("   join trx." + MaterialTransaction.PROPERTY_GOODSSHIPMENTLINE + " as iol");
+    qry.append(" , " + LCReceipt.ENTITY_NAME + " as lcr");
+    qry.append(" where cal." + CostAdjustmentLine.PROPERTY_UNITCOST + " = true");
+    qry.append("   and ca." + CostAdjustment.PROPERTY_PROCESSED + " = true");
+    qry.append("   and ((lcr." + LCReceipt.PROPERTY_GOODSSHIPMENTLINE + " is not null");
+    qry.append("        and lcr." + LCReceipt.PROPERTY_GOODSSHIPMENTLINE + " = iol)");
+    qry.append("         or (lcr." + LCReceipt.PROPERTY_GOODSSHIPMENTLINE + " is null");
+    qry.append("        and lcr." + LCReceipt.PROPERTY_GOODSSHIPMENT + " = iol."
+        + ShipmentInOutLine.PROPERTY_SHIPMENTRECEIPT + "))");
+    qry.append("   and lcr." + LCReceipt.PROPERTY_LANDEDCOST + " = :landedCost");
+    qry.append(" group by lcr.id, iol.id, trx." + MaterialTransaction.PROPERTY_CURRENCY + ".id");
+    if (doOrderBy) {
+      qry.append(" order by sum(cal." + CostAdjustmentLine.PROPERTY_ADJUSTMENTAMOUNT + ")");
+    }
+
+    Query qryReceiptCosts = OBDal.getInstance().getSession().createQuery(qry.toString());
+    qryReceiptCosts.setParameter("landedCost", landedCost);
+
+    return qryReceiptCosts.scroll();
+  }
+
+  private BigDecimal getConvertedAmount(BigDecimal trxAmt, String strCurFromId, String strCurToId,
+      Date dateReference, String strOrgId) {
+    return FinancialUtils.getConvertedAmount(trxAmt,
+        OBDal.getInstance().get(Currency.class, strCurFromId),
+        OBDal.getInstance().get(Currency.class, strCurToId), dateReference, OBDal.getInstance()
+            .get(Organization.class, strOrgId), "C");
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/costing/LandedCostProcess.java	Mon Aug 18 14:27:16 2014 +0200
@@ -0,0 +1,238 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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) 2014 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ *************************************************************************
+ */
+package org.openbravo.costing;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.enterprise.inject.Any;
+import javax.enterprise.inject.Instance;
+import javax.inject.Inject;
+
+import org.codehaus.jettison.json.JSONException;
+import org.codehaus.jettison.json.JSONObject;
+import org.hibernate.Query;
+import org.hibernate.ScrollMode;
+import org.hibernate.ScrollableResults;
+import org.hibernate.criterion.Restrictions;
+import org.openbravo.base.exception.OBException;
+import org.openbravo.base.util.OBClassLoader;
+import org.openbravo.base.weld.WeldUtils;
+import org.openbravo.dal.core.OBContext;
+import org.openbravo.dal.service.OBCriteria;
+import org.openbravo.dal.service.OBDal;
+import org.openbravo.dal.service.OBQuery;
+import org.openbravo.erpCommon.utility.OBMessageUtils;
+import org.openbravo.model.materialmgmt.cost.CostAdjustment;
+import org.openbravo.model.materialmgmt.cost.LCDistributionAlgorithm;
+import org.openbravo.model.materialmgmt.cost.LCReceipt;
+import org.openbravo.model.materialmgmt.cost.LCReceiptLineAmt;
+import org.openbravo.model.materialmgmt.cost.LandedCost;
+import org.openbravo.model.materialmgmt.cost.LandedCostCost;
+import org.openbravo.model.materialmgmt.transaction.MaterialTransaction;
+import org.openbravo.model.materialmgmt.transaction.ShipmentInOutLine;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class LandedCostProcess {
+  private static final Logger log = LoggerFactory.getLogger(CostAdjustmentProcessHandler.class);
+  @Inject
+  @Any
+  private Instance<LandedCostProcessCheck> landedCostProcessChecks;
+
+  /**
+   * Method to process a Landed Cost.
+   * 
+   * @param _landedCost
+   *          the landed cost to be processed.
+   * @return the message to be shown to the user properly formatted and translated to the user
+   *         language.
+   * @throws Exception
+   */
+  public JSONObject processLandedCost(LandedCost _landedCost) throws Exception {
+    LandedCost landedCost = _landedCost;
+    JSONObject message = new JSONObject();
+    OBContext.setAdminMode(true);
+    try {
+      message.put("severity", "success");
+      message.put("title", "");
+      message.put("text", OBMessageUtils.messageBD("Success"));
+      try {
+        doChecks(landedCost, message);
+      } catch (OBException e) {
+        message.put("severity", "error");
+        message.put("text", e.getMessage());
+        return message;
+      }
+      distributeAmounts(landedCost);
+      generateCostAdjustment(landedCost.getId(), message);
+
+      landedCost = OBDal.getInstance().get(LandedCost.class, landedCost.getId());
+      landedCost.setDocumentStatus("CO");
+      OBDal.getInstance().save(landedCost);
+    } catch (Exception e) {
+      OBDal.getInstance().rollbackAndClose();
+      throw e;
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+    return message;
+  }
+
+  private void doChecks(LandedCost landedCost, JSONObject message) {
+    // Check there are Receipt Lines and Costs.
+    OBCriteria<LandedCost> critLC = OBDal.getInstance().createCriteria(LandedCost.class);
+    critLC.add(Restrictions.sizeEq(LandedCost.PROPERTY_LANDEDCOSTCOSTLIST, 0));
+    critLC.add(Restrictions.eq(LandedCost.PROPERTY_ID, landedCost.getId()));
+    if (critLC.uniqueResult() != null) {
+      throw new OBException(OBMessageUtils.messageBD("LandedCostNoCosts"));
+    }
+
+    critLC = OBDal.getInstance().createCriteria(LandedCost.class);
+    critLC.add(Restrictions.sizeEq(LandedCost.PROPERTY_LANDEDCOSTRECEIPTLIST, 0));
+    critLC.add(Restrictions.eq(LandedCost.PROPERTY_ID, landedCost.getId()));
+    if (critLC.uniqueResult() != null) {
+      throw new OBException(OBMessageUtils.messageBD("LandedCostNoReceipts"));
+    }
+
+    // Check that all related receipt lines have their cost already calculated.
+    StringBuffer where = new StringBuffer();
+    where.append(" as lcr ");
+    where.append("\n  left join lcr." + LCReceipt.PROPERTY_GOODSSHIPMENT + " lcrr");
+    where.append("\n  left join lcr." + LCReceipt.PROPERTY_GOODSSHIPMENTLINE + " lcrrl");
+    where.append("\n where exists (");
+    where.append("\n  select 1");
+    where.append("\n   from " + MaterialTransaction.ENTITY_NAME + " as trx");
+    where.append("\n     join trx." + MaterialTransaction.PROPERTY_GOODSSHIPMENTLINE + " as iol");
+    where.append("\n   where trx." + MaterialTransaction.PROPERTY_ISCOSTCALCULATED + " = false");
+    where.append("\n   and (lcrrl is null");
+    where.append("\n        or iol = lcrrl)");
+    where.append("\n   and (lcrr is null");
+    where.append("\n        or (lcrrl is null ");
+    where.append("\n            and iol." + ShipmentInOutLine.PROPERTY_SHIPMENTRECEIPT + " = lcrr");
+    where.append("\n          ))");
+    where.append("\n   )");
+    where.append("\n   and lcr." + LCReceipt.PROPERTY_LANDEDCOST + " = :landedcost");
+    OBQuery<LCReceipt> qryTrx = OBDal.getInstance().createQuery(LCReceipt.class, where.toString());
+    qryTrx.setNamedParameter("landedcost", landedCost);
+    if (qryTrx.count() > 0) {
+      String strReceiptNumbers = "";
+      for (LCReceipt lcrl : qryTrx.list()) {
+        if (strReceiptNumbers.length() > 0) {
+          strReceiptNumbers += ", ";
+        }
+        if (lcrl.getGoodsShipmentLine() != null) {
+          strReceiptNumbers += lcrl.getGoodsShipmentLine().getIdentifier();
+        } else {
+          strReceiptNumbers += lcrl.getGoodsShipment().getIdentifier();
+        }
+      }
+      String errorMsg = OBMessageUtils.messageBD("LandedCostReceiptWithoutCosts");
+      log.error("Processed and Cost Calculated check error");
+      throw new OBException(errorMsg + "\n" + strReceiptNumbers);
+    }
+
+    // Execute checks added implementing LandedCostProcessCheck interface.
+    for (LandedCostProcessCheck checksInstance : landedCostProcessChecks) {
+      checksInstance.doCheck(landedCost, message);
+    }
+  }
+
+  private void distributeAmounts(LandedCost landedCost) {
+    for (LandedCostCost lcCost : landedCost.getLandedCostCostList()) {
+      // Load distribution algorithm
+      LandedCostDistributionAlgorithm lcDistAlg = getDistributionAlgorithm(lcCost
+          .getLandedCostDistributionAlgorithm());
+
+      lcDistAlg.distributeAmount(lcCost);
+    }
+    OBDal.getInstance().flush();
+  }
+
+  private void generateCostAdjustment(String strLandedCostId, JSONObject message)
+      throws JSONException {
+    LandedCost landedCost = OBDal.getInstance().get(LandedCost.class, strLandedCostId);
+    Date referenceDate = landedCost.getReferenceDate();
+    CostAdjustment ca = CostAdjustmentUtils.insertCostAdjustmentHeader(
+        landedCost.getOrganization(), "LC");
+
+    String strResult = OBMessageUtils.messageBD("LandedCostProcessed");
+    Map<String, String> map = new HashMap<String, String>();
+    map.put("documentNo", ca.getDocumentNo());
+    message.put("title", OBMessageUtils.messageBD("Success"));
+    message.put("text", OBMessageUtils.parseTranslation(strResult, map));
+
+    StringBuffer hql = new StringBuffer();
+    hql.append(" select sum(rla." + LCReceiptLineAmt.PROPERTY_AMOUNT + ") as amt");
+    hql.append("   , rla." + LCReceipt.PROPERTY_GOODSSHIPMENTLINE + ".id as receipt");
+    hql.append(" from " + LCReceiptLineAmt.ENTITY_NAME + " as rla");
+    hql.append("   join rla." + LCReceiptLineAmt.PROPERTY_LANDEDCOSTRECEIPT + " as rl");
+    hql.append(" where rl." + LCReceipt.PROPERTY_LANDEDCOST + " = :lc");
+    hql.append(" group by rla." + LCReceipt.PROPERTY_GOODSSHIPMENTLINE + ".id");
+
+    Query qryLCRLA = OBDal.getInstance().getSession().createQuery(hql.toString());
+    qryLCRLA.setParameter("lc", landedCost);
+
+    ScrollableResults receiptamts = qryLCRLA.scroll(ScrollMode.FORWARD_ONLY);
+    int i = 0;
+    while (receiptamts.next()) {
+      Object[] receiptAmt = receiptamts.get();
+      BigDecimal amt = (BigDecimal) receiptAmt[0];
+      ShipmentInOutLine receiptLine = OBDal.getInstance().get(ShipmentInOutLine.class,
+          (String) receiptAmt[1]);
+      // MaterialTransaction receiptLine = (MaterialTransaction) record[1];
+      MaterialTransaction trx = receiptLine.getMaterialMgmtMaterialTransactionList().get(0);
+      CostAdjustmentUtils.insertCostAdjustmentLine(trx, ca, amt, true, null, referenceDate);
+
+      if (i % 100 == 0) {
+        OBDal.getInstance().flush();
+        OBDal.getInstance().getSession().clear();
+        ca = OBDal.getInstance().get(CostAdjustment.class, ca.getId());
+      }
+      i++;
+    }
+
+    CostAdjustmentProcess.doProcessCostAdjustment(ca);
+  }
+
+  private LandedCostDistributionAlgorithm getDistributionAlgorithm(LCDistributionAlgorithm lcDistAlg) {
+    LandedCostDistributionAlgorithm lcDistAlgInstance;
+    try {
+      Class<?> clz = null;
+      clz = OBClassLoader.getInstance().loadClass(lcDistAlg.getJavaClassName());
+      lcDistAlgInstance = (LandedCostDistributionAlgorithm) WeldUtils
+          .getInstanceFromStaticBeanManager(clz);
+    } catch (Exception e) {
+      log.error("Error loading distribution algorithm: " + lcDistAlg.getJavaClassName(), e);
+      String strError = OBMessageUtils.messageBD("LCDistributionAlgorithmNotFound");
+      Map<String, String> map = new HashMap<String, String>();
+      map.put("distalg", lcDistAlg.getIdentifier());
+      throw new OBException(OBMessageUtils.parseTranslation(strError, map));
+    }
+    return lcDistAlgInstance;
+  }
+
+  public static JSONObject doProcessLandedCost(LandedCost landedCost) throws Exception {
+    LandedCostProcess lcp = WeldUtils.getInstanceFromStaticBeanManager(LandedCostProcess.class);
+    JSONObject message = lcp.processLandedCost(landedCost);
+    return message;
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/costing/LandedCostProcessCheck.java	Mon Aug 18 14:27:16 2014 +0200
@@ -0,0 +1,40 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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) 2014 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ *************************************************************************
+ */
+package org.openbravo.costing;
+
+import javax.enterprise.context.ApplicationScoped;
+
+import org.codehaus.jettison.json.JSONObject;
+import org.openbravo.base.exception.OBException;
+import org.openbravo.model.materialmgmt.cost.LandedCost;
+
+@ApplicationScoped
+public interface LandedCostProcessCheck {
+  /**
+   * This method executes the needed checks to the landed cost when the process starts.
+   * 
+   * @param landedCost
+   *          the Landed Cost being processed.
+   * @param message
+   *          a JSONObject with the message that is returned to the user.
+   * @throws OBException
+   *           when any check fails ant the process is required to stop.
+   */
+  void doCheck(LandedCost landedCost, JSONObject message) throws OBException;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/costing/LandedCostProcessHandler.java	Mon Aug 18 14:27:16 2014 +0200
@@ -0,0 +1,86 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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) 2014 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ *************************************************************************
+ */
+package org.openbravo.costing;
+
+import java.util.Map;
+
+import org.codehaus.jettison.json.JSONException;
+import org.codehaus.jettison.json.JSONObject;
+import org.openbravo.base.exception.OBException;
+import org.openbravo.client.kernel.BaseActionHandler;
+import org.openbravo.dal.service.OBDal;
+import org.openbravo.erpCommon.utility.OBMessageUtils;
+import org.openbravo.model.materialmgmt.cost.LandedCost;
+import org.openbravo.service.db.DbUtility;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class LandedCostProcessHandler extends BaseActionHandler {
+  private static final Logger log = LoggerFactory.getLogger(LandedCostProcessHandler.class);
+
+  @Override
+  protected JSONObject execute(Map<String, Object> parameters, String content) {
+    JSONObject jsonResponse = new JSONObject();
+    try {
+      JSONObject jsonContent = new JSONObject(content);
+      final String strLandedCostId = jsonContent.getString("M_Landedcost_ID");
+      final LandedCost landedCost = OBDal.getInstance().get(LandedCost.class, strLandedCostId);
+
+      JSONObject message = LandedCostProcess.doProcessLandedCost(landedCost);
+      jsonResponse.put("message", message);
+
+    } catch (OBException e) {
+      OBDal.getInstance().rollbackAndClose();
+      log.error("Error in LandedCostProcessHandler: " + e.getMessage(), e);
+      try {
+        JSONObject message = new JSONObject();
+        message.put("severity", "error");
+        message.put("title", OBMessageUtils.messageBD("Error"));
+        message.put("text", e.getMessage());
+        jsonResponse.put("message", message);
+      } catch (JSONException ignore) {
+      }
+    } catch (JSONException e) {
+      OBDal.getInstance().rollbackAndClose();
+      log.error("Error parsing JSONObject: " + e.getMessage(), e);
+      try {
+        JSONObject errorMessage = new JSONObject();
+        errorMessage.put("severity", "error");
+        errorMessage.put("title", OBMessageUtils.messageBD("Error"));
+        errorMessage.put("text", e.getMessage());
+        jsonResponse.put("message", errorMessage);
+      } catch (JSONException ignore) {
+      }
+    } catch (Exception e) {
+      OBDal.getInstance().rollbackAndClose();
+      log.error("Error in LandedCostProcessHandler: " + e.getMessage(), e);
+      try {
+        Throwable ex = DbUtility.getUnderlyingSQLException(e);
+        String strMessage = OBMessageUtils.translateError(ex.getMessage()).getMessage();
+        JSONObject errorMessage = new JSONObject();
+        errorMessage.put("severity", "error");
+        errorMessage.put("title", OBMessageUtils.messageBD("Error"));
+        errorMessage.put("text", strMessage);
+        jsonResponse.put("message", errorMessage);
+      } catch (Exception ignore) {
+      }
+    }
+    return jsonResponse;
+  }
+}