Custom Calculation in Absence Management

 4 Replies
 0 Subscribed to this topic
 68 Subscribed to this forum
Sort:
Author
Messages
Michael Beaupre
Basic Member
Posts: 14
Basic Member
    :confused:Kara, our GL Specialist, brought an issue to Lawson which is that our Flex Leave liability is not posting from the Absence Management (LP) System to the General Ledger according to normal accounting rules. The Lawson Rep is recommending that we create a custom calculation in LP by setting the variables in LP07.1 and then writing code in the LPCUSTOMPD Library. If someone has a simliar custom calculation in LP that they would be willing to share, I would really appreciate it. Gracias.
    Ragu Raghavan
    Veteran Member
    Posts: 476
    Veteran Member
      I am inthe middle of 2 LP projects. At one of them I have code in LPUSTOMPD and at the other, I have a custom version of LP198.

      Are you sure you need the LPCUSTOMPD ? That will calculate accruals based on your logic. That will also affect the plan balances.

      From what you indiccate, I think you need to customize LP198. Accruals have already been calculated and the LP related drill-around show the correct transactions and balances ?
      You just want to manipluate what goes into GL ?
      Michael Beaupre
      Basic Member
      Posts: 14
      Basic Member
        You're right - I need the custom to LP198 and not to LPCUSTOMPD because I don't need to change the way that the accruals are calculated. Thanks for your post!
        Ragu Raghavan
        Veteran Member
        Posts: 476
        Veteran Member
          Check out the routine
          370-CALCULATE-HRS-LIAB-AMT SECTION.

          In there, the liability amount is calculated as

          COMPUTE GE-LIAB-AMT
          = (LPPAY-PAY-RATE * GE-LIAB-HOURS).

          This is where I have inserted my customization. Good luck.


          Michael Beaupre
          Basic Member
          Posts: 14
          Basic Member
            Perfect, thanks!