AlcoholLicenseTable_RU::checkAlcoholLicenseSeriesNumInInvoice Method
Validates that the correct alcohol license is selected for all lines in the SalesParmLine table that include alcohol production.
Syntax
server public static boolean checkAlcoholLicenseSeriesNumInInvoice(CustVendTable _custVendTable, ParmId _parmId)
Run On
Server
Parameters
- _custVendTable
Type: CustVendTable Map
The customer or vendor for which the invoice is posted.
- _parmId
Type: ParmId Extended Data Type
The parameter ID to analyze in the SalesParmLine or VendInvoiceInfoLine table.
Return Value
Type: boolean
true if the correct alcohol license is selected for all lines that include alcohol production; otherwise, false.