It is possible for usage record properties which have object definitions to automatically create the referenced objects the first time they are encountered in a usage function (charge, reserve or quote). To do this, the referenced object must be set to AutoGen=True and the Values attribute for the UsageRecord attribute corresponding to the object must be set to a string consisting of the '@' sign followed by the object name.
For example, let's assume there were many usage record types that could be charged for (Food, Book, Haircut) and that you had already created an Item object. It would be possible to automatically generate a new Item instance each time a new usage record type was referenced in a charge operation.
$ goldsh Object Modify Name==Item AutoGen=True Successfully modified 1 object
$ goldsh Attribute Modify Object==UsageRecord Name==Type Values=@Item Successfully modified 1 attribute
See Object Auto-Generation for more information about the auto-generation of objects.
(Undefined variable: MyVariables.!CopyrightInfo!)