PCXmlSessionWriterDatabaseRelationType.checkIfTableIsEmpty Method [AX 2012]

Check whether the source table of the system table constraint is empty.

protected void checkIfTableIsEmpty(boolean _tableIsEmpty)

Run On

Server

Parameters

_tableIsEmpty
Type: boolean
A Boolean value indicating if the source table is empty.

ExceptionCondition
Error

Throws an error if the table is empty.

If it is empty the constraint model will be invalid so an error must be thrown.

Community Additions

ADD
Show: