Hi All,
We are customizing SSRS report , needs to add extra fields in the report.
We have duplicated PurchPurchaseOrder report (renamed as PurchPurchaseOrderExt) , PurchPurchaseOrderDP (renamed as PurchPurchaseOrderDPExt) adn extended the PurchPurchaseOrderTmp table in the project , added required fields, while building the project getting the below error ,
"Type mismatch in 'PurchPurchaseOrderDPOrderLineQuery.newQuery' argument 1. The expected type is 'PurchPurchaseOrderDP', but the actual type is 'PurchPurchaseOrderDPExt'."
In the class PurchPurchaseOrderDPExt on the below code :
Method : createOrderLines(PurchPurchaseOrderHeader _purchaseOrderHeader)
line : Enumerator enumerator = PurchPurchaseOrderDPOrderLineQuery::newQuery(this).getEnumerator();
Kindly suggest how to resolve this error.
Regards,
Akbar