When placing an order, the error message: "Procedure or function ‘DMG_SalesPrice’ expects parameter ‘@Behavior’ which was not supplied." is returned.
This error message is usually caused by setting an invalid cpnyID in the service header or passing an invalid Sales Order Type (soTypeID) in the object. Or an invalid combination of the two fields.
You can get a list of valid cpnyID + soTypeID combinations with the following sql query:
select cpnyID, soTypeId, descr
from soType with(nolock)
where active = 1
order by cpnyId, soTypeID