Legacy v. 2.32.0 PSPI Functions
Proprietary & Confidential
121
UpdateMTBilling()
Stored procedure for updating a subscriber’s Metratech billing data in the
database. Compatible with v. 2.00.0 or later of the software if the
MetraTechSubInfo table exists.
This procedure replaces all existing values for the specified subscriber. If you
set
vCity
,
vState
,
vZip
,
vEmail
, or
vFax
to an empty string, the value
“
None
”
is written to the database. If you set
vLanguage
or
vCountry
to an empty
string, the value
“
US
”
is written to the database.
Parameters
Specify all parameters. The constraints column shows specific value or range
constraints. For syntax rules and constraints applicable to all parameters, see
Return Values
Parameter
Data Type
Constraints
Description
vSubId INT
>0
ID of subscriber to update. Must be in
database.
vLanguage CHAR
(4)
Language or empty string.
vCity CHAR
(20)
City or empty string.
vState CHAR
(20)
State or empty string.
vZip CHAR
(15)
ZIP code or empty string.
vTimezone INT
>0
Time zone.
vEmail CHAR
(120)
Email address or empty string.
vCountry CHAR
(60)
Country or empty string.
vFax CHAR
(30)
Fax number or empty string.
vBillAcctFlag INT
0–2
Metratech billing account flag. 0: Not
processed; 1: Being processed, but not
completed yet; 2: Completed.
Data Type
Description
INT
Return code (0: OK; otherwise, error code).
Содержание ReadiVoice
Страница 1: ...ReadiVoice PSPI Reference ...
Страница 134: ...ReadiVoice PSPI Reference 126 Proprietary Confidential ...
Страница 268: ...ReadiVoice PSPI Reference 260 Proprietary Confidential ...