Thanks a lot, KS
I've got it
"KS" wrote:
> Your problem is mostly like due to that you did not add
> shippingAdvice.prompt();
>
> There are lot of examples in the standard code, try to have a look at for
> example the main method of the class LedgerReport_CheckTrans for a
> straightforward example
>
> Also keep in mind that since you are extending RunbaseReport you need to add
> pack and unpack methods.
>
>
> "Vy" wrote:
>
> > Dear all,
> > I have a class that extended from RunBaseReport. And I want to pass some
> > parameter from form to that class (to use in the report).
> > I did this way :
> > SCA_ShippingAdvice shippingAdvice;
> > ;
> > shippingAdvice = new
> > SCA_ShippingAdvice(SCA_ShipTable::find(SCA_ShipJour.ShipNum).CustAccount);
> > shippingAdvice.init();
> > shippingAdvice.run();
> > when clicked the button to invoke the report, I got this msg :
> > error excuting code : PrintJobSettings object not initialised.
> > Can anyone know why, and have a sample code ?
> > Thanks a lot