A company manufactures different types of
software products. They deliver their products
to their N clients. Whenever the company
fulfills the complete order of a client the
orderlD generated is the concatenation of the
number of products delivered for every
committed product type. The head of the sales
team wishes to find the clientwise data for the
total number of products of any type delivered
to every client
Write an algorithm for the head of sales team
to calculate the total number of products of
any type delivered to the respective clients,
write an algorithm for the head of sale
Answers
Explanation:
Run your entire business on an intelligent cloud ERP software suite
Manage your business with a single cloud ERP solution for fast-growing, mid-market businesses to scale and compete without the complexity and cost.
Screenshot of SAP Business ByDesign in action for mid-market business
Enlarge
A single cloud ERP solution for fast-growing, mid-market businesses to scale and compete without the complexity and cost. Connect every function across your company to time-tested best practices and in-depth analytics.
Intelligent cloud ERP: Streamlined end-to-end processes
Instant value: Enables agility to quickly adapt for new opportunities
Business impact: Real-time analytics included to help improve profits and efficiency
Explanation:
The solution can be provided by first considering the format of order ID being generated against each sale. The ID should be of below format
Order # , Client ID, Product type ID, Number of products
Now when we will be having data in above format and saved in a central database system, then to to find the client wise data for the total number of products of any type delivered to every client the algorithm will take all the order ID's as input. Then all data is segregated based on Client ID.
From client ID segregation, next step would be to filter for all product types and from there we will get the desired data to be observed