Skip to Content
author's profile photo Former Member
Former Member

Default Hire date in IT0041

Hi,

I need to default the Hiredate in IT0041 from IT000 start date. I wrote a Dynamic action for the purpose, but its not poping up IT0041. please advise on the below code.

0000 MASSN 06 52 P T001P-MOLGA='99'

0000 MASSN 06 53 P P0000-MASSN='01'

0000 MASSN 06 54 I INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D

0000 MASSN 06 55 W P0041-DAT01=P0000-BEGDA

Thanks in Advance

Sunny

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jul 07, 2010 at 12:59 PM

    Hi,

    Try following code (this will modify existing record):

    0000 MASSN 06	54	I	MOD,0041/D
    0000 MASSN 06	56	W	P0041-DAR02='02'
    0000 MASSN 06	56	W	P0041-DAT02=P0000-BEGDA
    

    Instead of:

    0000 MASSN 06 54 I INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D
    0000 MASSN 06 55 W P0041-DAT01=P0000-BEGDA
    

    Alternativly add following line in your code which I believe is missing:

    0000 MASSN 06	56	W	P0041-DAR02='02'
    

    Regards,

    Waqas Rashid

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2010 at 01:17 PM

    0000 MASSN 06 52 P T001P-MOLGA='99'

    0000 MASSN 06 53 P P0000-MASSN='01'

    0000 MASSN 06 54 I INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D

    0000 MASSN 06 55 W P0041-DAR01='01'

    0000 MASSN 06 56 W P0041-DAT01=P0000-BEGDA

    If you want it to pop up and not save in background then remove the /D from third line i.e.

    0000 MASSN 06 54 I INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)

    cheers

    AJ

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2010 at 01:38 PM

    Thanks Ajay & Waqas.. please drop some lines how can i award points..

    Edited by: Sunny74 on Jul 7, 2010 3:49 PM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      On the left side of replies ( mine or washid's) you can see the points you can give us

      if partly helpful - 2

      if more helpful -6

      if it solves your problem then - 10

      Also tick answered when u hv got the solution

      cheers

      AJ

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.