Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Debugging a super() call

$
0
0

Getting the warning “Currency code must be filled in” when we save a sales order.  I have tracked it down to the super() call in the validate write method.  I have tried looking at SalesTable form datasource as well as some of the SalesTable classes and I can’t determine where this error is being generated from.

If I put a breakpoint on the super() call, I can’t step into it and the stack trace doesn’t provide any info about where the warning is being generated, either.   Any ideas how I can further debug this or figure out exactly where that warning is being generated?

• If I make the currency code field on the sales table optional (switching mandatory to No), the warning is still thrown.

• This is in SalesTable (table) method:

public boolean  validateWrite()

{

   boolean            ok = true;

   ;

   ok = super();

   ok = ok && this.validateWrite_server();

   return ok;

}


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>