|
We do use a separate message library and translate the messages. I will
put a PCR up for the SQL_ERROR and VMS_ERROR setting and check all the places
that those fields are set. Sending these error codes are new for TPAS II. With
TPAS I the ERROR_STATUS X(80) was used in the format:
%APPIX-*-***************x(54)
| | |_______message
| |___ 15 character error code
|____ status = F,W,I,S
The following are the error that have a higher probability of occuring. The
complete list of errors can be found in the users guide. By checking for a
status of 'F' (fatal) and these 15 characters you should get all the fatals.
The errors proceded by :
** - As you are not using the stockrooms or plant neumonics these errors will
not occur.
*** - we validate the TPAS$DB prior to sending out. Unless you are obtaining
from the TPAS$XCLDD_DB and you have popluated the TPAS$XCLDD_DB without
using the TPAS_XCLDD.EXE or there is a problem in the SQL IMPORT of the
TPAS$DB these error should not occur.
PARTNOF <Part Id requested is not on file>
PARTNOAP <Part Id requested is not approved for distribution>
!
NOERRCD <No message text for returned message code>
TPASFATAL <FATAL ERROR>
SQLRDBERROR <SQL-RDB Error>
!
! stockrm to area
GETSTKRMFAILED <Call to TPAS_TO_STKRM_AREA routine Failed>
**GETSTKRMTO <TO Stockroom Code not on CORP. TABLE>
**GETSTKRMFROM <FROM Stockroom Code not on CORP. TABLE>
**GETPLNTFROM <FROM PLANT MNEMONIC CODE not on CORP. TABLE>
**GETPLNTTO <TO PLANT MNEMONIC CODE not on CORP. TABLE >
INVLDAREAFROM <FROM TRANSFER AREA CODE is spaces>
INVLDAREATO <TO TRANSFER AREA CODE is spaces>
**INVLDPLNTFROM <FROM PLANT MNEMONIC CODE is spaces >
**INVLDPLNTTO <TO PLANT MNEMONIC CODE is spaces>
**NOSHIPLOGNAM <TPAS$SHIPPING_DATA Logical not defined >
INVLDSHIPLOG <INVALID TPAS$BILL_TO/FROM_TYPE_CD Logical, must be S ,P, T, B>
TOAREANONTPAS <TO Transfer AREA CODE not on TPAS$DB >
FROMAREANOTPAS <FROM Transfer AREA CODE not on TPAS$DB >
!
! GET PART Error
!
GETPARTFAILED <CALL TPAS_GET_PART routine Failed>
NOUSEAMPLOGNAM <TPAS$USE_AMPS Logical not defined>
NOAMPSAVAILOG <TPAS$AMPS_AVAILABLE Logical not defined>
AMPSFILENOF <AMP2 SATELLITE FILE NOT FOUND>
!
! GET LOCAL PART Error
!
STDCOSTNOF <STD COST is ZERO , Transfer Price cannot be calculated>
ZSCPARTFAILED <CALL TPAS_ZSC_PART routine Failed>
NOSCONLOCAL <NO STD COST Found from TPAS_GET_LOCAL_COST FILE >
NOLOCALFILE <Unsuccessful TPAS_GET_LOCAL_COST CALL>
BADSPAWNMAIL <Unsuccessful Spawn for TPAS_GET_LOCAL_COST Mail Message>
!
! GET PRICING TABLE
!
PTICMMSELECT <PRICING_TABLE SQL Select transaction, No record found>
***PTIINVALID <INVALID PTI, PART TYPE INDICATOR IS NOT "S","D","M","N" or "O">
***CMMINVALID <INVALID CMM, Calc MLP Mult < 1>
!
! GET DISCOUNT TABLE
!
DSCNTSELECTNOF <DISCOUNT_TABLE SQL Select transaction, No record found>
***SCUINVALID <INVALID SCU, Standard Cost Uplift not numeric for PTI = "S">
***DSCNTPRCNT <DISCOUNT Percent greater than or = 1 for PTI = "D" or "M">
!
! TPAS_CALC_TRNSFR_PRC logic errors
!
BASEPRCALCERR <Base Price calculation error>
INVTRNSFRPRCD <Invalid transfer processing code>
INVSHIPTYPCD <Ship_type_cd should be 1, 2, 3 or 4>
!
! TPAS_GET_NOR errors
!
MSSGNOR <NOR not available for country on NOR table>
|