Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @iloveitaly,
I'm currently opening this pull request as a WIP to get your opinion on the design of #299 (disclaimer: I work with @jamesottaway)
Based on http://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2016_2/schema/other/attachcontactreference.html?mode=package, I assume AttachContactReference is a record where the attributes include contact and contact role.
The customer is the object to be attached to the tuple contact + role.
Given the above, I came up with the following idea:
Sorry for the lack of tests at this point. I spat out the ideas to get my head around and would appreciate an initial feedback before I clean it up and put some tests.
Thanks
Ricardo