Setting Default Values for Storefront Fields in NetSuite

Set default values in NetSuite for product sync fields to manage storefront visibility, ensuring no unwanted values are sent.

·2 min read·View Oracle Docs

Leaving a field blank in NetSuite does not guarantee that the corresponding field in your storefront will also be blank. Instead, if no data is provided for a mapped NetSuite field, the NetSuite Connector uses a predefined default value if one is set. Understanding how to configure default values is crucial for maintaining the integrity of data sent to your storefront.

Important Considerations for Default Values

When dealing with default values in your product sync mappings, consider the following key points:

  • Default Value Behavior: If a field is left empty in NetSuite, the connector will use any configured default value instead. However, this can lead to issues if unintended values are used for certain fields.
  • Sending Non-Applicable Values: For numeric fields, sending '0' can be an accepted practice. However, be cautious with sending a space or a '0' for other fields as it may result in problems when the storefront attempts to process that data.
  • Required Fields: It is important to note that you cannot assign a space or '0' to required fields. If you attempt to do this, it's likely that the storefront will reject the product posting.

How to Set Default Values in NetSuite Connector

To set a space or a '0' value as the default for a field in the NetSuite Connector, follow these steps:

  1. Log in to app.farapp.com.
  2. Select the connector linked to the relevant account.
  3. Navigate to Mappings > Products.
  4. Locate the field mapping you wish to set a default for. In the Default Value field, press the Spacebar (or enter '0' for numeric fields).

    Note: Not all fields allow you to set a default value; this varies based on the field and the mapping type.

  5. Click Save to apply your changes.

By carefully managing default values in your field mappings, you can ensure your storefront displays data correctly and minimizes the chance of encountering posting errors or data mismatches.

Key Takeaways

  • Blank fields in NetSuite do not correspond to blank fields in storefronts unless configured.
  • Default values can help maintain data integrity but must be used judiciously.
  • Required fields can't accept default values like spaces or '0', which can lead to rejections in the storefront.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

How do default values affect field mappings in SuiteCommerce storefronts?
If a field in NetSuite is left empty, the connector uses a predefined default value for the storefront. This can lead to issues if unintended values are used, so it's crucial to configure default values carefully.
Can I set default values for all fields in NetSuite Connector?
Not all fields allow for default values to be set. Whether you can set a default value depends on the field and the specific type of mapping.
What should I be cautious of when configuring default values for required fields?
For required fields, you cannot assign default values like spaces or '0'. Doing so may cause the storefront to reject the product posting.
Is it possible to enter non-numeric default values for numeric fields in NetSuite Connector?
Numeric fields can accept '0' as a default value, but care should be taken to ensure this is appropriate for the specific use case and field in question.
Source: Removing or Resetting Data for a Field in the Storefront Using Product Sync Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →