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

Added a view entity for customer feed. #7

Merged
merged 4 commits into from
Jan 15, 2025

Conversation

Shinde-nutan
Copy link
Contributor

Todo: added description

@Shinde-nutan Shinde-nutan self-assigned this Dec 27, 2024
@Shinde-nutan Shinde-nutan marked this pull request as ready for review December 30, 2024 04:25
<member-entity entity-alias="PID" entity-name="org.apache.ofbiz.party.party.PartyIdentification" join-from-alias="PTY">
<key-map field-name="partyId"/>
<entity-condition>
<econdition field-name="partyIdentificationTypeId" operator="equals" value="SHOPIFY_CUST_ID"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need a way to make the party identification included in the feed a selectable parameter or this should go in the groovy script. I think partyIdentificationTypes should be a list that can be passed into the main service. Then we can have a wrapper specifically for syncing Shopify customers to NS.

<member-entity entity-alias="PCONTECH" entity-name="org.apache.ofbiz.party.contact.PartyContactMech" join-from-alias="PTY" join-optional="true">
<key-map field-name="partyId"/>
<entity-condition>
<date-filter/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we have a date filter here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The date filter is need to fetch the valid contact mech in case we have two or more records in the associated with same party with from date and thru date set on it.

we generally add the date filter on those entity where we have the from date and thru date fields.

@rehan3586 rehan3586 merged commit ef26f8b into hotwax:main Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants