Null value in extension class method

Hi All,

I have created the Post event handler for PurchFormLetter/main method... In that extension class, i am unable to the instance of PurchFormletter...It is my code...

[PostHandlerFor(classStr(PurchFormLetter), staticMethodStr(PurchFormLetter, main))]
    public static void PurchFormLetter_Post_main(XppPrePostArgs args)
        AxFSAServicePartRequestQueue axFSAServicePartRequestQueue;
        PurchTable purchTable;
        PurchFormLetter purchformLetter = args.getThis() as PurchFormLetter;
        purchTable = purchFormLetter.parmSourceTable();

Here i am getting null value for 'purchformLetter'...

Please suggest..?

No Data
Reply Children