Share via


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

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.

See Also

Reference

CustVendOutPaymRecord Class