legacy-inbound-procs.xql