NOTE For general information on using imports, see Imports FAQ.
The following table lists the format for importing a record in Sales Restriction Import.
Column |
Position |
Field |
Maximum Length |
Format |
Required |
Description |
A |
1 |
Product Code |
40 |
Character |
Yes, only if column K is blank. |
If the sales restriction is for a specific product, enter a valid product code for the sales restriction. For information on setting up product codes, see Product Maintenance. |
B |
2 |
Customer Code |
12 |
Character |
Yes, only if columns C, D, and N are blank and No is entered for columns E, F, G, and M. |
If the sales restriction is for a specific customer, enter a valid customer code for the sales restriction. If this field is not required, leave it blank. For information on setting up customer codes, see Customer Maintenance. |
C |
3 |
Sales Representative ID |
12 |
Character |
Yes, only if columns B, D, and N are blank and No is entered for columns E, F, G, and M. |
If the sales restriction is for a specific sales representative, enter a valid sales representative ID for the sales restriction. If this field is not required, leave it blank. For information on setting up sales representative ID's, see Sales Representative Maintenance. |
D |
4 |
Division ID |
12 |
Character |
Yes, only if columns B, C, and N are blank and No is entered for columns E, F, G, and M. |
If the sales restriction is for a specific customer division, enter a valid customer division ID for the sales restriction. If this field is not required, leave it blank. For information on setting up customer division ID's, see Customer Division Maintenance. |
E |
5 |
All Customers |
3 |
Yes/No |
No |
Enter Yes if the sales restriction is for all customers (if columns B, C, D, and N are blank, and No is entered for columns F, G, and M). If the sales restriction is not for all customers, enter No. If this field is blank, it defaults to No. |
F |
6 |
All Sales Representatives |
3 |
Yes/No |
No |
Enter Yes if the sales restriction is for all sales representatives (if columns B, C, D, and N are blank, and No is entered for columns E, G, and M). If the sales restriction is not for all sales representatives, enter No. If this field is blank, it defaults to No. |
G |
7 |
All Divisions |
3 |
Yes/No |
No |
Enter Yes if the sales restriction is for all customer divisions (if columns B, C, D, and N are blank, and No is entered for columns E, F, and M). If the sales restriction is not for all customer divisions, enter No. If this field is blank, it defaults to No. |
H |
8 |
Unrestricted |
3 |
Yes/No |
No |
Enter Yes if the customer, sales representative, or customer division can order any quantity of the selected product, product category, or product subcategory. Only enter Yes if column I is blank. Enter No to indicate there is a maximum quantity that is allowed to be ordered for the sales restriction. If this field is blank, it defaults to No. |
I |
9 |
Restriction Quantity |
11 |
99999999.99 |
No |
Enter the quantity that is allowed to be ordered for the sales restriction. |
J |
10 |
Expiration Date |
10 |
99/99/9999 |
No |
Enter the expiration date for the sales restriction. If this field is blank, it defaults to the current date. |
K |
11 |
Product Category |
12 |
Character |
Yes, only if column A is blank. |
If the sales restriction is for a specific product category, enter a valid product category for the sales restriction. For information on setting up product categories, see Product Category Maintenance. |
L |
12 |
Product Subcategory |
12 |
Character |
No |
If the sales restriction is for a specific product subcategory, enter a valid product subcategory for the sales restriction. For information on setting up product subcategories, see Product Subcategory Maintenance. |
M |
13 |
All Sales Restriction Groups |
3 |
Yes/No |
No |
Enter Yes if the sales restriction is for all sales restriction groups (if columns B, C, D, and N are blank, and No is entered for columns E, F, and G). If the sales restriction is not for all sales restriction groups, enter No. If this field is blank, it defaults to No. |
N |
14 |
Sales Restriction Group |
12 |
Character |
Yes, only if columns B, C, and D are blank and No is entered for columns E, F, G, and M. |
If the sales restriction is for a specific sales restriction group, enter a valid sales restriction group code for the sales restriction. If this field is not required, leave it blank. For information on setting up sales restriction groups, see Sales Restriction Group Maintenance. |
Before using this import, the following must be set up:
A blank entry in a field will update a blank in that field. If you are doing an update and you do not want to change existing data in a field, then the import field must contain "<>". The only exception are the fields that are mandatory. Blanks are not allowed for mandatory fields.
One column of B, C, D, E, F, G, M, or N must have a value or Yes. The other five must be blank or No.
Column A must be a valid product code, or column K must be entered. If column L is specified, column K must be a valid category that contains the subcategory in column L. If a category or category/subcategory is specified, column B must be blank.
If column H is Yes, then column I must be blank. If column I has a value in it, column H must be No.
If you specify a quantity in column I and a category or category/subcategory combination in columns K and L, a sales restriction record will be set up for quantity I for each product in the category or category/subcategory specified.
There must be a record of blank space(s) at the end of an import file.