PRUEDED Custom Calc

Sort:
You are not authorized to post a reply.
Author
Messages
tambrosi
Veteran Member
Posts: 55
Veteran Member

    Hello,   I am really new to the Lawson software and was asked to add a custom calc for a special deduction that is entered into PR05.   I searched thru the posts and set up everything like I thought.     But it looks like the PRUEDED added code is not getting invoked.  

    If somebody could tell on how the process works, I would really appreciate it.  

    --This is what I did,  

    1.  Changed PRUEDED to move a value to PRUE-DED-AMT. 

          --Compiled PR05,  does the PRUE-DED-AMT show on page someplace for verification. Does PRUEDED need to be compiled?

          --Used the "X" calculation type(Custom Calc).

          --Is There a trace that shows the PRUEDED file is being invoked,  If I put a Display in PRUEDED, would they show up

            someplace.  (When I compile PR05 with the trace function, I see nothing in the trace for PRUDED)

    2.  Does PR140 use the PRUEDED file, is that the only place to see the deduction?

     (Version 10, Portal)

    Any Help would be appreciated. 

    Thanks

     

     

    Ragu Raghavan
    Veteran Member
    Posts: 469
    Veteran Member
      You have to re-compile PR140 (and PR80 for manual payments) - not PR05.

      My experience is with 9.01 and earlier versions. Yes, display statements will show up in the PR140 job log. Any calculated deduction amt will show up on the PR140 report. If it is zero, it does not print.
      tambrosi
      Veteran Member
      Posts: 55
      Veteran Member

        A big THANK YOU on this.    

        One other question, is there a way, to find out what program use PRUEDED?

         

        Thanks

         

        Ragu Raghavan
        Veteran Member
        Posts: 469
        Veteran Member
          I check the table pgmlib in the GEN database.

          tambrosi
          Veteran Member
          Posts: 55
          Veteran Member
            When I check the table, I see BN150 uses the PRUEDED, is that where the custom calcs can be added for BN150 or is there another place that custom calcs need to be added for BN15.
            Any help would sure be appreciated.
            Thanks.

            Ragu Raghavan
            Veteran Member
            Posts: 469
            Veteran Member
              Probably one of the libs in the bnpdlib folder. BNUX70PD or BNCV70PD etc. depending on what you need to do.
              jaherb
              Veteran Member
              Posts: 164
              Veteran Member
                If you want to see where PRUEDED is used at you can use the following command...

                dbdump gen pgmlib |grep PRUEDED | lashow

                This will list by product line all of the calling programs. Remember that if you change PRUEDED, every program using it will need to be recompiled.
                You are not authorized to post a reply.