IDEMPIERE-5556 GL Journal Callout Error of NPE When new GL Journal Line create (#1652)
Co-authored-by: jpiere <h.hagiwara@compiere-distribution-lab.net>
This commit is contained in:
parent
683b7a8097
commit
cc03f09a0b
|
@ -160,8 +160,12 @@ public class CalloutGLJournal extends CalloutEngine
|
||||||
|
|
||||||
// Source info
|
// Source info
|
||||||
Integer Currency_ID = (Integer)mTab.getValue("C_Currency_ID");
|
Integer Currency_ID = (Integer)mTab.getValue("C_Currency_ID");
|
||||||
|
if(Currency_ID == null)
|
||||||
|
return "";
|
||||||
int C_Currency_ID = Currency_ID.intValue();
|
int C_Currency_ID = Currency_ID.intValue();
|
||||||
Integer ConversionType_ID = (Integer)mTab.getValue("C_ConversionType_ID");
|
Integer ConversionType_ID = (Integer)mTab.getValue("C_ConversionType_ID");
|
||||||
|
if(ConversionType_ID == null)
|
||||||
|
return "";
|
||||||
int C_ConversionType_ID = ConversionType_ID.intValue();
|
int C_ConversionType_ID = ConversionType_ID.intValue();
|
||||||
Timestamp DateAcct = (Timestamp)mTab.getValue("DateAcct");
|
Timestamp DateAcct = (Timestamp)mTab.getValue("DateAcct");
|
||||||
if (DateAcct == null)
|
if (DateAcct == null)
|
||||||
|
|
Loading…
Reference in New Issue