FR [2859763] - Make Doc posting independent of hardcoded arrays

https://sourceforge.net/tracker/?func=detail&aid=2859763&group_id=176962&atid=879335
Rename classes to follow the new convention
This commit is contained in:
Carlos Ruiz 2009-09-16 04:07:56 +00:00
parent e8a37adc4f
commit 33f8012fbd
3 changed files with 5 additions and 5 deletions

View File

@ -35,7 +35,7 @@ public class DocLine_Bank extends DocLine
* @param line statement line * @param line statement line
* @param doc header * @param doc header
*/ */
public DocLine_Bank (MBankStatementLine line, Doc_Bank doc) public DocLine_Bank (MBankStatementLine line, Doc_BankStatement doc)
{ {
super (line, doc); super (line, doc);
m_C_Payment_ID = line.getC_Payment_ID(); m_C_Payment_ID = line.getC_Payment_ID();

View File

@ -55,7 +55,7 @@ import org.compiere.util.Env;
* BF [ 2019262 ] Allocation posting currency gain/loss omits line reference * BF [ 2019262 ] Allocation posting currency gain/loss omits line reference
* *
*/ */
public class Doc_Allocation extends Doc public class Doc_AllocationHdr extends Doc
{ {
/** /**
* Constructor * Constructor
@ -63,7 +63,7 @@ public class Doc_Allocation extends Doc
* @param rs record * @param rs record
* @param trxName trx * @param trxName trx
*/ */
public Doc_Allocation (MAcctSchema[] ass, ResultSet rs, String trxName) public Doc_AllocationHdr (MAcctSchema[] ass, ResultSet rs, String trxName)
{ {
super (ass, MAllocationHdr.class, rs, DOCTYPE_Allocation, trxName); super (ass, MAllocationHdr.class, rs, DOCTYPE_Allocation, trxName);
} // Doc_Allocation } // Doc_Allocation

View File

@ -44,7 +44,7 @@ import org.compiere.util.Env;
* @see http://sourceforge.net/tracker2/?func=detail&atid=879335&aid=2520591&group_id=176962 * @see http://sourceforge.net/tracker2/?func=detail&atid=879335&aid=2520591&group_id=176962
* *
*/ */
public class Doc_Bank extends Doc public class Doc_BankStatement extends Doc
{ {
/** /**
* Constructor * Constructor
@ -52,7 +52,7 @@ public class Doc_Bank extends Doc
* @param rs record * @param rs record
* @param trxName trx * @param trxName trx
*/ */
public Doc_Bank (MAcctSchema[] ass, ResultSet rs, String trxName) public Doc_BankStatement (MAcctSchema[] ass, ResultSet rs, String trxName)
{ {
super (ass, MBankStatement.class, rs, DOCTYPE_BankStatement, trxName); super (ass, MBankStatement.class, rs, DOCTYPE_BankStatement, trxName);
} // Doc_Bank } // Doc_Bank