For some reason the SalesInvoiceTMP table never gets passed the values for the markupcode and markupamount fields. It appears that in the SalesInvoiceDP there are a few methods that should be grabbing these fields. The insertIntoSalesInvoiceTmp method calls the markupCode and markupAmount methods. I just am unsure of what change needs to be done. I also saw that the variable of showMarkupTrans was being set in the markupSpec method. I am unfamiliar with it, so I am unsure if that could be causing my problems.
SalesInvoiceDP - MarkupCode and MarkupAmount