Not possible - but you could create a flowfield e.g. in Sales Header - "Bill-to Same" with the calcformula
Exist("Sales Header" WHERE (Document Type=FIELD(Document Type),Sell-to Customer No.=FIELD(Bill-to Customer No.),No.=FIELD(No.)))
and then filter on this field
But both versions will means that DB server will read all entries in the table and filter them after that on client. It will not read filtered dataset...
If you need this often, you can also do following.
Create a field (Bool) like CustNoIsDiff. in the Customer Table.
Now, if you modify in the Customer table the Field "bill-to customer no." you set the new field to true if
But both versions will means that DB server will read all entries in the table and filter them after that on client. It will not read filtered dataset...
Good point, didn't think of this angle - was thinking of a solution without a dev. licence (still needs table designer)
Comments
Not possible - but you could create a flowfield e.g. in Sales Header - "Bill-to Same" with the calcformula
Exist("Sales Header" WHERE (Document Type=FIELD(Document Type),Sell-to Customer No.=FIELD(Bill-to Customer No.),No.=FIELD(No.)))
and then filter on this field
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
Just noticed the table - will work on customer table too. You could easly do this is a report e.g.
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Create a field (Bool) like CustNoIsDiff. in the Customer Table.
Now, if you modify in the Customer table the Field "bill-to customer no." you set the new field to true if
For all existing Customers, you must create a batch to fill the new field.
Now you can use the field as Filter in your reports.
Regards
Good point, didn't think of this angle - was thinking of a solution without a dev. licence (still needs table designer)
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html