Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.