Customer delivery address added to the Sales invoice report

Hello all,

Just a follow up on this question. Jernej and another talented Docentric support person followed up with me on email.

The error in my code was described by Docentric support as extending the addDataFieldsForHeader() and then inside of that declaring a new inline method. That was not required. Compared to my above code quote, my code now looks like this and it works!

    public void addDataFieldsForHeader(DocXmlRecord _addingRecord, FreeTextInvoiceHeaderFooterTmp _header)
    {
        super(_addingRecord, _header);
                
        _addingRecord.addField(fieldStr(FreeTextInvoiceHeaderFooterTmp, WWIFormNotesCourier), "Payment Instructions - Courier");
        _addingRecord.addField(fieldStr(FreeTextInvoiceHeaderFooterTmp, WWIFormNotesMail), "Payment Instructions - Mail");
        _addingRecord.addField(fieldStr(FreeTextInvoiceHeaderFooterTmp, WWIFormNotesWireTransfer), "Payment Instructions - Wire");
            
    }

A BIG thanks again to the Docentric support team for going to the edge and perhaps a bit beyond the edge of support scope with the that allowed me to succeed here. I’ve now been able to follow the suggested method of DSP inheritance so we don’t edit the DocentricAXSSRSReplica’s models directly, thus making future maintenance easier and more robust.

Best Regards all.