:-( This is the problem caused because of duplication of code :-(

Fix bug in [1883270] - Enhance Document No Formatting
Found postgres bug ->
https://sourceforge.net/tracker/index.php?func=detail&aid=1883270&group_id=176962&atid=879335
org.postgresql.util.PSQLException: ERROR: la relación «ad_sequence_no» en la cláusula FOR UPDATE/SHARE no fue encontrada en la cláusula FROM; State=42P01; ErrorCode=0
	at org.compiere.model.MSequence.getDocumentNo(MSequence.java:838)
This commit is contained in:
Carlos Ruiz 2009-04-16 17:43:53 +00:00
parent 1cb36f8773
commit 0bf6befbab
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ public class MSequence extends X_AD_Sequence
+ "AND s.AD_Sequence_ID = ? "
+ "AND y.CalendarYear = ? "
+ "AND s.IsActive='Y' AND s.IsTableID='N' AND s.IsAutoSequence='Y' "
+ "FOR UPDATE OF AD_Sequence_No";
+ "FOR UPDATE OF y";
}
else
{