So to sign a treaty nation A needs an order of the type
"Sign a trade agreement to supply arms to nation B"
and nation B sends an order of the type
"Sign a trade agreement to buy weapons from nation A"
and you handle the rest?
Yes that sounds right.
The actual effects of the treaty may vary, but yes.