TaxRegistration::getTaxRegistrationNumberFromCust Method
Retrieves the registration number for a specified customer from the TaxRegistration table.
Syntax
client server public static TaxRegistrationNumber getTaxRegistrationNumberFromCust(
CustAccount _custAcc,
TransDate _invoiceDate,
RecId _regTypeRecId)
Run On
Called
Parameters
- _custAcc
Type: CustAccount Extended Data Type
The ID of the customer.
- _invoiceDate
Type: TransDate Extended Data Type
The starting date for which to perform the search.
- _regTypeRecId
Type: RecId Extended Data Type
The ID of the TaxRegistrationType table.
Return Value
Type: TaxRegistrationNumber Extended Data Type
The registration number associated to the customer.