Fix typo in assignment collection spec
Add order type code

This code tells us whether the order applies to the sales or purchase ledger. See under "Order Stock Status Codes" here https://www.brightpearl.com/developer/latest/order/order/get.html