DetermineASNF
Determine Asset Number Format
Minor Business Rule
Object Name:	N1200311
Parent DLL:	CAEC
Location:	Client/Server
Language:	NER
Data Structure
D1200311 - Determine Asset Number Format DSTR
Data Item   Data Structure Desc       I/O   Required     Notes
ASNF    Asset Number Format    I       Yes            This is the value that determines the                                                       format of the asset number.  It 
should be passed in from a PO of the UBE.
NUMB    Asset Number               I       Yes
 
ASII    Asset Number-Input      O      Yes            This is the return value and the number                                                                                              that will 
be displayed.
APID          Unit or Tag NumberI       No
ASID    Serial Number                I       No
EV01    Value Sent         I       Yes            (Blank = All or "1" = NUMB) Flag that states that "All" of the possible item numbers have been 
passed in, or just "1"  NUMB.  The BSFN will only retrieve the unit and serial numbers from the F1201  if a "1" is passed in. 
SMI    Symbol Used to define Asset NumberI/OYesConstants are retrieved automatically when Blanks are passed for all constants.  
In order to do Table I/O once, and not for every record,  pass a variable.  Make sure all variables are blank or it will never do Table I/O.
 
SMU    Symbol Used to define Unit NumberI/OYesSame as above
SMS    Symbol Used to define Serial NumberI/OYesSame as above
^
 
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
| cAssetNumberFormat | ASNF | char | REQ | INPUT | 
A code that specifies how to print the Asset Number. Valid values are:
1   
Asset Number
2   
Unit Number
3   
Serial Number 
  | 
| mnAssetItemNumber | NUMB | MATH_NUMERIC | REQ | INPUT | 
An 8-digit number that uniquely identifies an asset.
  | 
| szAssetNumberOutput | ASII | char | REQ | OUTPUT | 
An identification code that represents an asset. You enter the identification code in one of the following formats:
1
Asset number (a 
 computer-assigned, 8-digit, numeric control number)  
2
Unit number (a 12-character alphanumeric field)  
3
Serial number (a 25-character alphanumeric 
 field)
Every asset has an asset number. You can use unit number and serial number to further identify assets. If this is a data entry field, the first 
 character you enter indicates whether you are entering the primary (default) format that is defined for your system, or one of the other two 
 formats. A special character (such as / or *) in the first position of this field indicates which asset number format you are using. You assign special 
 characters to asset number formats on the fixed assets system constants form.  | 
| szUnitNumber | APID | char | OPT | INPUT | 
A 12-character alphanumeric code used as an alternate identification number for an asset. This number is not required, nor does the 
 system assign a number if you leave the field blank when you add an asset. If you use this number, it must be unique. For equipment, this is 
 typically the serial number.  | 
| szSerialNumber | ASID | char | OPT | INPUT | 
A 25-character alphanumeric number that you can use as an alternate asset identification number. You might use this number to track 
 assets by the manufacturer's serial number. You are not required to use a serial number to identify an asset. Every serial number that you enter 
 must be unique.
  | 
| cValueSent | EV01 | char | REQ | INPUT | 
An option that specifies the type of processing for an event.
  | 
| cSymblUseToDefinAssetNumb | SMI | char | REQ | BOTH | 
A value that identifies an asset. You can assign one of three different types of numbers:
  o  Asset Number - an eight digit, system assigned 
 number
  o  Serial Number - a 25 digit model or serial number
  o  Unit Number - a 12 digit, alphanumeric, user defined number 
When you enter 
 an asset number, you may use a prefix or symbol to designate the type of number you enter. For the type of asset number you use most 
 often, you should use no prefix, so that you just need to enter the number. For the other two types of asset numbers, you should define a symbol 
 for each, such as / or *, that you will enter as a prefix before the number to identify which type of number you are representing. For example, if 
 you enter serial numbers most often, you should use no prefix for serial numbers. Then you might use / as a prefix for asset numbers and * 
 as a prefix for unit numbers. 
Note: You can leave only one type of asset number with no prefix. The other two must have a symbol so that all 
 three numbers are unique. Verify that the symbols that you use are not significant for any other purposes of data entry, for example, a period or 
 comma.
  | 
| cSymblUseToDefinUnitNumb | SMU | char | REQ | BOTH | 
A value that identifies an asset. You can assign one of three different types of numbers:
  o  Asset Number - an eight digit, system assigned 
 number
  o  Serial Number - a 25 digit model or serial number
  o  Unit Number - a 12 digit, alphanumeric, user defined number 
When you enter 
 an asset number, you may use a prefix or symbol to designate the type of number you enter. For the type of asset number you use most 
 often, you should use no prefix, so that you just need to enter the number. For the other two types of asset numbers, you should define a symbol 
 for each, such as / or *, that you will enter as a prefix before the number to identify which type of number you are representing. For example, if 
 you enter serial numbers most often, you should use no prefix for serial numbers. Then you might use / as a prefix for asset numbers and * 
 as a prefix for unit numbers. 
Note: You can leave only one type of asset number with no prefix. The other two must have a symbol so that all 
 three numbers are unique. Verify that the symbols that you use are not significant for any other purposes of data entry, for example, a period or 
 comma.
  | 
| cSymblUseToDefinSerialNumb | SMS | char | REQ | BOTH | 
A value that identifies an asset. You can assign one of three different types of numbers:
  o  Asset Number - an eight digit, system assigned 
 number
  o  Serial Number - a 25 digit model or serial number
  o  Unit Number - a 12 digit, alphanumeric, user defined number 
When you enter 
 an asset number, you may use a prefix or symbol to designate the type of number you enter. For the type of asset number you use most 
 often, you should use no prefix, so that you just need to enter the number. For the other two types of asset numbers, you should define a symbol 
 for each, such as / or *, that you will enter as a prefix before the number to identify which type of number you are representing. For example, if 
 you enter serial numbers most often, you should use no prefix for serial numbers. Then you might use / as a prefix for asset numbers and * 
 as a prefix for unit numbers. 
Note: You can leave only one type of asset number with no prefix. The other two must have a symbol so that all 
 three numbers are unique. Verify that the symbols that you use are not significant for any other purposes of data entry, for example, a period or 
 comma.
  |