You can have a transaction header department, and ...
# suitescript
g
You can have a transaction header department, and different departments on the lines