System using wrong sales account on sales order depending on order type

Order To Cash: Sales Order Version 8.90

There were different scenarios when creating a sales order with item or without item.

  • In scenario 1 when using customer location, sales account was set from posting class or customer location.
  • In scenario 2 when using posting class, sales account was set from posting class or customer location.
  • In scenario 3 when using warehouse, sales account was set from posting class or customer location.
  • In scenario 4 when using reason code, sales account was set from posting class or customer location.
    Now the sales order lines have been fixed to match the right sales accounts.