SubList <neverEmpty> field is invalid or not supported.
See original GitHub issueOS: Windows 10 Node.js version: e.g. 12.16.1 LTS suitecloud-cli version: 1.0.4
Describe the bug
The CLI validation doesn’t handle the <neverEmpty> field of sublists during project validation.
To Reproduce
-
use 'suitecloud account:setup` to login into any account.
-
then use
suitecloud object:import -i
to import into the SDF projcect any custom entry form which has an entry in the sublists tab. For example, in my account, I have a vendor entry form like this
- Open the .xml file in your editor and search for the subList keyword. Verify that at least ONE of your subList items has the ‘neverEmpty’ property. For example, with the vendor form shown above
<subItems>
<subList>
<id>ENTITYMESSAGES</id>
<label>Messages</label>
<visible>T</visible>
<neverEmpty>false</neverEmpty>
</subList>
</subItems>
- in the SAME account, execute
suitecloud project:validate
Actual Behavior
The CLI raises this error
An error occurred during custom object validation. (custform_XXXXXX)
Details: The neverEmpty field is invalid or not supported.
Expected Behavior
Objects imported from a working NetSuite instance, should either
- NOT import xml with unsupported or invalid values. Or,
- all values imported from a working account should be valid or supported.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
NetSuite Applications Suite - Sublist Data Import
... the sublist contains required fields. The Never Empty option, that makes a sublist mandatory and is available in the UI, is not...
Read more >You have attempted an invalid sublist or line item operation ...
You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a...
Read more >Observable/List or Property: exception thrown in listener not ...
The listener throws an exception if client code tries to change the observable's value to anything invalid. When testing this behavior, the ...
Read more >NetSuite 2018.1 Release Notes
Support for Bill of Materials Revision Sublist Customization. Updates to Lists, Records, & Fields Submenu and Form Customization Pages.
Read more >NetSuite 2020.2 Release Notes
Enhanced Sublist Support. □ SDF Support for Translation of the Set Field Display Label Workflow Action. □ Employee Change Request Approval ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@grugknuckle I am closing this issue since. <neverEmpty> should be fixed, let us know if it’s otherwise. do check out the lates node cli version
1.1.0
@grugknuckle @stephen-suiterep just wanted to give you an update in the reported issue. This has already bin fixed and we are testing the solution. Hopefully we will role out the fix with upcoming major release.