Skip to content

Instantly share code, notes, and snippets.

@jeffreyjurgajtis
Created August 13, 2018 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffreyjurgajtis/4e6815177a4a0de0e12c70f8a80bf665 to your computer and use it in GitHub Desktop.
Save jeffreyjurgajtis/4e6815177a4a0de0e12c70f8a80bf665 to your computer and use it in GitHub Desktop.
NetSuite Data Setup
# These are "behind-the-scenes" setup tasks that must happen before we can
# start syncing invoice data to NetSuite.
# We'll call these "Groups" for now. These are shown to the user in the UI:
#
# ( ) Validating NetSuite Credentials
# ( ) Gathering Data from NetSuite
# ( ) Creating Custom Fields in NetSuite
[
{
status: "complete",
retry_count: 0,
service: ValidateCredentials,
group: :validate_credentials,
},
{
status: "complete",
retry_count: 0,
service: CacheNetSuiteSalesOrderCustomForms,
group: :gather_data,
},
{
status: "complete",
retry_count: 0,
service: CacheNetSuiteAccounts,
group: :gather_data,
},
{
status: "complete",
retry_count: 0,
service: CacheNetSuitePaymentMethods,
group: :gather_data,
},
{
status: "in progress",
retry_count: 2,
service: CreateCustomerCustomField,
group: :create_custom_fields,
},
{
status: "not started",
retry_count: 0,
service: CreatePaymentCustomField,
group: :create_custom_fields,
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment