BF [ 1698284 ] NPE in Payment window

This commit is contained in:
teo_sarca 2007-04-11 10:07:59 +00:00
parent 22e989d633
commit 8f479b9d9e
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ public class CalloutPayment extends CalloutEngine
} }
} }
// Order Waiting Payment (can only be SO) // 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 "PaymentDocTypeInvoiceInconsistent";
return ""; return "";