7 Şubat 2012 Salı

AXAPTA Write a message and return false at validate

This can be do with Checkfailed in one line instead of two lines:

if (b_SerialTrans.RefType !=B_SerialRefType::ServiceObjectRelation)
        return checkFailed("Record cannot be delete!..");