Adding Constraints to Business Object.

We have created a series of iMIS Business Objects to enable us to enter the various response messages and response codes returned from the various payment gateways.

The BO field RETURNERROR sets a flag to either display a message(ie. Invalid experation date) or false to send an email and direct the payer to an error page.

The BO_BSCIPayResponseResult has the following fields RESULT RESPMSG, RETURNERROR, BO_CCAuthAcctCode and RESULTKEY.

One of the fields in the Business Object field BO_CCAuthAcctCode is bound to an IQA that returns a list of IQACAuthAcctCode where CCAuthMode = 1.

We wish to add a constraint on the BO field BO_CCAuthAcctCode must be in the IQACAuthAcctCode. Are there examples of these constaints.

Try

{

String strCCAuthAcctCode = item.GetString(“IQACAuthAcctCode”)

If (item. BO_CCAuthAcctCode == strCCAuthAcctCode)

ConstraintPassed = true;

}

Thank You

BMW

Try

{

bwalker@bscichicago.com

}

Catch

 {

312.553.1253 x230

}

Finally

{

312.553.1253

}