3 Replies Latest reply: Jan 29, 2014 2:49 PM by user10757003 RSS

    Dynamically Replacing Location Attributes

    matthew75

      Hello,

       

      I am having trouble changing the validation entity group using the BefConsolidate event script.  This is my code below:

       

      Sub BefConsolidate(strLoc, strCat, strPer, strTCat, strTPer, strEntGroup)

       

          If InStr(UCase(strLoc), "EA") > 0 Then

              RES.PblnValEntGroupOverride=TRUE

              RES.PstrValEntGroup="TOT"

          End If   

       

      End Sub

       

      I am using similar code to dynamically change the import format and that works fine.  I am using FDQM, Fusion Edition 11.1.2.1.

       

      The RES. statements are coming straight out of admin guide so I am not sure why this will not work.

       

      The location in question does have a default validation entity group assigned.

       

      Thank you,

      Matthew