question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SubList <neverEmpty> field is invalid or not supported.

See original GitHub issue

OS: 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

  1. use 'suitecloud account:setup` to login into any account.

  2. 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

vendor form screenshot

  1. 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>
  1. 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

  1. NOT import xml with unsupported or invalid values. Or,
  2. all values imported from a working account should be valid or supported.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alii-gatorcommented, Sep 7, 2020

@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

1reaction
alii-gatorcommented, Jul 22, 2020

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found