Commissions is actually fairly complex in Macola. Remember, this is a package that goes from specific to general. So, the more information you give the program, the more targeted your output will be. This can be good or bad depending on your desired level of accuracy . . .
That said, you must set the flags in the item master to calculate on either percentage or amount, then set the OECTLFIL to calculate on Sale, Margin, or Item Pct/Amt (the most specific) & then you must tie a specific salesperson to a specific customer type. Works great if you understand the underlying logic. This is not enough for some customers. Peak has added to macola's commission program in their Best of OE & Flaum's commission calc can handle most anything you throw at it as long as you are an Excel whiz kid, like most accountants.
The field OEORDLIN references is copied from IMITMIDX at the point of order entry. Then it goes through the program heirarchy to determine what/where/when to apply commission information.