none
salary slip calculation RRS feed

  • Question

  • Hi

    I am creating application in c# windows.I am am creating Pay slip form
    All is given in formula.Basic Pay[BP] is fixed it is given as Rs 30000
    [HR] has got Formula 5% of [BP]  =1500

    for example
    Earnings 
    ----------------------------------
    id   salary name    Formula     %    amount
    BP    Basic Pay -          30000 
    CA    City Allowance                    [BP]        10      3000        10% of [BP]
    HR   House rent allowance [BP]        5          1500  5% of [BP]

    Deductions

    -----------------------------------------------------------

    id    salary name    Formula            %    amount
    EO   EPF Contribution  [BP]+ [CA] + [SA]    10            3300      here [SA] is 0

    [SA] is special allowance  in earnings .[SA] is zero initially because it is not there in in earnings

    if we add [SA] in earnings  ,the  value should be added in [EO]=>  [BP]+ [CA] + [SA]

    for example if we add  [SA] in earnings

    id   salary name     Formula     %    amount

    BP    Basic Pay -          30000 
    CA    City Allowance                    [BP]        10      3000        10% of [BP]
    HR   House rent allowance  [BP]        5        1500  5% of [BP]

    SA   special allowance                [BP]        15       4500         15% of [BP]

    now in expenditure

    id    salary name     Formula            %     amount
    EO   EPF Contribution   [BP]+ [CA] + [SA]    10            3750

    Please  help me to get formula calculation   .It is urgent one

    Thanks and regards

    N.r

     
    Monday, July 16, 2018 12:11 PM

All replies

  • Hi chandran,

    Sorry I can not understand what do you want to do, this forum is discussing and asking questions about the Windows Form and ClickOnce, is your question related to this topic?

    I'm not sure what do you want to do, and I'm afraid your description is abit confusing, so please provide more details for your problem.

    Regards,

    Stanly


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, July 17, 2018 3:11 AM
    Moderator
  • now in expenditure

    id    salary name     Formula            %     amount
    EO   EPF Contribution    [BP]+ [CA] + [SA]    10            3750

    Here, the [SA] would be 1.5% of [BP]. That's what you're adding.
    Hope that helps...

    • Proposed as answer by Acindarax Tuesday, July 17, 2018 5:56 AM
    Tuesday, July 17, 2018 5:52 AM