09-22-2015 11:46 AM
I'm a little confused about the OpportunityProduct entity. Please see the two samples below. Please could someone explain why the fields returned are different? Thanks.
Here I want to get all of the field definitions for the OpportunityProduct. There is an item “Item #” returned.
Dim Fields() As DBFieldDescriptor
Fields = _App_ACT.Instance.ActFramework.Products.OpportunityProductManager.GetFieldDescriptors
Here I am trying to get the field data relating to an Opportunity and assumed that it would consist of the same fields (as returned by the above). Here there is no field called “Item #” but there is a field called “ItemNumber”.
Dim OppProductList As Act.Framework.CustomEntities.CustomEntityList(Of Act.Framework.Opportunities.OpportunityProduct)
OppProductList = _App_ACT.Instance.ApplicationState.CurrentOpportunity.GetProducts(Nothing)
12-23-2015 10:34 AM