on 06-19-2008 8:08 AM
hi,
I already have an addon. Can i edit it.
Regard,
Puneeth S
If you have source code for that addon, than answer is yes, you can. Without source codes you cannot edit it, because the addon is compiled and you have no chance to change the functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Puneeth,
I think that I wrote it to you already...
In steps:
1. create User defined filed with subtype link as
oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
oUserFieldsMD.TableName = "table"
oUserFieldsMD.Name = "PATH"
oUserFieldsMD.Description = "path to attachment"
oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Memo
oUserFieldsMD.SubType = SAPbobsCOM.BoFldSubTypes.st_Link
oUserFieldsMD.EditSize = 250
lRetCode = oUserFieldsMD.Add
2. bind this UDF to column in matrix
3. when user dbl clicked on this field, SBO will automaticall open the choose file dialog
4. After user select the file and click ok, the SBO will copy selected file into attachement directory defined in administration and fill the cell with path this file in attachment directory
5. If you need more information about selected file, acces the cell for path to file, with system.file acces it and you should receive information as size, extension, create date,... - this informations you should put into next cells in matrix
Is it clear or where do you have problem?
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.