:-( 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:
parent
1cb36f8773
commit
0bf6befbab
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue