Hi,
When opening the BPartnerInfo panel from Home page, there is this log :
02:06:45.241-----------> GridField.defaultFromSQLExpression: (IsCustomer) - Default SQL variable parse failed: @SQL=SELECT CASE WHEN '@IsSOTrx:X@'='X' OR '@+IgnoreIsSOTrxInBPInfo:N@'='Y' THEN '' ELSE '@IsSOTrx@' END AS DefaultValue FROM DUAL [667]
Is because IsSOTrx (the 2nd one) is not set.
There was a first fix (
https://idempiere.atlassian.net/browse/IDEMPIERE-3532?focusedCommentId=46464) but issue has been reintroduced I think by
https://idempiere.atlassian.net/browse/IDEMPIERE-4808I've updated the logic to
@SQL=SELECT CASE WHEN '@IsSOTrx:X@'='X' OR '@+IgnoreIsSOTrxInBPInfo:N@'='Y' THEN '' ELSE '@IsSOTrx
:Y@' END AS DefaultValue FROM DUAL
From my tests, I think is working but I'm not sure this is the best way to manage it.
I think the :Y can be replaced by any value
wdyt?
Thanks
Nicolas