Release of Journal entries from smart notifications

Sort:
You are not authorized to post a reply.
Author
Messages
Ruma Malhotra
Veteran Member
Posts: 412
Veteran Member
    I have created a smart notification for unposted journal entries and would like the user to release them for the email the user receives.

    However I am getting an error 500 when this action is taking place.

    Has anybody done this ? what am I missing?
    Matthew Nye
    Veteran Member
    Posts: 514
    Veteran Member
      Thats a lofty goal. Are you using LAL or IDA in the link? Youre assuming the user is logged in or are they getting prompted?
      If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
      Ruma Malhotra
      Veteran Member
      Posts: 412
      Veteran Member

         I am using LAL. The users may or may not be logged into Lawson when they receive the email.

        If I am not logged into the system, it asks me to login then login again for LAL and that is when it gives me this error.

        mark.cook
        Veteran Member
        Posts: 444
        Veteran Member
          Have you been able to release without the error if already signed into Lawson when you click the link? I am try to see if the link works but just not from email or is there a syntax error that is preventing the release in total.

          Hopefully that made sense. I have a couple things built to release from SN but have not tried it from an email.
          Matthew Nye
          Veteran Member
          Posts: 514
          Veteran Member
            that sounds like a bad URL honestly. ill echo what mark said, make sure the URL works by itself with the keys prepopulated.
            If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
            Ruma Malhotra
            Veteran Member
            Posts: 412
            Veteran Member
              Thanks to both of you for your suggestions. if you release journal entries from smart notes does it give you an html page with coding and do you have to scroll to the bottom to see what the message is ? Or is there any other way to look at the message you receive when you release a transaction through smart notes.
              mark.cook
              Veteran Member
              Posts: 444
              Veteran Member
                I only know the option of using that page to get the message at the bottom. I use it while troubleshooting and then don't display while in production. I would also while testing just validate the data in Lawson.

                Ruma Malhotra
                Veteran Member
                Posts: 412
                Veteran Member
                  How did you manage to remove that page in production from showing? Also if you remove the page show what the status of the transaction is to the end user ?
                  Matthew Nye
                  Veteran Member
                  Posts: 514
                  Veteran Member
                    LAL is going to take you to the actual form you are calling (at least in my experience). If you arent calling a form that may be why you are getting an error message. If you just want to send an action and not take the user to a physical page you probably want to look at using an IDA call but then you are going to have to write some custom javascript to handle the success/fail response for the end user, which would be difficult to impossible to do without having the user in a web browser. can you post your link?
                    If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
                    Ruma Malhotra
                    Veteran Member
                    Posts: 412
                    Veteran Member
                      I have gotten past the link working. I am writing an ags call with LAL to release it.

                      However it is throwing another exception while saving it on step 3 of the infoset, and I am working with LGS to resolve it since it is an issue where the number of characters on the URL is too large for the field or something like that.

                      LAL in this case does not take the user to the form but executes the action and results in a webpage with the results of the action on that transaction at the end of the page. Have you seen this and how can you prevent the end user from seeing the whole page but just the results of the action. Is it something custom that you have to create?

                      My link is "/efs/LAL?SID=IOS-LSFTESTIOS-base&SF=AGS&_PDL=TEST&_TKN=GL40.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=R&GLC-COMPANY=[Company]&GLC-FISCAL-YEAR=[FiscalYear]&GLC-ACCT-PERIOD=[AcctPeriod]&GLC-SYSTEM=[System]&GLC-JE-TYPE=[JEType]&GLC-CONTROL-GROUP=[ControlGroup]&GLC-JE-SEQUENCE=[JESequence]&_DELIM=%09&_OUT=XML&_EOT=TRUE".
                      You are not authorized to post a reply.