Use Case 8: Customizing inbound BOD

Scope: Mongoose ReplDoc-based

Category: Low Code

Tier: OB

Notes: OB - additive extensibility - no merging requirements

Perform these steps:
  1. Create BodOnReceive Event Handler.
    1. Enter Handler description. (Example: Post ReplDoc Process Sales Order)

      Enter Applies To Objects (format BODVerb.BODNoun) (Example: Process.SalesOrder)

    2. Choose other handler options
      • Active (during development, disable. Remember to enable when testing or live)
      • Can Override: enabled
      • Synchronous – enabled

        BodOnReceive

  2. Create Event Actions.
    • Action Sequence: 10
    • Action Type: Extract XML Collection
    • Action Description: Extract elements
    • Edit Parameters
      • XML Template: XML representing incoming BOD
      • XML: BODXML() keyword instructing AES to substitute incoming BOD
      • Path: XPATH of elements to be parsed
      • Property Map: maps XPATH elements to result set properties
      • Result Set Assignment: name of in-memory table discard after event adjourns used to store extracted property values

        Action Sequence 10

        XML Template

    • Action Sequence: 20
    • Action Type: Set Values
    • Action Description: Extract values to variables
    • Edit Parameters
      • Name/Value pairing of VariableName to Values. Use P3 keyword to extract value (collection name, index, property name). It is acceptable to use 1 for index if extracting only header elements.

        Action Sequence 20

        Name Value Pairs

    • Action Sequence: 40 (can be consecutive number 30)
    • Action Type: Load IDO Row
    • Action Description: Lookup ReplDoc created record
    • Edit Parameters
      • IDO: Name of IDO
      • Properties: List of properties (including property used to filter)
      • Filter: define "where" clause using SUBSTITUTE keyword of key property(s)
      • Output: variable

        Action Sequence 40

        slcos

    • Action Sequence: 50
    • Action Type: Update Collection
    • Action Description: Update IDO with extracted values
    • Edit Parameters
    • Update From IDO: Enabled
    • IDO: name of IDO
    • Properties: Name/Value association to set property values and filter IDO to be updated

      Action Sequence 50

      Update from IDO

      Name Value Pairs2