FUNCTION LOCAL ParseVendor(valIn$, divVal$, vendVal$, formatted$)
This routine parses valIn$ into the division, vendor and formatted vendor number
It does not validate the results of the parsed value sent in
|
Parameter | Description |
[input, |
string] valIn$ unformatted value entered into UI control |
[output, |
string] divVal$ Division Number |
[output, |
string] vendVal$ Vendor number |
[output, |
string] formatted$ formatted value. if using Divisions, will be divVal$+"-"+vendVal$ otherwise, set to vendVal$ |
|
Returns |
[boolean] returns 1 if successful, 0 if an error is encountered |
|