The BAccounts in my system each have multiple locations. I need the GI line results to have 1 line per BAccount and show the Location address information for the LocationCD =’Mailing’. If there isn’t a LocationCD = ‘Mailing’, then I want it to show the location that is marked as “IsDefault”.
Maybe it is better said, “If there is a location named “Mailing”, show that address. If not, show the address for the location marked “Default”
What would be the best way to create this condition in my GI?
