What does following mean

hi,
What does the following mena Args.Dataset(), args.record().dataSource().
What are they actually pointing to.
Thanks in advance

Save Tree Save Earth

The args() is used for geting caller parameters.

args.dataset() = to getting caller’s dataset

HI, Args object is used to pass information from caller to another object. Also it can be used to create new objects like opening a InventTable form from x++ code.

In your case, Args.dataset() gets the dataset from the caller object.