It's possible. For example, look at InventOnhandItem form. It implements SysSaveable interface, therefore it has methods like lastValueElementName(). That defines how the data is stored in SysLastValue. What is actually saved (and how it's loaded) is managed by pack() and unpack().
Values are saved in close() (xSysLastValue::saveLast()) and loaded in run() (xSysLastValue::getLast()).
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.