Use of GENTG operation on TIme Evaluation

Question: Hi everybody

Anyone has used operation GENTG? I have positive evaluation, and I want to pay public holidays if there are time events on that day.

Thank you in advance


Answer:
Hi everybody

Anyone has used operation GENTG? I have positive evaluation, and I want to pay public holidays if there are time events on that day.

Thank you in advance

Yes, here's what I did to generate holiday hours for holiday class 5 for exempt employees:


000010            D VARSTHOLCL                                   
000020 *                                                         
000030 5            HRS=U     HRS-CZHOLIADDDB6000ZGENTGREGUHNEXTR
000040 5        1   HRS=CZHOLIGENTGHOLIHFILLPVO                   


Let me know if you have any questions.


Answer:
Hello

I think before this rule you filled variables REGU and HOLI in some way, how did you do it?

My case is: I have a pair from 8:00 to 17:00 from time events, and I have an attendance from 9:00 to 17:00, the DWS is from 7:30 to 17:30.

Function 2011 sends to TIP the pair 8:00-17:00, so, I need to split this into 8:00-9:00 and 9:00-17:00, the functionallity is like that?

Thank you


Answer:
Sandra, did you even look at the help on this? It really is quite good.



GENTGxxxxy                                                               
                                                                         
Variable1   xxxx        Identification of generated TIP pair.           
                        The information stored in Variable1 is           
                        entered in field TIP-BGCOD. It can be used       
                        to identify the generated TIP entry in           
                        order to fill additional TIP fields using       
                         operation FILLP                                 
                        in a personnel calculation                       
                        rule called by function PTIP.                   
                                                                         
Variable2   y           Methods of generation                           
            blank       A time pair is generated on the basis of         
                        the normal working times in the daily work       
                        schedule. The time pair is assigned pair         
                        type 2. All existing time pairs in TIP           
                        that are not break times                         
                        are assigned the time identifier 01 (see         
                        example).                                       
            S           A time pair is generated on the basis of         
                        the normal working times in the daily work       
                        schedule. Existing TIP pairs are not             
                        changed.                                         
            H           A TIP entry is created with a number that       
                        is taked from the current number of hours       
                        field (Operation HRS).                           
            V           As for "blank". A cost assignment (as for       
                        function P2000) or alternative payment           
                        for substitutions is also evaluated.             
            T           As for "S". A cost assignment (as for           
                        function P2000) or alternative payment           
                        for substitutions is also evaluated.             


HOLI and REGU are assigned in variable 1 as seen above.

For what you are trying to do, you should be using GENTP in a rule called by PTIP. Pay special attention to the B and E options for x.


Split TIP Entry                                                             
                                                                             
    Acronym:   GENerate Time Pair                                           
                                                                             
  Object                                                                     
                                                                             
    Operation                                                               
                                                                             
  Use                                                                       
                                                                             
    Operation GENTP separates a part of the current TIP entry and enters it 
    in the daily output table TOP. The number of hours field (filled by     
    operation HRS) specifies the size of the partial pair. Processing can   
    can then be resumed with the (reduced) current time pair.               
                                                                             
  Syntax                                                                     
                                                                             
    (first variant)   OOOOOx yyz                                             
                                                                             
    (second variant)  OOOOOxyyyy   (Special form: see under yyyy)           
                                                                             
    OOOOO       GENTP       Name of operation                               
                                                                             
    x                       Deduction type                                   
                B           The partial pair is separated from the           
                            start of the current time pair.                 
                E           The partial pair is separated from the           
                            end of the current time pair.                   
                                                                             
    yy                      Time identifier of pair                         
                blank       The partial pair retains the time type of       
                            the current time pair.                           
                nn          The partial pair is assigned the time type       
                           from the Time Type Determination table
                           (T555Z).                               
                                                                 
   yyyy                    The special form GENTPxyyyy assigns the
                           time type yyyy to the time pair.       
                                                                 
   z                       Processing type of pair being formed   
               *           Previous processing type is retained   
               S           Planned work                           
               M           Overtime                               
               A           Absence                               
                                                                 
 See also                                                         
                                                                 
   PC rule TO20                                                   

Copyright ?2007 - 2008 www.jt77.com