Method AbstractEinvoice():getLastWarnings() Professional
Returns the warnings of the last serialization.
:getLastWarnings() --> aWarnings
An array of DataObjects with the members :Rule and :Message, or an empty array ({}) if no warnings were reported.
Returns the warnings which were collected during the most recent call to :toXRechnung() or :toZugferd(). The warnings include those reported by :validate() as well as those reported by the format-specific checks of the internal serializer.
The warnings are updated on every call to :toXRechnung() or :toZugferd(), even if the call raises a runtime error because of validation errors.
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.