on 09-01-2008 2:25 PM
Hi Experts,
I want the process of preparing a patch file. Actually in the UDO i,e in user tables for a particular table--field data i have updated some information newly....so i want to prepare the patch file for the newly update field....can anybody tell me how to do this???
regards,
shangai.
Hi Shanghai,
shouldn't be a big problem.
make a standalone DIAPI application that uses the
UserFieldsMD Object with GetByKey and Update.
thats it
lg David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David & vitor,
Thanks for ur replies...i have written below code for making the patch file....
oUserFieldMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
oUserFieldMD.TableName = "TYP1"
oUserFieldMD.Name = "TYPCode"
oUserFieldMD.Description = "Type Code"
oUserFieldMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
oUserFieldMD.EditSize = 15
'<----Edited code --->
oUserFieldMD.Mandatory = BoYesNoEnum.tYES
oUserFieldMD.DefaultValue = "a"
'<----Edited code--->
LRetCode = oUserFieldMD.Add
regards,
shangai.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.