PBAExecute::checkErrors Method [AX 2012]

Checks a product model for errors in the rules, compiled classes, and the names of generated objects.

server public static boolean checkErrors(ItemId _itemId, [PBAId _pbaId])

Run On

Server

Parameters

_itemId
Type: ItemId Extended Data Type
The item identifier that is used to find the product model through the version, if the Product Model Identifier is not specified.
_pbaId
Type: PBAId Extended Data Type
The product model identifier; optional.

Return Value

Type: boolean
true if an error was found; otherwise, false.

This method cancels and returns by the first error it encounters and lists it in the Infolog.

Show: