I have two SharePoint list.
parent SharePoint list:Company with columns ID, email, location and other columns.
ID | Location | Address | |
101 | sebey@tigray.com | Tigray | Mekelle |
102 | info@website.com | Axum | Maichew |
child SharePoint: AssetvoucherUsers: ID, requestvid,vouchertype .. and other columns.
requestvid is a lookup column refer to Company list
ID | requestvid | vouchertype | Amount | Attachmentfile |
99 | 101 | Issue | 2000 | |
100 | 102 | Voucher | 3000 | |
101 | 103 | Issue | 4000 |
I have generated PDF file using both SharePoint lists successfully.
now I want to to insert the pdf file automatically to the attachement of sharepoint list"AssetVoucherUsers"
for example: When i generate a pdf file using the ID of 101 in Company list, I want to insert that pdf file into "AssetVoucherUsers" attachemnt the ID Requestvid with value101.
but my current problem is it inserts into the ID =101 of AssetVoucherUsers