Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

getThis() on init Method

$
0
0

Hi everyone,

I wanna get record from init method, the record that I want is marked red

  

This is my script : 

[ExtensionOf(formStr(SalesCreateQuotation))]
final class SalesCreateQuotation_RAP_Extension
{
    /// <summary>
    ///
    /// </summary>
    /// <param name="args"></param>
    [PostHandlerFor(formStr(SalesCreateQuotation), formMethodStr(SalesCreateQuotation, init))]
    public static void SalesCreateQuotation_Post_init(XppPrePostArgs args)
    {
        FormRun fr = args.getThis();
    }

}

How can I get the recId ? 


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>