Share via


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

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.

See Also

Reference

RetailInformationSubcodeTable Table