Method EinvoiceAllowanceCharge():setCharge() Professional

Sets whether the entry is a charge (BG-20/BG-21).

Syntax
:setCharge( <lValue> ) --> self
Parameters
<lValue>
Set to .T. (true) to mark the entry as a charge (BG-21). A value of .F. (false) marks the entry as an allowance (BG-20). Any value other than .T. (true) is treated as .F. (false).
Return

This method returns self.

Description

Assigns the flag which distinguishes a charge (BG-21) from an allowance (BG-20).

This method normally does not need to be called. The methods AbstractEinvoice:addAllowance() and AbstractEinvoice:addCharge() set the flag themselves and override any value set before.

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.