How to fix: ‘DMG_TermsSelected’ expects parameter ‘@SOBehavior’, which was not supplied.

Some versions of SL have a bug in the business objects that will throw this error when placing an order via CTAPI

The workaround for this error is altering the stored procedure DMG_TermsSelected and adding a blank string default value on the @SOBehavior variable.

Change:
@SOBehavior varchar(4),
To:
@SOBehavior varchar(4) = ”,

Typical Catalina Integration Architecture
Missing Database information