But would that work in accounts payable?

I have item codes set up in Adagio Invoices pertaining to specific unit #'s. I just thought maybe I could do the same thing in Adagio Payables using distribution codes?