Method EinvoiceParty():from() Professional
Converts a value into a party object.
:from( <xParty> ) --> oParty
An EinvoiceParty object.
Returns an EinvoiceParty object for the value passed. If <xParty> is already an EinvoiceParty object, it is returned unchanged. Otherwise, a new party is created via EinvoiceParty():new( xParty ). This allows a DataObject with the corresponding members to be used wherever a party is expected, for example in EinvFactory():createInvoice(), AbstractEinvoice:setSeller() and AbstractEinvoice:addRecipient().
If <xParty> is neither NIL nor an object, a runtime error is raised.
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.