display Amount myMethod(InventSum _inventSum) { InventDim inventDim = _inventSum.joinChild(); Amount Amount; ; ....... return Amount; }