TaxRegistration::getTaxRegistrationFromCust Method
Retrieves the registration number for a specified customer from the TaxRegistration table.
Syntax
client server public static TaxRegistration getTaxRegistrationFromCust(
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: TaxRegistration Table
The registration associated to the customer.