Method ExportEinvoice():acceptsBuyerCountry() Professional

Checks whether the buyer country is outside the EU.

Syntax
:acceptsBuyerCountry( <cCountry> ) --> lAccepted
Parameters
<cCountry>
The ISO 3166-1 alpha-2 code of the buyer country to test.
Return

.T. (true) if the country is not an EU member state, .F. (false) otherwise.

Description

Determines whether a buyer located in the given country is permitted in the export scenario. The method is called by :addRecipient() to reject a buyer which does not fit the scenario. A buyer country is accepted if it is not an EU member state.

Feedback

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.