Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pac modelbuilder - Static const Fields class missing Virtual fields #509

Closed
daryllabar opened this issue Apr 19, 2023 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@daryllabar
Copy link

For Related Entities, there is a virtual field that can be used to filter the primary name column of the entity, without having to explicitly join to the the table. In the example below, the column "acme_unitofmeasurename" is a virtual column that should be added to the latebound consts Fields class generation.

    var query = new QueryExpression("acme_inventory")
    {
        ColumnSet = new ColumnSet("acme_location", "acme_unitofmeasure"),
    };
    query.Criteria.AddCondition("acme_unitofmeasurename", ConditionOperator.Equal, "EACH");
@MattB-msft MattB-msft added the enhancement New feature or request label Jun 27, 2023
@MattB-msft
Copy link
Member

We have decided to include this feature in the next release. it will be an "opt in" feature and also include accessors for the formatted values associated with the properties when populated.

@MattB-msft
Copy link
Member

This was picked up in Version: 1.25.2+g1c4a1b8 of CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants