AlcoholLicenseTable_RU::findByTypeDateOwner Method
Finds the first record in the AlcoholLicenseTable_RU table by the number of parameters.
Syntax
client server public static AlcoholLicenseTable_RU findByTypeDateOwner(
AlcoholActivityType_RU _profileAlcoholActivityType,
AlcoholProductionTypeId_RU _productionTypeId,
TransDate _transDate,
DirPartyRecId _party,
[CustVend_RU _custVend,
AlcoholLicenseSeriesNum_RU _licenseSeriesNum])
Run On
Called
Parameters
- _profileAlcoholActivityType
Type: AlcoholActivityType_RU Enumeration
The type of the alcohol activity for the inventory profile that is used to search for the license (wholesale or retail).
- _productionTypeId
Type: AlcoholProductionTypeId_RU Extended Data Type
The type of the alcohol production.
- _transDate
Type: TransDate Extended Data Type
The date on which the license is valid.
- _party
Type: DirPartyRecId Extended Data Type
The record ID of the party to which the license is bound.
- _custVend
Type: CustVend_RU Enumeration
A value that indicates whether the license is being found for a customer or a vendor; optional.
This parameter is used to search for the corresponding license activity type.
- _licenseSeriesNum
Type: AlcoholLicenseSeriesNum_RU Extended Data Type
A parameter that is used if a specific license should be found; optional.
Return Value
Type: AlcoholLicenseTable_RU Table
The record that is found in the AlcoholLicenseTable_RU table.