RetailInformationSubcodeTable::mcrValidate Method
Checks if the record occurs in the RetailInformationSubcodeTable table when the infocode ID and subcode ID are populated.
Syntax
client server public static boolean mcrValidate(RetailInfocodeId _infocodeId, RetailInformationSubcodeId _subcodeId)
Run On
Called
Parameters
- _infocodeId
Type: RetailInfocodeId Extended Data Type
The InfocodeId field of the RetailInformationSubcodeTable table.
- _subcodeId
Type: RetailInformationSubcodeId Extended Data Type
The SubcodeId field of the RetailInformationSubcodeTable table.
Return Value
Type: boolean
true if the record is valid; otherwise, false.
Remarks
This is different than the exist method is that the record ID needs to be 0 in order to show the error.
Whereas the exist method checks for the record ID to not be 0.