Method EinvoiceAddress():from() Professional
Converts a value into an address object.
:from( <xAddr> ) --> oAddress
An EinvoiceAddress object.
Returns an EinvoiceAddress() object for the value passed. If <xAddr> is already an EinvoiceAddress object, it is returned unchanged. Otherwise, a new address is created with EinvoiceAddress():new( <xAddr> ). This allows a DataObject with the corresponding members to be used wherever an EinvoiceAddress object is expected.
If <xAddr> is NIL, an empty address is returned. A runtime error is raised if <xAddr> is neither NIL nor an object.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.