Is there something similar to the famous toString()
method of C# in Axapta?
I try to run underlying code:
info(this.dataSource());
But it gives me this error message: "Argument 'txt' is incompatible with the required type."
The toString
is available on all objects but usually not of much value:
info(this.dataSource().toString())
This gives this output:
Class FormDataSource Address
Probably you knew that already! However the query datasource does give something useful:
FormDataSource fds = this.dataSource();
;
info(fds.query().dataSourceTable(tableNum(Address)).toString());
gives the corresponding SQL query:
SELECT FIRSTFAST * FROM Address
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With