Difference between revisions of "Data Import/Product Supply Rules"

From Emersion
Jump to: navigation, search
(Initial version Published)
Line 1: Line 1:
= Initiating Internal Churn in Bulk =
+
= To set a "Minimum Stock Level" and/or the "Allow Backorder" Flag against a Product in Bulk by using the Bulk Import tool. =
  
 
This feature provides a method to commence the internal churn process for a given list of source package subscriptions & destination account id's / package plan id's.
 
This feature provides a method to commence the internal churn process for a given list of source package subscriptions & destination account id's / package plan id's.
Line 9: Line 9:
  
 
== Preparing your Data ==
 
== Preparing your Data ==
 +
 
To prepare your data for import, you will need to create a CSV import file or you can download the import file below. You will need to extract the csv file and save it.
 
To prepare your data for import, you will need to create a CSV import file or you can download the import file below. You will need to extract the csv file and save it.
  
[[File:bulk-internal-churn-sample.csv|Sample CSV File]]
+
[[File:Product Supply Rules Import V1.csv|Product Supply Rules Import File]]
  
 
Enter the data into the import sheet. Leave no rows blank. You must ensure the data meets all validation requirements. These are contained in the data definition table below. When you submit the data file to the system, the system will parse the file looking for errors. If the system finds no errors, the system will import the notes into the system. The file needs to be error-free in order to import the data. In the event errors are found, no data will be imported into Emersion. Review the bulk upload processing notification email, correct the file and try again.
 
Enter the data into the import sheet. Leave no rows blank. You must ensure the data meets all validation requirements. These are contained in the data definition table below. When you submit the data file to the system, the system will parse the file looking for errors. If the system finds no errors, the system will import the notes into the system. The file needs to be error-free in order to import the data. In the event errors are found, no data will be imported into Emersion. Review the bulk upload processing notification email, correct the file and try again.
  
== Initiate Bulk Internal Churn ==
+
== Initiate the Bulk Import==
 +
 
 +
NB: Access to this facility may be restricted to those who are subscribed to it.
  
Access to this bulk upload facility may be restricted to those subscribed to it.
+
[[File:Admin - Bulk Import - Product Supply Rules 1.png|Cumulus Screenshot]]
  
To access the Bulk Internal Churn facility:
+
To access this facility:
  
 
# Log into Cumulus.
 
# Log into Cumulus.
# '''Nav: Admin > Bulk Import > Bulk Internal Churn'''.
+
# '''Nav: Admin > Bulk Import > Product Supply Rules'''.
# Click the '''Browse''' button and select the csv file containing the data you want to import.
+
# Click the '''Browse''' button and select the "CSV" file containing the data you want to import.
 
# If you want the bulk upload processing notification email to be sent to a different email address than the address defined in the event template, tick the '''Override?''' checkbox and enter an alternative email address. This will only apply for this upload. To change the email address for all future imports, you will need to change the recipient defined in the event template.
 
# If you want the bulk upload processing notification email to be sent to a different email address than the address defined in the event template, tick the '''Override?''' checkbox and enter an alternative email address. This will only apply for this upload. To change the email address for all future imports, you will need to change the recipient defined in the event template.
 
# Press '''Submit'''
 
# Press '''Submit'''
 
[[File:Bulk-internal-churn.png|Bulk InternalChurn]]
 
  
 
The system will validate the data and if no errors are found, the system will import the data. When the notification email is received, the process has been completed.
 
The system will validate the data and if no errors are found, the system will import the data. When the notification email is received, the process has been completed.
Line 38: Line 39:
 
# Request Emersion fix the errors for you. This can be submitted via [[Support_and_help_from_Emersion#Work_Orders | work order ticket]]. Please include a note import file with the records that need to be corrected. Do not include details of any records that do not need correcting.
 
# Request Emersion fix the errors for you. This can be submitted via [[Support_and_help_from_Emersion#Work_Orders | work order ticket]]. Please include a note import file with the records that need to be corrected. Do not include details of any records that do not need correcting.
  
=== Bulk Internal Churn - Data Definition ===
+
=== Product Supply Rules - Data Definition ===
  
 
{| class="wikitable"
 
{| class="wikitable"
|+Bulk Internal Churn Data Definition table
+
|+Product Supply Rules
 
|Data field ||Description
 
|Data field ||Description
 
|-
 
|-
|package_subscription_id || This is the current PACKAGE SUBSCRIPTION ID of the originating services you are intending to internally churn.
+
|product_id || This is the PRODUCT ID of the product to have the "Minimum Stock Level" set.
|-
 
|destination_account_id    ||  The new ACCOUNT ID of the account you are intending to internally churn to.  
 
 
|-
 
|-
|transfer_date ||  This is the DATE (DD/MM/YYYY) you wish for the new package subscriptions to be active
+
|minimum_stock_level    ||  The required "Minimum Stock Level" to be set entered as a number.
 
|-
 
|-
|package_plan_id  || This is the destination PACKAGE PLAN ID. The destination plan:
+
|allow_backorder || This is the flag where Y is used for YES and N is used for NO (NB This is currently only used for Reporting purposes)
* must be of the same structure as the originating package
 
 
|}
 
|}
  
Line 57: Line 55:
  
 
{| class="wikitable"
 
{| class="wikitable"
|+Bulk Internal Churn Data File Example
+
|+Product Supply Rules Data File Example
| package_subscription_id || destination_account_id || transfer_date || package_plan_id
+
| product_id || minimum_stock_level  || allow_backorder
 
|-
 
|-
| 1234567 || 1999998 || 1/01/2016 || 199888
+
| 1234567 || 5 || Y
 
|-
 
|-
| 2134567 || 6999998 || 1/01/2016 || 199887
+
| 2134567 || 100 || N
 
|-
 
|-
 
|}
 
|}

Revision as of 16:14, 17 May 2016

To set a "Minimum Stock Level" and/or the "Allow Backorder" Flag against a Product in Bulk by using the Bulk Import tool.

This feature provides a method to commence the internal churn process for a given list of source package subscriptions & destination account id's / package plan id's.

The system utilises the Bulk upload processing notification event to send a notification with the results of the import attempt. See below for further information.

If the import is successful, the email notification will advise you when the import process is complete.
If the import is not successful, the email notification will send details of the records that failed validation and why.

Preparing your Data

To prepare your data for import, you will need to create a CSV import file or you can download the import file below. You will need to extract the csv file and save it.

File:Product Supply Rules Import V1.csv

Enter the data into the import sheet. Leave no rows blank. You must ensure the data meets all validation requirements. These are contained in the data definition table below. When you submit the data file to the system, the system will parse the file looking for errors. If the system finds no errors, the system will import the notes into the system. The file needs to be error-free in order to import the data. In the event errors are found, no data will be imported into Emersion. Review the bulk upload processing notification email, correct the file and try again.

Initiate the Bulk Import

NB: Access to this facility may be restricted to those who are subscribed to it.

Cumulus Screenshot

To access this facility:

  1. Log into Cumulus.
  2. Nav: Admin > Bulk Import > Product Supply Rules.
  3. Click the Browse button and select the "CSV" file containing the data you want to import.
  4. If you want the bulk upload processing notification email to be sent to a different email address than the address defined in the event template, tick the Override? checkbox and enter an alternative email address. This will only apply for this upload. To change the email address for all future imports, you will need to change the recipient defined in the event template.
  5. Press Submit

The system will validate the data and if no errors are found, the system will import the data. When the notification email is received, the process has been completed.

The system can parse for invalid data but it cannot check for data accuracy. Therefore it is strongly recommended that you check a few random records to ensure that the import was a success. If you find an problem, you cannot roll back the import.

You have two options should this occur:

  1. Manually correct the data.
  2. Request Emersion fix the errors for you. This can be submitted via work order ticket. Please include a note import file with the records that need to be corrected. Do not include details of any records that do not need correcting.

Product Supply Rules - Data Definition

Product Supply Rules
Data field Description
product_id This is the PRODUCT ID of the product to have the "Minimum Stock Level" set.
minimum_stock_level The required "Minimum Stock Level" to be set entered as a number.
allow_backorder This is the flag where Y is used for YES and N is used for NO (NB This is currently only used for Reporting purposes)

Your finished data file should look like the following example.

Product Supply Rules Data File Example
product_id minimum_stock_level allow_backorder
1234567 5 Y
2134567 100 N