Sales Commission Project
I am working on a sales commission project and I am cannot figure out what to do next, any help would be greatly appreciated! Here is what I have so far.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Sales_Commission
public partial class FrmSalesCommission : Form
public FrmSalesCommission()
InitializeComponent();
// calculate commission for sales agents
private void btnCalculate_Click(object sender, EventArgs e)
// declare variables
string lastname;
string firstname;
decimal commission;
// assign variables
lastname = txtLastName.Text;
firstname = txtFirstName.Text;
commission = lblCommissionTotal.
// if first and last name are both empty
if (lastname == "" && firstname == "")
// display the word commission
lblCommission.Text = "Commission";
else
// display commission for + first name + last name
lblCommission.Text = ("Gates");
// if sales is numeric check if sales is negative
// if sales is not negative
// calculate commission
// display calculated commission
// else sales is negative message user
// else sales is not numeric message user
Here is some more information.
Specifications: You are to write an application that determines the commission earned for sales agents. You must verify that the sales amount that was entered is indeed numeric. If it is not, display a message box with an appropriate error
message, select the text, and allow the user to re-enter the data. The Sales amount must be numeric and must be greater than or equal to 0. When a valid numeric sales amount has been entered, calculate and display the commission (10% commission).
The application should also accept the sales agent’s first name and last name. When the calculation for the commission is calculated, also display the label “Commission for first name last name” as entered in the textboxes.
If there is no name entered, display only the word ‘Commission’.
If either the first or the last name is entered… display the phrase ‘Commission for ****’ using either the first or last name.
When both the first and the last name are entered, display ‘Commission for Bill Gates’ where Bill is the first name and Gates is the last name. ~ really any first name and last name should work!!
Consider logical tab sequence and data alignment.
The Clear button should clear all data (entered and calculated). The Exit button should Exit the application.
Set appropriate accept button and cancel button. Set appropriate access keys.
When a first name, last name or sales amount value is entered, clear all calculated display areas.
Use the standard Microsoft naming conventions for all controls.
Include appropriate comments in your code.
Hi
slipknotfan515,
As far as I know, about Sales Commission Project is a basic knowledge of OOP. You should learn by yourself.
And there is a lot of material when you search in the internet like the following
https://www.google.com.hk/?gws_rd=ssl#q=Simple+Sales+Commission+Calculator+(using+OOP)
Good luck!
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Sale Order / Project specific Inspection Plan
Dear All,
I want to create Sale order or Project specific inspection plan for a material. This is because, my customers want some specific inspection requirements for individual materials, which are assigned to Sale order or project. I want to inspect the material after receipt for these specific account assignments. I do not want to assign the customer because, my single customer may give different sale orders with different inspection requirements.
But in inspection plan, i can not see the assignment of sale order / project as i can see in Rate Routing.
Can anybody tell me about this?
Regards,
Prashant KolhatkarCreate a Material ONE as Configurable Material. Assign 300 Class Type Class with Charcateristics created through CT04 Transaction which in turn linked to MICs.
Create another Material TWO with same Class but not configurable but is a Variant of Material ONE (MRP 3 View)
Maintain Configuration Profiles for both Materials.
In Material TWO, for insp. type details click on Insp. by Config indicator.
Whenever a Sales Order is created, maintain the requirements from the Customer in Characteristics and save the Sales Order. Against this Sales Order whenever a GR is made for respective Production Order inspection lot is created against the specifications given by Customer and not that maintained in inspection plan.
Best Regards,
K. Raghavendra Nayak -
How to calculate cost(COGS) in Sales from project
Dear all,
I have a situation like this:
My customer do not emplement PS(project system) and when managing sales from project, i don't know how to calculate cost of good sold for the service line.
Each project (contruction site; building, ....), I use 1 material master as service item to manage. while project excecution, we issue material; collect labor cost; cost of external service, so on.... total up to COGS. but i don't know how to get this one in Sales order. Could you give me some suggestions?
thanks!Dear,
You need to create all these activities ( LABOUR CCOST/ COST OSFG EXTERNAL SERVICES)as Service Material and then put it into S.O. as Service Item and Bill the same.
Regards
AJIT K SINGH
HAPPY TO HELP U -
I need to build a sales commission pay sheet that bases the commission rate per item on the total sales volume for the week. We use three rate tables based on 0 to 14 sales, 15 to 24 and 25 or more. Any ideas
You haven't given enough detail about your situation to give you a specific example.
Nested ifs look generally like this:
=IF(Sales < 15, DO-A, IF(Sales < 25, DO-B, DO-C))
Jerry -
Alternative sales commission calculation problem
hi sir,
I am a junior consultant trying to solve a problem for my Senior, the question goes as follows:
We are trying to impute sales commissions to sales rep as a discount for every sale, in which for every sale a determined amount is imputed to the sales rep as a commission.
the problem arises when the product is returned and customer asks for a refund. Then the commission should be refunded aswell. Could you please throw some light to wether we should clear that invoice the same month or the next one as a negative pendent discount, if so, how is the negative imputation applied?
thanks a lot in advance,
HFBobsterslc wrote:
Here is a screenshot of a piece of what I'm working on.
Hi Bob,
Here's what your screenshot looks like when embedded in a post, using the HTML code that Photobucket provides (third item in the list of codes provided).
In your original post you said:
I have a table that calculates sales commissions for a number of people and includes an overriding commission for the sales managers. I need to cap the sales commission at a fixed percentage, say 25%, for the sales people.
I'm not sure what you mean by "I need to cap the sales commission at a fixed percentage."
The first question that comes to mind is "25% of what?"
Do you mean that the commission is not to exceed 25% of Total earnings?
If so, your formula for B5 (the first cell where commission is calculated) would be:
=MIN(formula1,B2/3)
Where formula1 is whatever formula is used to calculate the commission when it is less than the cap, and B2 contains the salary/wages which must constitute at least 75% of the total compensation under this interpretation.
Do you mean the commission rate is on a sliding scale that rises with increased sales, but does not exceed 25%?
If so, you need to specify the rules that control the rate. Does it rise in steps? Does the 'new' rate at each step apply to total sales, or only to sales above that step? Are the steps the same size for everyone, directly related to the individual goals, or set by some other criteria?
There's not enough information available fom your table to determine a pattern. For the first three columns, person B's commission is 12% of sales, person C's is under 4% and person D's is 30% of sales.
For a more detailed response, we'll ned a more detailed specification of the question.
Regards,
Barry -
Dear all,
I am configuring sales commission scenario as per best practice BB.
The purpose of this activity is to import material master data via eCATT /SMB15/MM01_ALL_VIEWS_O015_J30 using direct input FILE SMB48_SD_CUSTOMER_O034_G92.TXT. This step imports the data and creates the settlement material for sales commissionsu2019 payout (material number 20040420).
Procedure
1. Access the activity using one of the following navigation options:
SAP menu Logistics ® Materials Management ® Material Master ® Material ® Create (General) ® Immediately.
Transaction code MM01
2. Detailed information about the material master mentioned can be found in the eCATT file SMB48_SD_CUSTOMER_O034_G92.TXT. To view the content of the file SMB48_SD_CUSTOMER_O034_G92.TXT, refer to the Essential Documentation, section Importing Material Master Data.
But i am unable to find the test TXT file test data used
for settlement material for sales commission.
Please help for me.Hi,
Sales Document Number - VBAK-VBELN
Req Delivery Date - VBAK-VDATU
Delivery Order Document - LIKP-VBELN
Billing Document Number - VBRK-VBELN
Billing Date - VBRK-FKDAT
Regards,
Himanshu -
I would like to know in general, how to handling the sales commission. For example, the salesman will get 5% commission for sales order A. In financial side, how to capture those commission expense. Is it add this commission in the invoice condition price? Thanks!
Create Commission Agent in XD01 with your own Account Group starting with Z.
Attach in the customer master of Sold to Party created in XD01 with Account Group 0001 the Commission Agent you created with your own Account Group starting with Z.
Raise a sale order through VA01 and check the partner functions. For Sold to Party the Commission Agent should appear in the Partner Functions.
Hence Commission Agent will be by default attached to the customers as partners. They will flow to the sale order partner levels.
If an order is to be delivered through the dealer, then the partners will reamin in the sale order as it is. If not they will be deleted from the sale order partner functions.
For the purpose of commission payable, we will have rebate agreements in place. Rebate Agreements work on the combination of Customer, Material and Pricing Conditions. We need to maintain 1:1 relationship and can create a rebate agreement and settle the agreememt after the end of the validity period.
We will use the customer specific rebate condition and this will get activated in the billing document and FI accrual accounts gets updated. -
We have a sales cube where we put in sales commission % for sales depts (all bank departments dimension) for region (where bank operates, primarily national).
% are entered against 0 level regions.
Problem is when users pull percentages for parent time members ( such as quarters) the percentages for months addup. So for e.g if I have entered 2% for Jan, Feb and Mar, Quarter 1 % is showing up as 6% since months roll into quarters in the time dimension. We want Quarter 1 to show a percentage that is either inputed or calculated based on formula.
What could be the solution ?
Edited by: EssbaseApprentice on Jul 18, 2011 11:56 PM@TimG: correct, I cannot change the consolidation levels to ~ for the reason you mentioned.
What we want to see at the consolidated levels is this:
When looking at intersections of zero level members for all dimensions: we just want to see the commissions entered.
When looking at intersections of zero level members for a time dimension rollup such as quarter, we want to see sales commission % data as the month (this is where TIME BALANCE solution would work).
BUT when looking at sales commission % for a consolidated region, consolidated department for a quarter, we want a formula applied. In other words, when looking at a region which involves a region or department that is NOT level 0, we want to apply a formula.
Any ideas appreciated. -
Sales Oppourtunity Project Wise
HEllo Experts,
Is it possible to have sales oppourtunity analysis project -wise?? If yes... how?/Hi Divya.......
Via FMS would be possible............
Regards,
Rahul -
Dear All,
Could you please let me know whether is it possible to sell the material which is in project stock directly by creating a sales and assigning the WBS element to it for the actual revenue.
This is for subcontracting process, wherein the material will be as project stock and if required for some reasons by the vendor who provides service to the project, the material should be supplied with a margin.
The material requisition is triggered from the project and the purchase order is created with reference to the purchase requisition and brought into project stock. Then the sales order is created and the WBS element is assigned to the sales order. The material which is in project stock is created as line item in the sales order to sell to the vendor as customer. In this case, the material is not recognised while delivery is performed for the sales order.
Request you all to validate the process.
Thanks and Regards,
Arun.AnDear,
I have tried with CNS0 also, the cost is being booked to the project not the revenue!!
Regards,
Arun.AnThe issue -
Sales Commission Report for All Employees
I'm trying to make a couple smartforms that will do the following tasks (each task is a separate smartform):
1. Display the total sales amount for ALL employees over one month in a table format
2. Display the total sales amount and commission for ONE employee over one month
From my understanding, the way this can be achieved is through the ICM module? I don't believe there are any default smartforms or sapscripts that are available for this functionality. Can you please post information or links on how I would do this.
I am also wondering if I will have to create a function module to create this form, or if I can use a print preview after setting the output type for this type of application?Try transaction VA05. In that choose "Open Orders" along with other selection criteria.
If you want the Open sales order qty in output and its not displayed, do the following.
Sales -> System modification -> create new fields ( without condition technique) -> New fields for lists.
You can change V05TZZMO and structure VBMTVZ from there or use SE38 / SE11.
For both you'll need an object registration in OSS.
Hope this helps.
Thanks,
Balaji -
Hi,
I have the following requirement.I need to develop a report to calcukate the Sales Employee commission.We are implementing HR module as well.I need to capture teh employee responsible for the sale at Inquiry level which will flow till billing.
To maintain the condition record (Commission rate) i have added the the field PERNR(Personnel number) to field catalogue and maintained the condition record for each sales employee based on teh employee code.
But same value is not getting populated in the sales docuement
Is there any value to be mainatained in Access type field?i tried to change it to "C" syatem is giving error message " Access Type C is not defined for key field"
Coul;d you please help me where i have made mistake?Hi,
you need to do some Enhancement for the updation of Condition record at the time of Sale order
go to T-Code SE38 and enter the program MV45AFZZ and user exit "USEREXIT_PRICING_PREPARE_TKOMK "
Ask your ABAPer write a code based on your requirement
Same if you want to follow in Billing level again you need to do some enhancement
Go to T-Code Se38 and enter the program RV60AFZZ and user exit "userexit_pricing_prepare_tkomk"
Ask your ABAPer write a code based on your requirement
and also any price changes
MV45AFZB - userexit_new_pricing_vbkd changing new_pricing
Regards,
Prasanna -
Sales Person and Sales Commission without HR Module
Hi,
Can anyone explain me the customisation and process for sales person commission.
MahiUse T code <b>VPE1</b>. and create . hiring event.. mini
master... create sales representatives
Sales employee without HR
<b>For Commission </b>
1) Establish Partner Functions for the Commissionee(s)
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PARTNER DETERMINATION ->; DEFINE PARTNER FUNCTIONS
Transaction Code: VOPA
2) Assign the Partner Functions to Partner Procedures
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PARTNER DETERMINATION ->; DEFINE PARTNER FUNCTIONS
Transaction Code: VOPA
3) Create a Partner Procedure for the Commissionees
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PARTNER DETERMINATION ->; DEFINE PARTNER FUNCTIONS
Transaction Code: VOPA
4) Create New Customer Account Group(s) for Commission Agents
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; LOGISTICS GENERAL ->; LOGISTICS BASIC DATA: BUSINESS PARTNERS ->; CUSTOMERS ->; CONTROL ->; DEFINE ACCOUNT GROUPS AND FIELD SELECTION FOR CUSTOMER
Transaction Code: OVT0
5) Assign the Partner Functions to the Customer Account Group(s)
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PARTNER DETERMINATION ->; DEFINE PARTNER FUNCTIONS ->; GOTO ->; PARTNER FUNCTIONS ->; ENVIRONMENT ->; ACCOUNT GROUP ASSIGNMENT
Transaction Code: VOPA
6) Assign the Partner Functions to the Partner Procedure for the Sales Document Header
Menu Path: Tools ->; Business Engineer ->; Customizing ->; Sales and Distribution ->; Basic Functions ->; Partner Determination ->; Define Partner Functions
Transaction Code: VOPA
7) Assign the Partner Functions to the Partner Procedure for the Sales Document Item (OPTIONAL)
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PARTNER DETERMINATION ->; DEFINE PARTNER FUNCTIONS
Transaction Code: VOPA
8) Edit the Pricing Communication Structure (KOMKAZ) to Hold the New Functions (Client Independent)
Menu Path: Menu Path: TOOLS ->; ABAP WORKBENCH ->; DEVELOPMENT ->; DICTIONARY
Transaction Code: SE11
9) Edit MV45AFZZ userexit_pricing_prepare_tkomk (Client Independent)
Menu Path: TOOLS ->; ABAP WORKBENCH ->; DEVELOPMENT ->; ABAP EDITOR
Transaction Code: SE38
10) Edit RV60AFZZ - userexit_pricing_prepare_tkomk (Client Independent)
Menu Path: TOOLS ->; ABAP WORKBENCH ->; DEVELOPMENT ->; ABAP EDITOR
Transaction Code: SE38
11) Edit MV45AFZB - userexit_new_pricing_vbkd changing new_pricing (Client Independent)
Menu Path: TOOLS ->; ABAP WORKBENCH ->; DEVELOPMENT ->; ABAP EDITOR
Transaction Code: SE38
The following code should be inserted into program MV45AFZZ to allow the system to re-execute pricing if the user makes a change to the relevant partner function (alteration, addition, deletion).
13) Add the KOMKAZ Fields to the Pricing Field Catalog (Client Independent)
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PRICING ->; PRICING CONTROL ->; DEFINE ACCESS SEQUENCES ->; MAINTAIN ACCESS SEQUENCES
Transaction Code: OV24
14) Create Condition Tables (Client Independent)
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PRICING ->; PRICING CONTROL ->; DEFINE ACCESS SEQUENCES ->; MAINTAIN ACCESS SEQUENCES
Transaction Code: V/03
15) Create an access sequence containing the new tables (Client Independent)
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PRICING ->; PRICING CONTROL ->; DEFINE ACCESS SEQUENCES ->; MAINTAIN ACCESS SEQUENCES
Transaction Code: V/07
16) Create a new condition type
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PRICING ->; PRICING CONTROL ->; DEFINE CONDITION TYPES ->; MAINTAIN CONDITION TYPES
Transaction Code: V/06
17) Add the Condition Type to the Pricing Procedure
Menu Path: TOOLS ->; BUSINESS ENGINEER ->; CUSTOMIZING ->; SALES AND DISTRIBUTION ->; BASIC FUNCTIONS ->; PRICING ->; PRICING CONTROL ->; DEFINE AND ASSIGN PRICING PROCEDURES ->; MAINTAIN PRICING PROCEDURES
Transaction Code: V/08
11) Create Commsission Report ZZCOMMISSION (Client Independent)
Menu Path: TOOLS ->; ABAP WORKBENCH ->; DEVELOPMENT ->; ABAP EDITOR
Transaction Code: SE38
Message was edited by:
SHESAGIRI.G
Message was edited by:
SHESAGIRI.G -
Sales commission per KM travelled.
Hi all,
i have an requirement for calculating commission for sales employee based on the distance that is maintained in the route master.
requirement is to allocate the sales employee commission based on the per kilometer the transport travelled from company to customer place. We have the field in route where we maintain the distance, can i use this field to calculate the commission per km.
Please suggest..
Regards,
Aruna....Hi Ram,
Thanks for the update.
Actually the need is that company is transportation services business and pays the sales team commission on the basis of business generated.
The commission paid to the employee is based on the distance that the truck travels says for eg, per km Rs.3 as commission, as the earning for the company is also in terms of Per Km rate.
Each employee who brings business will be paid commission.
Hope it clarifies........... pls also elaborate the suggestion you gave ........... may be that helps........
thanks n Regards,
Aruna.... -
Sales Order - Project code logic
Hi,
I am trying to create a project/networks based on some conditions in the sales order (VA01/VA02) program. I would like to know where exactly the code logic for project creation is there in the sales order program SAPMV45A.
Regards
SujayHi,
if a particular condition type has been defind as
Cond. class D
Calculat.type A
Cond.category D
THEN SYSTEM WILL ASK FOR TAX CODE.
CHECK IF FOR ANY CONDITION TYPE YOU HAVE MAINTAINED THIS COMBINATION.
THEN YOU CAN CHECK IN THE CONDITION RECORDS WHETHER ANY TAX CODE HAS BEEN ASSIGNED THER OR NOT.
REGARDS
RAVI
Maybe you are looking for
-
IWork Applications for Mac OS 10.8.2 crash since 4.3 update
Please can someone give me some ideas.... Since I updated the iWork suite of applications yesterday none of them will now open ? The apps start to launch and the icon shows up in the dock, menu bar shows Pages/Keynote or Numbers but instantly crash.
-
How to add jar files which point to project
when i create project in jse8 i added jar files form system. then when i move that project to another system it is asking for jar files.it is pointing to location from where we added. how to make jar files available locally so that i can move anywher
-
Loading Leopard onto iMac dual intel from iBook softwareG5 computers
I have iMac G4 and iMac dual intel (G5?) computers and just bought iBook with OS 10.5 software on CD. Desire to have at least the iMac dual intel using the same OS, but the software will not load on the iMac intel G5. Both computers have essentially
-
Suggestions for ACE, Next week is my exam
Hi All, I'm taking my first ACE exam in Photoshop CS6 on coming Saturday. Any suggestions, tips are warmly welcome. Currently I'm reading Photoshop help and and a book called Photoshop classroom in a book. Will that be enough?
-
Hi, Could some one let me know how does this Repeat On function work (available in account assignement tab) while creating Purchase order using T code ME21N ? Thanks ArunVijay D