related to issue 36358 Backed out changeset 49a361662f7d
authorSandra Huguet <sandra.huguet@openbravo.com>
Fri, 15 Feb 2019 13:34:25 +0100
changeset 35453 ee73c7e96e03
parent 35452 49a361662f7d
child 35454 5318eb8145c5
related to issue 36358 Backed out changeset 49a361662f7d
referencedata/sampledata/F_B_International_Group/AD_PROCESS_ACCESS.xml
referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml
src-db/database/model/tables/M_INOUT.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_MODEL_OBJECT.xml
src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
src-db/database/sourcedata/AD_PROCESS.xml
src-db/database/sourcedata/AD_TEXTINTERFACES.xml
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple.java
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_FS.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_FS.xml
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.xml
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt_data.xsql
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.xml
src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment_data.xsql
src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Conversion.java
src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Product.java
src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Warehouse.java
--- a/referencedata/sampledata/F_B_International_Group/AD_PROCESS_ACCESS.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/referencedata/sampledata/F_B_International_Group/AD_PROCESS_ACCESS.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -1471,6 +1471,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[074F3EADB1E04353921740DFBF0787A0]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[1CAE17A7848D4F0BAAF21FEB17045B88]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.99]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.99]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[07589B9B12B244EEA1F2283B31BD4055]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[139]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[1CAE17A7848D4F0BAAF21FEB17045B88]]></AD_ROLE_ID>
@@ -9255,6 +9269,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[3487651EE370425FBAF7C528074E36E2]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[9A2D4EC760704A79BAFF8FF244FE0273]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.966]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.966]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[34887102FB334A4FAE49B8D7532C8F31]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800146]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[E669860946664B24BD1AE1ACDF2F5FC3]]></AD_ROLE_ID>
@@ -10669,6 +10697,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[3E2623A4E30840D8946F2FF8BF026F30]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[E669860946664B24BD1AE1ACDF2F5FC3]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.962]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.962]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[3E2B2BC62B244DB197C8DB4CDC7AA005]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[6FBD65B0FDB74D1AB07F0EADF18D48AE]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[F3196A30B53A42778727B2852FF90C24]]></AD_ROLE_ID>
@@ -25145,6 +25187,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[91A8B0086AB642FCA9C132623A195FCC]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[8CB7726D1DCD435FAF7D1654C9560F81]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.916]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.916]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[91B0D1FBA7124A6E8F1BCE664CC48B73]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[406CFC3A1DE144FF855DA10A987C057C]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[6DCC4F942CE944F997596B9EA51A4FEB]]></AD_ROLE_ID>
@@ -30367,6 +30423,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[ADF7BF9029004EEBBBA5B8ADAB540176]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[0D4689364DDB473BB3023E4E554C8762]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.899]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.899]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[AE3931A5104F4025AB583E39A62D430F]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[5BD4D2B3313E4C708F0AE29095AF16AD]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[E669860946664B24BD1AE1ACDF2F5FC3]]></AD_ROLE_ID>
@@ -30619,6 +30689,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[AFB300C67B554225A8C796EF0882EFC7]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[6DCC4F942CE944F997596B9EA51A4FEB]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.898]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.898]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[AFD7616BFEF143C9A011CD59946C6F23]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[217]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[DB6660F6713A4DCFA320A502B4A0E670]]></AD_ROLE_ID>
@@ -31683,6 +31767,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[B5E2D779CF8A4915B09CF33A27DD80E7]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[DB6660F6713A4DCFA320A502B4A0E670]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.895]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.895]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[B5EAE5BB16E64031969896061CD9D931]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[1000500003]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[42D0EEB1C66F497A90DD526DC597E6F0]]></AD_ROLE_ID>
@@ -37913,6 +38011,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[DC5FBDC1EDCC424992DA9BF0FE196B71]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[42D0EEB1C66F497A90DD526DC597E6F0]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.875]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.875]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[DC685826F08744EF9866796605D67BAD]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[BB35E1D5CE2648EB8C955DD022E994DA]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[DB6660F6713A4DCFA320A502B4A0E670]]></AD_ROLE_ID>
@@ -38193,6 +38305,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[DD6F388293FA4DF284904A30AFE290DF]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[F77D70601AD549B19DE47965F6D48D12]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.874]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.874]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[DD939F329421404DAA8714B464855F92]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[B54318B49E984B9CB855AEFB1F474CD6]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[9A2D4EC760704A79BAFF8FF244FE0273]]></AD_ROLE_ID>
@@ -39229,6 +39355,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[E331B13CF2F94D44BCE432321051A341]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[F3196A30B53A42778727B2852FF90C24]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:45:47.87]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:45:47.87]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[E36DE2F1A50447AB83E3E4227CE75705]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[151]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[42D0EEB1C66F497A90DD526DC597E6F0]]></AD_ROLE_ID>
--- a/referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -15,6 +15,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[002525F5528C4B9FB18AB4A14F8C6C29]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[CC6AB5B4C4B54CB79103C96AD2B90750]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:18.096]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:18.096]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[00513784DD8F4383AB232DA4D366766F]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800100]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[CC6AB5B4C4B54CB79103C96AD2B90750]]></AD_ROLE_ID>
@@ -631,6 +645,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[0E890D87746548E6A37E7D706F13D630]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[FA057013C10148828D2430F66F42EF1A]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:18.094]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:18.094]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[0EAEEB08AED54B9EACDF0F8D0F1C558C]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800176]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[CC6AB5B4C4B54CB79103C96AD2B90750]]></AD_ROLE_ID>
@@ -3249,6 +3277,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[41AF76DFC530400FA0AC8EA7396C75F3]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[0256D4272D82412C9CDF41B67E362599]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:18.084]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:18.084]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[41B90F56D6C14429A404FC39D4294B22]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[D16966FBF9604A3D91A50DC83C6EA8E3]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[4028E6C72959682B01295A071429011E]]></AD_ROLE_ID>
@@ -5139,6 +5181,20 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
+  <AD_PROCESS_ACCESS_ID><![CDATA[66510FA9BB7B4F0486B39DE6497A25CE]]></AD_PROCESS_ACCESS_ID>
+  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+  <AD_ROLE_ID><![CDATA[4028E6C72959682B01295A071429011E]]></AD_ROLE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:18.078]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:18.078]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
+</AD_PROCESS_ACCESS>
+
+<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[669B56F683B44F4F8F9B4B9419D0F25E]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[FF8080812E2F8EAE012E2F94CF470014]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[4028E6C72959682B01295A071429011E]]></AD_ROLE_ID>
--- a/src-db/database/model/tables/M_INOUT.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/src-db/database/model/tables/M_INOUT.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -213,6 +213,10 @@
         <default><![CDATA[N]]></default>
         <onCreateDefault/>
       </column>
+      <column name="GENERATELINES" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
       <column name="CALCULATE_FREIGHT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
         <default/>
         <onCreateDefault/>
@@ -379,6 +383,7 @@
       </index>
       <check name="M_INOUT_CREATEFROM_CHECK"><![CDATA[CREATEFROM IN ('Y', 'N')]]></check>
       <check name="M_INOUT_CURRENCY_CHECK"><![CDATA[FREIGHTAMT = 0 OR FREIGHTAMT IS NULL OR FREIGHT_CURRENCY_ID IS NOT NULL]]></check>
+      <check name="M_INOUT_GENERATELINES_CHECK"><![CDATA[GENERATELINES IN ('N', 'Y')]]></check>
       <check name="M_INOUT_GENERATETO_CHECK"><![CDATA[GENERATETO IN ('Y', 'N')]]></check>
       <check name="M_INOUT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       <check name="M_INOUT_ISCOMPLETELYINV_CHECK"><![CDATA[ISCOMPLETELYINVOICED IN ('Y', 'N')]]></check>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -147958,6 +147958,45 @@
 <!--800669-->  <ALLOWED_CROSS_ORG_LINK><![CDATA[N]]></ALLOWED_CROSS_ORG_LINK>
 <!--800669--></AD_COLUMN>
 
+<!--800681--><AD_COLUMN>
+<!--800681-->  <AD_COLUMN_ID><![CDATA[800681]]></AD_COLUMN_ID>
+<!--800681-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800681-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800681-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800681-->  <NAME><![CDATA[Generate lines]]></NAME>
+<!--800681-->  <HELP><![CDATA[A button that creates in out lines]]></HELP>
+<!--800681-->  <COLUMNNAME><![CDATA[GenerateLines]]></COLUMNNAME>
+<!--800681-->  <AD_TABLE_ID><![CDATA[319]]></AD_TABLE_ID>
+<!--800681-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--800681-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--800681-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--800681-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--800681-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--800681-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--800681-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--800681-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--800681-->  <SEQNO><![CDATA[32]]></SEQNO>
+<!--800681-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--800681-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--800681-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--800681-->  <AD_ELEMENT_ID><![CDATA[800142]]></AD_ELEMENT_ID>
+<!--800681-->  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+<!--800681-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--800681-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--800681-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--800681-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--800681-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800681-->  <POSITION><![CDATA[54]]></POSITION>
+<!--800681-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--800681-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--800681-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--800681-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--800681-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--800681-->  <ALLOWSORTING><![CDATA[Y]]></ALLOWSORTING>
+<!--800681-->  <ALLOWFILTERING><![CDATA[Y]]></ALLOWFILTERING>
+<!--800681-->  <ALLOWED_CROSS_ORG_LINK><![CDATA[N]]></ALLOWED_CROSS_ORG_LINK>
+<!--800681--></AD_COLUMN>
+
 <!--800682--><AD_COLUMN>
 <!--800682-->  <AD_COLUMN_ID><![CDATA[800682]]></AD_COLUMN_ID>
 <!--800682-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_ELEMENT.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/src-db/database/sourcedata/AD_ELEMENT.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -13329,6 +13329,19 @@
 <!--800141-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
 <!--800141--></AD_ELEMENT>
 
+<!--800142--><AD_ELEMENT>
+<!--800142-->  <AD_ELEMENT_ID><![CDATA[800142]]></AD_ELEMENT_ID>
+<!--800142-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800142-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800142-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800142-->  <COLUMNNAME><![CDATA[GenerateLines]]></COLUMNNAME>
+<!--800142-->  <NAME><![CDATA[Generate lines]]></NAME>
+<!--800142-->  <PRINTNAME><![CDATA[Generate lines]]></PRINTNAME>
+<!--800142-->  <HELP><![CDATA[A button that creates in out lines]]></HELP>
+<!--800142-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800142-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--800142--></AD_ELEMENT>
+
 <!--800143--><AD_ELEMENT>
 <!--800143-->  <AD_ELEMENT_ID><![CDATA[800143]]></AD_ELEMENT_ID>
 <!--800143-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_FIELD.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -113172,6 +113172,58 @@
 <!--800955-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--800955--></AD_FIELD>
 
+<!--800964--><AD_FIELD>
+<!--800964-->  <AD_FIELD_ID><![CDATA[800964]]></AD_FIELD_ID>
+<!--800964-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800964-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800964-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800964-->  <NAME><![CDATA[Create From Multiple]]></NAME>
+<!--800964-->  <DESCRIPTION><![CDATA[Create From Multiple]]></DESCRIPTION>
+<!--800964-->  <HELP><![CDATA[Create From Multiple]]></HELP>
+<!--800964-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--800964-->  <AD_TAB_ID><![CDATA[296]]></AD_TAB_ID>
+<!--800964-->  <AD_COLUMN_ID><![CDATA[800681]]></AD_COLUMN_ID>
+<!--800964-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--800964-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--800964-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--800964-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--800964-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--800964-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--800964-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--800964-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--800964-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800964-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--800964-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--800964-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--800964-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--800964--></AD_FIELD>
+
+<!--800965--><AD_FIELD>
+<!--800965-->  <AD_FIELD_ID><![CDATA[800965]]></AD_FIELD_ID>
+<!--800965-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800965-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800965-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800965-->  <NAME><![CDATA[Create From Multiple]]></NAME>
+<!--800965-->  <DESCRIPTION><![CDATA[Create From Multiple]]></DESCRIPTION>
+<!--800965-->  <HELP><![CDATA[Create From Multiple]]></HELP>
+<!--800965-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--800965-->  <AD_TAB_ID><![CDATA[257]]></AD_TAB_ID>
+<!--800965-->  <AD_COLUMN_ID><![CDATA[800681]]></AD_COLUMN_ID>
+<!--800965-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--800965-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--800965-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--800965-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--800965-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--800965-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--800965-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--800965-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--800965-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800965-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--800965-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--800965-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--800965-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--800965--></AD_FIELD>
+
 <!--800966--><AD_FIELD>
 <!--800966-->  <AD_FIELD_ID><![CDATA[800966]]></AD_FIELD_ID>
 <!--800966-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -113396,6 +113448,59 @@
 <!--800973-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--800973--></AD_FIELD>
 
+<!--800974--><AD_FIELD>
+<!--800974-->  <AD_FIELD_ID><![CDATA[800974]]></AD_FIELD_ID>
+<!--800974-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800974-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800974-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800974-->  <NAME><![CDATA[Create From Multiple]]></NAME>
+<!--800974-->  <DESCRIPTION><![CDATA[Create From Multiple]]></DESCRIPTION>
+<!--800974-->  <HELP><![CDATA[Create From Multiple]]></HELP>
+<!--800974-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--800974-->  <AD_TAB_ID><![CDATA[800050]]></AD_TAB_ID>
+<!--800974-->  <AD_COLUMN_ID><![CDATA[800681]]></AD_COLUMN_ID>
+<!--800974-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--800974-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--800974-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--800974-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--800974-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--800974-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--800974-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--800974-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--800974-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800974-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--800974-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--800974-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--800974-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--800974--></AD_FIELD>
+
+<!--800975--><AD_FIELD>
+<!--800975-->  <AD_FIELD_ID><![CDATA[800975]]></AD_FIELD_ID>
+<!--800975-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800975-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800975-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800975-->  <NAME><![CDATA[Create From Multiple]]></NAME>
+<!--800975-->  <DESCRIPTION><![CDATA[Create From Multiple]]></DESCRIPTION>
+<!--800975-->  <HELP><![CDATA[Create From Multiple]]></HELP>
+<!--800975-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--800975-->  <AD_TAB_ID><![CDATA[800051]]></AD_TAB_ID>
+<!--800975-->  <AD_COLUMN_ID><![CDATA[800681]]></AD_COLUMN_ID>
+<!--800975-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--800975-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--800975-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--800975-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--800975-->  <SEQNO><![CDATA[350]]></SEQNO>
+<!--800975-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--800975-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--800975-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--800975-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--800975-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800975-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--800975-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--800975-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--800975-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--800975--></AD_FIELD>
+
 <!--800976--><AD_FIELD>
 <!--800976-->  <AD_FIELD_ID><![CDATA[800976]]></AD_FIELD_ID>
 <!--800976-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -251738,6 +251843,32 @@
 <!--8544BF4364A34734B8BCDDC7EF530AC8-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--8544BF4364A34734B8BCDDC7EF530AC8--></AD_FIELD>
 
+<!--854811E0CF724A86B680E267D06F45D9--><AD_FIELD>
+<!--854811E0CF724A86B680E267D06F45D9-->  <AD_FIELD_ID><![CDATA[854811E0CF724A86B680E267D06F45D9]]></AD_FIELD_ID>
+<!--854811E0CF724A86B680E267D06F45D9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--854811E0CF724A86B680E267D06F45D9-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--854811E0CF724A86B680E267D06F45D9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--854811E0CF724A86B680E267D06F45D9-->  <NAME><![CDATA[Create From Multiple]]></NAME>
+<!--854811E0CF724A86B680E267D06F45D9-->  <DESCRIPTION><![CDATA[Create From Multiple]]></DESCRIPTION>
+<!--854811E0CF724A86B680E267D06F45D9-->  <HELP><![CDATA[Create From Multiple]]></HELP>
+<!--854811E0CF724A86B680E267D06F45D9-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--854811E0CF724A86B680E267D06F45D9-->  <AD_TAB_ID><![CDATA[30576C6ABD12419F9D19D497216FC9B8]]></AD_TAB_ID>
+<!--854811E0CF724A86B680E267D06F45D9-->  <AD_COLUMN_ID><![CDATA[800681]]></AD_COLUMN_ID>
+<!--854811E0CF724A86B680E267D06F45D9-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--854811E0CF724A86B680E267D06F45D9-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--854811E0CF724A86B680E267D06F45D9-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--854811E0CF724A86B680E267D06F45D9-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--854811E0CF724A86B680E267D06F45D9-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--854811E0CF724A86B680E267D06F45D9-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--854811E0CF724A86B680E267D06F45D9-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--854811E0CF724A86B680E267D06F45D9-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--854811E0CF724A86B680E267D06F45D9-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--854811E0CF724A86B680E267D06F45D9-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--854811E0CF724A86B680E267D06F45D9-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--854811E0CF724A86B680E267D06F45D9-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--854811E0CF724A86B680E267D06F45D9-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--854811E0CF724A86B680E267D06F45D9--></AD_FIELD>
+
 <!--855F3AD23CB5466E971B9C5A7DC8E462--><AD_FIELD>
 <!--855F3AD23CB5466E971B9C5A7DC8E462-->  <AD_FIELD_ID><![CDATA[855F3AD23CB5466E971B9C5A7DC8E462]]></AD_FIELD_ID>
 <!--855F3AD23CB5466E971B9C5A7DC8E462-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -256080,6 +256211,32 @@
 <!--8B7B2F16BFE3487084305D1EAE69338B-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--8B7B2F16BFE3487084305D1EAE69338B--></AD_FIELD>
 
+<!--8B7F6FE586EA4FCE84E84200B0289712--><AD_FIELD>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <AD_FIELD_ID><![CDATA[8B7F6FE586EA4FCE84E84200B0289712]]></AD_FIELD_ID>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <NAME><![CDATA[Create From Multiple]]></NAME>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <DESCRIPTION><![CDATA[Create From Multiple]]></DESCRIPTION>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <HELP><![CDATA[Create From Multiple]]></HELP>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <AD_TAB_ID><![CDATA[728DBD16A1F14A4D82335E37BA433E33]]></AD_TAB_ID>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <AD_COLUMN_ID><![CDATA[800681]]></AD_COLUMN_ID>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--8B7F6FE586EA4FCE84E84200B0289712-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--8B7F6FE586EA4FCE84E84200B0289712--></AD_FIELD>
+
 <!--8B91CAF9EB854935ABF2D85D49E1CD53--><AD_FIELD>
 <!--8B91CAF9EB854935ABF2D85D49E1CD53-->  <AD_FIELD_ID><![CDATA[8B91CAF9EB854935ABF2D85D49E1CD53]]></AD_FIELD_ID>
 <!--8B91CAF9EB854935ABF2D85D49E1CD53-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -1056,6 +1056,18 @@
 <!--800736-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--800736--></AD_MODEL_OBJECT>
 
+<!--800737--><AD_MODEL_OBJECT>
+<!--800737-->  <AD_MODEL_OBJECT_ID><![CDATA[800737]]></AD_MODEL_OBJECT_ID>
+<!--800737-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800737-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800737-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800737-->  <ACTION><![CDATA[P]]></ACTION>
+<!--800737-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_actionButton.CreateFromMultiple]]></CLASSNAME>
+<!--800737-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--800737-->  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+<!--800737-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
+<!--800737--></AD_MODEL_OBJECT>
+
 <!--800738--><AD_MODEL_OBJECT>
 <!--800738-->  <AD_MODEL_OBJECT_ID><![CDATA[800738]]></AD_MODEL_OBJECT_ID>
 <!--800738-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -320,6 +320,16 @@
 <!--800942-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
 <!--800942--></AD_MODEL_OBJECT_MAPPING>
 
+<!--800943--><AD_MODEL_OBJECT_MAPPING>
+<!--800943-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[800943]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--800943-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800943-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800943-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800943-->  <AD_MODEL_OBJECT_ID><![CDATA[800737]]></AD_MODEL_OBJECT_ID>
+<!--800943-->  <MAPPINGNAME><![CDATA[/ad_actionButton/CreateFromMultiple_FS.html]]></MAPPINGNAME>
+<!--800943-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--800943--></AD_MODEL_OBJECT_MAPPING>
+
 <!--800944--><AD_MODEL_OBJECT_MAPPING>
 <!--800944-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[800944]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--800944-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1110,6 +1120,26 @@
 <!--802083-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
 <!--802083--></AD_MODEL_OBJECT_MAPPING>
 
+<!--802098--><AD_MODEL_OBJECT_MAPPING>
+<!--802098-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[802098]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--802098-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802098-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802098-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802098-->  <AD_MODEL_OBJECT_ID><![CDATA[800737]]></AD_MODEL_OBJECT_ID>
+<!--802098-->  <MAPPINGNAME><![CDATA[/ad_ActionButton/CreateFromMultiple_Receipt.html]]></MAPPINGNAME>
+<!--802098-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--802098--></AD_MODEL_OBJECT_MAPPING>
+
+<!--802099--><AD_MODEL_OBJECT_MAPPING>
+<!--802099-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[802099]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--802099-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--802099-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--802099-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--802099-->  <AD_MODEL_OBJECT_ID><![CDATA[800737]]></AD_MODEL_OBJECT_ID>
+<!--802099-->  <MAPPINGNAME><![CDATA[/ad_ActionButton/CreateFromMultiple_Shipment.html]]></MAPPINGNAME>
+<!--802099-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--802099--></AD_MODEL_OBJECT_MAPPING>
+
 <!--802141--><AD_MODEL_OBJECT_MAPPING>
 <!--802141-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[802141]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--802141-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1750,6 +1780,26 @@
 <!--1000100073-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
 <!--1000100073--></AD_MODEL_OBJECT_MAPPING>
 
+<!--1000200000--><AD_MODEL_OBJECT_MAPPING>
+<!--1000200000-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[1000200000]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--1000200000-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1000200000-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1000200000-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1000200000-->  <AD_MODEL_OBJECT_ID><![CDATA[800737]]></AD_MODEL_OBJECT_ID>
+<!--1000200000-->  <MAPPINGNAME><![CDATA[/ad_actionButton/CreateFromMultiple_F1.html]]></MAPPINGNAME>
+<!--1000200000-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--1000200000--></AD_MODEL_OBJECT_MAPPING>
+
+<!--1000200001--><AD_MODEL_OBJECT_MAPPING>
+<!--1000200001-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[1000200001]]></AD_MODEL_OBJECT_MAPPING_ID>
+<!--1000200001-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1000200001-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1000200001-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1000200001-->  <AD_MODEL_OBJECT_ID><![CDATA[800737]]></AD_MODEL_OBJECT_ID>
+<!--1000200001-->  <MAPPINGNAME><![CDATA[/ad_actionButton/CreateFromMultiple_F2.html]]></MAPPINGNAME>
+<!--1000200001-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--1000200001--></AD_MODEL_OBJECT_MAPPING>
+
 <!--1000300000--><AD_MODEL_OBJECT_MAPPING>
 <!--1000300000-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[1000300000]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--1000300000-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_PROCESS.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/src-db/database/sourcedata/AD_PROCESS.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -2967,6 +2967,30 @@
 <!--800061-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--800061--></AD_PROCESS>
 
+<!--800062--><AD_PROCESS>
+<!--800062-->  <AD_PROCESS_ID><![CDATA[800062]]></AD_PROCESS_ID>
+<!--800062-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800062-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800062-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800062-->  <VALUE><![CDATA[CreateFrom Multiple]]></VALUE>
+<!--800062-->  <NAME><![CDATA[Create From Multiple]]></NAME>
+<!--800062-->  <DESCRIPTION><![CDATA[Create From Multiple]]></DESCRIPTION>
+<!--800062-->  <HELP><![CDATA[Create From Multiple]]></HELP>
+<!--800062-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--800062-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
+<!--800062-->  <ISREPORT><![CDATA[N]]></ISREPORT>
+<!--800062-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
+<!--800062-->  <CLASSNAME><![CDATA[ad_actionButton/CreateFromMultiple_FS.html]]></CLASSNAME>
+<!--800062-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--800062-->  <ISJASPER><![CDATA[N]]></ISJASPER>
+<!--800062-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800062-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
+<!--800062-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
+<!--800062-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
+<!--800062-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--800062-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
+<!--800062--></AD_PROCESS>
+
 <!--800064--><AD_PROCESS>
 <!--800064-->  <AD_PROCESS_ID><![CDATA[800064]]></AD_PROCESS_ID>
 <!--800064-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Mon Feb 11 22:14:02 2019 -0300
+++ b/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -104,6 +104,16 @@
 <!--800142-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--800142--></AD_TEXTINTERFACES>
 
+<!--800165--><AD_TEXTINTERFACES>
+<!--800165-->  <AD_TEXTINTERFACES_ID><![CDATA[800165]]></AD_TEXTINTERFACES_ID>
+<!--800165-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--800165-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--800165-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--800165-->  <TEXT><![CDATA[Corridor]]></TEXT>
+<!--800165-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--800165-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--800165--></AD_TEXTINTERFACES>
+
 <!--800171--><AD_TEXTINTERFACES>
 <!--800171-->  <AD_TEXTINTERFACES_ID><![CDATA[800171]]></AD_TEXTINTERFACES_ID>
 <!--800171-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1186,6 +1196,16 @@
 <!--802901-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--802901--></AD_TEXTINTERFACES>
 
+<!--803003--><AD_TEXTINTERFACES>
+<!--803003-->  <AD_TEXTINTERFACES_ID><![CDATA[803003]]></AD_TEXTINTERFACES_ID>
+<!--803003-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--803003-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--803003-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--803003-->  <TEXT><![CDATA[Quant. of order]]></TEXT>
+<!--803003-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--803003-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--803003--></AD_TEXTINTERFACES>
+
 <!--803058--><AD_TEXTINTERFACES>
 <!--803058-->  <AD_TEXTINTERFACES_ID><![CDATA[803058]]></AD_TEXTINTERFACES_ID>
 <!--803058-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1498,6 +1518,16 @@
 <!--804029-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--804029--></AD_TEXTINTERFACES>
 
+<!--804034--><AD_TEXTINTERFACES>
+<!--804034-->  <AD_TEXTINTERFACES_ID><![CDATA[804034]]></AD_TEXTINTERFACES_ID>
+<!--804034-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--804034-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--804034-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--804034-->  <TEXT><![CDATA[Create from.. (massive)]]></TEXT>
+<!--804034-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--804034-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--804034--></AD_TEXTINTERFACES>
+
 <!--804038--><AD_TEXTINTERFACES>
 <!--804038-->  <AD_TEXTINTERFACES_ID><![CDATA[804038]]></AD_TEXTINTERFACES_ID>
 <!--804038-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5654,6 +5684,28 @@
 <!--807411-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807411--></AD_TEXTINTERFACES>
 
+<!--807422--><AD_TEXTINTERFACES>
+<!--807422-->  <AD_TEXTINTERFACES_ID><![CDATA[807422]]></AD_TEXTINTERFACES_ID>
+<!--807422-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--807422-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--807422-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--807422-->  <TEXT><![CDATA[Product values]]></TEXT>
+<!--807422-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--807422-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--807422-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--807422--></AD_TEXTINTERFACES>
+
+<!--807428--><AD_TEXTINTERFACES>
+<!--807428-->  <AD_TEXTINTERFACES_ID><![CDATA[807428]]></AD_TEXTINTERFACES_ID>
+<!--807428-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--807428-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--807428-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--807428-->  <TEXT><![CDATA[Location values]]></TEXT>
+<!--807428-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--807428-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--807428-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--807428--></AD_TEXTINTERFACES>
+
 <!--807441--><AD_TEXTINTERFACES>
 <!--807441-->  <AD_TEXTINTERFACES_ID><![CDATA[807441]]></AD_TEXTINTERFACES_ID>
 <!--807441-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5741,6 +5793,17 @@
 <!--807517-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--807517--></AD_TEXTINTERFACES>
 
+<!--807539--><AD_TEXTINTERFACES>
+<!--807539-->  <AD_TEXTINTERFACES_ID><![CDATA[807539]]></AD_TEXTINTERFACES_ID>
+<!--807539-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--807539-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--807539-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--807539-->  <TEXT><![CDATA[Order Qty]]></TEXT>
+<!--807539-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--807539-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--807539-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--807539--></AD_TEXTINTERFACES>
+
 <!--807543--><AD_TEXTINTERFACES>
 <!--807543-->  <AD_TEXTINTERFACES_ID><![CDATA[807543]]></AD_TEXTINTERFACES_ID>
 <!--807543-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -9861,6 +9924,94 @@
 <!--1004400045-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--1004400045--></AD_TEXTINTERFACES>
 
+<!--1005300011--><AD_TEXTINTERFACES>
+<!--1005300011-->  <AD_TEXTINTERFACES_ID><![CDATA[1005300011]]></AD_TEXTINTERFACES_ID>
+<!--1005300011-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005300011-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005300011-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005300011-->  <TEXT><![CDATA[Create from Multiple Receipt]]></TEXT>
+<!--1005300011-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--1005300011-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--1005300011-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--1005300011--></AD_TEXTINTERFACES>
+
+<!--1005300012--><AD_TEXTINTERFACES>
+<!--1005300012-->  <AD_TEXTINTERFACES_ID><![CDATA[1005300012]]></AD_TEXTINTERFACES_ID>
+<!--1005300012-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005300012-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005300012-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005300012-->  <TEXT><![CDATA[Attribute value]]></TEXT>
+<!--1005300012-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--1005300012-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--1005300012-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--1005300012--></AD_TEXTINTERFACES>
+
+<!--1005300013--><AD_TEXTINTERFACES>
+<!--1005300013-->  <AD_TEXTINTERFACES_ID><![CDATA[1005300013]]></AD_TEXTINTERFACES_ID>
+<!--1005300013-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005300013-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005300013-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005300013-->  <TEXT><![CDATA[Attribute Set Value]]></TEXT>
+<!--1005300013-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--1005300013-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--1005300013-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--1005300013--></AD_TEXTINTERFACES>
+
+<!--1005300014--><AD_TEXTINTERFACES>
+<!--1005300014-->  <AD_TEXTINTERFACES_ID><![CDATA[1005300014]]></AD_TEXTINTERFACES_ID>
+<!--1005300014-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005300014-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005300014-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005300014-->  <TEXT><![CDATA[Cal1 No.]]></TEXT>
+<!--1005300014-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--1005300014-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--1005300014-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--1005300014--></AD_TEXTINTERFACES>
+
+<!--1005300015--><AD_TEXTINTERFACES>
+<!--1005300015-->  <AD_TEXTINTERFACES_ID><![CDATA[1005300015]]></AD_TEXTINTERFACES_ID>
+<!--1005300015-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005300015-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005300015-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005300015-->  <TEXT><![CDATA[Order unit]]></TEXT>
+<!--1005300015-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--1005300015-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--1005300015-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--1005300015--></AD_TEXTINTERFACES>
+
+<!--1005300017--><AD_TEXTINTERFACES>
+<!--1005300017-->  <AD_TEXTINTERFACES_ID><![CDATA[1005300017]]></AD_TEXTINTERFACES_ID>
+<!--1005300017-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005300017-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005300017-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005300017-->  <TEXT><![CDATA[No. lines]]></TEXT>
+<!--1005300017-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html]]></FILENAME>
+<!--1005300017-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--1005300017-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--1005300017--></AD_TEXTINTERFACES>
+
+<!--1005300018--><AD_TEXTINTERFACES>
+<!--1005300018-->  <AD_TEXTINTERFACES_ID><![CDATA[1005300018]]></AD_TEXTINTERFACES_ID>
+<!--1005300018-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005300018-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005300018-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005300018-->  <TEXT><![CDATA[Create from Multiple Shipment]]></TEXT>
+<!--1005300018-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html]]></FILENAME>
+<!--1005300018-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--1005300018-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--1005300018--></AD_TEXTINTERFACES>
+
+<!--1005300019--><AD_TEXTINTERFACES>
+<!--1005300019-->  <AD_TEXTINTERFACES_ID><![CDATA[1005300019]]></AD_TEXTINTERFACES_ID>
+<!--1005300019-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1005300019-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1005300019-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1005300019-->  <TEXT><![CDATA[Height]]></TEXT>
+<!--1005300019-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html]]></FILENAME>
+<!--1005300019-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--1005300019-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--1005300019--></AD_TEXTINTERFACES>
+
 <!--1005400011--><AD_TEXTINTERFACES>
 <!--1005400011-->  <AD_TEXTINTERFACES_ID><![CDATA[1005400011]]></AD_TEXTINTERFACES_ID>
 <!--1005400011-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple.java	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,409 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.erpCommon.ad_actionButton;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.sql.Connection;
+import java.util.StringTokenizer;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.filter.IsIDFilter;
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.utility.ComboTableData;
+import org.openbravo.erpCommon.utility.OBError;
+import org.openbravo.erpCommon.utility.SequenceIdData;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.utils.Replace;
+import org.openbravo.xmlEngine.XmlDocument;
+
+public class CreateFromMultiple extends HttpSecureAppServlet {
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public void init(ServletConfig config) {
+    super.init(config);
+    boolHist = false;
+  }
+
+  @Override
+  public void doPost(HttpServletRequest request, HttpServletResponse response)
+      throws IOException, ServletException {
+    VariablesSecureApp vars = new VariablesSecureApp(request);
+    if (vars.commandIn("DEFAULT")) {
+      vars.getGlobalVariable("inpmInoutId", "CreateFromMultiple|mInoutId");
+      vars.getGlobalVariable("inpwindowId", "CreateFromMultiple|windowId", "");
+      vars.getGlobalVariable("inpTabId", "CreateFromMultiple|adTabId", "");
+      vars.getGlobalVariable("inpcBpartnerId", "CreateFromMultiple|bpartner", "");
+      vars.getGlobalVariable("inpmWarehouseId", "CreateFromMultiple|mWarehouseId", "");
+      vars.setSessionValue("CreateFromMultiple|adProcessId", "800062");
+
+      printPage_FS(response, vars);
+    } else if (vars.commandIn("FRAME1")) {
+      String strWindowId = vars.getGlobalVariable("inpWindowId", "CreateFromMultiple|windowId");
+      String strSOTrx = Utility.getContext(this, vars, "isSOTrx", strWindowId);
+      String strKey = vars.getGlobalVariable("inpmInoutId", "CreateFromMultiple|mInoutId");
+      String strTabId = vars.getGlobalVariable("inpTabId", "CreateFromMultiple|adTabId");
+      String strProcessId = vars.getGlobalVariable("inpadProcessId",
+          "CreateFromMultiple|adProcessId");
+      String strBpartner = vars.getGlobalVariable("inpcBpartnerId", "CreateFromMultiple|bpartner",
+          "");
+      String strmWarehouseId = vars.getGlobalVariable("inpmWarehouseId",
+          "CreateFromMultiple|mWarehouseId", "");
+      vars.removeSessionValue("CreateFromMultiple|mInoutId");
+      vars.removeSessionValue("CreateFromMultiple|windowId");
+      vars.removeSessionValue("CreateFromMultiple|adTabId");
+      vars.removeSessionValue("CreateFromMultiple|adProcessId");
+      vars.removeSessionValue("CreateFromMultiple|bpartner");
+
+      callPrintPage(response, vars, strKey, strWindowId, strSOTrx, strTabId, strProcessId,
+          strBpartner, strmWarehouseId);
+    } else if (vars.commandIn("FIND")) {
+      String strKey = vars.getRequiredStringParameter("inpmInoutId");
+      String strWindowId = vars.getStringParameter("inpWindowId");
+      String strSOTrx = vars.getStringParameter("inpissotrx");
+      String strTabId = vars.getStringParameter("inpTabId");
+      String strBpartner = vars.getRequestGlobalVariable("inpcBpartnerId",
+          "CreateFromMultiple|bpartner");
+      String strmWarehouseId = vars.getRequestGlobalVariable("inpmWarehouseId",
+          "CreateFromMultiple|mWarehouseId");
+      callPrintPage(response, vars, strKey, strWindowId, strSOTrx, strTabId, "", strBpartner,
+          strmWarehouseId);
+    } else if (vars.commandIn("SAVE")) {
+      String strKey = vars.getRequiredStringParameter("inpmInoutId");
+      String strWindowId = vars.getStringParameter("inpWindowId");
+      String strSOTrx = vars.getStringParameter("inpissotrx");
+      String strTabId = vars.getStringParameter("inpTabId");
+      OBError myMessage = saveMethod(vars, strKey, strWindowId, strSOTrx);
+
+      String strWindowPath = Utility.getTabURL(strTabId, "R", true);
+      if (strWindowPath.equals("")) {
+        strWindowPath = strDefaultServlet;
+      }
+
+      vars.setMessage(strTabId, myMessage);
+      printPageClosePopUp(response, vars, strWindowPath);
+    } else {
+      pageErrorPopUp(response);
+    }
+  }
+
+  private void printPage_FS(HttpServletResponse response, VariablesSecureApp vars)
+      throws IOException, ServletException {
+    if (log4j.isDebugEnabled()) {
+      log4j.debug("Output: FrameSet");
+    }
+    XmlDocument xmlDocument = xmlEngine
+        .readXmlTemplate("org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_FS")
+        .createXmlDocument();
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    out.println(xmlDocument.print());
+    out.close();
+  }
+
+  void callPrintPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
+      String strWindowId, String strSOTrx, String strTabId, String strProcessId, String strBpartner,
+      String strmWarehouseId) throws IOException, ServletException {
+    if (strSOTrx.equals("Y")) { // Shipment
+      printPageShipment(response, vars, strKey, strWindowId, strTabId, strSOTrx, strProcessId,
+          strBpartner, strmWarehouseId);
+    } else { // Receipt
+      printPageReceipt(response, vars, strKey, strWindowId, strTabId, strSOTrx, strProcessId,
+          strBpartner, strmWarehouseId);
+    }
+  }
+
+  protected void printPageReceipt(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strWindowId, String strTabId, String strSOTrx, String strProcessId,
+      String strBpartner, String strmWarehouseId) throws IOException, ServletException {
+    String localStrmWarehouseId = strmWarehouseId;
+    if (log4j.isDebugEnabled()) {
+      log4j.debug("Output: Receipt");
+    }
+    ActionButtonDefaultData[] data = null;
+    String strHelp = "", strDescription = "";
+    if (vars.getLanguage().equals("en_US")) {
+      data = ActionButtonDefaultData.select(this, strProcessId);
+    } else {
+      data = ActionButtonDefaultData.selectLanguage(this, vars.getLanguage(), strProcessId);
+    }
+    if (data != null && data.length != 0) {
+      strDescription = data[0].description;
+      strHelp = data[0].help;
+    }
+    String[] discard = { "" };
+    if (strHelp.equals("")) {
+      discard[0] = new String("helpDiscard");
+    }
+    XmlDocument xmlDocument = xmlEngine
+        .readXmlTemplate("org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt",
+            discard)
+        .createXmlDocument();
+
+    xmlDocument.setParameter("theme", vars.getTheme());
+    xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
+    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
+    xmlDocument.setParameter("help", strHelp);
+    xmlDocument.setParameter("description", strDescription);
+    xmlDocument.setParameter("key", strKey);
+    xmlDocument.setParameter("windowId", strWindowId);
+    xmlDocument.setParameter("tabId", strTabId);
+    xmlDocument.setParameter("sotrx", strSOTrx);
+    xmlDocument.setParameter("bpartner", strBpartner);
+    xmlDocument.setParameter("mWarehouseId", localStrmWarehouseId);
+
+    try {
+      ComboTableData comboTableData = new ComboTableData(this, "TABLEDIR", "C_UOM_ID", "", "",
+          Utility.getContext(this, vars, "#AccessibleOrgTree", strWindowId),
+          Utility.getContext(this, vars, "#User_Client", strWindowId), 0);
+      Utility.fillSQLParameters(this, vars, null, comboTableData, strWindowId, "");
+      xmlDocument.setData("reportC_UOM_ID", "liststructure", comboTableData.select(false));
+      comboTableData = null;
+    } catch (Exception ex) {
+      throw new ServletException(ex);
+    }
+
+    try {
+      ComboTableData comboTableData = new ComboTableData(this, "TABLEDIR", "M_Warehouse_ID", "", "",
+          Utility.getContext(this, vars, "#AccessibleOrgTree", strWindowId),
+          Utility.getContext(this, vars, "#User_Client", strWindowId), 0);
+      Utility.fillSQLParameters(this, vars, null, comboTableData, strWindowId,
+          localStrmWarehouseId);
+      xmlDocument.setData("reportM_WAREHOUSE_ID", "liststructure", comboTableData.select(false));
+      comboTableData = null;
+    } catch (Exception ex) {
+      throw new ServletException(ex);
+    }
+
+    CreateFromMultipleReceiptData[] dataW = CreateFromMultipleReceiptData
+        .selectAccessibleWarehouses(this, vars.getRole(), vars.getClient());
+    if (localStrmWarehouseId.equals("") && dataW != null && dataW.length > 0) {
+      localStrmWarehouseId = dataW[0].id;
+    }
+    xmlDocument.setData("reportM_LOCATOR_X", "liststructure",
+        CreateFromMultipleReceiptData.selectM_Locator_X(this, localStrmWarehouseId));
+
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    out.println(xmlDocument.print());
+    out.close();
+  }
+
+  protected void printPageShipment(HttpServletResponse response, VariablesSecureApp vars,
+      String strKey, String strWindowId, String strTabId, String strSOTrx, String strProcessId,
+      String strBpartner, String strmWarehouseId) throws IOException, ServletException {
+    if (log4j.isDebugEnabled()) {
+      log4j.debug("Output: Shipment");
+    }
+    String[] discard = { "" };
+    String strProduct = vars.getStringParameter("inpmProductId");
+    // String strWarehouse = vars.getStringParameter("inpmWarehouseId");
+    String strX = vars.getStringParameter("inpx");
+    String strY = vars.getStringParameter("inpy");
+    String strZ = vars.getStringParameter("inpz");
+    CreateFromMultipleShipmentData[] data = null;
+    if (strProduct.equals("") && strmWarehouseId.equals("") && strX.equals("") && strY.equals("")
+        && strZ.equals("")) {
+      discard[0] = new String("sectionDetail");
+      data = new CreateFromMultipleShipmentData[0];
+    } else {
+      data = CreateFromMultipleShipmentData.select(this, vars.getLanguage(), strBpartner,
+          strProduct, strmWarehouseId, strX, strY, strZ,
+          Utility.getContext(this, vars, "#User_Client", strWindowId));
+    }
+    XmlDocument xmlDocument = xmlEngine
+        .readXmlTemplate("org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment",
+            discard)
+        .createXmlDocument();
+
+    xmlDocument.setParameter("theme", vars.getTheme());
+    xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
+    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
+    xmlDocument.setParameter("key", strKey);
+    xmlDocument.setParameter("windowId", strWindowId);
+    xmlDocument.setParameter("tabId", strTabId);
+    xmlDocument.setParameter("sotrx", strSOTrx);
+    xmlDocument.setParameter("mWarehouseId", strmWarehouseId);//
+    xmlDocument.setParameter("bpartnerId", strBpartner);
+    xmlDocument.setParameter("bpartnerId_DES",
+        CreateFromMultipleShipmentData.bpartnerDescription(this, strBpartner));
+    xmlDocument.setParameter("productId", strProduct);
+    xmlDocument.setParameter("productId_DES",
+        CreateFromMultipleShipmentData.productDescription(this, strProduct));
+    xmlDocument.setParameter("x", strX);
+    xmlDocument.setParameter("y", strY);
+    xmlDocument.setParameter("z", strZ);
+
+    try {
+      ComboTableData comboTableData = new ComboTableData(this, "TABLEDIR", "M_Warehouse_ID", "", "",
+          Utility.getContext(this, vars, "#AccessibleOrgTree", strWindowId),
+          Utility.getContext(this, vars, "#User_Client", strWindowId), 0);
+      Utility.fillSQLParameters(this, vars, null, comboTableData, strWindowId, strmWarehouseId);
+      xmlDocument.setData("reportM_WAREHOUSE_ID", "liststructure", comboTableData.select(false));
+      comboTableData = null;
+    } catch (Exception ex) {
+      throw new ServletException(ex);
+    }
+
+    xmlDocument.setData("structure1", data);
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    out.println(xmlDocument.print());
+    out.close();
+
+  }
+
+  OBError saveMethod(VariablesSecureApp vars, String strKey, String strWindowId, String strSOTrx)
+      throws IOException, ServletException {
+    if (strSOTrx.equals("Y")) {
+      return saveShipment(vars, strKey, strWindowId);
+    } else {
+      return saveReceipt(vars, strKey, strWindowId);
+    }
+  }
+
+  protected OBError saveReceipt(VariablesSecureApp vars, String strKey, String strWindowId)
+      throws IOException, ServletException {
+    if (log4j.isDebugEnabled()) {
+      log4j.debug("Save: Receipt");
+    }
+    String strProduct = vars.getRequiredStringParameter("inpmProductId");
+    String strAtributo = vars.getStringParameter("inpmAttributesetinstanceId");
+    String strQty = vars.getNumericParameter("inpmovementqty");
+    String strUOM = vars.getStringParameter("inpcUomId");
+    String strQuantityOrder = vars.getNumericParameter("inpquantityorder");
+    String strProductUOM = vars.getStringParameter("inpmProductUomId");
+    String strWarehouse = vars.getRequiredStringParameter("inpmWarehouseId");
+    String strLocator = vars.getStringParameter("inpmLocatorX");
+    String strNumero = vars.getRequiredNumericParameter("inpnumerolineas");
+
+    OBError myMessage = null;
+    int count = 0;
+
+    Connection conn = null;
+    try {
+      conn = this.getTransactionConnection();
+      int total = Integer.valueOf(strNumero).intValue();
+      CreateFromMultipleReceiptData[] locators = CreateFromMultipleReceiptData.select(conn, this,
+          vars.getLanguage(), Utility.getContext(this, vars, "#User_Client", strWindowId),
+          Utility.getContext(this, vars, "#User_Org", strWindowId), strWarehouse, strLocator);
+      if (locators != null && locators.length > 0) {
+        for (count = 0; count < total; count++) {
+          String strM_Locator_ID = (count > locators.length - 1) ? "" : locators[count].mLocatorId;
+          if (strM_Locator_ID.equals("")) {
+            break;
+          }
+          String strSequence = SequenceIdData.getUUID();
+          try {
+            CreateFromMultipleReceiptData.insert(conn, this, strSequence, vars.getClient(),
+                vars.getOrg(), vars.getUser(), strKey, strM_Locator_ID, strProduct, strUOM, strQty,
+                strAtributo, strQuantityOrder, strProductUOM);
+          } catch (ServletException ex) {
+            myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
+            releaseRollbackConnection(conn);
+            return myMessage;
+          }
+        }
+      }
+
+      releaseCommitConnection(conn);
+      myMessage = new OBError();
+      myMessage.setType("Success");
+      myMessage.setTitle("");
+      myMessage.setMessage(Utility.messageBD(this, "Success", vars.getLanguage()) + " - "
+          + Utility.messageBD(this, "Created", vars.getLanguage()) + ": " + count);
+    } catch (Exception e) {
+      try {
+        releaseRollbackConnection(conn);
+      } catch (Exception ignored) {
+      }
+      e.printStackTrace();
+      log4j.warn("Rollback in transaction");
+      myMessage = Utility.translateError(this, vars, vars.getLanguage(), "ProcessRunError");
+    }
+    return myMessage;
+  }
+
+  protected OBError saveShipment(VariablesSecureApp vars, String strKey, String strWindowId)
+      throws IOException, ServletException {
+    if (log4j.isDebugEnabled()) {
+      log4j.debug("Save: Shipment");
+    }
+    String strStorageDetail = vars.getInStringParameter("inpmStorageDetailId", IsIDFilter.instance);
+    if (strStorageDetail.equals("")) {
+      return null;
+    }
+    OBError myMessage = null;
+    Connection conn = null;
+    int count = 0;
+    try {
+      conn = this.getTransactionConnection();
+      if (strStorageDetail.startsWith("(")) {
+        strStorageDetail = strStorageDetail.substring(1, strStorageDetail.length() - 1);
+      }
+      if (!strStorageDetail.equals("")) {
+        strStorageDetail = Replace.replace(strStorageDetail, "'", "");
+        StringTokenizer st = new StringTokenizer(strStorageDetail, ",", false);
+        count = 0;
+        while (st.hasMoreTokens()) {
+          String strStorageDetailId = st.nextToken().trim();
+          String strQty = vars.getNumericParameter("inpmovementqty" + strStorageDetailId);
+          String strQtyOrder = vars.getNumericParameter("inpquantityorder" + strStorageDetailId);
+
+          String strSequence = SequenceIdData.getUUID();
+          try {
+            CreateFromMultipleShipmentData.insert(conn, this, strSequence, vars.getClient(),
+                vars.getOrg(), vars.getUser(), strKey, strQty, strQtyOrder, strStorageDetailId);
+          } catch (ServletException ex) {
+            myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
+            releaseRollbackConnection(conn);
+            return myMessage;
+          }
+          count++;
+        }
+      }
+      releaseCommitConnection(conn);
+      myMessage = new OBError();
+      myMessage.setType("Success");
+      myMessage.setTitle("");
+      myMessage.setMessage(Utility.messageBD(this, "Success", vars.getLanguage()) + " - "
+          + Utility.messageBD(this, "Created", vars.getLanguage()) + ": " + count);
+    } catch (Exception e) {
+      try {
+        releaseRollbackConnection(conn);
+      } catch (Exception ignored) {
+      }
+      e.printStackTrace();
+      log4j.warn("Rollback in transaction");
+      myMessage = Utility.translateError(this, vars, vars.getLanguage(), "ProcessRunError");
+    }
+    return myMessage;
+  }
+
+  @Override
+  public String getServletInfo() {
+    return "Servlet that presents the button of Create From Multiple";
+  } // end of getServletInfo() method
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_FS.html	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,32 @@
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>Create from.. (massive)</title>
+    <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
+  </head>
+  <frameset cols="*" frameborder="no" border="0" framespacing="0" rows="100%, *">
+    <frame name="frameButton" scrolling="auto" src="CreateFromMultiple_F1.html?Command=FRAME1"></frame>
+    <frame name="frameOcultoButton" scrolling="no" src=""></frame>
+    <noframes>
+      <body bgcolor="#FFFFFF">You can't view frames</body>
+    </noframes>
+  </frameset>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_FS.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+	<template file="CreateFromMultiple_FS.html"/>
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.html	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,845 @@
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2011 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>Create from Multiple Receipt</title>
+  <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
+  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"></link>
+  <script language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirectory = "http://yourSite/web/";</script>
+  <script language="JavaScript" type="text/javascript" id="paramLanguage">  defaultLang = "en_US";</script>
+  <script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/openbravo/core.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/openbravo/widget/DataGrid.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/default/ValidationTextBox.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></script>
+
+  <script type="text/javascript">
+  window.onunload = reloadOpener; // reloads opener on closing
+  </script>
+
+  <script language="JavaScript" type="text/javascript">
+  function closeThisPage() {
+	top.close();
+	return true;
+  }
+
+  function submitThisPage(strCommand) {
+    if (validate(strCommand)) {
+      submitCommandForm(strCommand, false, null, 'CreateFromMultiple_FS.html', '_top');
+      return true;
+    }
+    return true;
+  }
+  </script>
+  <script language="JavaScript" type="text/javascript">
+  function debugSearch(key, text, keyField) {
+    if (keyField=="inpmProductId") {
+      calloutSL_CreateFromMultiple_Product(keyField);
+    }
+    return true;
+  }
+
+  function updateData(combo) {
+    changeComboData(document.frmMain.inpmLocatorX, arrLocator, combo.options[combo.selectedIndex].value, false);
+  }
+
+  function calloutSL_CreateFromMultiple_Warehouse(changedField) {
+    submitCommandFormParameter('DEFAULT', frmMain.inpLastFieldChanged, changedField, false, null, '../ad_callouts/SL_CreateFromMultiple_Warehouse.html', 'frameOcultoButton');
+    return true;
+  }
+
+  function calloutSL_CreateFromMultiple_Product(changedField) {
+    submitCommandFormParameter('DEFAULT', frmMain.inpLastFieldChanged, changedField, false, null, '../ad_callouts/SL_CreateFromMultiple_Product.html', 'frameOcultoButton');
+    return true;
+  }
+
+  function calloutSL_CreateFromMultiple_Conversion(changedField) {
+    submitCommandFormParameter('DEFAULT', frmMain.inpLastFieldChanged, changedField, false, null, '../ad_callouts/SL_CreateFromMultiple_Conversion.html', 'frameOcultoButton');
+    return true;
+  }
+
+  function displayLogic() {
+    if (inputValue(document.frmMain.inphasseconduom) == 1) {
+      displayLogicElement('paramUOMOrder', true);
+    } else {
+      displayLogicElement('paramUOMOrder', false);
+    }
+  }
+
+  function validate(action) {
+    var frm=document.frmMain;
+    if (frm.inpmProductId.value==null || frm.inpmProductId.value=="") {
+      setWindowElementFocus(frm.inpmProductId_DES);
+      showJSMessage(7);
+      setTimeout('resizeAreaCreateFrom()',100);
+      return false;
+    } else if (frm.inpmovementqty.value==null || frm.inpmovementqty.value=="") {
+      setWindowElementFocus(frm.inpmovementqty);
+      showJSMessage(7);
+      setTimeout('resizeAreaCreateFrom()',100);
+      return false;
+    } else if (frm.inpnumerolineas.value==null || frm.inpnumerolineas.value=="") {
+      setWindowElementFocus(frm.inpnumerolineas);
+      showJSMessage(7);
+      setTimeout('resizeAreaCreateFrom()',100);
+      return false;
+    }
+    return true;
+  }
+
+  function onloadFunctions() {
+    keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/ProductComplete.html', 'SELECTOR_PRODUCT', true, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
+  }
+  </script>
+  <script language="JavaScript" type="text/javascript">
+  function onLoadDo(){
+    this.windowTables = new Array(
+      new windowTableId('client_top', 'buttonOK'),
+      new windowTableId('client_bottom', 'buttonOK')
+    );
+    setWindowTableParentElement();
+    enableShortcuts('popup');
+    setBrowserAutoComplete(false);
+
+    try {
+      onloadFunctions();
+    } catch (e) {}
+
+    calloutSL_CreateFromMultiple_Warehouse('frmMain.inpmWarehouseId');
+
+    resizeAreaCreateFrom();
+    setWindowElementFocus('firstElement');
+  }
+
+  function onResizeDo(){
+    resizeAreaCreateFrom();
+  }
+  </script>
+</head>
+
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
+<form id="form" method="post" action="../ad_actionButton/CreateFromMultiple_F1.html" name="frmMain">
+  <input type="hidden" name="Command"/>
+  <input type="hidden" name="inpLastFieldChanged"/>
+  <input type="hidden" name="inphasseconduom" value="0"/>
+  <input type="hidden" name="inpmInoutId" value="" id="paramKey"/>
+  <input type="hidden" name="inpWindowId" value="" id="paramWindowId"/> 
+  <input type="hidden" name="inpTabId" value="" id="paramTabId"/>
+  <input type="hidden" name="inpissotrx" value="" id="paramisSOTrx"/>
+  <input type="hidden" name="inpBPartner" value="" id="parambpartner"/> 
+
+  <div class="Popup_ContentPane_CircleLogo">
+    <div class="Popup_WindowLogo">
+      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border="0"/>
+    </div>
+  </div>
+
+  <table cellspacing="0" cellpadding="0" width="100%" id="table_header">
+    <tr>
+      <td>
+        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
+          <tr class="Popup_NavBar_bg"><td></td>
+            <td class="Popup_NavBar_separator_cell"></td>
+            <td class="Popup_NavBar_bg_logo_left"></td>
+            <td class="Popup_NavBar_bg_logo" width="1" onclick="openNewBrowser('http://www.openbravo.com', 'Openbravo');return false;"><img src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
+            <td class="Popup_NavBar_bg_logo_right"></td>
+            <td class="Popup_NavBar_Popup_title_cell"><span>Create from Multiple Receipt</span></td>
+            <td class="Popup_NavBar_separator_cell"></td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+
+    <tr>
+      <td>
+        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
+          <tr>
+            <td class="Popup_SeparatorBar_bg"></td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+  </table>
+
+  <table cellspacing="0" cellpadding="0" width="100%">
+    <tr>
+      <td>
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client_messagebox">
+  <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxHIDDEN">
+  <tbody>
+  <tr class="MessageBox_TopMargin">
+    <td class="MessageBox_LeftMargin"></td>
+
+    <td></td>
+    <td class="MessageBox_RightMargin"></td>
+  </tr>
+  <tr>
+    <td class="MessageBox_LeftMargin"></td>
+    <td>
+
+      <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
+        <tbody>
+
+        <tr>
+          <td class="MessageBox_LeftTrans">
+            <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
+              <tbody>
+              <tr>
+                <td class="MessageBox_TopLeft"></td>
+              </tr>
+              <tr>
+                <td class="MessageBox_Left"></td>
+              </tr>
+              </tbody>
+            </table>
+          </td>
+          <td class="MessageBox_bg">
+
+            <table class="MessageBox_Top">
+            <tbody>
+
+              <tr>
+                <td>
+                  <span>
+                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
+                    <tbody>
+                    <tr>
+                      <td class="MessageBox_Icon_ContentCell">
+                        <div class="MessageBox_Icon"></div>
+                      </td>
+
+                      <td style="vertical-align: top;" id="messageBoxIDContent">
+                        <span>
+                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle"></div>
+                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage"></div>
+                          <div class="MessageBox_TextSeparator"></div>
+                        </span>
+                      </td>
+                    </tr>
+                    </tbody>
+
+                  </table>
+                  </span>
+                </td>
+              </tr>
+              </tbody>
+            </table>
+
+          </td>
+          <td class="MessageBox_RightTrans">
+            <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
+              <tbody>
+              <tr>
+                <td class="MessageBox_TopRight"></td>
+              </tr>
+              <tr>
+                <td class="MessageBox_Right"></td>
+              </tr>
+              </tbody>
+            </table>
+          </td>
+        </tr>
+        <tr>
+          <td rowspan="2" class="MessageBox_BottomLeft">
+          </td>
+          <td class="MessageBox_BottomTrans MessageBox_bg">
+          </td>
+
+          <td rowspan="2" class="MessageBox_BottomRight">
+          </td>
+        </tr>
+        <tr>
+          <td class="MessageBox_Bottom">
+          </td>
+        </tr>
+        </tbody>
+      </table>
+
+    </td>
+    <td class="MessageBox_RightMargin"></td>
+  </tr>
+  <tr class="MessageBox_BottomMargin">
+    <td class="MessageBox_LeftMargin"></td>
+    <td></td>
+    <td class="MessageBox_RightMargin"></td>
+  </tr>
+
+  </tbody>
+  </table>
+  </div>
+  </td>
+  </tr>
+  </table>
+
+  <table cellspacing="0" cellpadding="0" width="100%">
+
+   <tr>
+    <td>
+      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client_top">
+        <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
+
+          <tr>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+            <td class="TableEdition_OneCell_width"></td>
+          </tr>
+
+          <tr>
+          <td colspan="6">
+            <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
+              <tr class="FieldGroup_TopMargin"></tr>
+              <tr>
+                <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                <td class="FieldGroupTitle">Primary Filters</td>
+                <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                <td class="FieldGroupContent"></td>
+
+              </tr>
+              <tr class="FieldGroup_BottomMargin"></tr>
+            </table>
+          </td>
+          </tr>
+
+
+    <tr> 
+
+        <td class="TitleCell"><span class="LabelText">Product</span></td>
+        <td class="TextBox_btn_ContentCell" colspan="2">
+
+          <table border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
+            <tr>
+              <td class="TextBox_ContentCell">
+                <input class="dojoValidateValid TextBox_btn_TwoCells_width" type="text" name="inpmProductId_DES" id="fieldProductID_DES" maxlength="20" value=""/>
+                <input type="hidden" name="inpmProductId" value="" id="fieldProductID"/>
+              </td>
+              <td class="FieldButton_ContentCell">
+                <a class="FieldButtonLink" href="#"
+                  onfocus="setWindowElementFocus(this); window.status='Product'; return true;"
+                  onblur="window.status=''; return true;"
+                  onkeypress="this.className='FieldButtonLink_active'; return true;"
+                  onkeyup="this.className='FieldButtonLink_focus'; return true;"
+                  onclick="openSearch(null, null, '../info/ProductComplete.html', 'SELECTOR_PRODUCT', true, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value,'inpBPartner', document.frmMain.inpBPartner.value);return false;">
+                  <table class="FieldButton"
+                    onmousedown="this.className='FieldButton_active'; return true;"
+                    onmouseup="this.className='FieldButton'; return true;"
+                    onmouseover="this.className='FieldButton_hover'; window.status='Product'; return true;"
+                    onmouseout="this.className='FieldButton'; window.status=''; return true;">
+                    <tr>
+                      <td class="FieldButton_bg">
+                        <img alt="Product" class="FieldButton_Icon FieldButton_Icon_Product" title="Product" src="../../../../../web/images/blank.gif" border="0"/>
+                      </td>
+                    </tr>
+                  </table>
+                </a>
+		        <input type="hidden" name="inpmProductId_LOC"/>
+		        <input type="hidden" name="inpmProductId_Atr"/>
+		        <input type="hidden" name="inpmProductId_PQTY"/>
+		        <input type="hidden" name="inpmProductId_PUOM"/>
+		        <input type="hidden" name="inpmProductId_QTY"/>
+		        <input type="hidden" name="inpmProductId_UOM"/>
+		        <input type="hidden" name="inpmProductId_PLIST"/>
+		        <input type="hidden" name="inpmProductId_PSTD"/>
+		        <input type="hidden" name="inpmProductId_PLIM"/>
+		        <input type="hidden" name="inpmProductId_CURR"/>
+              </td>
+            </tr>
+          </table>
+        </td>
+		</tr>
+
+          <tr>
+          <td colspan="6">
+            <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
+              <tr class="FieldGroup_TopMargin"></tr>
+              <tr>
+                <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                <td class="FieldGroupTitle">Product values</td>
+                <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                <td class="FieldGroupContent"></td>
+
+              </tr>
+              <tr class="FieldGroup_BottomMargin"></tr>
+            </table>
+          </td>
+          </tr>
+
+    <tr> 
+
+<td class="TitleCell" id="M_AttributeSetInstance_ID_lbl_td"><span class="LabelText" id="M_AttributeSetInstance_ID_lbl">Attribute value</span></td>
+<td class="TextBox_btn_ContentCell" id="M_AttributeSetInstance_ID_inp_td">
+
+  <input type="hidden" name="inpmAttributesetinstanceId" id="M_AttributeSetInstance_ID" value="" onchange="logChanges(this);return true;" />
+  <table border="0" cellspacing="0" cellpadding="0" >
+    <tr>
+
+      <td class="TextBox_ContentCell">
+      <table style="border:0px;border-collapse:collapse;" summary="" >
+        <tr>
+          <td style="padding-top: 0px;">
+            
+            <input type="text" class="dojoValidateValid readonly TextBox_btn_OneCell_width"  name="inpmAttributesetinstanceId_D" id="M_AttributeSetInstance_ID_R" value="" required="false" readonly="true"/>
+          </td>
+        </tr>
+      </table>
+
+      </td>
+      <td class="FieldButton_ContentCell"><a class="FieldButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Attribute Set Value'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_focus'; return true;" onclick="openPAttribute(null, null, '../info/AttributeSetInstance.html', null, false, 'frmMain', 'inpmAttributesetinstanceId', 'inpmAttributesetinstanceId_D', document.frmMain.inpmAttributesetinstanceId_D.value, 'WindowID', document.frmMain.inpWindowId.value, 'inpKeyValue', document.frmMain.inpmAttributesetinstanceId.value, 'inpwindowId', document.frmMain.inpWindowId.value, 'inpProduct', document.frmMain.inpmProductId.value);return false;" onmouseout="window.status='';return true;" onmouseover="window.status='Search';return true;" >
+  <table class="FieldButton" onmousedown="this.className='FieldButton_active'; return true;" onmouseup="this.className='FieldButton'; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Attribute Set Value'; return true;" onmouseout="this.className='FieldButton'; window.status=''; return true;" id="M_AttributeSetInstance_IDlinkAttributeSetInstance">
+    <tr>
+
+      <td class="FieldButton_bg">
+        <img alt="Attribute Set Value" class="FieldButton_Icon FieldButton_Icon_AttributeSetInstance" title="Attribute Set Value" src="../web/images/blank.gif" border="0" id="buttonAttributeSetInstance"/>
+      </td>
+    </tr>
+  </table>
+</a>
+</td>
+    </tr>
+  </table>
+
+
+</td>
+
+    </tr>
+    <tr> 
+					<td class="TitleCell"><span class="LabelText">Quantity</span></td>
+					<td id="inpmovementqty_inp_td" class="TextBox_btn_ContentCell">
+
+						<div id="inpmovementqty_inp">
+							<table cellspacing="0" cellpadding="0" border="0" summary="">
+								<tbody>
+									<tr>
+										<td class="TextBox_ContentCell">
+										<table style="border: 0px none; border-collapse: collapse;">
+											<tbody>
+												<tr>
+													<td style="padding-top: 0px;">
+														<input type="text"
+														onkeyup="" name="inpmovementqty" maxlength="10" value=""
+														class="dojoValidateValid TextBox_btn_OneCell_width number TextBox"
+														id="inpmovementqty"
+														outputformat="qtyEdition"
+														onfocus="numberInputEvent('onfocus', this);" onblur="numberInputEvent('onblur', this);" onkeydown="numberInputEvent('onkeydown', this, event);" onchange="numberInputEvent('onchange', this);" />
+													</td>
+												</tr>
+											</tbody>
+										</table>
+										<span class="TextBox_MsgContainer_span" style="display: none;" id="inpmovementqtyinvalidSpan">
+										
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										        <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="inpmovementqtyinvalidSpanText">* The value entered is not valid.</div></td>
+										      </tr>
+										    </table>
+										
+										  </span>
+										  <span class="TextBox_MsgContainer_span" style="display: none;" id="inpmovementqtymissingSpan">
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										        <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="inpmovementqtymissingSpanText">* This value is required.</div></td>
+										
+										      </tr>
+										    </table>
+										  </span>
+										  <span class="TextBox_MsgContainer_span" style="display: none;" id="inpmovementqtyrangeSpan">
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										
+										        <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="inpmovementqtyrangeSpanText">* This value is out of range.</div></td>
+										      </tr>
+										    </table>
+										  </span>
+										
+										</td>
+										<td class="FieldButton_ContentCell">
+											<a onclick="calculator('frmMain.inpmovementqty', document.frmMain.inpmovementqty.value, false);return false;"
+												onkeyup="this.className='FieldButtonLink_focus'; return true;"
+												onkeypress="this.className='FieldButtonLink_active'; return true;"
+												onblur="window.status=''; return true;"
+												onfocus="setWindowElementFocus(this); window.status='Cal1 No.'; return true;"
+												href="#" class="FieldButtonLink">
+												<table id="Cal1linkCalc"
+													onmouseout="this.className='FieldButton'; window.status=''; return true;"
+													onmouseover="this.className='FieldButton_hover'; window.status='Cal1 No.'; return true;"
+													onmouseup="this.className='FieldButton'; return true;"
+													onmousedown="this.className='FieldButton_active'; return true;"
+													class="FieldButton">
+													<tbody>
+														<tr>
+															<td class="FieldButton_bg">
+																<img border="0" id="buttonCalc" src="../web/images/blank.gif" title="Cal1 No."
+																	class="FieldButton_Icon FieldButton_Icon_Calc" alt="Cal1 No." />
+															</td>
+														</tr>
+													</tbody>
+												</table>
+											</a>
+										</td>
+									</tr>
+								</tbody>
+							</table>
+						</div>
+					</td>
+
+
+	          <td class="TitleCell"><span class="LabelText">Unit</span></td>
+	          <td class="Combo_ContentCell">
+	            <select class="Combo Combo_OneCell_width" readonly="true" onchange="selectCombo(this, '');return true;" name="inpcUomId" id="reportC_UOM_ID">
+	            </select>
+	          </td>
+    </tr>
+
+
+    <tr id="paramUOMOrder" style="display:none;"> 
+
+
+					<td class="TitleCell"><span class="LabelText">Order Qty</span></td>
+					<td id="inpquantityorder_inp_td" class="TextBox_btn_ContentCell">
+
+						<div id="inpquantityorder_inp">
+							<table cellspacing="0" cellpadding="0" border="0" summary="">
+								<tbody>
+									<tr>
+										<td class="TextBox_ContentCell">
+										<table style="border: 0px none; border-collapse: collapse;">
+											<tbody>
+												<tr>
+													<td style="padding-top: 0px;">
+														<input type="text"
+														onkeyup="" name="inpquantityorder" maxlength="10" value=""
+														class="dojoValidateValid TextBox_btn_OneCell_width number TextBox"
+														id="inpquantityorder"
+														outputformat="qtyEdition" 
+														onfocus="numberInputEvent('onfocus', this);" onblur="numberInputEvent('onblur', this);" onkeydown="numberInputEvent('onkeydown', this, event);" onchange="numberInputEvent('onchange', this);" />
+													</td>
+												</tr>
+											</tbody>
+										</table>
+
+										<span class="TextBox_MsgContainer_span" style="display: none;" id="inpquantityorderinvalidSpan">
+										
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										        <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="inpquantityorderinvalidSpanText">* The value entered is not valid.</div></td>
+										      </tr>
+										    </table>
+										
+										  </span>
+										  <span class="TextBox_MsgContainer_span" style="display: none;" id="inpquantityordermissingSpan">
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										        <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="inpquantityordermissingSpanText">* This value is required.</div></td>
+										
+										      </tr>
+										    </table>
+										  </span>
+										  <span class="TextBox_MsgContainer_span" style="display: none;" id="inpquantityorderrangeSpan">
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										
+										        <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="inpquantityorderrangeSpanText">* This value is out of range.</div></td>
+										      </tr>
+										    </table>
+										  </span>
+										
+										</td>
+										<td class="FieldButton_ContentCell">
+											<a onclick="calculator('frmMain.inpquantityorder', document.frmMain.inpquantityorder.value, false);return false;"
+												onkeyup="this.className='FieldButtonLink_focus'; return true;"
+												onkeypress="this.className='FieldButtonLink_active'; return true;"
+												onblur="window.status=''; return true;"
+												onfocus="setWindowElementFocus(this); window.status='Cal1 No.'; return true;"
+												href="#" class="FieldButtonLink">
+												<table id="Cal1linkCalc"
+													onmouseout="this.className='FieldButton'; window.status=''; return true;"
+													onmouseover="this.className='FieldButton_hover'; window.status='Cal1 No.'; return true;"
+													onmouseup="this.className='FieldButton'; return true;"
+													onmousedown="this.className='FieldButton_active'; return true;"
+													class="FieldButton">
+													<tbody>
+														<tr>
+															<td class="FieldButton_bg">
+																<img border="0" id="buttonCalc" src="../web/images/blank.gif" title="Cal1 No."
+																	class="FieldButton_Icon FieldButton_Icon_Calc" alt="Cal1 No." />
+															</td>
+														</tr>
+													</tbody>
+												</table>
+											</a>
+										</td>
+									</tr>
+								</tbody>
+							</table>
+						</div>
+					</td>
+
+
+	          <td class="TitleCell"><span class="LabelText">Order unit</span></td>
+	          <td colspan="2" class="Combo_ContentCell">
+	            <select class="Combo Combo_TwoCells_width" readonly="true" onchange="calloutSL_CreateFromMultiple_Conversion(this.name);" name="inpmProductUomId" id="inpmProductUomId">
+	            </select>
+	          </td>
+
+	</tr>
+    <tr> 
+
+	          <td class="TitleCell"><span class="LabelText">Warehouse</span></td>
+	          <td colspan="2" class="Combo_ContentCell">
+	            <select class="Combo Combo_TwoCells_width" readonly="true" onchange="calloutSL_CreateFromMultiple_Warehouse(this.name); return true;" name="inpmWarehouseId" id="reportM_WAREHOUSE_ID">
+	            </select>
+	          </td>
+
+      <td colspan="2">&nbsp;</td>
+    </tr>
+
+          <tr>
+          <td colspan="6">
+            <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
+              <tr class="FieldGroup_TopMargin"></tr>
+              <tr>
+                <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                <td class="FieldGroupTitle">Location values</td>
+                <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                <td class="FieldGroupContent"></td>
+
+              </tr>
+              <tr class="FieldGroup_BottomMargin"></tr>
+            </table>
+          </td>
+          </tr>
+
+    <tr> 
+
+	          <td class="TitleCell"><span class="LabelText">Corridor</span></td>
+	          <td class="Combo_ContentCell">
+	            <select class="Combo Combo_OneCell_width" readonly="true"  name="inpmLocatorX" id="reportM_LOCATOR_X">
+						<option value=""></option>
+	            </select>
+	          </td>
+
+
+
+
+					<td class="TitleCell"><span class="LabelText">No. lines</span></td>
+					<td id="inpnumerolineas_inp_td" class="TextBox_btn_ContentCell">
+						<div id="inpnumerolineas_inp">
+							<table cellspacing="0" cellpadding="0" border="0" summary="">
+								<tbody>
+									<tr>
+										<td class="TextBox_ContentCell">
+										<table style="border: 0px none; border-collapse: collapse;">
+											<tbody>
+												<tr>
+													<td style="padding-top: 0px;">
+														<input type="text"
+														onkeyup="" name="inpnumerolineas" maxlength="10" value=""
+														class="dojoValidateValid TextBox_btn_OneCell_width number TextBox"
+														id="inpnumerolineas"
+														outputformat="integerEdition"
+														onfocus="numberInputEvent('onfocus', this);" onblur="numberInputEvent('onblur', this);" onkeydown="numberInputEvent('onkeydown', this, event);" onchange="numberInputEvent('onchange', this);" />
+													</td>
+												</tr>
+											</tbody>
+										</table>
+										<span class="TextBox_MsgContainer_span" style="display: none;" id="inpnumerolineasinvalidSpan">
+										
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										        <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="inpnumerolineasinvalidSpanText">* The value entered is not valid.</div></td>
+										      </tr>
+										    </table>
+										
+										  </span>
+										  <span class="TextBox_MsgContainer_span" style="display: none;" id="inpnumerolineasmissingSpan">
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										        <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="inpnumerolineasmissingSpanText">* This value is required.</div></td>
+										
+										      </tr>
+										    </table>
+										  </span>
+										  <span class="TextBox_MsgContainer_span" style="display: none;" id="inpnumerolineasrangeSpan">
+										    <table class="TextBox_MsgContainer_table">
+										      <tr class="TextBox_MsgContainer_tr">
+										        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+										      </tr>
+										      <tr>
+										
+										        <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="inpnumerolineasrangeSpanText">* This value is out of range.</div></td>
+										      </tr>
+										    </table>
+										  </span>										
+										</td>
+										<td class="FieldButton_ContentCell">
+											<a onclick="calculator('frmMain.inpnumerolineas', document.frmMain.inpnumerolineas.value, false);return false;"
+												onkeyup="this.className='FieldButtonLink_focus'; return true;"
+												onkeypress="this.className='FieldButtonLink_active'; return true;"
+												onblur="window.status=''; return true;"
+												onfocus="setWindowElementFocus(this); window.status='Cal1 No.'; return true;"
+												href="#" class="FieldButtonLink">
+												<table id="Cal1linkCalc"
+													onmouseout="this.className='FieldButton'; window.status=''; return true;"
+													onmouseover="this.className='FieldButton_hover'; window.status='Cal1 No.'; return true;"
+													onmouseup="this.className='FieldButton'; return true;"
+													onmousedown="this.className='FieldButton_active'; return true;"
+													class="FieldButton">
+													<tbody>
+														<tr>
+															<td class="FieldButton_bg">
+																<img border="0" id="buttonCalc" src="../web/images/blank.gif" title="Cal1 No."
+																	class="FieldButton_Icon FieldButton_Icon_Calc" alt="Cal1 No." />
+															</td>
+														</tr>
+													</tbody>
+												</table>
+											</a>
+										</td>
+									</tr>
+								</tbody>
+							</table>
+						</div>
+					</td>
+
+
+          </tr>
+        </table>
+		</div>
+		</td>
+    </tr>
+    <tr>
+      <td>
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client_middle">
+        </div>
+      </td>
+    </tr>
+	<tr>
+      <td>
+        <div class="Popup_ContentPane_Client" style="overflow: auto; padding-bottom: 5px;" id="client_bottom">
+          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
+
+            <tr>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+            </tr>
+            <tr>
+              <td></td>
+              <td></td>
+              <td class="Button_RightAlign_ContentCell">
+                <div>
+                  <button type="button" 
+                    id="buttonOK" 
+                    class="ButtonLink" 
+                    onclick="submitThisPage('SAVE');return false;" 
+                    onfocus="buttonEvent('onfocus', this); window.status='Accept'; return true;" 
+                    onblur="buttonEvent('onblur', this);" 
+                    onkeyup="buttonEvent('onkeyup', this);" 
+                    onkeydown="buttonEvent('onkeydown', this);" 
+                    onkeypress="buttonEvent('onkeypress', this);" 
+                    onmouseup="buttonEvent('onmouseup', this);" 
+                    onmousedown="buttonEvent('onmousedown', this);" 
+                    onmouseover="buttonEvent('onmouseover', this); window.status='Accept'; return true;" 
+                    onmouseout="buttonEvent('onmouseout', this);">
+                    <table class="Button">
+                      <tr>
+                        <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border="0" /></td>
+                        <td class="Button_text Button_width">OK</td>
+                        <td class="Button_right"></td>
+                      </tr>
+                    </table>
+                  </button>
+                </div>
+              </td>
+              <td class="Button_LeftAlign_ContentCell">
+                <div>
+                  <button type="button" 
+                    id="buttonCancel" 
+                    class="ButtonLink" 
+                    onclick="closeThisPage();return false;" 
+                    onfocus="buttonEvent('onfocus', this); window.status='Cancel'; return true;" 
+                    onblur="buttonEvent('onblur', this);" 
+                    onkeyup="buttonEvent('onkeyup', this);" 
+                    onkeydown="buttonEvent('onkeydown', this);" 
+                    onkeypress="buttonEvent('onkeypress', this);" 
+                    onmouseup="buttonEvent('onmouseup', this);" 
+                    onmousedown="buttonEvent('onmousedown', this);" 
+                    onmouseover="buttonEvent('onmouseover', this); window.status='Cancel'; return true;" 
+                    onmouseout="buttonEvent('onmouseout', this);">
+                    <table class="Button">
+                      <tr>
+                        <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border="0" /></td>
+                        <td class="Button_text Button_width">Cancel</td>
+                        <td class="Button_right"></td>
+                      </tr>
+                    </table>
+                  </button>
+                </div>
+              </td>
+              <td></td>
+              <td></td>
+            </tr>
+          </table>
+        </div>
+      </td>
+    </tr> 
+
+  </table>
+  
+</form>
+</body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+	<template file="CreateFromMultiple_Receipt.html"/>
+	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"></PARAMETER>
+	<PARAMETER id="paramDirectory" name="directory" default=""/>
+	<PARAMETER id="paramLanguage" name="language" default=""/>
+	<PARAMETER id="processDescription" name="description" replaceCharacters="htmlHelp"/>
+	<PARAMETER id="processHelp" name="help" replaceCharacters="htmlHelp"/>
+	<PARAMETER id="paramKey" name="key" attribute="value"/>
+	<PARAMETER id="paramWindowId" name="windowId" attribute="value"/>
+	<PARAMETER id="paramTabId" name="tabId" attribute="value"/>
+	<PARAMETER id="paramisSOTrx" name="sotrx" attribute="value"/>
+	<PARAMETER id="parambpartner" name="bpartner" attribute="value"/>
+	<PARAMETER id="paramVacio" name="vacio" default=""/>
+<PARAMETER id="parammWarehouseId" name="mWarehouseId" default=""/>
+	<SUBREPORT id="reportC_UOM_ID" name="reportC_UOM_ID" report="org/openbravo/erpCommon/reference/List">
+		<ARGUMENT name="parameterListSelected" withId="paramVacio"/>
+	</SUBREPORT>
+	<SUBREPORT id="reportM_WAREHOUSE_ID" name="reportM_WAREHOUSE_ID" report="org/openbravo/erpCommon/reference/List">
+<ARGUMENT name="parameterListSelected" withId="parammWarehouseId"/></SUBREPORT>
+
+	<SUBREPORT id="reportM_LOCATOR_X" name="reportM_LOCATOR_X" report="org/openbravo/erpCommon/reference/List">
+		<ARGUMENT name="parameterListSelected" withId="paramVacio"/>
+	</SUBREPORT>
+
+
+
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Receipt_data.xsql	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+<SqlClass name="CreateFromMultipleReceiptData" package="org.openbravo.erpCommon.ad_actionButton">
+  <SqlMethod name="select" type="preparedStatement" connection="true" return="multiple">
+    <SqlMethodComment>Principal select</SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT L.M_LOCATOR_ID, '' as ID, ad_column_identifier('M_LOCATOR',to_char(L.M_LOCATOR_ID),?) AS NAME  
+        FROM M_LOCATOR L 
+        WHERE L.AD_CLIENT_ID IN ('1')
+        AND L.AD_ORG_ID IN ('1')
+        AND L.M_WAREHOUSE_ID = ? 
+        AND L.ISACTIVE = 'Y' 
+        AND NOT EXISTS(SELECT 1 FROM M_STORAGE_DETAIL S
+        WHERE S.M_LOCATOR_ID = L.M_LOCATOR_ID 
+        AND S.QTYONHAND > 0)
+        AND NOT EXISTS(SELECT 1 FROM M_INOUTLINE IL, M_INOUT M
+        WHERE IL.M_LOCATOR_ID = L.M_LOCATOR_ID
+        AND IL.M_INOUT_ID = M.M_INOUT_ID
+        AND M.PROCESSED ='N')
+        AND NOT EXISTS(SELECT 1 FROM M_MOVEMENTLINE ML, M_MOVEMENT MV
+        WHERE ML.M_LOCATORTO_ID = L.M_LOCATOR_ID
+        AND ML.M_MOVEMENT_ID = MV.M_MOVEMENT_ID
+        AND MV.PROCESSED ='N')
+        AND 1=1
+        ORDER BY L.PRIORITYNO, L.X, L.Y, L.Z
+      ]]>
+    </Sql>
+    <Parameter name="adLanguage"/>
+    <Parameter name="adUserClient" type="replace" optional="true" after="L.AD_CLIENT_ID IN (" text="'1'"/>
+    <Parameter name="adOrgClient" type="replace" optional="true" after="L.AD_ORG_ID IN (" text="'1'"/>
+    <Parameter name="mWarehouseId"/>
+    <Parameter name="mLocatorId" optional="true" after="AND L.ISACTIVE = 'Y' " text=" AND L.X = ? "/>
+  </SqlMethod>
+  <SqlMethod name="selectM_Locator_X" type="preparedStatement" return="multiple">
+    <SqlMethodComment>Ids and Names of table dir M_Locator</SqlMethodComment>
+    <Sql><![CDATA[
+      SELECT DISTINCT M_Locator.X as id, M_Locator.X as name 
+      FROM M_Locator, M_Warehouse
+      WHERE M_Warehouse.M_Warehouse_Id = M_Locator.M_Warehouse_Id
+      AND M_Locator.isActive = 'Y'
+      AND  M_Warehouse.M_WAREHOUSE_ID = ? 
+      ORDER BY M_Locator.X
+    ]]></Sql>
+    <Parameter name="warehouse"/>
+  </SqlMethod>
+  <SqlMethod name="insert" connection="true" type="preparedStatement" return="rowCount">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        INSERT INTO M_INOUTLINE (M_INOUTLINE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, LINE, 
+        DESCRIPTION, M_INOUT_ID, C_ORDERLINE_ID, M_LOCATOR_ID, M_PRODUCT_ID, C_UOM_ID, MOVEMENTQTY, ISINVOICED, 
+        M_ATTRIBUTESETINSTANCE_ID, ISDESCRIPTION, QUANTITYORDER, M_PRODUCT_UOM_ID) 
+        VALUES (?,?,?,'Y',NOW(),?,NOW(),?, (SELECT COALESCE(MAX(LINE),0) + 10 FROM M_INOUTLINE WHERE M_INOUT_ID=?),
+        NULL,?,NULL,?,?,?,TO_NUMBER(?),'N',
+        ?,'N',TO_NUMBER(?),?)
+      ]]>
+    </Sql>
+    <Parameter name="mInoutlineId"/>
+    <Parameter name="adClientId"/>
+    <Parameter name="adOrgId"/>
+    <Parameter name="adUserId"/>
+    <Parameter name="adUserId"/>
+    <Parameter name="mInoutId"/>
+    <Parameter name="mInoutId"/>
+    <Parameter name="mLocatorId"/>
+    <Parameter name="mProductId"/>
+    <Parameter name="cUomId"/>
+    <Parameter name="movementqty"/>
+    <Parameter name="mAttributesetinstanceId"/>
+    <Parameter name="quantityorder"/>
+    <Parameter name="mProductUomId"/>
+  </SqlMethod>
+
+   <SqlMethod name="selectAccessibleWarehouses" type="preparedStatement" return="multiple">
+      <SqlMethodComment></SqlMethodComment>
+      <Sql>
+        SELECT M_Warehouse.M_Warehouse_ID as id, M_Warehouse.Name AS Name 
+        FROM M_Warehouse, AD_ORG , AD_ROLE_ORGACCESS
+        WHERE M_Warehouse.AD_ORG_ID = AD_ORG.AD_ORG_ID
+        AND AD_ORG.AD_ORG_ID = AD_ROLE_ORGACCESS.AD_ORG_ID
+        AND M_Warehouse.IsActive='Y' 
+        AND AD_ROLE_ORGACCESS.AD_ROLE_ID = ? 
+        AND M_Warehouse.AD_Client_ID = ? 
+        ORDER BY M_Warehouse.Value
+      </Sql>
+      <Parameter name="rol"/>
+      <Parameter name="client"/>
+   </SqlMethod>
+
+  </SqlClass>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.html	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,705 @@
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2011 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>Create from Multiple Shipment</title>
+  <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
+  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"></link>
+  <script language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirectory = "http://yourSite/web/";</script>
+  <script language="JavaScript" type="text/javascript" id="paramLanguage">  defaultLang = "en_US";</script>
+  <script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/openbravo/core.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/openbravo/widget/DataGrid.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/default/ValidationTextBox.js" type="text/javascript"></script>
+  <script language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></script>
+
+  <script type="text/javascript">
+  window.onunload = reloadOpener;
+  </script>
+
+  <script language="JavaScript" type="text/javascript">
+  function closeThisPage() {
+    top.close();
+    return true;
+  }
+
+  function submitThisPage(strCommand) {
+    if (validate(strCommand)) {
+      submitCommandForm(strCommand, false, null, 'CreateFromMultiple_FS.html', '_top');
+      return true;
+    }
+    return true;
+  }
+  </script>
+
+  <script language="JavaScript" type="text/javascript">
+  function displayLogic() {
+    if (inputValue(document.frmMain.inphasseconduom) == 1) {
+      displayLogicElement('paramUOMOrder', true);
+    } else {
+      displayLogicElement('paramUOMOrder', false);
+    }
+  }
+
+  function markAllData(chk, bolMark)
+  {
+    if (bolMark==null) bolMark = false;
+    if (!chk) return false;
+    else if (!chk.length) {
+      chk.checked = bolMark;
+      loadData(chk.value, bolMark);
+    } else {
+      var total = chk.length;
+      for (var i=0;i<total;i++) {
+        chk[i].checked = bolMark;
+        loadData(chk[i].value, bolMark);
+      }
+    }
+    return true;
+  }
+
+  function loadData(value, enable) {
+    if (enable == null) enable = false;
+    document.frmMain.elements["inpmovementqty" + value].disabled = !enable;
+    document.frmMain.elements["inpquantityorder" + value].disabled = !enable;
+    return true;
+  }
+
+  function validate(action) {
+    var frm=document.frmMain;
+    return true;
+  }
+
+  function onloadFunctions() {
+    keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value, 'Command', 'KEY');", "inpcBpartnerId_DES", "null"); 
+    keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/ProductComplete.html', 'SELECTOR_PRODUCT', false, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value, 'Command', 'KEY');", "inpmProductId_DES", "null");
+  }
+  </script>
+  <script language="JavaScript" type="text/javascript">
+  function onLoadDo(){
+    this.windowTables = new Array(
+      new windowTableId('client_top', null, 'buttonSearch'),
+      new windowTableId('client_middle', null, 'buttonOK')
+    );
+    setWindowTableParentElement();
+    enableShortcuts('popup');
+    setBrowserAutoComplete(false);
+
+    try {
+      onloadFunctions();
+    } catch (e) {}
+
+    resizeAreaCreateFrom();
+    setWindowElementFocus('firstElement');
+  }
+
+  function onResizeDo(){
+    resizeAreaCreateFrom();
+  }
+  </script>
+</head>
+
+<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();" >
+<form id="form" method="post" action="../ad_actionButton/CreateFromMultiple_F1.html" name="frmMain">
+  <input type="hidden" name="Command"/>
+  <input type="hidden" name="inpLastFieldChanged"/>
+  <input type="hidden" name="inphasseconduom" value="0"/>
+  <input type="hidden" name="inpmInoutId" value="" id="paramKey"/>
+  <input type="hidden" name="inpWindowId" value="" id="paramWindowId"/> 
+  <input type="hidden" name="inpTabId" value="" id="paramTabId"/>
+  <input type="hidden" name="inpissotrx" value="" id="paramisSOTrx"/>
+
+  <div class="Popup_ContentPane_CircleLogo">
+    <div class="Popup_WindowLogo">
+      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border="0"/>
+    </div>
+  </div>
+
+  <table cellspacing="0" cellpadding="0" width="100%" id="table_header">
+    <tr>
+      <td>
+        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
+          <tr class="Popup_NavBar_bg"><td></td>
+            <td class="Popup_NavBar_separator_cell"></td>
+            <td class="Popup_NavBar_bg_logo_left"></td>
+            <td class="Popup_NavBar_bg_logo" width="1" onclick="openNewBrowser('http://www.openbravo.com', 'Openbravo');return false;"><img src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
+            <td class="Popup_NavBar_bg_logo_right"></td>
+            <td class="Popup_NavBar_Popup_title_cell"><span>Create from Multiple Shipment</span></td>
+            <td class="Popup_NavBar_separator_cell"></td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+
+    <tr>
+      <td>
+        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
+          <tr>
+            <td class="Popup_SeparatorBar_bg"></td>
+          </tr>
+        </table>
+      </td>
+    </tr>
+
+  </table>
+
+  <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxHIDDEN">
+  <tbody>
+  <tr class="MessageBox_TopMargin">
+    <td class="MessageBox_LeftMargin"></td>
+
+    <td></td>
+    <td class="MessageBox_RightMargin"></td>
+  </tr>
+  <tr>
+    <td class="MessageBox_LeftMargin"></td>
+    <td>
+
+      <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
+        <tbody>
+
+        <tr>
+          <td class="MessageBox_LeftTrans">
+            <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
+              <tbody>
+              <tr>
+                <td class="MessageBox_TopLeft"></td>
+              </tr>
+              <tr>
+                <td class="MessageBox_Left"></td>
+              </tr>
+              </tbody>
+            </table>
+          </td>
+          <td class="MessageBox_bg">
+
+            <table class="MessageBox_Top">
+            <tbody>
+
+              <tr>
+                <td>
+                  <span>
+                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
+                    <tbody>
+                    <tr>
+                      <td class="MessageBox_Icon_ContentCell">
+                        <div class="MessageBox_Icon"></div>
+                      </td>
+
+                      <td style="vertical-align: top;" id="messageBoxIDContent">
+                        <span>
+                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle"></div>
+                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage"></div>
+                          <div class="MessageBox_TextSeparator"></div>
+                        </span>
+                      </td><script language="JavaScript" type="text/javascript">
+function closeThisPage() {
+	top.close();
+	return true;
+}
+
+function submitThisPage(strCommand) {
+	if (parent.frameButton.validater(strCommand)) {
+		parent.frameButton.submitCommandForm(strCommand, false, null, 'CreateFromMultiple_FS.html', '_top');
+		return true;
+	}
+	return true;
+}
+</script>
+                    </tr>
+                    </tbody>
+
+                  </table>
+                  </span>
+                </td>
+              </tr>
+              </tbody>
+            </table>
+
+          </td>
+          <td class="MessageBox_RightTrans">
+            <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
+              <tbody>
+              <tr>
+                <td class="MessageBox_TopRight"></td>
+              </tr>
+              <tr>
+                <td class="MessageBox_Right"></td>
+              </tr>
+              </tbody>
+            </table>
+          </td>
+        </tr>
+        <tr>
+          <td rowspan="2" class="MessageBox_BottomLeft">
+          </td>
+          <td class="MessageBox_BottomTrans MessageBox_bg">
+          </td>
+
+          <td rowspan="2" class="MessageBox_BottomRight">
+          </td>
+        </tr>
+        <tr>
+          <td class="MessageBox_Bottom">
+          </td>
+        </tr>
+        </tbody>
+      </table>
+
+    </td>
+    <td class="MessageBox_RightMargin"></td>
+  </tr>
+  <tr class="MessageBox_BottomMargin">
+    <td class="MessageBox_LeftMargin"></td>
+    <td></td>
+    <td class="MessageBox_RightMargin"></td>
+  </tr>
+
+  </tbody>
+  </table>
+
+  <table cellspacing="0" cellpadding="0" width="100%">
+    <tr>
+      <td>
+        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client_top">
+          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
+
+            <tr>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+            </tr>
+
+            <tr>
+              <td colspan="6">
+                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
+                  <tr class="FieldGroup_TopMargin"></tr>
+                  <tr>
+                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                    <td class="FieldGroupTitle">Primary Filters</td>
+                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
+                    <td class="FieldGroupContent"></td>
+                  </tr>
+                  <tr class="FieldGroup_BottomMargin"></tr>
+                </table>
+              </td>
+            </tr>
+
+            <tr> 
+              <td class="TitleCell"><span class="LabelText">Business Partner</span></td>
+              <td class="TextBox_btn_ContentCell" colspan="2">
+                <table border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
+                  <tr>
+                    <td class="TextBox_ContentCell">
+                      <input type="hidden" name="inpcBpartnerId" id="fieldBPartnerID" value=""/>
+                      <input class="dojoValidateValid TextBox_btn_TwoCells_width" type="text" name="inpcBpartnerId_DES" id="fieldBPartnerID_DES" maxlength="20" value=""/>
+                    </td>
+                    <td class="FieldButton_ContentCell">
+                      <a class="FieldButtonLink" href="#"
+                        onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;"
+                        onblur="window.status=''; return true;"
+                        onkeypress="this.className='FieldButtonLink_active'; return true;"
+                        onkeyup="this.className='FieldButtonLink_focus'; return true;"
+                        onclick="openSearch(null, null, '../info/BusinessPartner.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value);return false;">
+                        <table class="FieldButton"
+                          onmousedown="this.className='FieldButton_active'; return true;"
+                          onmouseup="this.className='FieldButton'; return true;"
+                          onmouseover="this.className='FieldButton_hover'; window.status='Business Partner'; return true;"
+                          onmouseout="this.className='FieldButton'; window.status=''; return true;">
+                          <tr>
+                            <td class="FieldButton_bg">
+                              <img id="buttonBusinessPartner" alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0"/>
+                            </td>
+                          </tr>
+                        </table>
+                      </a>
+                    </td>
+                  </tr>
+                </table>
+              </td>
+
+              <td class="TitleCell"><span class="LabelText">Product</span></td>
+              <td class="TextBox_btn_ContentCell" colspan="2">
+
+                <table border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
+                  <tr>
+                    <td class="TextBox_ContentCell">
+                      <input class="dojoValidateValid TextBox_btn_TwoCells_width" type="text" name="inpmProductId_DES" id="fieldProductID_DES" maxlength="20" value=""/>
+                      <input type="hidden" name="inpmProductId" value="" id="fieldProductID"/>
+                    </td>
+                    <td class="FieldButton_ContentCell">
+                      <a class="FieldButtonLink" href="#"
+                        onfocus="setWindowElementFocus(this); window.status='Product'; return true;"
+                        onblur="window.status=''; return true;"
+                        onkeypress="this.className='FieldButtonLink_active'; return true;"
+                        onkeyup="this.className='FieldButtonLink_focus'; return true;"
+                        onclick="openSearch(null, null, '../info/Product.html', 'SELECTOR_PRODUCT', false, 'frmMain', 'inpmProductId', 'inpmProductId_DES', document.frmMain.inpmProductId_DES.value);return false;">
+                        <table class="FieldButton"
+                          onmousedown="this.className='FieldButton_active'; return true;"
+                          onmouseup="this.className='FieldButton'; return true;"
+                          onmouseover="this.className='FieldButton_hover'; window.status='Product'; return true;"
+                          onmouseout="this.className='FieldButton'; window.status=''; return true;">
+                          <tr>
+                            <td class="FieldButton_bg">
+                              <img alt="Product" class="FieldButton_Icon FieldButton_Icon_Product" title="Product" src="../../../../../web/images/blank.gif" border="0"/>
+                            </td>
+                          </tr>
+                        </table>
+                      </a>
+                    </td>
+                  </tr>
+                </table>
+              </td>
+	        </tr>
+
+            <tr> 
+              <td class="TitleCell"><span class="LabelText">Warehouse</span></td>
+              <td class="Combo_ContentCell" colspan="5">
+                <select class="Combo Combo_OneCell_width" name="inpmWarehouseId"  id="inpmWarehouseId">
+    			  <option value=""></option>
+    			  <div id="reportM_WAREHOUSE_ID" />
+                </select>
+              </td>
+	        </tr>
+	        <tr>
+		      <td class="TitleCell" id="fieldx_lbl_td"><span class="LabelText" id="fieldx_lbl">Corridor</span></td>
+		      <td class="TextBox_btn_ContentCell" id="fieldx_inp_td">
+		        <div id="editDiscard">
+		          <div id="fieldx_inp">
+		            <table border="0" cellpadding="0" cellspacing="0">
+		              <tr>
+                        <td class="TextBox_ContentCell">
+                          <table style="border:0px;border-collapse:collapse;">
+		                    <tr>
+		                      <td style="padding-top: 0px;">
+		                        <input type="text" id="fieldx" class="dojoValidateValid TextBox_OneCell_width" required="false" value="" size="5" maxlength="10" name="inpx" onkeyup="" onkeypress="changeToEditingMode();" onchange="validateTextBox(this.id);logChanges(this);return true;"/>
+		                      </td>
+		                    </tr>
+		                  </table>
+
+				          <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldxinvalidSpan">
+		                    <table class="TextBox_MsgContainer_table">
+		                      <tr class="TextBox_MsgContainer_tr">
+		                        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+		                      </tr>
+		                      <tr>
+		                        <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="fieldxinvalidSpanText">* The value entered is not valid.</div></td>
+		                      </tr>
+		                    </table>
+		                  </span>
+
+  		                  <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldxmissingSpan">
+		                    <table class="TextBox_MsgContainer_table">
+		                      <tr class="TextBox_MsgContainer_tr">
+		                        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+		                      </tr>
+		                      <tr>
+		                        <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="fieldxmissingSpanText">* This value is required.</div></td>
+		                      </tr>
+		                    </table>
+		                  </span>
+
+                          <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldxrangeSpan">
+		                    <table class="TextBox_MsgContainer_table">
+		                      <tr class="TextBox_MsgContainer_tr">
+		                        <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+		                      </tr>
+		                      <tr>
+		                        <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="fieldxrangeSpanText">* This value is out of range.</div></td>
+		                      </tr>
+		                    </table>
+		                  </span>
+
+                        </td>
+                      </tr>
+                    </table>
+                  </div>
+                </div>
+              </td>
+
+
+
+              <td class="TitleCell" id="fieldy_lbl_td"><span class="LabelText" id="fieldy_lbl">Height</span></td>
+              <td class="TextBox_btn_ContentCell" id="fieldy_inp_td"><div id="editDiscard">
+                <div id="fieldy_inp">
+                  <table border="0" cellpadding="0" cellspacing="0">
+                    <tr>
+                      <td class="TextBox_ContentCell">
+
+                        <table style="border:0px;border-collapse:collapse;">
+                          <tr>
+                            <td style="padding-top: 0px;">
+                              <input type="text" id="fieldy" class="dojoValidateValid TextBox_OneCell_width" required="false" value="" size="5" maxlength="10" name="inpy" onkeyup="" onkeypress="changeToEditingMode();" onchange="validateTextBox(this.id);logChanges(this);return true;"/>
+                            </td>
+                          </tr>
+                        </table>
+
+                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldyinvalidSpan">
+                          <table class="TextBox_MsgContainer_table">
+                            <tr class="TextBox_MsgContainer_tr">
+                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+                            </tr>
+                            <tr>
+                              <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="fieldyinvalidSpanText">* The value entered is not valid.</div></td>
+                            </tr>
+                          </table>
+                        </span>
+
+                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldymissingSpan">
+                          <table class="TextBox_MsgContainer_table">
+                            <tr class="TextBox_MsgContainer_tr">
+                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+                            </tr>
+                            <tr>
+                              <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="fieldymissingSpanText">* This value is required.</div></td>
+                            </tr>
+                          </table>
+                        </span>
+
+                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldyrangeSpan">
+                          <table class="TextBox_MsgContainer_table">
+                            <tr class="TextBox_MsgContainer_tr">
+                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+                            </tr>
+                            <tr>
+                              <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="fieldyrangeSpanText">* This value is out of range.</div></td>
+                            </tr>
+                          </table>
+                        </span>
+
+                      </td>
+                    </tr>
+                  </table>
+                </div>
+		        </div>
+		      </td>
+
+              <td class="TitleCell" id="fieldz_lbl_td"><span class="LabelText" id="fieldz_lbl">Location</span></td>
+              <td class="TextBox_btn_ContentCell" id="fieldy_inp_td"><div id="editDiscard">
+                <div id="fieldy_inp">
+                  <table border="0" cellpadding="0" cellspacing="0">
+                    <tr>
+                      <td class="TextBox_ContentCell">
+
+		                <table style="border:0px;border-collapse:collapse;">
+                          <tr>
+                            <td style="padding-top: 0px;">
+                              <input type="text" id="fieldz" class="dojoValidateValid TextBox_OneCell_width" required="false" value="" size="5" maxlength="10" name="inpz" onkeyup="" onkeypress="changeToEditingMode();" onchange="validateTextBox(this.id);logChanges(this);return true;"/>
+                            </td>
+                          </tr>
+                        </table>
+
+                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldzinvalidSpan">
+                          <table class="TextBox_MsgContainer_table">
+                            <tr class="TextBox_MsgContainer_tr">
+                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+                            </tr>
+                            <tr>
+                              <td colspan="2" class="invalid"><div class="TextBox_MsgContainer_div2" id="fieldzinvalidSpanText">* The value entered is not valid.</div></td>
+                            </tr>
+                          </table>
+                        </span>
+
+                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldzmissingSpan">
+                          <table class="TextBox_MsgContainer_table">
+                            <tr class="TextBox_MsgContainer_tr">
+                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+                            </tr>
+                            <tr>
+                              <td colspan="2" class="missing"><div class="TextBox_MsgContainer_div2" id="fieldzmissingSpanText">* This value is required.</div></td>
+                            </tr>
+                          </table>
+                        </span>
+
+                        <span class="TextBox_MsgContainer_span" style="display: none;" id="fieldzrangeSpan">
+                          <table class="TextBox_MsgContainer_table">
+                            <tr class="TextBox_MsgContainer_tr">
+                              <td class="TextBox_MsgContainer_td"><div class="TextBox_MsgContainer_div"></div></td><td></td>
+                            </tr>
+                            <tr>
+                              <td colspan="2" class="range"><div class="TextBox_MsgContainer_div2" id="fieldzrangeSpanText">* This value is out of range.</div></td>
+                            </tr>
+                          </table>
+                        </span>
+
+                      </td>
+                    </tr>
+                  </table>
+                </div>
+                </div>
+              </td>
+            </tr>
+
+            <tr>
+              <td></td>
+              <td class="Button_LeftAlign_ContentCell">
+                <div>
+                  <button type="button" 
+                    id="buttonSearch" 
+                    class="ButtonLink" 
+                    onclick="removeOnUnload();submitCommandForm('FIND', true);return false;" 
+                    onfocus="buttonEvent('onfocus', this); window.status='Search'; return true;" 
+                    onblur="buttonEvent('onblur', this);" 
+                    onkeyup="buttonEvent('onkeyup', this);" 
+                    onkeydown="buttonEvent('onkeydown', this);" 
+                    onkeypress="buttonEvent('onkeypress', this);" 
+                    onmouseup="buttonEvent('onmouseup', this);" 
+                    onmousedown="buttonEvent('onmousedown', this);" 
+                    onmouseover="buttonEvent('onmouseover', this); window.status='Search'; return true;" 
+                    onmouseout="buttonEvent('onmouseout', this);">
+                    <table class="Button">
+                      <tr>
+                        <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border="0" /></td>
+                        <td class="Button_text Button_width">Search</td>
+                        <td class="Button_right"></td>
+                      </tr>
+                    </table>
+                  </button>
+                </div>
+              </td>
+              <td></td>
+              <td></td>
+              <td></td>
+              <td></td>
+            </tr>
+        </table>
+      </div>
+    </td>
+  </tr>
+    <tr>
+      <td>
+        <div class="Popup_ContentPane_Client" style="overflow: auto; display: none" id="client_middle">
+          <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;"  >
+            <tr class="DataGrid_Body_Row"> 
+              <th class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox" width="2%" > <span class="Checkbox_container_NOT_Focused"><input type="checkbox" name="inpTodos" onclick="markAllData(document.frmMain.inpmStorageDetailId, this.checked);return true;"/></span>
+              </th>
+              <th class="DataGrid_Header_Cell" width="35%">Product</th>
+              <th class="DataGrid_Header_Cell" width="5%">Locator</th>
+              <th class="DataGrid_Header_Cell" width="19%">Attribute</th>
+              <th class="DataGrid_Header_Cell" width="12%">Quantity</th>
+              <th class="DataGrid_Header_Cell" width="8%">Unit</th>
+              <th class="DataGrid_Header_Cell" width="11%">Quant. of order</th>
+              <th class="DataGrid_Header_Cell" width="8%">Order No.</th>
+            </tr>
+            <div id="sectionDetail"> 
+              <tr id="funcEvenOddRowxx" class="DataGrid_Body_Row DataGrid_Body_Row_yy"> 
+                <td class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox"> <span class="Checkbox_container_NOT_Focused"><input type="checkbox" name="inpmStorageDetailId" value="" id="fieldmStorageDetailId" onclick="loadData(this.value, this.checked);return true;"/></span></td>
+                <td class="DataGrid_Body_Cell" id="fieldProduct">xx</td>
+                <td class="DataGrid_Body_Cell" id="fieldLocator">xx</td>
+                <td class="DataGrid_Body_Cell" id="fieldAttribute">xx</td>
+                <td class="DataGrid_Body_Cell"> <input name="inpmovementqtyxx" type="text" id="fieldMovementQty" size="8" value="0" outputformat="qtyEdition" onfocus="numberInputEvent('onfocus', this);" onblur="numberInputEvent('onblur', this);" onkeydown="numberInputEvent('onkeydown', this, event);" onchange="numberInputEvent('onchange', this);" disabled="" /></td>
+                <td class="DataGrid_Body_Cell" id="fieldUOM">xx</td>
+                <td class="DataGrid_Body_Cell"> <input name="inpquantityorderxx" type="text" id="fieldQuantityOrder" size="8" value="0" outputformat="qtyEdition" onfocus="numberInputEvent('onfocus', this);" onblur="numberInputEvent('onblur', this);" onkeydown="numberInputEvent('onkeydown', this, event);" onchange="numberInputEvent('onchange', this);" disabled="" /></td>
+                <td class="DataGrid_Body_Cell" id="fieldProductUOM">xx</td>
+              </tr>
+            </div>
+          </table>
+        </div>
+      </td>
+    </tr>
+  <tr>
+      <td>
+        <div class="Popup_ContentPane_Client" style="overflow: auto; padding-bottom: 5px;" id="client_bottom">
+          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
+
+            <tr>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+              <td class="TableEdition_OneCell_width"></td>
+            </tr>
+            <tr>
+              <td></td>
+              <td></td>
+              <td class="Button_RightAlign_ContentCell">
+                <div>
+                  <button type="button" 
+                    id="buttonOK" 
+                    class="ButtonLink" 
+                    onclick="submitThisPage('SAVE');return false;" 
+                    onfocus="buttonEvent('onfocus', this); window.status='Accept'; return true;" 
+                    onblur="buttonEvent('onblur', this);" 
+                    onkeyup="buttonEvent('onkeyup', this);" 
+                    onkeydown="buttonEvent('onkeydown', this);" 
+                    onkeypress="buttonEvent('onkeypress', this);" 
+                    onmouseup="buttonEvent('onmouseup', this);" 
+                    onmousedown="buttonEvent('onmousedown', this);" 
+                    onmouseover="buttonEvent('onmouseover', this); window.status='Accept'; return true;" 
+                    onmouseout="buttonEvent('onmouseout', this);">
+                    <table class="Button">
+                      <tr>
+                        <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border="0" /></td>
+                        <td class="Button_text Button_width">OK</td>
+                        <td class="Button_right"></td>
+                      </tr>
+                    </table>
+                  </button>
+                </div>
+              </td>
+              <td class="Button_LeftAlign_ContentCell">
+                <div>
+                  <button type="button" 
+                    id="buttonCancel" 
+                    class="ButtonLink" 
+                    onclick="closeThisPage();return false;" 
+                    onfocus="buttonEvent('onfocus', this); window.status='Cancel'; return true;" 
+                    onblur="buttonEvent('onblur', this);" 
+                    onkeyup="buttonEvent('onkeyup', this);" 
+                    onkeydown="buttonEvent('onkeydown', this);" 
+                    onkeypress="buttonEvent('onkeypress', this);" 
+                    onmouseup="buttonEvent('onmouseup', this);" 
+                    onmousedown="buttonEvent('onmousedown', this);" 
+                    onmouseover="buttonEvent('onmouseover', this); window.status='Cancel'; return true;" 
+                    onmouseout="buttonEvent('onmouseout', this);">
+                    <table class="Button">
+                      <tr>
+                        <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border="0" /></td>
+                        <td class="Button_text Button_width">Cancel</td>
+                        <td class="Button_right"></td>
+                      </tr>
+                    </table>
+                  </button>
+                </div>
+              </td>
+              <td></td>
+              <td></td>
+            </tr>
+          </table>
+        </div>
+      </td>
+    </tr> 
+  </table>
+
+</form>
+</body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment.xml	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+<REPORT>
+	<template file="CreateFromMultiple_Shipment.html"/>
+	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"></PARAMETER>
+	<PARAMETER id="paramDirectory" name="directory" default=""/>
+	<PARAMETER id="paramLanguage" name="language" default=""/>
+	<PARAMETER id="paramKey" name="key" attribute="value"/>
+	<PARAMETER id="paramWindowId" name="windowId" attribute="value"/>
+	<PARAMETER id="paramTabId" name="tabId" attribute="value"/>
+	<PARAMETER id="paramisSOTrx" name="sotrx" attribute="value"/>
+	<PARAMETER id="paramM_Warehouse_ID" name="mWarehouseId" default=""/>
+	<PARAMETER id="paramVacio" name="vacio" default=""/>
+	<PARAMETER id="fieldBPartnerID" name="bpartnerId" attribute="value"/>
+	<PARAMETER id="fieldBPartnerID_DES" name="bpartnerId_DES" attribute="value"/>
+	<PARAMETER id="fieldProductID" name="productId" attribute="value"/>
+	<PARAMETER id="fieldProductID_DES" name="productId_DES" attribute="value"/>
+	<PARAMETER id="fieldx" name="x" attribute="value"/>
+	<PARAMETER id="fieldy" name="y" attribute="value"/>
+	<PARAMETER id="fieldz" name="z" attribute="value"/>
+	<PARAMETER id="param2" name="param2" default="2"/>
+	
+	<SUBREPORT id="reportM_WAREHOUSE_ID" name="reportM_WAREHOUSE_ID" report="org/openbravo/erpCommon/reference/List">
+		<ARGUMENT name="parameterListSelected" withId="paramM_Warehouse_ID"/>
+	</SUBREPORT>
+	
+	<structure name="structure1">
+		<FIELD id="fieldRownum1">rownum</FIELD>
+    	<FUNCTION id="funcEvenOddRowxx" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
+		<FIELD id="funcEvenOddRowxx" attribute="id" replace="xx">rownum</FIELD>
+		<FIELD id="fieldmStorageDetailId" attribute="value">mStorageDetailId</FIELD>
+		<FIELD id="fieldProduct">name</FIELD>
+		<FIELD id="fieldLocator">mLocatorId</FIELD>
+		<FIELD id="fieldAttribute">description</FIELD>
+		<FIELD id="fieldUOM">uom1</FIELD>
+		<FIELD id="fieldProductUOM">uom2</FIELD>
+		<FIELD id="fieldMovementQty" attribute="value" format="qtyEdition">qtyonhand</FIELD>
+		<FIELD id="fieldMovementQty" attribute="name" replace="xx">mStorageDetailId</FIELD>
+		<FIELD id="fieldQuantityOrder" attribute="value" format="qtyEdition" default="0">qtyorderonhand</FIELD>
+		<FIELD id="fieldQuantityOrder" attribute="name" replace="xx">mStorageDetailId</FIELD>
+		<SECTION id="sectionDetail"/>
+	</structure>
+</REPORT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFromMultiple_Shipment_data.xsql	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+-->
+
+
+
+
+
+<SqlClass name="CreateFromMultipleShipmentData" package="org.openbravo.erpCommon.ad_actionButton">
+  <SqlMethod name="select" type="preparedStatement" return="multiple">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT S.M_STORAGE_DETAIL_ID, P.NAME, ad_column_identifier(TO_CHAR('M_LOCATOR'),TO_CHAR(S.M_LOCATOR_ID),TO_CHAR(?)) as M_LOCATOR_ID, A.DESCRIPTION, U1.NAME AS UOM1, U2.NAME AS UOM2, 
+        S.QTYONHAND, S.QTYORDERONHAND as QTYORDERONHAND
+        FROM M_STORAGE_DETAIL S left join M_ATTRIBUTESETINSTANCE A on S.M_ATTRIBUTESETINSTANCE_ID = A.M_ATTRIBUTESETINSTANCE_Id
+                                left join M_PRODUCT_UOM PU         on S.M_PRODUCT_UOM_ID = PU.M_PRODUCT_UOM_ID
+                                left join C_UOM U2                 ON  PU.C_UOM_ID  = U2.C_UOM_ID ,
+        M_PRODUCT P,  C_UOM U1,  
+        M_LOCATOR L 
+        WHERE S.M_PRODUCT_ID = P.M_PRODUCT_ID 
+        AND S.C_UOM_ID = U1.C_UOM_ID 
+        AND S.M_LOCATOR_ID = L.M_LOCATOR_ID 
+        AND S.AD_CLIENT_ID IN ('1') 
+        AND S.QTYONHAND <> 0
+        ORDER BY P.NAME, L.PRIORITYNO, L.X, L.Y, L.Z 
+      ]]>
+    </Sql>
+    <Field name="rownum" value="count"/>
+    <Parameter name="adLanguage"/>
+    <Parameter name="bpartner" optional="true" after="WHERE " text=" P.C_BPARTNER_ID = ? AND "/>
+    <Parameter name="product" optional="true" after="WHERE " text=" S.M_PRODUCT_ID = ? AND "/>
+    <Parameter name="warehouse" optional="true" after="WHERE " text=" L.M_WAREHOUSE_ID = ? AND "/>
+    <Parameter name="x" optional="true" after="WHERE " text=" L.X = ? AND "/>
+    <Parameter name="y" optional="true" after="WHERE " text=" L.Y = ? AND "/>
+    <Parameter name="z" optional="true" after="WHERE " text=" L.Z = ? AND "/>
+    <Parameter name="adUserClient" type="replace" optional="true" after="S.AD_CLIENT_ID IN (" text="'1'"/>
+  </SqlMethod>
+  <SqlMethod name="bpartnerDescription" type="preparedStatement" return="String" default="">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql><![CDATA[
+      SELECT NAME FROM C_BPARTNER WHERE C_BPARTNER_ID = ?
+    ]]></Sql>
+    <Parameter name="cBpartnerId"/>
+  </SqlMethod>
+  <SqlMethod name="productDescription" type="preparedStatement" return="String" default="">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql><![CDATA[
+      SELECT NAME FROM M_PRODUCT WHERE M_PRODUCT_ID = ?
+    ]]></Sql>
+    <Parameter name="mProductId"/>
+  </SqlMethod>
+  <SqlMethod name="insert" connection="true" type="preparedStatement" return="rowCount">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        INSERT INTO M_INOUTLINE (M_INOUTLINE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, LINE, 
+        DESCRIPTION, M_INOUT_ID, C_ORDERLINE_ID, M_LOCATOR_ID, M_PRODUCT_ID, C_UOM_ID, MOVEMENTQTY, ISINVOICED,
+        M_ATTRIBUTESETINSTANCE_ID, ISDESCRIPTION, QUANTITYORDER, M_PRODUCT_UOM_ID) 
+        SELECT ?,?,?,'Y',now(),?,now(),?,(SELECT COALESCE(MAX(LINE),0) + 10 FROM M_INOUTLINE WHERE M_INOUT_ID=?),
+        NULL,?,NULL,M_LOCATOR_ID,M_PRODUCT_ID,C_UOM_ID,TO_NUMBER(?),'N',
+        M_ATTRIBUTESETINSTANCE_ID,'N',TO_NUMBER(?),M_PRODUCT_UOM_ID
+        FROM M_STORAGE_DETAIL 
+        WHERE M_STORAGE_DETAIL_ID = ? 
+      ]]>
+    </Sql>
+    <Parameter name="mInoutlineId"/>
+    <Parameter name="adClientId"/>
+    <Parameter name="adOrgId"/>
+    <Parameter name="adUserId"/>
+    <Parameter name="adUserId"/>
+    <Parameter name="mInoutId"/>
+    <Parameter name="mInoutId"/>
+    <Parameter name="movementqty"/>
+    <Parameter name="quantityorder"/>
+    <Parameter name="mStorageDetailId"/>
+  </SqlMethod>
+  </SqlClass>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Conversion.java	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,138 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.erpCommon.ad_callouts;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.math.BigDecimal;
+import java.math.RoundingMode;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.utils.FormatUtilities;
+import org.openbravo.xmlEngine.XmlDocument;
+
+public class SL_CreateFromMultiple_Conversion extends HttpSecureAppServlet {
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public void init(ServletConfig config) {
+    super.init(config);
+    boolHist = false;
+  }
+
+  @Override
+  public void doPost(HttpServletRequest request, HttpServletResponse response)
+      throws IOException, ServletException {
+    VariablesSecureApp vars = new VariablesSecureApp(request);
+    if (vars.commandIn("DEFAULT")) {
+      String strChanged = vars.getStringParameter("inpLastFieldChanged");
+      if (log4j.isDebugEnabled()) {
+        log4j.debug("CHANGED: " + strChanged);
+      }
+      String strUOM = vars.getStringParameter("inpcUomId");
+      String strMProductUOMID = vars.getStringParameter("inpmProductUomId");
+      String strQuantityOrder = vars.getNumericParameter("inpquantityorder");
+      String strTabId = vars.getStringParameter("inpTabId");
+
+      try {
+        printPage(response, vars, strUOM, strMProductUOMID, strQuantityOrder, strTabId);
+      } catch (ServletException ex) {
+        pageErrorCallOut(response);
+      }
+    } else {
+      pageError(response);
+    }
+  }
+
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strUOM,
+      String strMProductUOMID, String strQuantityOrder, String strTabId)
+      throws IOException, ServletException {
+    String localStrUOM = strUOM;
+    if (log4j.isDebugEnabled()) {
+      log4j.debug("Output: dataSheet");
+    }
+    XmlDocument xmlDocument = xmlEngine
+        .readXmlTemplate("org/openbravo/erpCommon/ad_callouts/CallOut")
+        .createXmlDocument();
+    if (localStrUOM.startsWith("\"")) {
+      localStrUOM = localStrUOM.substring(1, localStrUOM.length() - 1);
+    }
+    int stdPrecision = Integer.valueOf(SLInvoiceConversionData.stdPrecision(this, localStrUOM))
+        .intValue();
+    String strInitUOM = SLInvoiceConversionData.initUOMId(this, strMProductUOMID);
+    String strMultiplyRate;
+    boolean check = false;
+
+    strMultiplyRate = SLInvoiceConversionData.multiplyRate(this, strInitUOM, localStrUOM);
+    if (strInitUOM.equals(localStrUOM)) {
+      strMultiplyRate = "1";
+    }
+    if (strMultiplyRate.equals("")) {
+      strMultiplyRate = SLInvoiceConversionData.divideRate(this, localStrUOM, strInitUOM);
+    }
+    if (strMultiplyRate.equals("")) {
+      strMultiplyRate = "1";
+      if (!strMProductUOMID.equals("")) {
+        check = true;
+      }
+    }
+
+    BigDecimal quantityOrder, movementQty, multiplyRate;
+
+    multiplyRate = new BigDecimal(strMultiplyRate);
+
+    StringBuffer resultado = new StringBuffer();
+    resultado.append("var frameDefault='frameButton';\n\n");
+    resultado.append("var calloutName='SL_CreateFromMultiple_Conversion';\n\n");
+    if (strMultiplyRate.equals("0")) {
+      resultado.append("var respuesta = null");
+    } else {
+      resultado.append("var respuesta = new Array(");
+      if (!strQuantityOrder.equals("")) {
+        quantityOrder = new BigDecimal(strQuantityOrder);
+        movementQty = quantityOrder.multiply(multiplyRate);
+        if (movementQty.scale() > stdPrecision) {
+          movementQty = movementQty.setScale(stdPrecision, RoundingMode.HALF_UP);
+        }
+        resultado.append("new Array(\"inpmovementqty\", " + movementQty.toString() + ")");
+      }
+      if (check) {
+        if (!strQuantityOrder.equals("")) {
+          resultado.append(",");
+        }
+        resultado.append("new Array('MESSAGE', \"" + FormatUtilities
+            .replaceJS(Utility.messageBD(this, "NoUOMConversion", vars.getLanguage())) + "\")");
+      }
+      resultado.append(");");
+    }
+    xmlDocument.setParameter("array", resultado.toString());
+    xmlDocument.setParameter("frameName", "appFrame");
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    out.println(xmlDocument.print());
+    out.close();
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Product.java	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,189 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2001-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.erpCommon.ad_callouts;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.data.FieldProvider;
+import org.openbravo.erpCommon.utility.ComboTableData;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.utils.FormatUtilities;
+import org.openbravo.xmlEngine.XmlDocument;
+
+public class SL_CreateFromMultiple_Product extends HttpSecureAppServlet {
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public void init(ServletConfig config) {
+    super.init(config);
+    boolHist = false;
+  }
+
+  @Override
+  public void doPost(HttpServletRequest request, HttpServletResponse response)
+      throws IOException, ServletException {
+    VariablesSecureApp vars = new VariablesSecureApp(request);
+    if (vars.commandIn("DEFAULT")) {
+      String strChanged = vars.getStringParameter("inpLastFieldChanged");
+      if (log4j.isDebugEnabled()) {
+        log4j.debug("CHANGED: " + strChanged);
+      }
+      String strLocator = vars.getStringParameter("inpmProductId_LOC");
+      String strQty = vars.getNumericParameter("inpmProductId_QTY");
+      String strUOM = vars.getStringParameter("inpmProductId_UOM");
+      String strAttribute = vars.getStringParameter("inpmProductId_ATR");
+      String strQtyOrder = vars.getNumericParameter("inpmProductId_PQTY");
+      String strPUOM = vars.getStringParameter("inpmProductId_PUOM");
+      String strMProductID = vars.getStringParameter("inpmProductId");
+      String strWindowId = vars.getStringParameter("inpWindowId");
+      String strIsSOTrx = Utility.getContext(this, vars, "isSOTrx", strWindowId);
+      String strWharehouse = Utility.getContext(this, vars, "#M_Warehouse_ID", strWindowId);
+      String strTabId = vars.getStringParameter("inpTabId");
+
+      try {
+        printPage(response, vars, strLocator, strQty, strUOM, strAttribute, strQtyOrder, strPUOM,
+            strMProductID, strIsSOTrx, strWharehouse, strTabId);
+      } catch (ServletException ex) {
+        pageErrorCallOut(response);
+      }
+    } else {
+      pageError(response);
+    }
+  }
+
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strLocator,
+      String strQty, String strUOM, String strAttribute, String strQtyOrder, String strPUOM,
+      String strMProductID, String strIsSOTrx, String strWharehouse, String strTabId)
+      throws IOException, ServletException {
+    String localStrPUOM = strPUOM;
+    if (log4j.isDebugEnabled()) {
+      log4j.debug("Output: dataSheet");
+    }
+    XmlDocument xmlDocument = xmlEngine
+        .readXmlTemplate("org/openbravo/erpCommon/ad_callouts/CallOut")
+        .createXmlDocument();
+
+    StringBuffer resultado = new StringBuffer();
+    resultado.append("var frameDefault='frameButton';\n\n");
+    resultado.append("var calloutName='SL_CreateFromMultiple_Product';\n\n");
+    resultado.append("var respuesta = new Array(");
+    /*
+     * if (strIsSOTrx.equals("Y")) { if (strLocator.startsWith("\""))
+     * strLocator=strLocator.substring(1,strLocator.length()-1);
+     * resultado.append("new Array(\"inpmLocatorId\", \"" + strLocator + "\"),");
+     * resultado.append("new Array(\"inpmLocatorId_R\", \"" + SLInOutLineProductData.locator(this,
+     * strLocator, vars.getLanguage()) + "\"),"); if (strAttribute.startsWith("\""))
+     * strAttribute=strAttribute.substring(1,strAttribute.length()-1);
+     * resultado.append("new Array(\"inpmAttributesetinstanceId\", \"" + strAttribute + "\"),");
+     * resultado.append("new Array(\"inpmAttributesetinstanceId_R\", \"" +
+     * SLInOutLineProductData.attribute(this, strAttribute) + "\"),");
+     * resultado.append("new Array(\"inpquantityorder\", " +
+     * (strQtyOrder.equals("")?"\"\"":strQtyOrder) + "),");
+     * resultado.append("new Array(\"inpmovementqty\", " + (strQty.equals("")?"\"\"":strQty) +
+     * "),"); }
+     */
+    String strHasSecondaryUOM = SLOrderProductData.hasSecondaryUOM(this, strMProductID);
+    resultado.append("new Array(\"inphasseconduom\", " + strHasSecondaryUOM + "),\n");
+    resultado.append("new Array(\"inpmProductUomId\", ");
+    if (localStrPUOM.startsWith("\"")) {
+      localStrPUOM = localStrPUOM.substring(1, localStrPUOM.length() - 1);
+    }
+    if (vars.getLanguage().equals("en_US")) {
+      FieldProvider[] tld = null;
+      try {
+        ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "", "M_Product_UOM",
+            "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLCreateFromMultipleProduct"),
+            Utility.getContext(this, vars, "#User_Client", "SLCreateFromMultipleProduct"), 0);
+        Utility.fillSQLParameters(this, vars, null, comboTableData, "SLCreateFromMultipleProduct",
+            "");
+        tld = comboTableData.select(false);
+        comboTableData = null;
+      } catch (Exception ex) {
+        throw new ServletException(ex);
+      }
+
+      if (tld != null && tld.length > 0) {
+        resultado.append("new Array(");
+        for (int i = 0; i < tld.length; i++) {
+          resultado.append("new Array(\"" + tld[i].getField("id") + "\", \""
+              + FormatUtilities.replaceJS(tld[i].getField("name")) + "\", \""
+              + (tld[i].getField("id").equalsIgnoreCase(localStrPUOM) ? "true" : "false") + "\")");
+          if (i < tld.length - 1) {
+            resultado.append(",\n");
+          }
+        }
+        resultado.append("\n)");
+      } else {
+        resultado.append("null");
+      }
+      resultado.append("\n),");
+    } else {
+      FieldProvider[] tld = null;
+      try {
+        ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "", "M_Product_UOM",
+            "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SLCreateFromMultipleProduct"),
+            Utility.getContext(this, vars, "#User_Client", "SLCreateFromMultipleProduct"), 0);
+        Utility.fillSQLParameters(this, vars, null, comboTableData, "SLCreateFromMultipleProduct",
+            "");
+        tld = comboTableData.select(false);
+        comboTableData = null;
+      } catch (Exception ex) {
+        throw new ServletException(ex);
+      }
+
+      if (tld != null && tld.length > 0) {
+        resultado.append("new Array(");
+        for (int i = 0; i < tld.length; i++) {
+          resultado.append("new Array(\"" + tld[i].getField("id") + "\", \""
+              + FormatUtilities.replaceJS(tld[i].getField("name")) + "\", \""
+              + (tld[i].getField("id").equalsIgnoreCase(localStrPUOM) ? "true" : "false") + "\")");
+          if (i < tld.length - 1) {
+            resultado.append(",\n");
+          }
+        }
+        resultado.append("\n)");
+      } else {
+        resultado.append("null");
+      }
+      resultado.append("\n),");
+    }
+    resultado.append("new Array(\"inpcUomId\", \"" + strUOM + "\"),\n");
+    resultado.append("new Array(\"EXECUTE\", \"displayLogic();\")\n");
+
+    resultado.append(");");
+
+    if (log4j.isDebugEnabled()) {
+      log4j.debug("Array: " + resultado.toString());
+    }
+    xmlDocument.setParameter("array", resultado.toString());
+    xmlDocument.setParameter("frameName", "frameButton");
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    out.println(xmlDocument.print());
+    out.close();
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Warehouse.java	Fri Feb 15 13:34:25 2019 +0100
@@ -0,0 +1,105 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2008-2010 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.erpCommon.ad_callouts;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+
+import javax.servlet.ServletConfig;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+import org.openbravo.base.secureApp.HttpSecureAppServlet;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.xmlEngine.XmlDocument;
+
+public class SL_CreateFromMultiple_Warehouse extends HttpSecureAppServlet {
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public void init(ServletConfig config) {
+    super.init(config);
+    boolHist = false;
+  }
+
+  @Override
+  public void doPost(HttpServletRequest request, HttpServletResponse response)
+      throws IOException, ServletException {
+    VariablesSecureApp vars = new VariablesSecureApp(request);
+    if (vars.commandIn("DEFAULT")) {
+      String strChanged = vars.getStringParameter("inpLastFieldChanged");
+      log4j.debug("CHANGED: " + strChanged);
+      String strWindowId = vars.getStringParameter("inpWindowId");
+      String strIsSOTrx = Utility.getContext(this, vars, "isSOTrx", strWindowId);
+      String strWarehouse = vars.getStringParameter("inpmWarehouseId");
+      String strTabId = vars.getStringParameter("inpTabId");
+
+      try {
+        printPage(response, vars, strWarehouse, strIsSOTrx, strTabId);
+      } catch (ServletException ex) {
+        pageErrorCallOut(response);
+      }
+    } else {
+      pageError(response);
+    }
+  }
+
+  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strWarehouse,
+      String strIsSOTrx, String strTabId) throws IOException, ServletException {
+    log4j.debug("Output: dataSheet");
+    XmlDocument xmlDocument = xmlEngine
+        .readXmlTemplate("org/openbravo/erpCommon/ad_callouts/CallOut")
+        .createXmlDocument();
+
+    StringBuffer resultado = new StringBuffer();
+    resultado.append("var frameDefault='frameButton';\n\n");
+    resultado.append("var calloutName='SL_CreateFromMultiple_Warehouse';\n\n");
+    resultado.append("var respuesta = new Array(");
+
+    LocatorComboData[] data = LocatorComboData.select(this, vars.getLanguage(), strWarehouse,
+        vars.getClient());
+    resultado.append("new Array(\"inpmLocatorX\", ");
+    if (data != null && data.length > 0) {
+      resultado.append("new Array(");
+      for (int i = 0; i < data.length; i++) {
+        resultado.append("new Array(\"" + data[i].id + "\", \"" + data[i].name + "\", \"false\")");
+        if (i < data.length - 1) {
+          resultado.append(",\n");
+        }
+      }
+      resultado.append("\n)");
+    } else {
+      resultado.append("null");
+    }
+    resultado.append("\n)");
+    resultado.append(");");
+
+    log4j.debug("Array: " + resultado.toString());
+    xmlDocument.setParameter("array", resultado.toString());
+    // xmlDocument.setParameter("frameName", (Utility.isTreeTab(this,
+    // strTabId)?"appFrame.frameWindowTreeTab":"appFrame"));
+    xmlDocument.setParameter("frameName", "frameButton");
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    out.println(xmlDocument.print());
+    out.close();
+  }
+}