the requirement is say 6.15 for absneces and net to be rounded of to 6 and 6.60 for ex to be rounded of to 7.
workaround-the ROUNDGK100 operation can be included in the pcr to address this issue.
---------------
 ROUND - Rounding Off Within Current Wage Type
   Object
     Operation
   Use
     The ROUND operation rounds off field values in the current wage type.
   Syntax
     OOOOOFSVVV
     OOOOO       ROUND       Name of operation
     F                       Number to be rounded
                 blank       AMT field (total amount) is rounded
                 G           AMT field (total amount) is rounded
                 A           NUM field (number) is rounded
                 B           RTE field (amount per unit) is
                             rounded
     S                       Rounding method
                 blank       commercial rounding
                 K           commercial rounding
                 +           round up
                 -           round down
     VVV                     rounding divisor
                             the result of this rounding should be
                             divisible by VVV.
   Examples
     1.  The amount (F=G) is commercially rounded to $ (VVV=100).
     2.  The number (F=A) is rounded up (S=+) to the the next number
         divisible by 10 (VVV=10).
     3.  An amount is to rounded up to 100, e.g. 100, 200, etc. US dollars.
     4.  An amount is to be rounded to the next number divisible by 10.
     Method
     1.          ROUNDGK100
     2.          ROUNDA+10
     3.          ROUNDG+100      to whole value of currency
                 RTE/100         divide amount by 100,
                                 e.g. dollars
                 ROUNDG+100      round to the next number
                 RTE*100         multiply amount by 100,
                                 e.g. cents
     4.          ROUNDG-100      ignore cents
                 RTE/100         divide amount by 100,
                                 e.g. dollars
                 ROUNDGK10       round to next multiple of 10 dollars
                 RTE*100         multiply amount by 100
                                 e.g.cents
 
 
 
No comments:
Post a Comment