The report gets the following DataContract (PSAProjInvoiceContract) where it expects the data contract to be PMIPPSAProjInvoiceContract and it errors out.
This error is triggered when we preview invoices with retention release item i.e when we give retention percentage during posting of invoice.This is place where it happens.
Project Management and Accounting > Project Invoices > Project invoices> Filter for Proj Contract ID->then click on > Invoice> Go to View > Copy or Original >
The below image shows the place in code where the contract buffer is null.Also i have attached the call stack where custom code is used.I checked the custom code and
could not find any info.Can you please help me on where to get started to find the fix for this problem.Thank you.
The custom contract object has null reference.