| Hi
As an addition to the previous question;
We are in the middle of User Testing in Ayr and are attempting to force
the error "TPLESSTHANSC". Could you explain why the following 2 examples
fail to get this error message from the demo, please.
I tried changing the logicals TPAS$DISPLAY_I_ERRORS and TPAS$DISPLAY_W_ERRORS
to "Y" in case this made a difference but still got the same results.
I assume that the flag mentioned by Yan Noi has been set in our tables also but
does this mean that the warning message is not returned?
Christine
Part ID: 30-35539-01
Ship/Bill FROM Data : AY - AYO - AY - - MFG
Ship/Bill TO Data : 0002417 - ATS - - 0002417 - SAL
TPAS Prodt Type : MAJ
STD Cost : $ 1991.460000 STD Cost Type : C
Corporate MLP : $ 0.00
Average Prodt NOR : $ 0.000 Prevailing Rate : 0.096
Base Price : $ 500.000 Trnsfr Pricing Code : O
CMM : 3.00 CALCULATED MLP Dscnt Perct To Rebill : 44.14
MLP Discount Percent : 0.58 NOR Discount Percent : 0.20
STD Cost Uplift : 0.00 REBILL Discount Percent : -.33
Transfer Price : 2196.588 Currency : ATS
Transfer Price To Rebill : $ 279.300
TPAS TRANS STATUS: FAC Code : %APPIX- Status Code : S
Error Message : -NORMAL, normal successful completion
Part ID: 16-34384-01
Ship/Bill FROM Data : AY - AYO - AY - - MFG
Ship/Bill TO Data : 0002402 - DES - - 0002402 - SAL
TPAS Prodt Type : RAW
STD Cost : $ 0.273000 STD Cost Type : C
Corporate MLP : $ 0.00
Average Prodt NOR : $ 0.000 Prevailing Rate : 0.676
Base Price : $ 0.100 Trnsfr Pricing Code : O
CMM : 3.00 CALCULATED MLP Dscnt Perct To Rebill : 50.05
MLP Discount Percent : 0.55 NOR Discount Percent : 0.20
STD Cost Uplift : 0.00 REBILL Discount Percent : -.11
Transfer Price : 0.067 Currency : DEM
Transfer Price To Rebill : $ 0.050
TPAS TRANS STATUS: FAC Code : %APPIX- Status Code : S
Error Message : -NORMAL, normal successful completion
|
| Christine,
The TPAS Pricing Tables were set with 'SHIP_BELOW_STD_COST_INDCR = Y' for
all records with the 'BUSINESS_TYPE_CD = SAL'. When the transfer price
is calculated, it is compared against standard cost AND if BOTH
PRICING_TABLE.SHIP_BELOW_STD_COST_INDCR AND
TRNSFR_AREA_TABLE.RCV_BELOW_STD_COST_INDCR = 'N' Then
the warning message is displayed on the screen. If either the Pricing Table
or the Transfer Area Table switchs are set to "Y" then the whole paragraph
on checking the standard cost is ignored. Which is what happened on your
two examples.
This month's tables have changed such that all the Pricing Table Records for
'SAL' have had the SHIP_BELOW_STD_COST_INDCR set to "N". So if you pull
the new tables for testing, run the same parts through, you will see a
warning messages displayed (not sent back to the program) and the
TRNSFR_PRCG_CD will be set to 'R'.
TRNSFR_PRCG_CD = "O" AND
TRANSFER_PRICE < STD_COST AND both INDCR = "N"
Then
TRNSFR_PRCG_CD = "R"
BASE_PRICE = STD_COST
TRNSFR_PRC = BASE_PRICE * (1+UPLIFT)
And the Error Code sent back will be
%APPIX-S-NORMAL, normal successful completion
Hope this helps.
Lois
|