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