Misti,
We just went live with HPF/HBF, and we did this for several document types. Use tcl; as you go through the PID and PV1 segments, assign the needed values to variables, then insert a new (or in our case several new) OBX segment(s) with the variables you’ve assgned from the PID and PV1 segments.
If you need further help, let me know, and I’ll provide you with one of the tcl’s we used here.