Add SS1 record setFieldText and findLineItemValue. #12
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.
The
setFieldText
is NOT the same implementation as in NetSuite. There if you usesetFieldText
and thengetFieldValue
on an optionset field you will get an integer back, here you will get a string back. This is fine form my purposes though and is the same as the implementation in the SS2 module.The
findLineItemValue
is very similar to the other *LineItem* methods but I thought I would add a test for it anyway for good luck.I have taken ownership of some SS1 code with no tests around it so you might see some more contributions like this from me in the future, if you are open to them. I'm not actually aware of any trends regard SS2 vs SS1, should I be porting v1 code to v2?
edit: I pushed a couple of fixes for issues I ran across.