When we customize PurchPurchaseOrderReport to add a field on
PurchPurchaseOrder Dataset in AOT and refresh dataset in Visual Studio.
We will get following error message:
Element':PurchPurchaseOrder.Parameters.IsPurchConfirmationRequestJournal’ has already been defined. To correct this, rename one or more of the model elements so that they have a unique name.
This is very common error and we can fix it by doing following steps:
We will get following error message:
Element':PurchPurchaseOrder.Parameters.IsPurchConfirmationRequestJournal’ has already been defined. To correct this, rename one or more of the model elements so that they have a unique name.
This is very common error and we can fix it by doing following steps:
- Prior to refreshing Dataset, we have to rename the parameter IsPurchConfirmationRequestJournal to IsPurchConfirmationRequestJournalDelete
- Change the following properties:
- nullable – True
- allow blank – True
- Now refresh the dataset you should not see any errors and a
new parameter IsPurchConfirmationRequestJournal will be created. Now
set the below properties of new parameter:
- allow blank – True
- Nullable – True
- Once the properties are set, now delete the parameter ‘IsPurchConfirmationRequestJournalDelete’.
- Rebuild the solution and deploy the report.
No comments:
Post a Comment