Announcement

Collapse
No announcement yet.

Create new field if it does not exist?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Create new field if it does not exist?

    I have a GT1 segment that goes up to GT1.5. Sometimes GT1.6 will exist, but when it does not, I need it to create it and set GT1.6.1 equal to a value. Are there any suggestions?

    Right now, it does not exist and I set GT1.6 equal to "" (double quotes). When the message is processed, it shows up as undefined.

    Thank you!
    Last edited by cram1986; 03-24-2015, 03:18 PM. Reason: Added more explaination

  • #2
    Any thoughts?

    Comment


    • #3
      Post channel and sample message

      If you post the channel and a sample message (with PHI removed) I'll take a look at it when I have some time.

      Comment


      • #4
        msg['GT1']['GT1.6']['GT1.6.1'] = "Guarantor Ph Num Home"

        Comment

        Working...
        X