on 10-28-2013 9:31 AM
Hi,
I want to create a new filed in CINF, code below
SAPbobsCOM.UserFieldsMD oUserFieldsMD = null;
oUserFieldsMD = ((SAPbobsCOM.UserFieldsMD)(Global.SapCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)));
int lRetCode = 0;
oUserFieldsMD.TableName = Table;
oUserFieldsMD.Name = Title;
oUserFieldsMD.Description = Description;
oUserFieldsMD.Type = Type;
if (Type != SAPbobsCOM.BoFieldTypes.db_Numeric)
oUserFieldsMD.SubType = Structure;
oUserFieldsMD.EditSize = Size;
if (LinkTable != "")
oUserFieldsMD.LinkedTable = LinkTable;
lRetCode = oUserFieldsMD.Add();
string err = Global.SapCompany.GetLastErrorDescription();
System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserFieldsMD);
But in SAP B1 8.82 PL 11 and above, this filed is not created. I have noticed that, This filed is add to " CUFD " table. Is there any solution to add a new field in CINF [ 8.82 PL11 and above ].
Thanks
Hi Vibin,
I'd rather ask a question instead,
Why would you create a udf in cinf table?
This table only holds 1 record. And it is used internally by SBO.
If you need to store your user fields, you can create your own table.
Regards,
Efy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please reply experts...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.