Recording Fee Payee
Posted: Tue Feb 21, 2023 2:04 pm
I have the below formula in a {{Order.HUDs.Section1200.Charges.HUDTo}} field but it doesn't work once fees are actually added. The HUDTo field reflects the O3 contact but the {{{Order.HUDs.Section1200.Charges.Payees.Contact}} defaults the payee code to A. Assuming I need to make this a custom order rule, is there a way to be sure that the payee code on this line is always the Recording contact (in this case the contact with the O3 payee code)?
Value = ""
If ( CountOf({{Order.Others}})>=1 ) Then
Iterate {{Order.Others}} From 1 to #{{Order.Others}}
If ( @.OtherType = "Recording" ) Then
Value = @.Code
Break
EndIf
Loop
EndIf
Value = ""
If ( CountOf({{Order.Others}})>=1 ) Then
Iterate {{Order.Others}} From 1 to #{{Order.Others}}
If ( @.OtherType = "Recording" ) Then
Value = @.Code
Break
EndIf
Loop
EndIf