Deleting table objects  Creating table object qualifications

Chapter 3: Building Production Objects

Defining qualification objects

A qualification object determines the criteria for the data in an incoming transaction, and whether the SFM should process a transaction through a specific production, rule, rule component, or node component object. A qualification object contains one or more:

If the data meets this criteria, the data is passed on to the qualification object’s parent object for further processing. The parent object can be a production object, rule object, or rule component, or node component object.

You can run the qualification object against either the data in an input field, or the data in a data object. Node attribute data can also be qualified for tree fields.

StepsCreating qualification objects

  1. In the main TRAN-IDE window, select View | Qualification Objects or click the Qualify icon to display all qualification objects defined in the current module.

  2. To change an existing qualification object, double-click the object’s name in the Qualification Object list.

    To create a new qualification object, click New beneath the Qualification Object list.

    NoteTo delete a qualification object, select the object’s name in the Qualification Object list and click Delete.

    The Qualification Object Information window appears.

  3. Complete these options, then select the type of qualification objection you want to create.

    Table 3-13: Qualification object keys

    Field (key)

    Description

    Name

    Enter a reference name for the qualification object.

    FldObj

    The name of the field object whose contents you want to qualify. Enter in the name or select the name from the drop-down list.

    Datalink

    The name of the datalink object whose contents you want to qualify. Enter in the name or click the down-arrow to the right of the field to select from a list of all datalink objects. Click the ellipsis button to create a new datalink object.

    FldAttr

    For tree fields only. Select the attribute from the drop-down list to qualify it’s data.

    Optional

    When this option is selected, it makes the qualification object’s criteria optional, which allows you to use AND/OR logic.

    For example, you could have three qualification objects, one that checks that an age field's data is between 25 – 35, another that checks for a range of 45 – 65, and the last that checks for a specific heart condition. If the first two qualification objects have Optional selected, and the last one does not, then the incoming data must satisfy either of the qualification objects that specify the age range and it must also satisfy the heart condition qualification object.

    If all of the qualification objects for a production object have Optional selected, the incoming data must satisfy at least one of the qualification objects before e-Biz Impact continues processing.

    Ignore

    When selected, it causes SFM to not process the transaction even though the transaction passed production object qualification. During transaction production, if the transaction qualifies for only one production object and a qualification object attached to the production object has this selected, then SFM returns a value greater than 0 to the Acquisition AIM but does not log or process the transaction.

    This option allows you to process only a subset of a certain transaction type without having to send the transactions you do not want to process to the NullDest destination.

  4. Select the qualification object you want to create. The options on the right of the window change depending on the qualification option you select. Supported qualification objects are:

    Qualification object type

    Description

    Table Object

    The SFM checks the data in the Qualification Object Information windows’s FldObj or Datalink field against the tag field or key column in each item of the referenced table until it finds a match. See “Creating table object qualifications”.

    Custom Code

    The SFM executes the ODL logic in the qualification function. See “Creating custom code qualifications”.

    Built-in

    The SFM executes the selected built-in qualification function against the data in the Qualification Object Information windows’s FldObj or Datalink field. See “Using built-in qualifications”.

    Compare Operations

    The SFM performs a specific comparison operation between the data in the Qualification Object Information windows’s FldObj or Datalink field and a literal, or the contents of another datalink object, or the contents of another input field. See “Using compare operation qualifications”.

    DB Object

    The SFM executes the database interface object. See “Creating DB object qualifications”.

    Bitwise

    e-Biz Impact performs a bitwise operation on the contents of the Qualification Object Information windows’s FldObj or Datalink field. See “Creating bitwise operator qualifications”.

  5. When you complete your entries, click OK to save the qualification object and close the window.





Copyright © 2005. Sybase Inc. All rights reserved. Creating table object qualifications

View this book as PDF