AX 2012 R3 Sales Packing Slip Report Unable to get reference of CustInvoiceJour

I’m using AX 2012 R3.

My requirement is to set the value of custom parameters when opening the sales packing slip report.

For this, i have written the code in PreRunModifyContract of SalesPackingSlipController.

But i’m unable to get reference of CustInvoiceJour when the report is opened directly after posting the journal.

I get the reference when the report is opened from Sales Packing Slip journal.

Is there a way to get the reference of the journal when the report is opened directly after posting the journal?

In general I sell a whole bunch of different women’s clothing http://darim24.com/440/women-dresses big assortment and constant prices, stocks are guaranteed, so if you are interested, then please write to the PM.