cancel
Showing results for 
Search instead for 
Did you mean: 

Customer Revenue Report issue.

Former Member
0 Kudos

Dear All,

I have created one custom Business Object (Customer Data) for count the customer total revenue and his categories also.

My logic is working properly . Now i want to create one report too.

In report i want my Four field -

1.Customer ID

2.Customer Name.

3.Customer Total Revenue.

4.Customer Categories.

For this i have created one Data Source from SDK but it's reflecting  only the record which i have save in my BO.

But i want all customer id with his revenue and his Categories. and it should be auto update if any changes will occur.

How can i achieve this ?

Please help me .

Thanks,

Manoj Kannaujiya.

Accepted Solutions (0)

Answers (1)

Answers (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Manoj,

How does your Custom BO looks like?

How is your Data Source defined: Which node?

Bye,

   Horst

Former Member
0 Kudos

Dear Horst,

Thanks for reply.

This is my BO Definition and i have bind my data source with root node and selected the filed which i had need in Report.

Please look into the issue and help  to resolve it.

Thanks,

Manoj Kannaujiya.

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Manoj,

In the UI there are 2 columns "CustomerFinalCategories" and " CustomerTotalRevenues".

From which field are they derived?

Bye,

   Horst

Former Member
0 Kudos

Hi  Horst,

I have count the total revenue of customer and stored in "Customer total revenue"

Here you can see in the right , i have store one Custom master data  of Range and categories.

now--

it will compare customer total revenue(which is stored in Customer Total revenue field )  with these above range.

if customer total revenue will comes between the range then it will pick it's relevant Categories and will

show into the " CustomerFinalCategories ".

Thanks,

Manoj Kannaujiya. 

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Manoj,

Maybe I am a little confused.

You wrote:

"For this i have created one Data Source from SDK but it's reflecting  only the record which i have save in my BO"

Your Data Source is built on the Root node of your BO which - I assume - has one instance per customer.

So, the result should be all instances of your BO. As the association to Customer is 1-to-1 you will see per line one customer data.

If you want to have "all customer" you need the resp. instances of your BO.

HTH,

   Horst

Former Member
0 Kudos

Dear Horst,

thanks,

Could you please give me some idea to create a BO instances,please .......

I have never do it before .

Thanks,

Manoj Kannaujiya.

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Manoj,

On the UI you simple press "New" and the rest will be triggered by the framework.

In ABSL coding see section "7.2.4.16 Create Instance" in the documentation.

In your example I assume that there is an instance of your BO per instance of the BO Customer.

HTH,

  Horst