BF [ 1739096 ] Dunning Run Create is using inactive BP locations
http://sourceforge.net/tracker/index.php?func=detail&aid=1739096&group_id=176962&atid=879332 * fixed javadoc
This commit is contained in:
parent
806388c22d
commit
48f0e431a1
|
@ -27,7 +27,7 @@ import org.compiere.util.*;
|
|||
* @author Jorg Janke
|
||||
* @version $Id: MDunningRunEntry.java,v 1.2 2006/07/30 00:51:05 jjanke Exp $
|
||||
*
|
||||
* @author Teo Sarca, BF [ 1739022 ]
|
||||
* @author Teo Sarca - BF [ 1739022 ], BF [ 1739096 ]
|
||||
*/
|
||||
public class MDunningRunEntry extends X_C_DunningRunEntry
|
||||
{
|
||||
|
@ -100,6 +100,8 @@ public class MDunningRunEntry extends X_C_DunningRunEntry
|
|||
for (int i = 0; i < locations.length; i++)
|
||||
{
|
||||
MBPartnerLocation location = locations[i];
|
||||
if (!location.isActive())
|
||||
continue;
|
||||
if ((location.isPayFrom() && isSOTrx)
|
||||
|| (location.isRemitTo() && !isSOTrx))
|
||||
{
|
||||
|
@ -140,7 +142,7 @@ public class MDunningRunEntry extends X_C_DunningRunEntry
|
|||
} // setBPartner
|
||||
|
||||
/**
|
||||
* get Lines
|
||||
* Get Lines
|
||||
* @return Array of all lines for this Run
|
||||
*/
|
||||
public MDunningRunLine[] getLines()
|
||||
|
|
Loading…
Reference in New Issue