PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03/09/2017 8:18 AM by  Woozy
Services triggered - before and After values
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
JasonP
Programmer Analyst
PennState Hershey Medical Center
Advanced Member
(59 points)
Advanced Member
Posts:27


Send Message:

--
03/08/2017 3:28 PM

    In landmark, I have a service that is hooked to a form. When the form get a change event, it fires off my service and creates a work unit.  The work unit has all the variables readily available except whats being changed anotherwards the previous value.  Is there a way to access this information also not from a custom form?

    Woozy
    Private
    Private
    Veteran Member
    (3487 points)
    Veteran Member
    Posts:707


    Send Message:

    --
    03/08/2017 3:59 PM
    Hi JasonP,

    So is this an ActionRequest form that is being triggered? If it is, then this post discusses this exact issue. https://www.lawsonguru.com/Forums/tabid/96/aft/19761/Default.aspx


    The details are in the post dated 01/09/2017 at 3:46 AM

    Good Luck.
    Kelly

     

    (NOTE:  fixed link)

    Kelly Meade
    J. R. Simplot Company
    Boise, ID
    Greg Moeller
    Private
    Private
    Veteran Member
    (3906 points)
    Veteran Member
    Posts:1388


    Send Message:

    --
    03/08/2017 4:06 PM
    FYI-
    Kelly: I get a dns error when I click your link to the exact issue.
    Woozy
    Private
    Private
    Veteran Member
    (3487 points)
    Veteran Member
    Posts:707


    Send Message:

    --
    03/08/2017 4:15 PM

    Oops- thanks Greg.  Here's the correct link.

    https://www.lawsonguru.com/Forums/tabid/96/aft/19761/Default.aspx

    Kelly Meade
    J. R. Simplot Company
    Boise, ID
    JasonP
    Programmer Analyst
    PennState Hershey Medical Center
    Advanced Member
    (59 points)
    Advanced Member
    Posts:27


    Send Message:

    --
    03/09/2017 7:57 AM
    I have a service def Gen_ICLoc that fires everytime an update is made to IC02.  Here is a workunit that gets created.  I have a simple IPA hooked to this event that just send me an email.  I have 108 variables available to me to use in the IPA as you can see below indicated on the variables tab.  However, the 108 variables, none of them are the previous value.  I will read through that post, maybe I should be doing this a different way, but this is on the s3 side.
    Woozy
    Private
    Private
    Veteran Member
    (3487 points)
    Veteran Member
    Posts:707


    Send Message:

    --
    03/09/2017 8:18 AM
    Hi JasonP - I didn't realize this was on the S3 side, so the post I provided really won't help you. I have much more experience on the Landmark side.

    Hopefully one of the LSF/S3 experts will chime in, but my best guess is that you would have to do an S3 DME query against the IC02 history (if there is such a thing) to find the previous values.

    I hope you find an answer.
    Kelly
    Kelly Meade
    J. R. Simplot Company
    Boise, ID
    You are not authorized to post a reply.