BF [ 1698284 ] NPE in Payment window
This commit is contained in:
parent
22e989d633
commit
8f479b9d9e
|
@ -271,7 +271,7 @@ public class CalloutPayment extends CalloutEngine
|
|||
}
|
||||
}
|
||||
// Order Waiting Payment (can only be SO)
|
||||
if (C_Order_ID != 0 && !dt.isSOTrx())
|
||||
if (C_Order_ID != 0 && dt != null && !dt.isSOTrx())
|
||||
return "PaymentDocTypeInvoiceInconsistent";
|
||||
|
||||
return "";
|
||||
|
|
Loading…
Reference in New Issue