It’s annoying when the debugger displays an integer instead of actual enum parameter. One way to see it is to paste the following code to the Immediate Window:

Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.Enum2Str(salesLine.SalesType)

More tricks like this can be found here: Visual Studio Debugger capabilities