How to extend the standard Electronic Reporting?
This post is about how to extend the standard Electronic report. This scenario might arise if you want to modify the existing mapping or format or need to add any new field.
Let's take an example of adding the voucher to GSTR-1 electronic report.
Step 1 -
- Click on the root GST returns model.
- Click create configuration and then click on the Derive from Name: GST Returns model, Microsoft.
- Give suitable name and description.
Step 2 -
- Click on the designer.
- Expand the GST Returns model(GSTR) and under Report lines add the new field voucher.
- Change the status to complete.
Step 3 -
- Click on the GST Returns model mapping.
- Click on the create configuration.
- Click on the Derive from Name: GST Returns model mapping, Microsoft.
- Give the meaningful name and description and select target name with the one which you had created in step 1. For me Derive from Name: GST Returns model mapping, Microsoft
Step 4 -
- Click on the designer and again on the designer. It will lead you to model mapping designer.
- Bind the parmvoucher method with voucher field .
- Sometimes there might be a method which is not available here or the requirement which you are not able fulfill with the existing parm methods, then you have to create your own parm method by extending the existing contract class and add your parm method. After that you can find your parm method in mapping designer.
- After binding move back to configuration page and then make the version as complete.
Step 5 -
- Click on the GSTR-1 for New Return node.
- Click on the create configuration and then click on Derive from Name: GSTR-1 for New Return, Microsoft.
- Give meaningful name and description with data model which you have created previously - in my case GST Returns model ext.
- Select the data version and data model definition from the drop down.
Step 6 -
- Click on the designer.
- Expand the folder, under Invoice and bill of supply for New Report, header sequence add the new field voucher.
- Add the same field under lines, sequence.
- Click on mapping and bind the field with your created field under Invoice filter
- Change the status to completed and your electronic report is ready to use with new field added.
I hope this will help you to extend any standard report. In case of any queries please be free to ask in comments.
Comments
Post a Comment