Posts

Electronic reporting : change vendor XML Vendor Payment File from Zipped folder to unzipped file.

Image
  How to change Vendor XML Vendor Payment File from Zipped to unzipped? We can generate xml vendor payment file using electronic reporting. But the xml file generate in zipped folder.  If you want to download direct file and to unzipped the file, we have to change some set-up in electronic reporting. 1 > Check your electronic reporting export format configuration on method of payment . 2 > Go Electronic reporting > Electronic reporting destination                        3 > Click on New Button and Select reference(refer step - 1)  4 > Click on new under 'File destination' Tab select some 'Name' and select 'file component name' as 'ISO2022CTReports' 5 > click on setting and mark enabled 'Yes' Archive , File and Screen destination setting. 5 > Go to 'General' Tab and select Zip archive as 'separate files' in lookup. So based on set-up, if you will try to generate vendor payment xml file. It wil...

Add reference group type field in data entity for import and export in d365

Image
 Add reference group type field in Data entity for import and export in d365 Sometime, we get requirement we need to add field in data entity which shows data in backend table as rec id and ID field in frontend. Example , there is one custom field sales category on sales order header, which save data in table as recid but it shows as Id field in front end.  1 > Add string data type field in sales order header V2 staging table extension. 2 > Add field in data entity SalesOrderHeaderV2Entity extension. 3 > Create extension class for table for SalesOrderHeaderV2Entity A > for import, can make extension for method mapEntityToDataSource() B > for export, can make extension for method postLoad() [ExtensionOf(tableStr(SalesOrderHeaderV2Entity))] internal final class SalesOrderHeaderV2Entity_Extension {     public void mapEntityToDataSource(DataEntityRuntimeContext _entityCtx, DataEntityDataSourceRuntimeContext _dataSourceCtx)     {     ...