Fixes Issue 40558:Review and possibly remove old pre-aprm
authorAtul Gaware <atul.gaware@openbravo.com>
Fri, 03 May 2019 02:58:20 +0530
changeset 35801 aef2b99aa990
parent 35800 86ca5f1688dd
child 35802 147621d18a4d
Fixes Issue 40558:Review and possibly remove old pre-aprm
CreateFile (aka c_settlement_createFile) implementation

** Removed process for Create File in AD_Column.
** Removed process for Create File class that was used in
old flows settlement, manual settlement and remittance
windows, model object, model object mapping.
** Removed .java, .html, .xml, xsql files used in Create File
** Removed CreateFile34_data, TyperemittanceCombo data xsql
used in Create File java class
** Remove ad_message, ad_textinterfaces,
** Update AD_field name, description, help for related fields
of the columns whose Create File process is removed.
** Remove process access for F&B International Group & QA
Testing client.
referencedata/sampledata/F_B_International_Group/AD_PROCESS_ACCESS.xml
referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_FIELD.xml
src-db/database/sourcedata/AD_MESSAGE.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/CreateFile.html
src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java
src/org/openbravo/erpCommon/ad_actionButton/CreateFile.xml
src/org/openbravo/erpCommon/ad_actionButton/CreateFile34_data.xsql
src/org/openbravo/erpCommon/ad_actionButton/CreateFile_data.xsql
src/org/openbravo/erpCommon/ad_actionButton/TyperemittanceCombo_data.xsql
--- a/referencedata/sampledata/F_B_International_Group/AD_PROCESS_ACCESS.xml	Tue Apr 30 14:51:23 2019 +0530
+++ b/referencedata/sampledata/F_B_International_Group/AD_PROCESS_ACCESS.xml	Fri May 03 02:58:20 2019 +0530
@@ -855,20 +855,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[044252D2704A468396D3B2AA2D2A356E]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.992]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.992]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[045BBBD46EC4488A8827004BC480BD7D]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[DE1B382FDD2540199D223586F6E216D0]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[E669860946664B24BD1AE1ACDF2F5FC3]]></AD_ROLE_ID>
@@ -10543,20 +10529,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[3F2E18CC7ABC4EE992E34F338B1248D6]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.961]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.961]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[3F4B5A9E150C4B6F8B86CD3CC22DD5F6]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800075]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[F3196A30B53A42778727B2852FF90C24]]></AD_ROLE_ID>
@@ -11775,20 +11747,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[465E14367860410A866235C9189881FB]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.957]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.957]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[466011ED41984EBE8303E72E0B57CB0F]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800085]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[1CAE17A7848D4F0BAAF21FEB17045B88]]></AD_ROLE_ID>
@@ -13175,20 +13133,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[4E634A5A2B2243B7A0325477B82AA8AC]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.953]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.953]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[4E6AB90088AB45E988DEA0A286BAB8EB]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[E5BE98DCF4514A18B571F21183B397DD]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[45C861D70874409D86AE1CC7007AB43A]]></AD_ROLE_ID>
@@ -22121,20 +22065,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[84FFD6254AF243A8AA4079020E15C6DF]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.924]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.924]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[84FFED9F446A4ADF8549FDF07043D803]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[134]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[DB6660F6713A4DCFA320A502B4A0E670]]></AD_ROLE_ID>
@@ -30003,20 +29933,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[B0BA315D98D04932B4DF8E0322D3A22B]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.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[B0BD665438D24A01A86B8BACE9333F2C]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[29D17F515727436DBCE32BC6CA28382B]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[F3196A30B53A42778727B2852FF90C24]]></AD_ROLE_ID>
@@ -35197,20 +35113,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[D02D094C9F664A308FBE418CD1FDE921]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.881]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.881]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[D04AECF0DC3642AB8FF9DAEC6507AA9A]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[DC23BB9234174E52879E4B21C8CD1F4B]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[C7E9112E632348F396B4967517E62805]]></AD_ROLE_ID>
@@ -39971,20 +39873,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[EE9A7CAC3EAA47E78B7F348DFA32D910]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.864]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.864]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[EE9C7AECEBEB44FAAF5236B93539A32B]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[124]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[9A2D4EC760704A79BAFF8FF244FE0273]]></AD_ROLE_ID>
@@ -40349,20 +40237,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[F10FC57B34CE44D8A4941E4E894BADBC]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.856]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.856]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[F131F7E81F174044AF73F4BA7199B6C1]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800159]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[F3196A30B53A42778727B2852FF90C24]]></AD_ROLE_ID>
@@ -41035,20 +40909,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[F59E4E27C77E427198C9572935666D90]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.854]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.854]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[F5A490D9C0134A268388121A4277E12A]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800004]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[DB6660F6713A4DCFA320A502B4A0E670]]></AD_ROLE_ID>
--- a/referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml	Tue Apr 30 14:51:23 2019 +0530
+++ b/referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml	Fri May 03 02:58:20 2019 +0530
@@ -6917,20 +6917,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[8764459E578B42988B66EFEF566183C7]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.071]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:18.071]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[87F1EC8DDED44366BCE8AF1FA6E3EF0D]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800192]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[0256D4272D82412C9CDF41B67E362599]]></AD_ROLE_ID>
@@ -11103,20 +11089,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[D6DCC64299B44CE4829CA07B1D3EE258]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.055]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:18.055]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[D70BD3C1DC16409C9AF2D0B2AE6DE906]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800010]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[FA057013C10148828D2430F66F42EF1A]]></AD_ROLE_ID>
@@ -13287,20 +13259,6 @@
 </AD_PROCESS_ACCESS>
 
 <AD_PROCESS_ACCESS>
-  <AD_PROCESS_ACCESS_ID><![CDATA[FE89AF5AE43343D99C1913CB0D414BDA]]></AD_PROCESS_ACCESS_ID>
-  <AD_PROCESS_ID><![CDATA[800027]]></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.047]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:18.047]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_PROCESS_ACCESS>
-
-<AD_PROCESS_ACCESS>
   <AD_PROCESS_ACCESS_ID><![CDATA[FEBFC17871C140A4B1C213E2224FD387]]></AD_PROCESS_ACCESS_ID>
   <AD_PROCESS_ID><![CDATA[800169]]></AD_PROCESS_ID>
   <AD_ROLE_ID><![CDATA[4028E6C72959682B01295A071429011E]]></AD_ROLE_ID>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Tue Apr 30 14:51:23 2019 +0530
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Fri May 03 02:58:20 2019 +0530
@@ -143313,7 +143313,6 @@
 <!--800436-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--800436-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--800436-->  <AD_ELEMENT_ID><![CDATA[800076]]></AD_ELEMENT_ID>
-<!--800436-->  <AD_PROCESS_ID><![CDATA[800027]]></AD_PROCESS_ID>
 <!--800436-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
 <!--800436-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--800436-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
@@ -197108,7 +197107,6 @@
 <!--803023-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--803023-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--803023-->  <AD_ELEMENT_ID><![CDATA[800650]]></AD_ELEMENT_ID>
-<!--803023-->  <AD_PROCESS_ID><![CDATA[800027]]></AD_PROCESS_ID>
 <!--803023-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
 <!--803023-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--803023-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
--- a/src-db/database/sourcedata/AD_FIELD.xml	Tue Apr 30 14:51:23 2019 +0530
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Fri May 03 02:58:20 2019 +0530
@@ -105334,9 +105334,9 @@
 <!--800544-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--800544-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--800544-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800544-->  <NAME><![CDATA[Create File]]></NAME>
-<!--800544-->  <DESCRIPTION><![CDATA[Create File]]></DESCRIPTION>
-<!--800544-->  <HELP><![CDATA[Create File]]></HELP>
+<!--800544-->  <NAME><![CDATA[Create file]]></NAME>
+<!--800544-->  <DESCRIPTION><![CDATA[Create file]]></DESCRIPTION>
+<!--800544-->  <HELP><![CDATA[Create file]]></HELP>
 <!--800544-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--800544-->  <AD_TAB_ID><![CDATA[800025]]></AD_TAB_ID>
 <!--800544-->  <AD_COLUMN_ID><![CDATA[800436]]></AD_COLUMN_ID>
@@ -105504,9 +105504,9 @@
 <!--800550-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--800550-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--800550-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800550-->  <NAME><![CDATA[Create File]]></NAME>
-<!--800550-->  <DESCRIPTION><![CDATA[Create File]]></DESCRIPTION>
-<!--800550-->  <HELP><![CDATA[Create File]]></HELP>
+<!--800550-->  <NAME><![CDATA[Create file]]></NAME>
+<!--800550-->  <DESCRIPTION><![CDATA[Create file]]></DESCRIPTION>
+<!--800550-->  <HELP><![CDATA[Create file]]></HELP>
 <!--800550-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--800550-->  <AD_TAB_ID><![CDATA[800029]]></AD_TAB_ID>
 <!--800550-->  <AD_COLUMN_ID><![CDATA[800436]]></AD_COLUMN_ID>
@@ -145501,9 +145501,9 @@
 <!--803332-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--803332-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--803332-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--803332-->  <NAME><![CDATA[Create File]]></NAME>
-<!--803332-->  <DESCRIPTION><![CDATA[Create File]]></DESCRIPTION>
-<!--803332-->  <HELP><![CDATA[Create File]]></HELP>
+<!--803332-->  <NAME><![CDATA[Get file]]></NAME>
+<!--803332-->  <DESCRIPTION><![CDATA[Creates a File]]></DESCRIPTION>
+<!--803332-->  <HELP><![CDATA[Creates a File for the ebank. It takes the different parameters (including the docuemnt type) from the remittance type.]]></HELP>
 <!--803332-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--803332-->  <AD_TAB_ID><![CDATA[800213]]></AD_TAB_ID>
 <!--803332-->  <AD_COLUMN_ID><![CDATA[803023]]></AD_COLUMN_ID>
--- a/src-db/database/sourcedata/AD_MESSAGE.xml	Tue Apr 30 14:51:23 2019 +0530
+++ b/src-db/database/sourcedata/AD_MESSAGE.xml	Fri May 03 02:58:20 2019 +0530
@@ -7379,90 +7379,6 @@
 <!--800022-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--800022--></AD_MESSAGE>
 
-<!--800023--><AD_MESSAGE>
-<!--800023-->  <AD_MESSAGE_ID><![CDATA[800023]]></AD_MESSAGE_ID>
-<!--800023-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800023-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800023-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800023-->  <VALUE><![CDATA[CreateFileError]]></VALUE>
-<!--800023-->  <MSGTEXT><![CDATA[File creation failed]]></MSGTEXT>
-<!--800023-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800023-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800023-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800023--></AD_MESSAGE>
-
-<!--800024--><AD_MESSAGE>
-<!--800024-->  <AD_MESSAGE_ID><![CDATA[800024]]></AD_MESSAGE_ID>
-<!--800024-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800024-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800024-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800024-->  <VALUE><![CDATA[NIFError]]></VALUE>
-<!--800024-->  <MSGTEXT><![CDATA[Tax identification number needed]]></MSGTEXT>
-<!--800024-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800024-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800024-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800024--></AD_MESSAGE>
-
-<!--800025--><AD_MESSAGE>
-<!--800025-->  <AD_MESSAGE_ID><![CDATA[800025]]></AD_MESSAGE_ID>
-<!--800025-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800025-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800025-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800025-->  <VALUE><![CDATA[CodeBankError]]></VALUE>
-<!--800025-->  <MSGTEXT><![CDATA[Bank code needed]]></MSGTEXT>
-<!--800025-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800025-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800025-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800025--></AD_MESSAGE>
-
-<!--800026--><AD_MESSAGE>
-<!--800026-->  <AD_MESSAGE_ID><![CDATA[800026]]></AD_MESSAGE_ID>
-<!--800026-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800026-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800026-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800026-->  <VALUE><![CDATA[CodeBranchError]]></VALUE>
-<!--800026-->  <MSGTEXT><![CDATA[Branch code needed]]></MSGTEXT>
-<!--800026-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800026-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800026-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800026--></AD_MESSAGE>
-
-<!--800027--><AD_MESSAGE>
-<!--800027-->  <AD_MESSAGE_ID><![CDATA[800027]]></AD_MESSAGE_ID>
-<!--800027-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800027-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800027-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800027-->  <VALUE><![CDATA[DC1Error]]></VALUE>
-<!--800027-->  <MSGTEXT><![CDATA[Account first control digit needed]]></MSGTEXT>
-<!--800027-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800027-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800027-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800027--></AD_MESSAGE>
-
-<!--800028--><AD_MESSAGE>
-<!--800028-->  <AD_MESSAGE_ID><![CDATA[800028]]></AD_MESSAGE_ID>
-<!--800028-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800028-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800028-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800028-->  <VALUE><![CDATA[DC2Error]]></VALUE>
-<!--800028-->  <MSGTEXT><![CDATA[Account second control digit needed]]></MSGTEXT>
-<!--800028-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800028-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800028-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800028--></AD_MESSAGE>
-
-<!--800029--><AD_MESSAGE>
-<!--800029-->  <AD_MESSAGE_ID><![CDATA[800029]]></AD_MESSAGE_ID>
-<!--800029-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800029-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800029-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800029-->  <VALUE><![CDATA[INEError]]></VALUE>
-<!--800029-->  <MSGTEXT><![CDATA[INE number needed]]></MSGTEXT>
-<!--800029-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800029-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800029-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800029--></AD_MESSAGE>
-
 <!--800030--><AD_MESSAGE>
 <!--800030-->  <AD_MESSAGE_ID><![CDATA[800030]]></AD_MESSAGE_ID>
 <!--800030-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -7475,102 +7391,6 @@
 <!--800030-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--800030--></AD_MESSAGE>
 
-<!--800031--><AD_MESSAGE>
-<!--800031-->  <AD_MESSAGE_ID><![CDATA[800031]]></AD_MESSAGE_ID>
-<!--800031-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800031-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800031-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800031-->  <VALUE><![CDATA[CodeBankBPError]]></VALUE>
-<!--800031-->  <MSGTEXT><![CDATA[Bank code needed for business partner:]]></MSGTEXT>
-<!--800031-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800031-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800031-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800031--></AD_MESSAGE>
-
-<!--800032--><AD_MESSAGE>
-<!--800032-->  <AD_MESSAGE_ID><![CDATA[800032]]></AD_MESSAGE_ID>
-<!--800032-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800032-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800032-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800032-->  <VALUE><![CDATA[DatePlannedError]]></VALUE>
-<!--800032-->  <MSGTEXT><![CDATA[Planned date needed. Business partner:]]></MSGTEXT>
-<!--800032-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800032-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800032-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800032--></AD_MESSAGE>
-
-<!--800033--><AD_MESSAGE>
-<!--800033-->  <AD_MESSAGE_ID><![CDATA[800033]]></AD_MESSAGE_ID>
-<!--800033-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800033-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800033-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800033-->  <VALUE><![CDATA[AddressError]]></VALUE>
-<!--800033-->  <MSGTEXT><![CDATA[Address needed for business partner:]]></MSGTEXT>
-<!--800033-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800033-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800033-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800033--></AD_MESSAGE>
-
-<!--800034--><AD_MESSAGE>
-<!--800034-->  <AD_MESSAGE_ID><![CDATA[800034]]></AD_MESSAGE_ID>
-<!--800034-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800034-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800034-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800034-->  <VALUE><![CDATA[SquareError]]></VALUE>
-<!--800034-->  <MSGTEXT><![CDATA[Square needed for business partner:]]></MSGTEXT>
-<!--800034-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800034-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800034-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800034--></AD_MESSAGE>
-
-<!--800035--><AD_MESSAGE>
-<!--800035-->  <AD_MESSAGE_ID><![CDATA[800035]]></AD_MESSAGE_ID>
-<!--800035-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800035-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800035-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800035-->  <VALUE><![CDATA[PostCodeError]]></VALUE>
-<!--800035-->  <MSGTEXT><![CDATA[Postcode needed for business partner:]]></MSGTEXT>
-<!--800035-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800035-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800035-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800035--></AD_MESSAGE>
-
-<!--800036--><AD_MESSAGE>
-<!--800036-->  <AD_MESSAGE_ID><![CDATA[800036]]></AD_MESSAGE_ID>
-<!--800036-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800036-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800036-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800036-->  <VALUE><![CDATA[TownError]]></VALUE>
-<!--800036-->  <MSGTEXT><![CDATA[Town needed for business partner:]]></MSGTEXT>
-<!--800036-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800036-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800036-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800036--></AD_MESSAGE>
-
-<!--800037--><AD_MESSAGE>
-<!--800037-->  <AD_MESSAGE_ID><![CDATA[800037]]></AD_MESSAGE_ID>
-<!--800037-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800037-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800037-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800037-->  <VALUE><![CDATA[InvoiceDateError]]></VALUE>
-<!--800037-->  <MSGTEXT><![CDATA[Invoice date needed for business partner:]]></MSGTEXT>
-<!--800037-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800037-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800037-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800037--></AD_MESSAGE>
-
-<!--800038--><AD_MESSAGE>
-<!--800038-->  <AD_MESSAGE_ID><![CDATA[800038]]></AD_MESSAGE_ID>
-<!--800038-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800038-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800038-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800038-->  <VALUE><![CDATA[DefaultAccountError]]></VALUE>
-<!--800038-->  <MSGTEXT><![CDATA[Default account for organization needed]]></MSGTEXT>
-<!--800038-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--800038-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800038-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800038--></AD_MESSAGE>
-
 <!--800039--><AD_MESSAGE>
 <!--800039-->  <AD_MESSAGE_ID><![CDATA[800039]]></AD_MESSAGE_ID>
 <!--800039-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -8543,18 +8363,6 @@
 <!--800119-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--800119--></AD_MESSAGE>
 
-<!--800120--><AD_MESSAGE>
-<!--800120-->  <AD_MESSAGE_ID><![CDATA[800120]]></AD_MESSAGE_ID>
-<!--800120-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800120-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800120-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800120-->  <VALUE><![CDATA[BankAccountError]]></VALUE>
-<!--800120-->  <MSGTEXT><![CDATA[There is no bank account defined.]]></MSGTEXT>
-<!--800120-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--800120-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800120-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800120--></AD_MESSAGE>
-
 <!--800121--><AD_MESSAGE>
 <!--800121-->  <AD_MESSAGE_ID><![CDATA[800121]]></AD_MESSAGE_ID>
 <!--800121-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -8579,18 +8387,6 @@
 <!--800122-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--800122--></AD_MESSAGE>
 
-<!--800123--><AD_MESSAGE>
-<!--800123-->  <AD_MESSAGE_ID><![CDATA[800123]]></AD_MESSAGE_ID>
-<!--800123-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800123-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800123-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800123-->  <VALUE><![CDATA[TodayHigherDueData]]></VALUE>
-<!--800123-->  <MSGTEXT><![CDATA[Today cannot be later than the due date.]]></MSGTEXT>
-<!--800123-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--800123-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800123-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--800123--></AD_MESSAGE>
-
 <!--800124--><AD_MESSAGE>
 <!--800124-->  <AD_MESSAGE_ID><![CDATA[800124]]></AD_MESSAGE_ID>
 <!--800124-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -12318,18 +12114,6 @@
 <!--804892-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--804892--></AD_MESSAGE>
 
-<!--804893--><AD_MESSAGE>
-<!--804893-->  <AD_MESSAGE_ID><![CDATA[804893]]></AD_MESSAGE_ID>
-<!--804893-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--804893-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--804893-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--804893-->  <VALUE><![CDATA[RemittanceTypeError]]></VALUE>
-<!--804893-->  <MSGTEXT><![CDATA[Error in Remittance Type definition, or there might not be a defined file type for this remittance type.]]></MSGTEXT>
-<!--804893-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--804893-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--804893-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--804893--></AD_MESSAGE>
-
 <!--804894--><AD_MESSAGE>
 <!--804894-->  <AD_MESSAGE_ID><![CDATA[804894]]></AD_MESSAGE_ID>
 <!--804894-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -16040,18 +15824,6 @@
 <!--07E963D65B7F47BE81150448C5019E0D-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--07E963D65B7F47BE81150448C5019E0D--></AD_MESSAGE>
 
-<!--08D8D5205D5549D8B726F9C868B3E886--><AD_MESSAGE>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <AD_MESSAGE_ID><![CDATA[08D8D5205D5549D8B726F9C868B3E886]]></AD_MESSAGE_ID>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <VALUE><![CDATA[CodeBankBPErrorQuantity]]></VALUE>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <MSGTEXT><![CDATA[The field "Account No." needs to have 20 characters.]]></MSGTEXT>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--08D8D5205D5549D8B726F9C868B3E886-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--08D8D5205D5549D8B726F9C868B3E886--></AD_MESSAGE>
-
 <!--090396763E4C41C99BEFF7BB82D03A41--><AD_MESSAGE>
 <!--090396763E4C41C99BEFF7BB82D03A41-->  <AD_MESSAGE_ID><![CDATA[090396763E4C41C99BEFF7BB82D03A41]]></AD_MESSAGE_ID>
 <!--090396763E4C41C99BEFF7BB82D03A41-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -23947,18 +23719,6 @@
 <!--A01BC7E3D1804395A64CD6C78B4EE4A9-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--A01BC7E3D1804395A64CD6C78B4EE4A9--></AD_MESSAGE>
 
-<!--A028CFDE75274327BF364041696938AE--><AD_MESSAGE>
-<!--A028CFDE75274327BF364041696938AE-->  <AD_MESSAGE_ID><![CDATA[A028CFDE75274327BF364041696938AE]]></AD_MESSAGE_ID>
-<!--A028CFDE75274327BF364041696938AE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--A028CFDE75274327BF364041696938AE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--A028CFDE75274327BF364041696938AE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--A028CFDE75274327BF364041696938AE-->  <VALUE><![CDATA[RemittanceTypeContractError]]></VALUE>
-<!--A028CFDE75274327BF364041696938AE-->  <MSGTEXT><![CDATA[Error in Remittance Type definition - parameter contract missing.]]></MSGTEXT>
-<!--A028CFDE75274327BF364041696938AE-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--A028CFDE75274327BF364041696938AE-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--A028CFDE75274327BF364041696938AE-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--A028CFDE75274327BF364041696938AE--></AD_MESSAGE>
-
 <!--A04AA56850A4411FB21500815DF702BB--><AD_MESSAGE>
 <!--A04AA56850A4411FB21500815DF702BB-->  <AD_MESSAGE_ID><![CDATA[A04AA56850A4411FB21500815DF702BB]]></AD_MESSAGE_ID>
 <!--A04AA56850A4411FB21500815DF702BB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -25452,18 +25212,6 @@
 <!--BDB7F0E3A28C4A01AA85BEEFB2B8DF28-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--BDB7F0E3A28C4A01AA85BEEFB2B8DF28--></AD_MESSAGE>
 
-<!--BDBAEDC585EA4D06BACC9E2469003E4F--><AD_MESSAGE>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <AD_MESSAGE_ID><![CDATA[BDBAEDC585EA4D06BACC9E2469003E4F]]></AD_MESSAGE_ID>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <VALUE><![CDATA[CodeBankBPErrorMultiple]]></VALUE>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <MSGTEXT><![CDATA[has associated more than one bank account. Please deactivate all bank accounts except the one to be used for the remittance.]]></MSGTEXT>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--BDBAEDC585EA4D06BACC9E2469003E4F--></AD_MESSAGE>
-
 <!--BE7801C0E5D24D9EA7F6CBD6A3EC9E2A--><AD_MESSAGE>
 <!--BE7801C0E5D24D9EA7F6CBD6A3EC9E2A-->  <AD_MESSAGE_ID><![CDATA[BE7801C0E5D24D9EA7F6CBD6A3EC9E2A]]></AD_MESSAGE_ID>
 <!--BE7801C0E5D24D9EA7F6CBD6A3EC9E2A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Tue Apr 30 14:51:23 2019 +0530
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Fri May 03 02:58:20 2019 +0530
@@ -1044,18 +1044,6 @@
 <!--800735-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--800735--></AD_MODEL_OBJECT>
 
-<!--800736--><AD_MODEL_OBJECT>
-<!--800736-->  <AD_MODEL_OBJECT_ID><![CDATA[800736]]></AD_MODEL_OBJECT_ID>
-<!--800736-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800736-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800736-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800736-->  <ACTION><![CDATA[P]]></ACTION>
-<!--800736-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_actionButton.CreateFile]]></CLASSNAME>
-<!--800736-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--800736-->  <AD_PROCESS_ID><![CDATA[800027]]></AD_PROCESS_ID>
-<!--800736-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
-<!--800736--></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	Tue Apr 30 14:51:23 2019 +0530
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Fri May 03 02:58:20 2019 +0530
@@ -310,16 +310,6 @@
 <!--800941-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
 <!--800941--></AD_MODEL_OBJECT_MAPPING>
 
-<!--800942--><AD_MODEL_OBJECT_MAPPING>
-<!--800942-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[800942]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--800942-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800942-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800942-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800942-->  <AD_MODEL_OBJECT_ID><![CDATA[800736]]></AD_MODEL_OBJECT_ID>
-<!--800942-->  <MAPPINGNAME><![CDATA[/ad_actionButton/CreateFile.html]]></MAPPINGNAME>
-<!--800942-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--800942--></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>
--- a/src-db/database/sourcedata/AD_PROCESS.xml	Tue Apr 30 14:51:23 2019 +0530
+++ b/src-db/database/sourcedata/AD_PROCESS.xml	Fri May 03 02:58:20 2019 +0530
@@ -2675,30 +2675,6 @@
 <!--800026-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--800026--></AD_PROCESS>
 
-<!--800027--><AD_PROCESS>
-<!--800027-->  <AD_PROCESS_ID><![CDATA[800027]]></AD_PROCESS_ID>
-<!--800027-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800027-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800027-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800027-->  <VALUE><![CDATA[C_Settlement_CreateFile]]></VALUE>
-<!--800027-->  <NAME><![CDATA[Create File]]></NAME>
-<!--800027-->  <DESCRIPTION><![CDATA[Create File]]></DESCRIPTION>
-<!--800027-->  <HELP><![CDATA[Create File]]></HELP>
-<!--800027-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
-<!--800027-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
-<!--800027-->  <ISREPORT><![CDATA[N]]></ISREPORT>
-<!--800027-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
-<!--800027-->  <CLASSNAME><![CDATA[ad_actionButton/CreateFile.html]]></CLASSNAME>
-<!--800027-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
-<!--800027-->  <ISJASPER><![CDATA[N]]></ISJASPER>
-<!--800027-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800027-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
-<!--800027-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
-<!--800027-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
-<!--800027-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
-<!--800027-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
-<!--800027--></AD_PROCESS>
-
 <!--800030--><AD_PROCESS>
 <!--800030-->  <AD_PROCESS_ID><![CDATA[800030]]></AD_PROCESS_ID>
 <!--800030-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Tue Apr 30 14:51:23 2019 +0530
+++ b/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Fri May 03 02:58:20 2019 +0530
@@ -1993,17 +1993,6 @@
 <!--805025-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--805025--></AD_TEXTINTERFACES>
 
-<!--805026--><AD_TEXTINTERFACES>
-<!--805026-->  <AD_TEXTINTERFACES_ID><![CDATA[805026]]></AD_TEXTINTERFACES_ID>
-<!--805026-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--805026-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--805026-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--805026-->  <TEXT><![CDATA[Create File]]></TEXT>
-<!--805026-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_actionButton/CreateFile.html]]></FILENAME>
-<!--805026-->  <ISUSED><![CDATA[Y]]></ISUSED>
-<!--805026-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--805026--></AD_TEXTINTERFACES>
-
 <!--805027--><AD_TEXTINTERFACES>
 <!--805027-->  <AD_TEXTINTERFACES_ID><![CDATA[805027]]></AD_TEXTINTERFACES_ID>
 <!--805027-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.html	Tue Apr 30 14:51:23 2019 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,295 +0,0 @@
-<!--
- *************************************************************************
- * 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-2012 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
--->
-<html>
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <title>Create File</title>
-  <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
-  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"></link>
-  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
-  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
-  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
-  <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
-  <script language="JavaScript" type="text/javascript" id="paramLanguage">defaultLang = "en_US";</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/searchs.js" type="text/javascript"></script>
-  <script type="text/javascript">
-  window.onunload = reloadOpener; // reloads opener on closing
-  </script>
-  <script language="JavaScript" type="text/javascript" id="paramDirectory">
-  var baseDirectory="../../../../../web/";
-  </script>
-  <script language="JavaScript" type="text/javascript" id="fieldWindowIDArray">
-  function closeThisPage() {
-    window.close();
-    return true;
-  }
-
-  function submitThisPage(strCommand) {
-    setProcessingMode('popup', true);
-    submitCommandForm(strCommand, false, null, null, '_top');
-    return true;
-  }
-  </script>
-  	<script language="JavaScript" type="text/javascript">
-	function onLoadDo(){
-		this.windowTables = new Array(
-		  new windowTableId('client', 'buttonOK')
-		);
-		setWindowTableParentElement();
-		enableShortcuts('popup');
-		setBrowserAutoComplete(false);
-
-		setWindowElementFocus('firstElement');
-	}
-
-	function onResizeDo(){
-	}
-	</script>  
-
-</head>
-
-<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
-<form id="form" method="post" action="CreateFile.html" name="frmMain">
-  <input type="hidden" name="Command">
-<input type="hidden" name="IsPopUpCall" value="1"></input>
-  <input type="hidden" name="inpLastFieldChanged"></input>
-  <input type="hidden" name="inpcRemittanceId" value="" id="paramcRemittanceId"></input> 
-  <input type="hidden" name="inpwindowId" value="" id="window"></input>
-
-  <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/></img>
-    </div>
-  </div>
-
-  <table cellspacing="0" cellpadding="0" width="100%">
-
-    <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 File</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>
-
-    <tr>
-      <td>
-        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_InfoBar">
-          <tr>
-            <td class="Popup_InfoBar_Icon_cell"><img src="../../../../../web/images/blank.gif" border="0" class="Popup_InfoBar_Icon_info" /></td>
-            <td class="Popup_InfoBar_text_table">
-              <table>
-                <tr>
-                  <td class="Popup_InfoBar_text" id="helpDiscard"> <div id="processHelp">&nbsp;</div></td>
-                </tr>
-              </table>
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-
-    <tr>
-      <td>
-        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
-        <!-- MessageBox -->
-
-                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
-                              <tbody>
-                              <tr class="MessageBox_TopMargin">
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td></td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                              <tr>
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td>
-
-                                  <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
-                                    <tbody>
-                                    <tr>
-                                      <td class="MessageBox_LeftTrans">
-                                        <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
-                                          <tbody>
-                                          <tr>
-                                            <td class="MessageBox_TopLeft"></td>
-                                          </tr>
-                                          <tr>
-                                            <td class="MessageBox_Left"></td>
-                                          </tr>
-                                          </tbody>
-                                        </table>
-                                      </td>
-                                      <td class="MessageBox_bg">
-
-                                        <table class="MessageBox_Top">
-                                        <tbody>
-                                          <tr>
-                                            <td>
-                                              <span>
-                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
-                                                <tbody>
-                                                <tr>
-                                                  <td class="MessageBox_Icon_ContentCell">
-                                                    <div class="MessageBox_Icon"></div>
-                                                  </td>
-                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
-                                                    <span>
-                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
-                                                        xxInfo: AccessTableWithNoView
-                                                      </div>
-                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
-                                                        xxThe current information is empty.
-                                                      </div>
-                                                      <div class="MessageBox_TextSeparator"></div>
-                                                    </span>
-                                                  </td>
-                                                </tr>
-                                                </tbody>
-                                              </table>
-                                              </span>
-                                            </td>
-                                          </tr>
-                                          </tbody>
-                                        </table>
-
-                                      </td>
-                                      <td class="MessageBox_RightTrans">
-                                        <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
-                                          <tbody>
-                                          <tr>
-                                            <td class="MessageBox_TopRight"></td>
-                                          </tr>
-                                          <tr>
-                                            <td class="MessageBox_Right"></td>
-                                          </tr>
-                                          </tbody>
-                                        </table>
-                                      </td>
-                                    </tr>
-                                    <tr>
-                                      <td rowspan="2" class="MessageBox_BottomLeft">
-                                      </td>
-                                      <td class="MessageBox_BottomTrans MessageBox_bg">
-                                      </td>
-                                      <td rowspan="2" class="MessageBox_BottomRight">
-                                      </td>
-                                    </tr>
-                                    <tr>
-                                      <td class="MessageBox_Bottom">
-                                      </td>
-                                    </tr>
-                                    </tbody>
-                                  </table>
-
-                                </td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                              <tr class="MessageBox_BottomMargin">
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td></td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                              </tbody>
-                            </table>              <!-- USER CONTROLS -->
-        
-          <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
-
-            <tr>
-              <td></td>
-              <td class="Button_RightAlign_ContentCell">
-                <div>
-                  <button type="button" 
-                    id="buttonOK" 
-                    class="ButtonLink" 
-                    onclick="submitThisPage('GENERATE');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>
-            </tr>
-
-        </table>
-      </div>
-    </td>
-  </tr>
-</table>
-
-</body>
-</html>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.java	Tue Apr 30 14:51:23 2019 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,862 +0,0 @@
-/*
- *************************************************************************
- * 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 javax.servlet.ServletConfig;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.openbravo.base.secureApp.HttpSecureAppServlet;
-import org.openbravo.base.secureApp.VariablesSecureApp;
-import org.openbravo.erpCommon.utility.OBError;
-import org.openbravo.erpCommon.utility.Utility;
-import org.openbravo.utils.Replace;
-import org.openbravo.xmlEngine.XmlDocument;
-
-public class CreateFile 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 strProcessId = vars.getStringParameter("inpProcessId");
-      String strWindow = vars.getStringParameter("inpwindowId");
-      String strKey = vars.getStringParameter("inpcRemittanceId");
-      String strMessage = "";
-      printPage(response, vars, strKey, strWindow, strProcessId, strMessage, true);
-    } else if (vars.commandIn("GENERATE")) {
-      String strKey = vars.getStringParameter("inpcRemittanceId");
-      getPrintPage(request, response, vars, strKey);
-    }
-  }
-
-  private void printPage(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String windowId, String strProcessId, String strMessage, boolean isDefault)
-      throws IOException, ServletException {
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("Output: Button create file msg:" + strMessage);
-    }
-
-    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/CreateFile", discard)
-        .createXmlDocument();
-    xmlDocument.setParameter("key", strKey);
-    xmlDocument.setParameter("window", windowId);
-    xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
-    xmlDocument.setData("reportTyperemittance", "liststructure",
-        TyperemittanceComboData.select(this,
-            Utility.getContext(this, vars, "#User_Client", "CreateFile"),
-            Utility.getContext(this, vars, "#AccessibleOrgTree", "CreateFile")));
-    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\r\n");
-    xmlDocument.setParameter("theme", vars.getTheme());
-    xmlDocument.setParameter("description", strDescription);
-    xmlDocument.setParameter("help", strHelp);
-
-    if (isDefault) {
-      xmlDocument.setParameter("messageType", "");
-      xmlDocument.setParameter("messageTitle", "");
-      xmlDocument.setParameter("messageMessage", "");
-    } else {
-      OBError myMessage = new OBError();
-      myMessage.setTitle("");
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("CreateFile - before setMessage");
-      }
-      if (strMessage == null || strMessage.equals("")) {
-        myMessage.setType("Success");
-      } else {
-        myMessage.setType("Error");
-      }
-      if (strMessage != null && !strMessage.equals("")) {
-        myMessage.setMessage(strMessage);
-      } else {
-        Utility.translateError(this, vars, vars.getLanguage(), "Success");
-      }
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("CreateFile - Message Type: " + myMessage.getType());
-      }
-      vars.setMessage("CreateFile", myMessage);
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("CreateFile - after setMessage");
-      }
-      if (myMessage != null) {
-        xmlDocument.setParameter("messageType", myMessage.getType());
-        xmlDocument.setParameter("messageTitle", myMessage.getTitle());
-        xmlDocument.setParameter("messageMessage", myMessage.getMessage());
-      }
-    }
-
-    response.setContentType("text/html; charset=UTF-8");
-    PrintWriter out = response.getWriter();
-    out.println(xmlDocument.print());
-    out.close();
-  }
-
-  private void getPrintPage(HttpServletRequest request, HttpServletResponse response,
-      VariablesSecureApp vars, String strKey) throws IOException, ServletException {
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("generate " + strKey);
-    }
-    String strCuaderno = CreateFileData.selectParam(this, strKey, "CUADERNO");
-    String strContract = CreateFileData.selectParam(this, strKey, "CONTRACT");
-    if (strCuaderno == null) {
-      strCuaderno = "";
-    }
-    if (strContract == null || strContract.equals("")) {
-      advisePopUp(request, response, "Error", Utility.messageBD(this, "Error", vars.getLanguage()),
-          Utility.messageBD(this, "RemittanceTypeContractError", vars.getLanguage()));
-    }
-    if (strCuaderno.equals("58")) {
-      printPageFind58(response, vars, strKey, strContract);
-    } else if (strCuaderno.equals("19")) {
-      printPageFind19(response, vars, strKey, strContract);
-    } else if (strCuaderno.equals("34")) {
-      printPageFind34(response, vars, strKey);
-    } else {
-      advisePopUp(request, response, "Error", Utility.messageBD(this, "Error", vars.getLanguage()),
-          Utility.messageBD(this, "RemittanceTypeError", vars.getLanguage()));
-    }
-  }
-
-  private void printPageFind58(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strContract) throws IOException, ServletException {
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("Output: pageFind");
-    }
-    StringBuffer strBuf = new StringBuffer();
-    String strMessage = "";
-    CreateFileData[] Principio = CreateFileData.select(this, strKey);
-    CreateFileData[] Lineas = CreateFileData.selectLineas(this, strKey);
-    CreateFileData[] Total = CreateFileData.selectTotal(this, strKey);
-    int comprobacion1 = Integer.parseInt(CreateFileData.selectComprobacion1(this, strKey));
-    int comprobacion2 = Integer.parseInt(CreateFileData.selectComprobacion2(this, strKey));
-    int comprobacion3 = Integer.parseInt(CreateFileData.selectComprobacion3(this, strKey));
-    int comprobacion4 = Integer.parseInt(CreateFileData.selectComprobacion4(this, strKey));
-    CreateFileData[] comprobacion5 = CreateFileData.selectComprobacion5(this, strKey);
-    if (log4j.isDebugEnabled()) {
-      log4j.debug(" c1:" + comprobacion1 + " c2:" + comprobacion2 + " c3:" + comprobacion3 + " c4:"
-          + comprobacion4 + " c5:" + comprobacion5.length);
-    }
-
-    for (int i = 0; i < comprobacion5.length; i++) {
-      strMessage = strMessage + comprobacion5[i].bpname + " "
-          + Utility.messageBD(this, "CodeBankBPErrorMultiple", vars.getLanguage()) + "<br />";
-    }
-    if (!strMessage.equals("")) {
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    }
-
-    if (comprobacion1 != 0 || comprobacion2 == 0 || comprobacion3 != 1 || comprobacion4 == 0) {
-      strMessage = Utility.messageBD(this, "CreateFileError", vars.getLanguage());
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    }
-    int contador = 2;
-    // dubugging headers
-    if (Principio == null || Principio.length == 0) {
-      strMessage = Utility.messageBD(this, "DefaultAccountError", vars.getLanguage());
-      printPage(response, vars, strKey, "", "", strMessage, false);
-      return;
-    }
-    if (Lineas == null || Total == null) {
-      return;
-    }
-    if (Principio[0].nif == null || Principio[0].nif.equals("")) {
-      strMessage = Utility.messageBD(this, "NIFError", vars.getLanguage());
-    }
-    if (Principio[0].codebank == null || Principio[0].codebank.equals("")) {
-      strMessage = Utility.messageBD(this, "CodeBankError", vars.getLanguage());
-    }
-    if (Principio[0].codebranch == null || Principio[0].codebranch.equals("")) {
-      strMessage = Utility.messageBD(this, "CodeBranchError", vars.getLanguage());
-    }
-    if (Principio[0].digitcontrol1 == null || Principio[0].digitcontrol1.equals("")) {
-      strMessage = Utility.messageBD(this, "DC1Error", vars.getLanguage());
-    }
-    if (Principio[0].digitcontrol2 == null || Principio[0].digitcontrol2.equals("")) {
-      strMessage = Utility.messageBD(this, "DC2Error", vars.getLanguage());
-    }
-    if (Principio[0].ine == null || Principio[0].ine.equals("")) {
-      strMessage = Utility.messageBD(this, "INEError", vars.getLanguage());
-    }
-    // presentation header
-    strBuf = strBuf.append("5170")
-        .append(Principio[0].nif)
-        .append(strContract)
-        .append(Principio[0].dateplanned);
-    strBuf = strBuf.append(Principio[0].entidad);
-    strBuf = strBuf.append(Principio[0].entofi).append("\r\n");
-    // ordering header
-    strBuf = strBuf.append("5370")
-        .append(Principio[0].nif)
-        .append(strContract)
-        .append(Principio[0].dateplanned);
-    strBuf = strBuf.append(Principio[0].entidad).append(Principio[0].nCuenta).append("        06");
-    strBuf = strBuf.append(Principio[0].ine).append("   \r\n");
-    // lines
-    for (int i = 0; i < Lineas.length; i++) {
-      // debugging lines
-      if (Lineas[i].creditcardnumber == null || Lineas[i].creditcardnumber.equals("")) {
-        strMessage = Utility.messageBD(this, "CodeBankBPError", vars.getLanguage())
-            + Lineas[i].tercero;
-      }
-      if (Lineas[i].fechaVencimiento == null || Lineas[i].fechaVencimiento.equals("")) {
-        strMessage = Utility.messageBD(this, "DatePlannedError", vars.getLanguage())
-            + Lineas[i].tercero;
-      }
-      if (Lineas[i].direccion == null || Lineas[i].direccion.equals("")) {
-        strMessage = Utility.messageBD(this, "AddressError", vars.getLanguage())
-            + Lineas[i].tercero;
-      }
-      if (Lineas[i].plaza == null || Lineas[i].plaza.equals("")) {
-        strMessage = Utility.messageBD(this, "SquareError", vars.getLanguage()) + Lineas[i].tercero;
-      }
-      if (Lineas[i].postal == null || Lineas[i].postal.equals("")) {
-        strMessage = Utility.messageBD(this, "PostCodeError", vars.getLanguage())
-            + Lineas[i].tercero;
-      }
-      if (Lineas[i].localidad == null || Lineas[i].localidad.equals("")) {
-        strMessage = Utility.messageBD(this, "TownError", vars.getLanguage()) + Lineas[i].tercero;
-      }
-      if (Lineas[i].fechaFactura == null || Lineas[i].fechaFactura.equals("")) {
-        strMessage = Utility.messageBD(this, "InvoiceDateError", vars.getLanguage())
-            + Lineas[i].tercero;
-        ;
-      }
-      strBuf = strBuf.append("5670")
-          .append(Principio[0].nif)
-          .append(strContract)
-          .append(Lineas[i].nFactura)
-          .append(Lineas[i].tercero);
-      strBuf = strBuf.append(Lineas[i].creditcardnumber)
-          .append(Lineas[i].payamt)
-          .append("                ");
-      strBuf = strBuf.append(Replace.replace(Lineas[i].concepto, "\n", ""))
-          .append(Lineas[i].fechaVencimiento)
-          .append("  \r\n");
-      contador++;
-      strBuf = strBuf.append("5676")
-          .append(Principio[0].nif)
-          .append(strContract)
-          .append(Lineas[i].nFactura)
-          .append(Lineas[i].direccion);
-      strBuf = strBuf.append(Lineas[i].plaza).append(Lineas[i].postal).append(Lineas[i].localidad);
-      strBuf = strBuf.append(Lineas[i].codigoProvincia)
-          .append(Lineas[i].fechaFactura)
-          .append("\r\n");
-      contador++;
-    }
-    CreateFileData[] NLineas = CreateFileData.selectNLineas(this, String.valueOf(contador));
-    // total orderer
-    strBuf = strBuf.append("5870")
-        .append(Principio[0].nif)
-        .append(strContract)
-        .append(NLineas[0].hueco);
-    strBuf = strBuf.append(Total[0].payamt)
-        .append(Total[0].nFactura)
-        .append(NLineas[0].lineas)
-        .append("\r\n");
-    NLineas = CreateFileData.selectNLineas(this, String.valueOf(contador + 2));
-    // total
-    strBuf = strBuf.append("5970").append(Principio[0].nif).append(strContract);
-    strBuf = strBuf.append(NLineas[0].ordenantes)
-        .append(Total[0].payamt)
-        .append(Total[0].nFactura)
-        .append(NLineas[0].lineas);
-    if (!strMessage.equals("")) {
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    } else {
-      response.setContentType("application/rtf");
-      response.setHeader("Content-Disposition", "attachment; filename=BANK.DAT");
-      PrintWriter out = response.getWriter();
-      out.println(strBuf.toString());
-      out.close();
-    }
-  }
-
-  private void printPageFind19(HttpServletResponse response, VariablesSecureApp vars, String strKey,
-      String strContract) throws IOException, ServletException {
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("Output: pageFind");
-    }
-    StringBuffer strBuf = new StringBuffer();
-    String strMessage = "";
-    CreateFileData[] Principio = CreateFileData.select(this, strKey);
-    CreateFileData[] Lineas = CreateFileData.selectLineas(this, strKey);
-    CreateFileData[] Total = CreateFileData.selectTotal(this, strKey);
-
-    int comprobacion1 = Integer.parseInt(CreateFileData.selectComprobacion1(this, strKey));
-    int comprobacion2 = Integer.parseInt(CreateFileData.selectComprobacion2(this, strKey));
-    int comprobacion3 = Integer.parseInt(CreateFileData.selectComprobacion3(this, strKey));
-    int comprobacion4 = Integer.parseInt(CreateFileData.selectComprobacion4(this, strKey));
-    CreateFileData[] comprobacion5 = CreateFileData.selectComprobacion5(this, strKey);
-    if (log4j.isDebugEnabled()) {
-      log4j.debug(" c1:" + comprobacion1 + " c2:" + comprobacion2 + " c3:" + comprobacion3 + " c4:"
-          + comprobacion4 + " c5:" + comprobacion5.length);
-    }
-
-    for (int i = 0; i < comprobacion5.length; i++) {
-      strMessage = strMessage + comprobacion5[i].bpname + " "
-          + Utility.messageBD(this, "CodeBankBPErrorMultiple", vars.getLanguage()) + "<br />";
-    }
-    if (!strMessage.equals("")) {
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    }
-
-    if (comprobacion1 != 0 || comprobacion2 == 0 || comprobacion3 != 1 || comprobacion4 == 0) {
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("Error: c1:" + comprobacion1 + " c2:" + comprobacion2 + " c3:" + comprobacion3
-            + " c4:" + comprobacion4);
-      }
-      strMessage = Utility.messageBD(this, "CreateFileError", vars.getLanguage());
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("check1 ok");
-    }
-    int contador = 2;
-    // debugging headers
-    if (Principio == null || Principio.length == 0) {
-      strMessage = Utility.messageBD(this, "DefaultAccountError", vars.getLanguage());
-      printPage(response, vars, strKey, "", "", strMessage, false);
-      return;
-    }
-    if (Lineas == null || Total == null) {
-      return;
-    }
-    if (Principio[0].nif == null || Principio[0].nif.equals("")) {
-      strMessage = Utility.messageBD(this, "NIFError", vars.getLanguage());
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("NIF");
-      }
-    }
-    if (Principio[0].codebank == null || Principio[0].codebank.equals("")) {
-      strMessage = Utility.messageBD(this, "CodeBankError", vars.getLanguage());
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("codebank");
-      }
-    }
-    if (Principio[0].codebranch == null || Principio[0].codebranch.equals("")) {
-      strMessage = Utility.messageBD(this, "CodeBranchError", vars.getLanguage());
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("CodeBranchError");
-      }
-    }
-    if (Principio[0].digitcontrol1 == null || Principio[0].digitcontrol1.equals("")) {
-      strMessage = Utility.messageBD(this, "DC1Error", vars.getLanguage());
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("DC1Error");
-      }
-    }
-    if (Principio[0].digitcontrol2 == null || Principio[0].digitcontrol2.equals("")) {
-      strMessage = Utility.messageBD(this, "DC2Error", vars.getLanguage());
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("DC2Error");
-      }
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("check2 ok");
-    }
-    // presentation header
-    strBuf = strBuf.append("5180")
-        .append(Principio[0].nif)
-        .append(strContract)
-        .append(Principio[0].hoy)
-        .append(Principio[0].dateplanned);
-    strBuf = strBuf.append(Principio[0].entidad19);
-    strBuf = strBuf.append(Principio[0].entofi).append("\r\n");
-    // ordering header
-    strBuf = strBuf.append("5380")
-        .append(Principio[0].nif)
-        .append(strContract)
-        .append(Principio[0].hoy)
-        .append(Principio[0].dateplanned);
-    strBuf = strBuf.append(Principio[0].entidad19)
-        .append(Principio[0].nCuenta)
-        .append("        01                                                             ");
-    strBuf = strBuf.append("   \r\n");
-    // Lines
-    for (int i = 0; i < Lineas.length; i++) {
-      // lines debugging
-      if (Lineas[i].creditcardnumber == null || Lineas[i].creditcardnumber.equals("")) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("CodeBankBPError");
-        }
-        strMessage = Utility.messageBD(this, "CodeBankBPError", vars.getLanguage())
-            + Lineas[i].tercero;
-      }
-      if (Lineas[i].fechaVencimiento == null || Lineas[i].fechaVencimiento.equals("")) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("DatePlannedError");
-        }
-        strMessage = Utility.messageBD(this, "DatePlannedError", vars.getLanguage())
-            + Lineas[i].tercero;
-      }
-      if (Lineas[i].direccion == null || Lineas[i].direccion.equals("")) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("AddressError");
-        }
-        strMessage = Utility.messageBD(this, "AddressError", vars.getLanguage())
-            + Lineas[i].tercero;
-      }
-      if (Lineas[i].plaza == null || Lineas[i].plaza.equals("")) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("SquareError");
-        }
-        strMessage = Utility.messageBD(this, "SquareError", vars.getLanguage()) + Lineas[i].tercero;
-      }
-      if (Lineas[i].postal == null || Lineas[i].postal.equals("")) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("PostCodeError");
-        }
-        strMessage = Utility.messageBD(this, "PostCodeError", vars.getLanguage())
-            + Lineas[i].tercero;
-      }
-      if (Lineas[i].localidad == null || Lineas[i].localidad.equals("")) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("TownError");
-        }
-        strMessage = Utility.messageBD(this, "TownError", vars.getLanguage()) + Lineas[i].tercero;
-      }
-      if (Lineas[i].fechaFactura == null || Lineas[i].fechaFactura.equals("")) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("InvoiceDateError");
-        }
-        strMessage = Utility.messageBD(this, "InvoiceDateError", vars.getLanguage())
-            + Lineas[i].tercero;
-        ;
-      }
-      strBuf = strBuf.append("5680")
-          .append(Principio[0].nif)
-          .append(strContract)
-          .append(Lineas[i].nFactura19)
-          .append(Lineas[i].tercero);
-      strBuf = strBuf.append(Lineas[i].creditcardnumber)
-          .append(Lineas[i].payamt)
-          .append("0000000000000000");
-      strBuf = strBuf.append(Replace.replace(Lineas[i].concepto, "\n", ""))
-          .append(Lineas[i].fechaVencimiento)
-          .append("  \r\n");
-      contador++;
-      /*
-       * strBuf = strBuf.append("5676").append(Principio[0].nif).append("000"
-       * ).append(Lineas[i].nFactura).append(Lineas[i].direccion); strBuf =
-       * strBuf.append(Lineas[i].plaza).append(Lineas[i].postal).append(Lineas [i].localidad);
-       * strBuf = strBuf.append(Lineas[i].codigoProvincia).
-       * append(Lineas[i].fechaFactura).append("\r\n"); contador++;
-       */
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("check3 ok");
-    }
-    CreateFileData[] NLineas = CreateFileData.selectNLineas(this, String.valueOf(contador));
-    // total orderer
-    strBuf = strBuf.append("5880")
-        .append(Principio[0].nif)
-        .append(strContract)
-        .append(NLineas[0].hueco);
-    strBuf = strBuf.append(Total[0].payamt)
-        .append(Total[0].nFactura)
-        .append(NLineas[0].lineas)
-        .append("\r\n");
-    NLineas = CreateFileData.selectNLineas(this, String.valueOf(contador + 2));
-    // total
-    strBuf = strBuf.append("5980").append(Principio[0].nif).append(strContract);
-    strBuf = strBuf.append(NLineas[0].ordenantes)
-        .append(Total[0].payamt)
-        .append(Total[0].nFactura)
-        .append(NLineas[0].lineas);
-    if (!strMessage.equals("")) {
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    } else {
-      response.setContentType("application/rtf");
-      response.setHeader("Content-Disposition", "attachment; filename=BANK.DAT");
-      PrintWriter out = response.getWriter();
-      out.println(strBuf.toString());
-      out.close();
-    }
-  }
-
-  private void printPageFind34(HttpServletResponse response, VariablesSecureApp vars, String strKey)
-      throws IOException, ServletException {
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("Output: pageFind34");
-    }
-    StringBuffer strBuf = new StringBuffer();
-    String strMessage = "";
-
-    String strConcepto = CreateFileData.selectParam(this, strKey, "CONCEPTO");
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("Item" + strConcepto);
-    }
-    if (strConcepto == null || strConcepto.equals("")) {
-      strConcepto = "N";
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("Item" + strConcepto);
-    }
-    char cConcepto = strConcepto.charAt(0);
-
-    String strCodigo;
-
-    switch (cConcepto) {
-      case 'C': // check
-        strCodigo = "57";
-        break;
-      case 'R': // promissory note
-        strCodigo = "58";
-        break;
-      case 'P': // certified payments
-        strCodigo = "59";
-        break;
-      default: // Salaries y bank transfers
-        strCodigo = "56";
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("code" + strCodigo);
-    }
-    /*
-     * 1->Orderer (by default) 2->Beneficiary
-     */
-    String strGastos = CreateFileData.selectParam(this, strKey, "GASTOS");
-    if (strGastos == null || !strGastos.equals("2")) {
-      strGastos = "1";
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("strGastos" + strGastos);
-    }
-
-    /*
-     * 0->Only one journal entry 1->One entry per beneficiary
-     */
-    String strDetalle = CreateFileData.selectParam(this, strKey, "DETALLE");
-    if (strDetalle == null || !strDetalle.equals("1")) {
-      strDetalle = "0";
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("code" + strDetalle);
-    }
-
-    CreateFile34Data[] Principio = CreateFile34Data.select(this, strKey);
-    CreateFile34Data[] Lineas = CreateFile34Data.selectLineas(this, strKey);
-    CreateFile34Data[] Total = CreateFile34Data.selectTotal(this, strKey);
-    int comprobacion1 = Integer.parseInt(CreateFileData.selectComprobacion1(this, strKey));
-    int comprobacion2 = Integer.parseInt(CreateFileData.selectComprobacion2(this, strKey));
-    int comprobacion3 = Integer.parseInt(CreateFileData.selectComprobacion3(this, strKey));
-    int comprobacion4 = Integer.parseInt(CreateFileData.selectComprobacion4(this, strKey));
-    CreateFileData[] comprobacion5 = CreateFileData.selectComprobacion5(this, strKey);
-    if (log4j.isDebugEnabled()) {
-      log4j.debug(" c1:" + comprobacion1 + " c2:" + comprobacion2 + " c3:" + comprobacion3 + " c4:"
-          + comprobacion4 + " c5:" + comprobacion5.length);
-    }
-
-    for (int i = 0; i < comprobacion5.length; i++) {
-      strMessage = strMessage + comprobacion5[i].bpname + " "
-          + Utility.messageBD(this, "CodeBankBPErrorMultiple", vars.getLanguage()) + "<br />";
-    }
-    if (!strMessage.equals("")) {
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    }
-
-    if (comprobacion1 != 0 || comprobacion2 == 0 || comprobacion3 != 1 || comprobacion4 == 0) {
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("Error: c1:" + comprobacion1 + " c2:" + comprobacion2 + " c3:" + comprobacion3
-            + " c4:" + comprobacion4);
-      }
-      strMessage = Utility.messageBD(this, "CreateFileError", vars.getLanguage());
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    }
-
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("Principio[0].taxid = " + Principio[0].taxid);
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("Principio[0].acct = " + Principio[0].acct);
-    }
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("check1 ok");
-    }
-
-    // debugging headers
-    if (Principio == null || Principio.length == 0) {
-      strMessage = Utility.messageBD(this, "DefaultAccountError", vars.getLanguage());
-      printPage(response, vars, strKey, "", "", strMessage, false);
-      return;
-    }
-    if (Lineas == null || Total == null) {
-      return;
-    }
-    if (Principio[0].taxid == null || Principio[0].taxid.length() != 9) {
-      strMessage = Utility.messageBD(this, "NIFError", vars.getLanguage());
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("VAT number");
-      }
-      printPage(response, vars, strKey, "", "", strMessage, false);
-      return;
-    }
-    if (Principio[0].acct == null || Principio[0].acct.length() != 18) {
-      strMessage = Utility.messageBD(this, "BankAccountError", vars.getLanguage());
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("bankaccount");
-      }
-      printPage(response, vars, strKey, "", "", strMessage, false);
-      return;
-    }
-
-    /*
-     * if (comprobacion341!=0) { strMessage = Utility.messageBD(this, "TodayHigherDueData",
-     * vars.getLanguage()); if (log4j.isDebugEnabled()) log4j.debug("TodayHigherDueData");
-     * printPage(response, vars, strKey, "", "", strMessage, false); return; }
-     */
-
-    if (log4j.isDebugEnabled()) {
-      log4j.debug("check2 ok");
-    }
-    // header: orderer
-    // 001
-    strBuf = strBuf.append("03").append(strCodigo).append(Principio[0].nif).append("            "); // A
-    // -
-    // D
-    // (common)
-    strBuf = strBuf.append("001").append(Principio[0].hoy).append(Principio[0].duedate); // E-F2
-    strBuf = strBuf.append(Principio[0].nCuenta)
-        .append(strDetalle)
-        .append("   ")
-        .append(Principio[0].dc)
-        .append(Principio[0].hueco)
-        .append("\r\n"); // F3-G
-
-    // 002
-    strBuf = strBuf.append("03").append(strCodigo).append(Principio[0].nif).append("            "); // A
-    // -
-    // D
-    // (common)
-    strBuf = strBuf.append("002")
-        .append(Principio[0].nombre)
-        .append(Principio[0].hueco)
-        .append("\r\n"); // E-G
-
-    // 003
-    strBuf = strBuf.append("03").append(strCodigo).append(Principio[0].nif).append("            "); // A
-    // -
-    // D
-    // (common)
-    strBuf = strBuf.append("003")
-        .append(Principio[0].domicilio)
-        .append(Principio[0].hueco)
-        .append("\r\n"); // E-G
-
-    // 004
-    strBuf = strBuf.append("03").append(strCodigo).append(Principio[0].nif).append("            "); // A
-    // -
-    // D
-    // (common)
-    strBuf = strBuf.append("004")
-        .append(Principio[0].plaza)
-        .append(Principio[0].hueco)
-        .append("\r\n"); // E-G
-
-    int contador = 4;
-    // Lines
-    for (int i = 0; i < Lineas.length; i++) {
-      // debugging lines
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("Lineas[i].taxid=" + Lineas[i].taxid);
-      }
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("Lineas[i].acct=" + Lineas[i].acct);
-      }
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("Lineas[i].nom=" + Lineas[i].nom);
-      }
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("Lineas[i].dom=" + Lineas[i].dom);
-      }
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("Lineas[i].pla=" + Lineas[i].pla);
-      }
-      if (log4j.isDebugEnabled()) {
-        log4j.debug("Lineas[i].prov=" + Lineas[i].prov);
-      }
-
-      if (Lineas[i].nom == null || Lineas[i].nom.length() < 1) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("NameError");
-        }
-        strMessage = Utility.messageBD(this, "NameError", vars.getLanguage()) + Lineas[i].nif;
-        printPage(response, vars, strKey, "", "", strMessage, false);
-        return;
-      }
-      if (Lineas[i].taxid == null || Lineas[i].taxid.length() != 9) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("NIFError");
-        }
-        strMessage = Utility.messageBD(this, "NIFBPartnerError", vars.getLanguage())
-            + Lineas[i].nombre;
-        printPage(response, vars, strKey, "", "", strMessage, false);
-        return;
-      }
-      if (Lineas[i].acct == null || Lineas[i].acct.length() != 20) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("CodeBankBPError");
-        }
-        strMessage = Utility.messageBD(this, "CodeBankBPError", vars.getLanguage())
-            + Lineas[i].nombre;
-        printPage(response, vars, strKey, "", "", strMessage, false);
-        return;
-      }
-      if (Lineas[i].dom == null || Lineas[i].dom.length() < 1) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("AddressError");
-        }
-        strMessage = Utility.messageBD(this, "AddressError", vars.getLanguage()) + Lineas[i].nombre;
-        printPage(response, vars, strKey, "", "", strMessage, false);
-        return;
-      }
-      if (Lineas[i].pla == null || Lineas[i].pla.length() < 1) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("SquareError");
-        }
-        strMessage = Utility.messageBD(this, "SquareError", vars.getLanguage()) + Lineas[i].nombre;
-        printPage(response, vars, strKey, "", "", strMessage, false);
-        return;
-      }
-      if (Lineas[i].prov == null || Lineas[i].prov.length() < 1) {
-        if (log4j.isDebugEnabled()) {
-          log4j.debug("AddressError");
-        }
-        strMessage = Utility.messageBD(this, "AddressError", vars.getLanguage()) + Lineas[i].nombre;
-        printPage(response, vars, strKey, "", "", strMessage, false);
-        return;
-      }
-      // 010
-      strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-      // -
-      // D
-      // (common)
-      strBuf = strBuf.append("010").append(Lineas[i].payamt).append(Lineas[i].nCuenta); // F1-F4
-      strBuf = strBuf.append(strGastos);
-      strBuf = strBuf.append(cConcepto == 'N' ? "1" : cConcepto == 'P' ? "8" : "9").append("  ");
-      strBuf = strBuf.append(Lineas[i].dc).append(Principio[0].hueco).append("\r\n");
-
-      // 011
-      strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-      // -
-      // D
-      // (common)
-      strBuf = strBuf.append("011")
-          .append(Lineas[i].nombre)
-          .append(Principio[0].hueco)
-          .append("\r\n");
-      // 012
-      strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-      // -
-      // D
-      // (common)
-      strBuf = strBuf.append("012")
-          .append(Lineas[i].domicilio)
-          .append(Principio[0].hueco)
-          .append("\r\n");
-
-      // 014
-      strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-      // -
-      // D
-      // (common)
-      strBuf = strBuf.append("014")
-          .append(Lineas[i].plaza)
-          .append(Principio[0].hueco)
-          .append("\r\n");
-
-      // 015
-      strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-      // -
-      // D
-      // (common)
-      strBuf = strBuf.append("015")
-          .append(Lineas[i].provincia)
-          .append(Principio[0].hueco)
-          .append("\r\n");
-
-      // 016
-      strBuf = strBuf.append("06").append(strCodigo).append(Principio[0].nif).append(Lineas[i].nif); // A
-      // -
-      // D
-      // (common)
-      strBuf = strBuf.append("016")
-          .append(Lineas[i].concepto.replaceAll("\r", " ").replaceAll("\n", " "))
-          .append(Principio[0].hueco)
-          .append("\r\n");
-
-      contador += 6;
-    }
-    // total
-    CreateFile34Data[] NLineas = CreateFile34Data.selectNLineas(this, String.valueOf(contador + 1),
-        ((Integer) Lineas.length).toString());
-    strBuf = strBuf.append("08").append(strCodigo).append(Principio[0].nif).append(Total[0].payamt); // A
-    // -
-    // E
-    strBuf = strBuf.append(NLineas[0].ordenantes)
-        .append(NLineas[0].lineas)
-        .append(NLineas[0].hueco);
-
-    if (!strMessage.equals("")) {
-      printPage(response, vars, strKey, "", "", strMessage, false);
-    } else {
-      response.setContentType("application/rtf");
-      response.setHeader("Content-Disposition", "attachment; filename=BANK.DAT");
-      PrintWriter out = response.getWriter();
-      out.println(strBuf.toString());
-      out.close();
-    }
-  }
-
-  @Override
-  public String getServletInfo() {
-    return "Servlet for the generation of files for banks";
-  } // end of getServletInfo() method
-}
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFile.xml	Tue Apr 30 14:51:23 2019 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-<?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="CreateFile.html"/>
-	<PARAMETER id="paramLanguage" name="language" default=""/>
-	<PARAMETER id="paramcRemittanceId" name="key" default="" attribute="value"/>
-	<PARAMETER id="window" name="window" default="" attribute="value"/>
-	<SUBREPORT id="reportTyperemittance" name="reportTyperemittance" report="org/openbravo/erpCommon/reference/List">
-		<ARGUMENT name="parameterListSelected"/>
-	</SUBREPORT>
-	<PARAMETER id="paramDirectory" name="directory" default=""/>
-	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
-	<PARAMETER id="processDescription" name="description" replaceCharacters="htmlHelp" default=""/>
-	<PARAMETER id="processHelp" name="help" replaceCharacters="htmlHelp" default=""/>
-	<PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
-	<PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
-	<PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
-	<DISCARD id="discard"/>
-</REPORT>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFile34_data.xsql	Tue Apr 30 14:51:23 2019 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,140 +0,0 @@
-<?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 id="class" name="CreateFile34Data" package="org.openbravo.erpCommon.ad_actionButton">
-  <SqlClassComment></SqlClassComment>
-  <SqlMethod name="select" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-    select lpad(oi.taxID,10)                                                             AS NIF,
-    TO_CHAR(now(), 'DD')||TO_CHAR(now(), 'MM')||TO_CHAR(now(), 'YY')                     AS HOY,
-    TO_CHAR(r.duedate, 'DD')||TO_CHAR(r.duedate, 'MM')||TO_CHAR(r.duedate, 'YY')         AS DUEDATE,
-    LPAD(B.CODEBANK,4,'0')||LPAD(B.CODEBRANCH,4,'0')||LPAD(ba.CODEACCOUNT,10,'0')        AS N_CUENTA,
-    LPAD(B.DIGITCONTROL||ba.DIGITCONTROL,2,'0')                                          AS DC,
-    REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(
-    RPAD(O.NAME,36)
-    ),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U')                                       AS NOMBRE,
-    REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(
-    RPAD(l.Address1||' '||l.Address2,36)
-    ),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U')                                       AS DOMICILIO,
-    REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(
-    RPAD(l.City,36)
-    ),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U')                                       AS PLAZA,
-    rpad(' ',7,' ')                                                                      AS HUECO,
-    ''                                                                                   AS PROVINCIA,
-    ''                                                                                   AS CONCEPTO,
-    ''                                                                                   AS PAYAMT,
-    ''                                                                                   AS LINEAS,
-    ''                                                                                   AS ORDENANTES,
-    oi.taxID                                                                             AS TAXID,
-    ''                                                                                   AS DOM,
-    ''                                                                                   AS PLA,
-    ''                                                                                   AS PROV,
-    ''                                                                                   AS NOM,
-    B.CODEBANK || B.CODEBRANCH || ba.CODEACCOUNT                                         AS ACCT
-     from  c_bankAccount    ba,
-           ad_client        c,
-           c_Bank           b,
-           ad_orgInfo       oi,
-           ad_org           o,
-           c_remittance     r,
-           c_Location       l
-     where c.Ad_Client_ID = r.AD_Client_Id
-       and r.AD_ORG_ID = oi.ad_org_id
-       and oi.ad_org_id = o.ad_org_id
-       and r.C_BANKACCOUNT_ID = ba.c_bankAccount_id
-       and b.c_bank_id = ba.c_bank_Id
-       and oi.C_Location_ID = l.C_location_ID
-      and r.C_Remittance_ID = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-
-   <SqlMethod name="selectLineas" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT LPAD(BP.TAXID,12,' ')                      AS NIF, BP.TAXID,
-             LPAD(TO_CHAR(ROUND(DP.AMOUNT*100)),12,'0')                   AS PAYAMT,
-             SUBSTR(TRIM(LPAD(BP_A.ACCOUNTNO,20,'0')),1,4)|| /*BANCO*/
-             SUBSTR(TRIM(LPAD(BP_A.ACCOUNTNO,20,'0')),5,4)|| /*OFICINA*/
-             SUBSTR(TRIM(LPAD(BP_A.ACCOUNTNO,20,'0')),11) AS N_CUENTA,
-             SUBSTR(TRIM(LPAD(BP_A.ACCOUNTNO,20,'0')),9,2)AS DC, BP_A.ACCOUNTNO AS ACCT,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(RPAD(COALESCE(BP.NAME2,BP.NAME),36,' ')),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS nombre,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(COALESCE(BP.NAME2,BP.NAME)),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS NOM,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(RPAD(COALESCE(to_char(L.ADDRESS1),'')||' '||COALESCE(to_char(L.ADDRESS2),''),36,' ')),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS DOMICILIO,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(COALESCE(to_char(L.ADDRESS2),'')||COALESCE(to_char(L.ADDRESS1),'')),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS DOM,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(RPAD(COALESCE(to_char(L.POSTAL),''),5)||RPAD(COALESCE(to_char(L.CITY),''),31,' ')),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS PLAZA,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(COALESCE(to_char(L.POSTAL),'')||COALESCE(to_char(L.CITY),'')),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS PLA,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(RPAD(COALESCE(to_char(R.DESCRIPTION),' '),36,' ')),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS PROVINCIA,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(R.DESCRIPTION),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS PROV,
-             REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(RPAD(COALESCE(to_char(DP.DESCRIPTION),' '),36,' ')),'Á','A'),'É','E'),'Í','I'),'Ó','O'),'Ú','U') AS CONCEPTO
-             FROM c_remittanceline S, C_DEBT_PAYMENT DP,
-                                  C_BPARTNER BP left join C_BP_BANKACCOUNT BP_A on BP.C_BPARTNER_ID = BP_A.C_BPARTNER_ID
-                                  LEFT JOIN C_BPARTNER_LOCATION BP_L on BP.C_BPARTNER_ID = BP_L.C_BPARTNER_ID
-                                  LEFT JOIN C_LOCATION L on BP_L.C_LOCATION_ID = L.C_LOCATION_ID
-                                  LEFT JOIN C_REGION R on L.C_REGION_ID = R.C_REGION_ID
-      WHERE S.C_debt_payment_id = DP.C_debt_payment_id
-      AND DP.C_BPARTNER_ID = BP.C_BPARTNER_ID
-      AND BP_L.C_BPARTNER_LOCATION_ID = COALESCE(C_GETBPLOCATIONID(BP.C_BPARTNER_ID, 'B'),BP_L.C_BPARTNER_LOCATION_ID)
-      AND (BP_A.C_BPARTNER_ID IS NULL OR BP_A.ISACTIVE = 'Y')
-      and s.C_Remittance_ID = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-
-
-  <SqlMethod name="selectTotal" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-          SELECT lpad(Lpad(TO_CHAR(round(sum(DP.AMOUNT)*100)),12,'0'),27,' ') AS PAYAMT
-      FROM C_DEBT_PAYMENT DP,
-           c_remittanceLine rl
-     where dp.c_debt_payment_id = rl.c_debt_payment_id
-       and rl.C_Remittance_ID = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-
-
-  <SqlMethod name="selectNLineas" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-       SELECT LPAD(?,10,'0') AS LINEAS,
-              LPAD(?,8,'0')  AS ORDENANTES,
-              LPAD(' ',13,' ') AS HUECO
-         FROM DUAL
-    ]]>
-    </Sql>
-    <Parameter name="nLineas"/>
-    <Parameter name="nOrdenantes"/>
-    </SqlMethod>
-
-</SqlClass>
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFile_data.xsql	Tue Apr 30 14:51:23 2019 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,188 +0,0 @@
-<?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 id="class" name="CreateFileData" package="org.openbravo.erpCommon.ad_actionButton">
-  <SqlClassComment></SqlClassComment>
-  <SqlMethod name="select" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-				select B.NAME AS BANK,b.codebank, b.codebranch, b.DIGITCONTROL as digitcontrol1, ba.DIGITCONTROL as digitcontrol2,
-      ba.CODEACCOUNT,
-			LPAD(B.CODEBANK,4,'0')||LPAD(B.CODEBRANCH,4,'0')||B.DIGITCONTROL||ba.DIGITCONTROL||LPAD(ba.CODEACCOUNT,10,'0') AS N_CUENTA,
-      lpad(rpad(o.NAME,40,' '),46,' ') AS ENTIDAD, rpad(o.NAME,40,' ') AS ENTIDAD19, oi.TAXID AS NIF, TO_CHAR(r.Duedate  ,'DD')||TO_CHAR(r.Duedate,'MM')||TO_CHAR(r.Duedate,'YY')AS DATEPLANNED, TO_CHAR(now(), 'DD')||TO_CHAR(now(), 'MM')||TO_CHAR(now(), 'YY') AS HOY,
-			LPAD(RPAD(LPAD(B.CODEBANK,4,'0')||LPAD(B.CODEBRANCH,4,'0'),74,' '),94,' ') AS ENTOFI, LPAD(B.INE_NUMBER,61,' ') AS INE,
-			'' AS TERCERO,
-      '' AS FECHA_FACTURA, '' AS FECHA_VENCIMIENTO, '' AS PAYAMT, '' AS CREDITCARDNUMBER, '' AS N_FACTURA, '' AS N_FACTURA19, '' AS CIUDAD, '' AS DIRECCION,
-      '' AS CONCEPTO, '' AS PLAZA, '' AS LOCALIDAD, '' AS POSTAL, '' AS CODIGO_PROVINCIA, '' AS LINEAS, '' AS ORDENANTES, '' AS HUECO, '' AS CONTENT, '' AS bpname
-      from c_remittance r, ad_client c,
-					 c_bankAccount		ba,
-					 c_Bank						b,
-					 ad_orgInfo				oi,
-                     ad_org                 o
-		 where r.ad_client_id = c.ad_client_id
-		 	 and   r.AD_ORG_ID = oi.ad_org_id
-             and oi.ad_org_id  = o.ad_org_id
-			 and r.C_BANKACCOUNT_ID = ba.c_bankAccount_id
-			 and b.c_bank_id = ba.c_bank_Id
-       and r.C_Remittance_ID = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-  <SqlMethod name="selectLineas" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT RPAD(COALESCE(BA.A_Name,COALESCE(BP.NAME2,BP.NAME)),40,' ') AS TERCERO,RPAD(TO_CHAR(COALESCE(C_INVOICE.DATEINVOICED,DP.DATEPLANNED), 'DDMMYY'),14) AS FECHA_FACTURA,
-      TO_CHAR(TO_CHAR(DP.DATEPLANNED, 'DDMMYY')) AS FECHA_VENCIMIENTO,LPAD(TO_CHAR(ROUND(DP.AMOUNT*100,0)),10,'0') AS PAYAMT,
-      (SELECT MAX(BP_A.ACCOUNTNO) FROM C_BP_BANKACCOUNT BP_A WHERE BP.C_BPARTNER_ID = BP_A.C_BPARTNER_ID AND BP_A.ISACTIVE='Y')  AS CREDITCARDNUMBER,
-      LPAD(BP.VALUE,12,'0') AS N_FACTURA, RPAD(LPAD(BP.VALUE,8,'0'),12,' ') AS N_FACTURA19,L.CITY AS CIUDAD, RPAD(L.ADDRESS1,40,' ') AS DIRECCION,
-      TO_CHAR(now(),'DD')||TO_CHAR(now(),'MM')||TO_CHAR(now(),'YY') AS HOY, RPAD(COALESCE(TO_CHAR(DP.DESCRIPTION),' '),40,' ') AS CONCEPTO,
-      RPAD(L.CITY,35,' ') AS PLAZA, RPAD(L.CITY,38,' ') AS LOCALIDAD, L.POSTAL AS POSTAL, SUBSTR(L.POSTAL,1,2) AS CODIGO_PROVINCIA, BP.TAXID AS NIF
-      FROM c_remittanceline S, C_BPARTNER_LOCATION BP_L,
-      C_LOCATION L, C_BPARTNER BP, C_BP_BankAccount BA,
-      C_DEBT_PAYMENT DP left join C_INVOICE on DP.C_INVOICE_ID = C_INVOICE.C_INVOICE_ID
-      WHERE S.C_debt_payment_id = DP.C_debt_payment_id
-      AND BA.C_BPartner_ID = BP.C_BPartner_ID
-      AND DP.C_BPARTNER_ID = BP.C_BPARTNER_ID
-      AND BP_L.C_BPARTNER_LOCATION_ID = C_GETBPLOCATIONID(BP.C_BPARTNER_ID, 'B')
-      AND BP_L.C_LOCATION_ID = L.C_LOCATION_ID
-      AND BA.IsActive = 'Y'
-      and s.C_Remittance_ID = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-  <SqlMethod name="selectTotal" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      SELECT RPAD(LPAD(TO_CHAR(ROUND(sum(DP.AMOUNT)*100,0)),10,'0'),16,' ') AS PAYAMT,
-      LPAD(TO_CHAR(COUNT(*)),10,'0') AS N_FACTURA
-      FROM C_DEBT_PAYMENT DP,
-			     c_remittanceLine rl
-		 where dp.c_debt_payment_id = rl.c_debt_payment_id
-       and rl.C_Remittance_ID = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-  <SqlMethod name="selectNLineas" type="preparedStatement" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-    SELECT RPAD(LPAD(?,10,'0'),48,' ') AS LINEAS, LPAD(RPAD(LPAD('1',4,'0'),20,' '),72,' ') AS ORDENANTES, LPAD(' ',72,' ') AS HUECO FROM DUAL
-    ]]>
-    </Sql>
-    <Parameter name="nLineas"/>
-    </SqlMethod>
-   <SqlMethod name="selectParam" type="preparedStatement" return="String">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-      select upper(Content)
-        from c_Remittance           r,
-             c_Remittance_Type      rt,
-             c_Remittance_Parameter rp
-			 where r.C_Remittance_Type_id = rt.C_Remittance_Type_id
-			   and rp.C_Remittance_Type_Id =  rt.C_Remittance_Type_id
-				 and r.C_Remittance_id = ?
-				 and upper(rp.name)=upper(to_char(?))
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    <Parameter name="param"/>
-    </SqlMethod>
-  <SqlMethod name="selectComprobacion1" type="preparedStatement" return="string">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-    SELECT count(*)
-		FROM C_DEBT_PAYMENT DP,
-		     c_remittanceLine rl
-    WHERE rl.c_debt_payment_id = dp.c_debt_payment_id
-    AND DP.ISPAID = 'N'
-    AND DP.C_BPARTNER_ID = NULL
-		and rl.c_remittance_id = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-  <SqlMethod name="selectComprobacion2" type="preparedStatement" return="string">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-    	SELECT COUNT(*)
-		  FROM c_remittanceLine rl
-    WHERE rl.c_remittance_id = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-  <SqlMethod name="selectComprobacion3" type="preparedStatement" return="string">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-    	select count(*)
-		  from c_remittance
-		where processed='Y'
-		 and c_remittance_id = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-    </SqlMethod>
-  <SqlMethod name="selectComprobacion4" type="preparedStatement" return="string">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-    		 SELECT count(*)
-		 FROM C_DEBT_PAYMENT DP,
-		      c_remittanceLine rl
-    WHERE DP.C_DEBT_PAYMENT_ID = rl.C_DEBT_PAYMENT_id
-    AND DP.ISPAID = 'N'
-    AND DP.C_BPARTNER_ID IS NOT NULL
-		and rl.c_remittance_id = ?
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-   </SqlMethod>
-   <SqlMethod name="selectComprobacion5" type="preparedStatement" return="multiple" audit="false">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-    <![CDATA[
-        SELECT c_bpartner.name as bpname
-        FROM c_remittanceline
-        INNER JOIN c_debt_payment ON (c_debt_payment.c_debt_payment_id= c_remittanceline.c_debt_payment_id)
-        INNER JOIN c_bp_bankaccount ON (c_bp_bankaccount.c_bpartner_id= c_debt_payment.c_bpartner_id and c_bp_bankaccount.isactive='Y')
-        INNER JOIN c_bpartner ON (c_bp_bankaccount.c_bpartner_id= c_bpartner.c_bpartner_id)
-        WHERE c_remittanceline.C_Remittance_ID = ?
-        GROUP BY c_debt_payment.c_bpartner_id,c_bpartner.name, c_remittanceline.c_debt_payment_id
-        HAVING count(*)>1
-    ]]>
-    </Sql>
-    <Parameter name="cRemittanceId"/>
-   </SqlMethod>
-</SqlClass>
-
--- a/src/org/openbravo/erpCommon/ad_actionButton/TyperemittanceCombo_data.xsql	Tue Apr 30 14:51:23 2019 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-<?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="TyperemittanceComboData" package="org.openbravo.erpCommon.ad_actionButton">
-   <SqlClassComment></SqlClassComment>
-   <SqlMethod name="select" type="preparedStatement" return="multiple">
-      <SqlMethodComment></SqlMethodComment>
-      <Sql>
-        SELECT C_Remittance_Type_ID as id, Name AS name 
-        FROM C_Remittance_Type 
-        WHERE IsActive='Y' 
-        AND AD_Client_ID IN ('1') 
-        AND AD_Org_ID IN ('1')
-        ORDER BY NAME
-      </Sql>
-      <Parameter name="adUserClient" type="replace" optional="true" after="AD_Client_ID IN (" text="'1'"/>
-      <Parameter name="adUserOrg" type="replace" optional="true" after="AD_Org_ID IN (" text="'1'"/>
-   </SqlMethod>
-</SqlClass>