Share via


EFDocumentCity_BR.rpsCustCNPJCPF Method

Returns if the customer has CNPJ or CPF.

Syntax

display RPSCustCNPJCPF rpsCustCNPJCPF()

Run On

Called

Return Value

Type: RPSCustCNPJCPF Extended Data Type
'1' if CPF; '2' if CNPJ; '3' if empty.

Exceptions

Exception Condition
Error

Thrown if the user has insufficient rights to access the necessary fields.

-or-

Thrown if the recipient is not a customer.

Remarks

Used to generate the RPS file.

See Also

Reference

EFDocumentCity_BR Table