HcmAppBasketContactInfoFormHandler::disablePrimaryControl Method [AX 2012]
Disables the primary control on the contact information form if the current application basket record has a party that has contact information.
Syntax
client server public static boolean disablePrimaryControl(HrmApplicationBasketRecId _applicationBasketRecId)
Run On
Called
Parameters
- _applicationBasketRecId
Type: HrmApplicationBasketRecId Extended Data Type
The record ID of the current application basket record.
Return Value
Type: boolean
true if the current application basket has contact information in the DirPartyLocation table; otherwise, false.
Remarks
The primary control must be disabled to avoid inconsistencies in the primary contact information about a party.