CustVendOutPaymRecord::interfaceName2ClassName Method [AX 2012]
Validates the specified interface name and retrieves the class name.
Syntax
client server public static ClassName interfaceName2ClassName(ClassName _interfaceName, ClassId _classId)
Run On
Called
Parameters
- _interfaceName
Type: ClassName Extended Data Type
The interface name, class name or the user-entered text.
- _classId
Type: ClassId Extended Data Type
The parent class ID that is related to the interfce name or the class name.
Return Value
Type: ClassName Extended Data Type
The class name if the interface name is valid; otherwise, the same class name as was specified.
Remarks
This method creates the list of all the child classes for the given parent class and loops through each class until the interface name matches.
If found returns the class name else the same parm variable is returned back.