suppose i
put my report on the CustPackingSlipJour form then i selected on e
record,i want to display the information of that particular record only
in my report then the following code helps
public
class ReportRun extends ObjectRun
{
CustPackingSlipJour externalCustPackingSlipJour;
}
public
void init()
{
element.initFromArgs(element.args());
super();
}
void
initFromArgs(Args args)
{
if
(args
&& args.dataset())
{
switch(args.dataset())
{
case
tablenum(CustPackingSlipJour) :
externalCustPackingSlipJour
= args.record();
}
}
}
No comments:
Post a Comment