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 DataDocument for creating a view of required NetSuite Fields #4

Open
wants to merge 2 commits into
base: ns-fields-view-using-data-document
Choose a base branch
from

Conversation

Chinmay2107
Copy link

###This is functioning properly except for fields that are required to be queried twice:
##Limitations:

  • The ContactMech.infoString field needs to be fetched for both SHIPPING_EMAIL and BILLING_EMAIL purposes.
  • How DataDocument behaves in this scenario is that it fetches any one of the fields either SHIPPING_EMAIL or BILLING_EMAIL and puts it in the aliased fields.
  • If multiple conditions are to be applied on any one field, I am not able to figure out any way for it (I used in operator for now to fetch eligible records)
    • If in operator is used then suppose if one of the contactMechPurposeTypeId has no corresponding record then in that case it fetches all the contactMechs from the entity and prints them in the document (SHIPPING_EMAIL is null in my case)
  • OrderAdjustment. The amount field needs to be fetched for item level discounts and shipping charges.

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.

1 participant