-
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
Added a view entity for customer feed. #7
Conversation
entity/NetsuiteCustomer.xml
Outdated
<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"/> |
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.
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.
entity/NetsuiteCustomer.xml
Outdated
<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/> |
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.
why do we have a date filter here?
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.
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.
…nector into customer-feed-view
Todo: added description