Wednesday, 18 May 2016

Moving attachment from one table to other table. Source:DocuRef

HI, Here is requirement to move one table attachment data to other table attachment data., below is sample code:

while select Name, typeid from docuSerach
where docuSerach.RefCompanyId == PurchParmLine.dataAreaId
&& docuSerach.RefRecId == PurchParmLine.RecId
docuinsert.RefRecId = this.RecId;
docuinsert.RefTableId = this.TableId;
docuinsert.RefCompanyId = this.dataAreaId;
docuinsert.Name = docuSerach.Name;
docuinsert.TypeId = docuSerach.typeid;

No comments:

Post a Comment

Excel data connector in AX7/D365

Excel data connector in AX7: Configuring and using the Excel Data Connector Add-in The Excel Data Connector add-in is built by usi...