-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Tab Separed Value - Comma Separed Value - Pipe Separed Value
- Loading branch information
1 parent
9c91e50
commit cbae131
Showing
7 changed files
with
359 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
financial/src/main/java/base/org/erpya/lve/bank/imp/Tesoro_Loader_Psv.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/************************************************************************************* | ||
* Product: Adempiere ERP & CRM Smart Business Solution * | ||
* Copyright (C) 2012-2018 E.R.P. Consultores y Asociados, C.A. * | ||
* Contributor(s): Yamel Senih ysenih@erpya.com * | ||
* This program is free software: you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation, either version 3 of the License, or * | ||
* (at your option) any later version. * | ||
* This program is distributed in the hope that it will be useful, * | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | ||
* GNU General Public License for more details. * | ||
* You should have received a copy of the GNU General Public License * | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. * | ||
************************************************************************************/ | ||
package org.erpya.lve.bank.imp; | ||
|
||
import org.spin.util.impexp.BankStatementHandler; | ||
import org.spin.util.impexp.BankTransactionAbstract; | ||
|
||
/** | ||
* File of Tesoro Bank support Semicolon separed value | ||
* @author Yamel Senih, ysenih@erpya.com , http://www.erpya.com | ||
* <li> FR [ 1701 ] Add support to MT940 format | ||
* @see https://github.com/adempiere/adempiere/issues/1701 | ||
*/ | ||
public final class Tesoro_Loader_Psv extends BankStatementHandler { | ||
@Override | ||
protected BankTransactionAbstract getBankTransactionInstance() { | ||
return new Tesoro_Psv(); | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
financial/src/main/java/base/org/erpya/lve/bank/imp/Tesoro_Loader_Ssv.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/************************************************************************************* | ||
* Product: Adempiere ERP & CRM Smart Business Solution * | ||
* Copyright (C) 2012-2018 E.R.P. Consultores y Asociados, C.A. * | ||
* Contributor(s): Yamel Senih ysenih@erpya.com * | ||
* This program is free software: you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation, either version 3 of the License, or * | ||
* (at your option) any later version. * | ||
* This program is distributed in the hope that it will be useful, * | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | ||
* GNU General Public License for more details. * | ||
* You should have received a copy of the GNU General Public License * | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. * | ||
************************************************************************************/ | ||
package org.erpya.lve.bank.imp; | ||
|
||
import org.spin.util.impexp.BankStatementHandler; | ||
import org.spin.util.impexp.BankTransactionAbstract; | ||
|
||
/** | ||
* File of Tesoro Bank support Pipe separed value | ||
* @author Yamel Senih, ysenih@erpya.com , http://www.erpya.com | ||
* <li> FR [ 1701 ] Add support to MT940 format | ||
* @see https://github.com/adempiere/adempiere/issues/1701 | ||
*/ | ||
public final class Tesoro_Loader_Ssv extends BankStatementHandler { | ||
@Override | ||
protected BankTransactionAbstract getBankTransactionInstance() { | ||
return new Tesoro_Ssv(); | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
financial/src/main/java/base/org/erpya/lve/bank/imp/Tesoro_Psv.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/************************************************************************************* | ||
* Product: Adempiere ERP & CRM Smart Business Solution * | ||
* Copyright (C) 2012-2018 E.R.P. Consultores y Asociados, C.A. * | ||
* Contributor(s): Yamel Senih ysenih@erpya.com * | ||
* This program is free software: you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation, either version 3 of the License, or * | ||
* (at your option) any later version. * | ||
* This program is distributed in the hope that it will be useful, * | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | ||
* GNU General Public License for more details. * | ||
* You should have received a copy of the GNU General Public License * | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. * | ||
************************************************************************************/ | ||
package org.erpya.lve.bank.imp; | ||
|
||
/** | ||
* Custom format for Tesoro Bank Transaction | ||
* Pipe Separed Value | ||
* @author Yamel Senih, ysenih@erpya.com , http://www.erpya.com | ||
* <li> FR [ 1701 ] Add support to MT940 format | ||
* @see https://github.com/adempiere/adempiere/issues/1701 | ||
*/ | ||
public class Tesoro_Psv extends Tesoro_v2 { | ||
/** Start Column Index */ | ||
private static final String SEPARATOR = "\\|"; | ||
|
||
@Override | ||
public String getSeparator() { | ||
return SEPARATOR; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
financial/src/main/java/base/org/erpya/lve/bank/imp/Tesoro_Ssv.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/************************************************************************************* | ||
* Product: Adempiere ERP & CRM Smart Business Solution * | ||
* Copyright (C) 2012-2018 E.R.P. Consultores y Asociados, C.A. * | ||
* Contributor(s): Yamel Senih ysenih@erpya.com * | ||
* This program is free software: you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation, either version 3 of the License, or * | ||
* (at your option) any later version. * | ||
* This program is distributed in the hope that it will be useful, * | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | ||
* GNU General Public License for more details. * | ||
* You should have received a copy of the GNU General Public License * | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. * | ||
************************************************************************************/ | ||
package org.erpya.lve.bank.imp; | ||
|
||
/** | ||
* Custom format for Tesoro Bank Transaction | ||
* Semicolon Separed Value | ||
* @author Yamel Senih, ysenih@erpya.com , http://www.erpya.com | ||
* <li> FR [ 1701 ] Add support to MT940 format | ||
* @see https://github.com/adempiere/adempiere/issues/1701 | ||
*/ | ||
public class Tesoro_Ssv extends Tesoro_v2 { | ||
/** Start Column Index */ | ||
private static final String SEPARATOR = ";"; | ||
|
||
@Override | ||
public String getSeparator() { | ||
return SEPARATOR; | ||
} | ||
} |
Oops, something went wrong.