Is there an alternate way to populate Commission Rate?
Our business requirement is to get the commission rate from DFF's on the Sales Order or Customer Account, so the Output Expression looks like this:
CN_COMMISSION_HEADERS.TRANSACTION_AMOUNT*NVL(TO_NUMBER(CN_COMMISSION_HEADERS.RATE_SALES_ORDER),NVL(TO_NUMBER(CN_COMMISSION_HEADERS.RATE_CUST_MASTER),15))/100
Now it calculates the correct commission amount, but the Commission Rate in the CN_COMMISSION_LINES table is always showing up as "0". I guess this is because I'm not referencing a Rate Table in the expression. Is there another way to populate this column in the table, for reporting purposes?