12-31-2016 11:15 AM - edited 02-03-2024 7:22 PM
Hi,
Using DI API, I want to create the following:
1. Budget - corresponding to OBGT
2. Budget lines (1 for each month) - corresponding to BGT1
3. Budget Cost Centers - corresponding to BGT2
4. Cost Center lines for each month - corresponding to BGT3
Which DI API objects I should use, and how do I instantiate those objects? Is BGT3 updation supported by DI API?
I am on B1 9.1 PL05.
Thanks.
Hola Rajesh.
Como resolviste tu API de Presupuesto.
Podrías agregar el código
Gracias!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
SAPbobsCOM.Budget o = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBudget) as SAPbobsCOM.Budget;
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
//Main budget object
SAPbobsCOM.Budget o = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBudget) as SAPbobsCOM.Budget;
//Budget Lines for each account / Month: (BGT1)
o.Lines.AccountCode = "1234567";
//Budget Cost Accounting line : (BGT2)
o.CostAccountingLines.Dimension = "Cost1";
Sorry, I could not find any reference to the BGT3 table, I think it is automatically calculated from BGT2 and BGT1 schedules.
Regards
Edy
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
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.