Skip to Main Content

E-Business Suite

Announcement

Testing banner

Collapsing Addressee fields

Dave SandersDec 30 2022

I'm wondering if anyone has developed an eloquent solution for collapsing Addressee fields when there is no data. In my example, my addressee does not have an ADDRESS2. I've tried everything I can think of on how to remove the blank space when line 2 does not exist.
image.pngimage.png
This seems like an easy task with several options:
In the XDD, map ADDRESS2 to the XML Line 2 when it exists, else map it to City, State Postal code. This doesn't work because it always maps to the 1st recipient's City, State, Zip and not the ADR_CITY, ADR_STATE, ADR_POSTALCODE.
Map to the ADR* GVMs. This doesn't work either; They always seem to be null. I'm not sure when they are populated: during GenData or GenPrint? I see them defined in the rcbdfdfl.dfd so I'm assuming it's the latter but that's just a guess.
Have two sections: one with Line1 and Line2 and the other with only Line1. I can't get this to work either for the same reason: the trigger tries to access the ADR_ADDRESS2 variable and it is always null.
Any thoughts or ideas would be greatly appreciated.
Thanks!
Dave

This post has been answered by Mr Peabody-Oracle on Jan 10 2023
Jump to Answer
Comments
Post Details
Added on Dec 30 2022
7 comments
50 views