on 12-15-2012 8:02 AM
Hi all experts,
i create add on file for Sales Order. in my add on, i also include attachment Tab to let user to attach file from their local to sap database.
What object should i create for attach file to sap database?
Thanks
TONY
Hi,
Then create a field using Type as db_Memo & Subtype as 'Link'. as follows:
if (Program.oMainSAPDI.CreateField("YourTableName" , "Path", "AttachmentPath1", SAPbobsCOM.BoFieldTypes.db_Memo, SAPbobsCOM.BoFldSubTypes.st_Link, 0, null, null, 2, null) == false)
{
}
It will automatically save the attached file.
Hope it Helps....
Thanks & Regards
Ankit Chauhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tony,
This question has been answered recently. Have a look here.
Also note that Attachments for Documents object only work in SAP B1 9.0 onward.
Good luck.
Best regards,
Pedro Magueija
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.