-
Notifications
You must be signed in to change notification settings - Fork 2
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
MODFQMMGR-675. Add Custom Fields support for Order and Order Line entities #623
base: master
Are you sure you want to change the base?
Conversation
…into MODFQMMGR-675 # Conflicts: # src/main/resources/entity-types/orders/composite_purchase_order_lines.json5
name: 'id', | ||
sourceAlias: 'custom_fields', | ||
dataType: { | ||
dataType: 'rangedUUIDType', | ||
}, | ||
isIdColumn: true, | ||
queryable: true, | ||
visibleByDefault: false, | ||
valueGetter: ':sourceAlias.id', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make this more readable, you can remove all of the sourceAlias
properties and change ":sourceAlias" in the valueGetter
s to ":custom_fields" like this:
name: 'id', | |
sourceAlias: 'custom_fields', | |
dataType: { | |
dataType: 'rangedUUIDType', | |
}, | |
isIdColumn: true, | |
queryable: true, | |
visibleByDefault: false, | |
valueGetter: ':sourceAlias.id', | |
name: 'id', | |
dataType: { | |
dataType: 'rangedUUIDType', | |
}, | |
isIdColumn: true, | |
queryable: true, | |
visibleByDefault: false, | |
valueGetter: ':custom_fields.id', |
🙂
@@ -0,0 +1,356 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this entity type necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will try with usinge simple custom field from users pacakge, because it is the same object, thanks
@@ -59,6 +59,17 @@ | |||
</createView> | |||
</changeSet> | |||
|
|||
<changeSet id="create_view_purchase_order_custom_fields" author="[email protected]"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a runAlways="true"
property to this changeSet
? We'll be adding that to all of the source-view-creating changeSet
s very soon, so I just want to make sure this one doesn't fall through the cracks if it ends up getting merged immediately before or after that change 🙂
Purpose
https://folio-org.atlassian.net/browse/MODFQMMGR-675