FR [ 2520591 ] Support multiples calendar for Org

http://sourceforge.net/tracker2/?func=detail&atid=879335&aid=2520591&group_id=176962
This commit is contained in:
vpj-cd 2009-01-24 00:46:42 +00:00
parent d3357b1b07
commit 47eb08ee52
3 changed files with 6 additions and 4 deletions

View File

@ -117,7 +117,7 @@ import org.eevolution.model.MPPCostCollector;
* *
* </pre> * </pre>
* @author Jorg Janke * @author Jorg Janke
* @author victor.perez@-evolution.com, e-Evolution http://www.e-evolution.com * @author victor.perez@e-evolution.com, e-Evolution http://www.e-evolution.com
* <li>FR [ 2520591 ] Support multiples calendar for Org * <li>FR [ 2520591 ] Support multiples calendar for Org
* @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
* @version $Id: Doc.java,v 1.6 2006/07/30 00:53:33 jjanke Exp $ * @version $Id: Doc.java,v 1.6 2006/07/30 00:53:33 jjanke Exp $

View File

@ -39,7 +39,7 @@ import org.compiere.util.Env;
* *
* FR [ 1840016 ] Avoid usage of clearing accounts - subject to C_AcctSchema.IsPostIfClearingEqual * FR [ 1840016 ] Avoid usage of clearing accounts - subject to C_AcctSchema.IsPostIfClearingEqual
* Avoid posting if both accounts BankAsset and BankInTransit are equal * Avoid posting if both accounts BankAsset and BankInTransit are equal
* @author victor.perez@-evolution.com, e-Evolution http://www.e-evolution.com * @author victor.perez@e-evolution.com, e-Evolution http://www.e-evolution.com
* <li>FR [ 2520591 ] Support multiples calendar for Org * <li>FR [ 2520591 ] Support multiples calendar for Org
* @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
* *

View File

@ -28,7 +28,9 @@ import org.compiere.process.SvrProcess;
/** /**
* Re-calculate Invoice Tax (and unpost the document) * Re-calculate Invoice Tax (and unpost the document)
* @author Victor Perez * @author victor.perez@e-evolution.com, e-Evolution http://www.e-evolution.com
* <li>FR [ 2520591 ] Support multiples calendar for Org
* @see http://sourceforge.net/tracker2/?func=detail&atid=879335&aid=2520591&group_id=176962
* @author Teo Sarca, www.arhipac.ro * @author Teo Sarca, www.arhipac.ro
*/ */
public class InvoiceCalculateTax extends SvrProcess public class InvoiceCalculateTax extends SvrProcess
@ -72,7 +74,7 @@ public class InvoiceCalculateTax extends SvrProcess
{ {
// //
// Delete accounting /UnPost // Delete accounting /UnPost
MPeriod.testPeriodOpen(invoice.getCtx(), invoice.getDateAcct(), invoice.getC_DocType_ID()); MPeriod.testPeriodOpen(invoice.getCtx(), invoice.getDateAcct(), invoice.getC_DocType_ID(), invoice.getAD_Org_ID());
MFactAcct.deleteEx(MInvoice.Table_ID, invoice.get_ID(), invoice.get_TrxName()); MFactAcct.deleteEx(MInvoice.Table_ID, invoice.get_ID(), invoice.get_TrxName());
// //
// Update Invoice // Update Invoice