Hello
I am running a X++ class. When I run it all the files present in a particular folder at a place are getting attached to the record in HcmWorker table which want.
Now I want the file attached/ not attached status to be displayed in the Excel file. I know how to create Excel file, but how to know whether the file is really attached to the particular record in HcmWorker table or not using DocuRef table?
Manually if I go to a particular record and check it is getting attached. But how to achieve the same using X++ code and Docuref table.
Also I am attaching different types of files like jpeg,.txt,.doc.csv and so on.
Please give some idea.
*This post is locked for comments
I have the same question (0)