Importing Products:
Second Dialog Box (Import Profile for Stock Database)

Top  Previous Topic  Next Topic

 

Step By Step Procedure (Developing the Profile)

 

For information on the steps leading up to this point: First Dialog Box

 

(This is the second dialog box for importing products.  It is reached from the first box by clicking on either "Create New Profile" or "View or Update Existing Profile.  The first box is reached by selecting FILE >> IMPORT from the Stock Database Screen.)

POStockImp2

Step # 1 (Name of Profile)

The "Import Profile" dialog box will appear after you select "Create New Profile" in the first dialog box.  At the top of the dialog box, enter a name for the profile.  Use a name that will help you remember what sort of data is being imported, i.e. "Stock Import."

Step # 2 (Type of File)

Indicate the type of file that you are using.  For more information on file types, see Supported Import File Types.  For your convenience, the name of the file that was entered in the previous first dialog box is shown to the right of the Profile Name.

Step # 3 (Record Number)

Select the record from the import file that you wish to use for developing the profile.  Usually, the first record will be used, but if one of the other records in the file is more complete, you're welcome to select it.

After indicating the record, click on "Show Import File Fields."  A list of fields contained in your import file will appear in the first box ("Fields Making Up the Import File") on the bottom of the screen.  If the fields are garbled, you may have selected the wrong file type.  Re-check your file type selection.  Also make sure the file you are importing is Comma Delimited, Tab Delimited, or a dBase file.

Step # 4 (Building the Profile)

Now take a look at the three boxes on the bottom of the screen.  To develop the profile, first pick a field from the Import file (the first box).  Then indicate where that field should be place on the Stock Database Screen by choosing from a list of placement locations in the second box.

In the first box, you'll see that each field of the import file is numbered.  For instance, the first field might be 1) Grandma's Sugar Cookies.  The number is the location of the field in the import file.  You'll also see numbers in the second box, i.e. Item Name <36>  4.  The <36> means that AnyPO has 36 characters of space available for this field.  (If the field is a number, you'll see two numbers separated by a comma, i.e. <9,2> means a nine place number, including the decimal point with 2 decimal places or <4,0> means a four place number with no decimal places.)  "4" means that the Item Name field is the fourth field in AnyPO's Stock Database.  The numbers are used by AnyPO to determine which fields to use from the import file and where to place them. You can disregard the field numbers.  They are used internally by AnyPO to help guide the import process.

(Note that some import files that you may use include generic names of each field in the first record.  If so, you'll want to use it since it will make developing the profile a little easier.  Field names are always available for dBase files: just select zero (0) as the record and the field names will be displayed.)

To develop the profile, select a field in the first box by clicking on it to highlight it.  Select a field in the second box by highlighting it.  Then click on the large + sign.  The two fields will be combined in the third box.

Here's an example:

Let's say you pick "1) Grandma's Sugar Cookies" in the first box

And you pick Item Name <36>  4 in the second box.

After clicking on + the third box will show 1) Grandma's Sugar Cookies->Item Name <36>  4.

That means that when the import is done, Grandma's Sugar Cookies will be inserted in the Item Name place on the Stock Database Screen.

Now continue the process.  Go through each of the fields in the first box.  Match them up with fields in the second box.  The result will show in the third box.

The order the fields appear in the third box is not important.

If you make a mistake, you can remove a line by selecting "Remove Line"

You don't have to use all of the fields in the import file (the first box), just those you want to move into AnyPO.

Building the Profile: Using Import Fields in More than Once

If desired, you can use an import field more than once.  For an example, let's say you have field in your import file which is a part number, such as 3) 9887788899.  And let's say the part number and barcode are the same.  You can move that field into both the ISBN/Part Number and  Barcode placement locations in AnyPO

Building the Profile: Using Placement Locations More than Once

You can also use the same Placement location in AnyPO more than one.  In the Stock Database, you can use it for combining information in the Notes area.

You may have information in the Import file which doesn't match any of the normal Placement locations on the Stock Database Screen.  Often the Notes Area is good location to place such information where you can combine any number of import fields.

Here's an example:

Let's say you have the following two lines in the first box: 6)Available in Red Only  and 7)Minimum Order of 4.

First, place "Available in Red Only" in the Notes field.  The profile box will show: 1)Available in Red Only->Notes 12.

Then, place "Minimum Order of 4" in the Notes field.  The profile box will show: 2)Minimum Order of 4->Notes 12.

When the import is done, Available in Red Only  Minimum Order of 4 will appear in the Notes  field on the Stock Database Screen.

More on Step #4 (Building the Profile): Constants

You can also include a constant in the profile.  A constant doesn't come from the import file.  It's a value that you establish and wish to have inserted in every new product record that is created during the import process.

Constants are also handy in the Notes area.  You can use them as a label to identify a field from the Import file.

Here's an example.  Let's say that you wanted a label to go along with "Available in Red Only" in the above example:

Type in: "Color Choice: " in the Constant blank.  (This will be your label)

Highlight Notes 12 in the second box.

Click + and [C] Color Choice: ->Notes 26 will appear in the Profile box, the 3rd box.

Now that your label is set-up, you need to add the information from the import file.  To do so:

Highlight : 6)Available in Red Only

Highlight Notes 12 in the second box

Click + and 6)Available in Red Only->Notes 12 will appear in the Profile box, the 3rd box.

When the import is done, the Notes area on the Stock Database Screen will include the label and the information on color:  "Color Choice: Available in Red Only."

More Information on Importing

Import (First Dialog Box)

Import Files Types Supported

Stock Database Screen