File: new_attribute.txt

package info (click to toggle)
opendb 0.81p18-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,716 kB
  • ctags: 6,787
  • sloc: php: 50,213; sql: 3,098; sh: 272; makefile: 54; xml: 48
file content (38 lines) | stat: -rw-r--r-- 2,286 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Howto: Add a new Attribute, and link into One or More Item Attributes.
----------------------------------------------------------------------

Note: This is a portion of an email I sent a user, explaining how to add a new Manufacturing Id
attribute (MANU_ID), so the references to MANU_ID and associated attributes would be
replaced.

1)	Open The System Admin Tools, and click on the 'Attribs' tool link.
2)	Click the 'New' button.
3)	Fill out the details, including:
    			Attribute Type: -- An uppercase field identifying the type.  It should have NO spaces.
					For your Manufacturing ID, you could use: MANU_ID
		    Description:	-- A way to identify the use of the item.  For instance 
					'Manucturing ID Number'
		    Prompt:		-- Your prompt, 'Mft ID'
		    Input type:		-- I would suggest you choose 'filtered' from the list of values.  
					The arguments field should have something like: '25,25,"0-9a-zA-Z\-"'.
					This will restrict entry to a maximum of 25 characters, and only 
					allow AlphaNumeric and the hyphen character.  Add to this third 
					argument as necessary, but keep the double quotes for maximum stability.
		    Display type:	-- I would suggest you choose 'display' and specify %value% for the 
					argument.

4) 	Click the 'insert' button.
5) 	Click the 'Types' tool
6) 	Find the 'MANU_ID' in the list of values, click the 'Edit' button.
7) 	Find the Item Type you want to add the MANU_ID to and click the 'Edit' button to the right of the table
	row. This will open a new form
	with a CD System Attributes sub-heading (The 'CD' bit would be different for each type you choose).
8) 	Scroll to the bottom of the table, to where the 'Attribute Type' has a List of Values instead of a text
	field.  Find the MANU_ID in the List of values.
9)	Specify an order_no for this row, which will position the MANU_ID at the point you want to have it 
	displayed.  For instance if you want to see it before Track One (for CD type), you would have an 
	order number less than 50.  Try to use a unique order_no, otherwise you will not get the order you
	expect.
10)	Once you have done this, you should click the 'Update' button.
11)	Click the '[Back to Types]' link at the top of the screen, and repeat steps 7-11 for each item you
	want to add the Manu_ID to.