How to set up Approval or Alter for Budget amount.

Hi,
We need to set Approval based on monthly Budget amount wise
ex: We set up budget amount Total year is 60000 based on GL Account (Service Charges)wise in Budget scenario set up per month is i.e., April 5000
May = 5000
June = 5000
July = 5000
Aug = 5000
Sep= 5000
Oct = 5000
Nov = 5000
Dec = 5000
Jan = 5000
Feb = 5000
Mar = 5000. when user is adding more than 5000 for the month April though this service charges general ledger account in AP Invoice or Manual Journal entries or Out going payment we need to give alter like you need get approval, after getting approval only he need add these documents. Here we have taken example he got approval for 6000 for the month April. next month he may added 2000 through service charges acct here remaining 3000 we need to carry forward to next month and we need to show in alter when he using service charges general ledger account available budget balance for June is 8000 but here also if he using more than 5000 for the June month same Approval we need to show like You need to get approval. How we can set up for this? This is my query below
SELECT T0.BudgId, T0.Line_ID, T0.DebLTotal, T0.DebSTotal, T0.DebRLTotal, T0.FtrIDRSSum, T0.FtrODRLSum, T0.FtrODRSSum, T0.MonthPrcnt, T0.AcctCode FROM BGT1 T0 WHERE T0.DebLTotal >5000 and T0.Acctcode=4110101001 this query I added in terms under Approval template set up for AP Invoice but when am adding Ap invoice through Service charges GL account itu2019s not showing approval message. Please guide me how to solve this?
And Case 2. I tried though SP also to block if Budget amount exceed in AP and Manual Je but it's not blocking documents. Below SP
Begin
set @check1 = ((select inv1.linetotal from bgt1
cross join  inv1
WHERE  bgt1.acctcode=inv1.acctcode and inv1.Docentry=@list_of_cols_val_tab_del))
set @check2 = ((select bgt1.debLtotal from bgt1
cross join  inv1
WHERE  bgt1.acctcode=inv1.acctcode and inv1.Docentry=@list_of_cols_val_tab_del))
If (@check1 >@check2 )
begin
SET @error = 10
SET @error_message = N'You Need take Approval from Finance Head, please forward mail to FH....'
end
end
Please guide how to setup Alters or Approval or SP for these requirements.
Regds,
Sampath Kumar.

Hi,
the above requirement we are going develop add on.below code is there. in this code how we can set for line level amount instead of document total amount
Private Function GetCondition(ByVal sCondition As String) As ApprovalTemplateConditionTypeEnum
        Try
            Select Case sCondition
                Case "Deviation from Credit Limit"
                    Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromCreditLine)
                Case "Deviation from Commitment"
                    Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromObligo)
                Case "Gross Profit %"
                    Return (ApprovalTemplateConditionTypeEnum.atctGrossProfitPercent)
                Case "Discount %"
                    Return (ApprovalTemplateConditionTypeEnum.atctDiscountPercent)
                Case "Deviation from Budget"
                    Return (ApprovalTemplateConditionTypeEnum.atctDeviationFromBudget)
                Case "Total Document"
                    Return (ApprovalTemplateConditionTypeEnum.atctTotalDocument)
            End Select
        Catch ex As Exception
            MsgBox(ex.Message())
        End Try
    End Function
Please guide me.
Regds,
Samapth Kumar.

Similar Messages

  • How to Set A Default Start Time For New Events In Calendar?

    How to Set A Default Start Time For New Events In Calendar?

    John,
    Thanks for that suggestion - could not get it to work. However, I did manage a different approach. I finally determined the sequence of events in terms of how the various events and listeners fire (I think).
    Basically, the CalendarActivityListener fires, followed by the listener associated with the Calendar object's Create facet, followed finally by the CalendarEventListener - the final is where the TriggerEvent is available and then finally, control is passed to the popup/dialog in the Create facet. So, my approach of trying to set/get the TriggerDate in the user's HTTP session was doomed to failure because it was being get before it had been set :(
    Anyway, I ended up adding a bit of code to the CalendarEvent listener - it grabs the current BindingContext, navigates through the DCBindingContainer to derive an Iterator for the ViewObject which drives the calendar and then grabs the currently active row. I then do a few tests to make sure we're working with a "new" row because I don't want to alter start & end dates associated with an existing calendar entry and then I define the Start and End dates to be the Trigger Date.
    Works just fine. Snippet from the listener follows
    BindingContext bindingContext = BindingContext.getCurrent();+
    *if ( bindingContext != null )    {*+
    DCBindingContainer dcBindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();+
    DCIteratorBinding iterator = dcBindings.findIteratorBinding("EventsView1Iterator");+
    Row currentRow = iterator.getCurrentRow();+
    if ( currentRow.getAttribute("StartDate") == null)+
    currentRow.setAttribute("StartDate", calendarEvent.getTriggerDate());+
    if (currentRow.getAttribute("EndDate")==null)+
    currentRow.setAttribute("EndDate", calendarEvent.getTriggerDate());+
    *}*

  • How to set a default colour & thickness  for rectangle in preview?

    How to set a default colour & thickness for rectangle(annotation) in preview ? Because every time that I choose for example red and thickness 1 it reverts to orange and 3 next time .

    Doesn't appear to be a default setting. Peruse the webpage for Secrets at http://secrets.blacktree.com/ for a possible setting.

  • How to set a new SCSI number for a second drive?

    How to set a new SCSI number for a second drive?
    Walter

    Walter,
    This web site gives a good diagram:
    http://www.hitachigst.com/hdd/support/dpes/dpesjum.htm
    On a Quantum hard disk drive - they were the original equipment manufacturer (OEM) hard drive provider for Apple, you will see three or four pairs of pins on the green circuit board. They are labled:
    AO . .
    A1 . .
    A2 . .
    If no pins are connected, you have SCSI ID Zero This was the standard setting from the factory.
    If you short out the pins beside AO .__. , you have designated SCSI ID One.
    If you short out the pins beside A1 .__. , you have designated SCSI ID Two.
    If you short out the pins beside A2 .__. , you have designated SCSI ID Four.
    These values can be added together to get other SCSI IDs. If you have a jumper beside AO AND A1, that will add up to SCSI ID Three.
    Some of the quantum drives used tiny black plastic jumpers with tiny metal contacts. I have yet to find a store that sells the tiny ones. I get my larger jumpers from old PC motherboards that are being thrown away. A small piece of aluminum foil will work as a jumper in a pinch. Just make sure it soed not fall off and short something else out!
    Jim
    PS
    CD-ROM drives are set at the factory as ID 3. Internal drives are set at ID 0. I set my external SCSI drive at SCSI 1 so it does not conflict with the internal drive. Internal Zip drives are set at ID 5 and external Zip drives let you choose between 5 and 6. I set my burners at ID 4. Come up with a master plan for your devices like scanners and burners. Apple System Profiler will give you info on the device ID. If the computer fails to boot, turn off all but one SCSI device and make sure of its ID. Then check each subsequent device by powering up only one device at a time while booting from a CD at ID #3.

  • How to set up different ring tone for Facetime

    how to set up different ring tone for Facetime

    I don't think that on an iPhone that FaceTime has a separate setting, you can only set a ringtone (which will apply to phone calls) via Settings > Sounds, or set different tones for different contacts via the Contacts app - but you can't have a separate sound for FaceTime

  • How to set a default Billing type for a particular Delivery type

    Dear All,
    How to set a default billing type for a particular delivery type.
    My requirement is, we are creating delivery for a Stock Transport Order. Delivery type is NL and the Purchase order type is UB.
    When we are creating Billing, it should take Billing type "ZSTO" by default, which is the customised Billing type.
    Where we have to do this setting?
    In case of normal sales order, this control will be available in the Sales order document types.
    In case STO, how to set a default billing type for a delivery type (NL).
    Regards,
    Rajesh

    There is a customization available here no default or hard coded
    Normally in a sales doc type we mention which billing type system has to pick
    If the billing happens from a PO which billing type system will take depends on the controls set in the areas mentioned below
    Go to your delivery type OVLK (say your delivery type is NL)
    In that there is a field called default order qty in the order reference tab (say if you maintained DL there)
    This DL is called PSEUDO order type
    Then in VOV8 for DL based on the billing types mentioned ,system will take the billing doc
    For delivery related billing say if you mention say ZF8 in the details of DL in VOV8(provided you have created ZF8)
    Then while you bill the delivery doc of NL system will take ZF8
    For intercompany delivery you can create ZIV billing type also Pure customization
    PO is linked to delivery type ( MM spro settings)--Del type linked to order (pseudo) type---in order type (pseudo) we mention the billing types. Here the flow is bit different that pure SD flow
    Though the invoice is crated by manually putting customized Biiling Type and A/Cing doc also generated, but in the VF04 still system shows the same deliveries pending with Billing Type (F2).
    This manual is not reqd if the said assignments are done properly
    Hope it can assist you.
    Thanks & Regards
    JP
    Edited by: J Prakash on Jun 23, 2010 4:05 PM

  • HT201684 In Yosemite this no longer works, has anyone figured this out? How to set a custom default umask for all applications?

    In Yosemite this no longer works, has anyone figured this out? How to set a custom default umask for all applications?
    I've tried everything to get a custom umask set for all apps. It just seems impossible...
    Is there a replacement for launchd-user.conf?

    Please file a bug report: https://bugreport.apple.com
    I am sure this is something that got lost, like environment variables, in the Yosemite/iOS merger.

  • How to set the default settment rule for the same kind project.

    hi experts:
       the project of the same kind of the project profile have the same settment rule to one account (G/L).
    how to set the default settment rule for the project of  this kind of the project profile.
    regards

    Hi,
      You need to define the settlement profile and allocation structure.
    next you need to define the  Strategy for settlement rule.
    navigation-PS> costs> automatic and periodic allocations> settlement> Settlement rule for WBS
    --> Define strategy for settlement rule.
    Select the strategy and click on settings. in that new entries, check the Acc Assg element, enter Settlement profile and mention accass category as reposnsible cost center.
    Save this transaction.
    Now create a project assgin responsible costcenter for the WBS element in the project buider and save the transaction.
    Now run CJB2 transaction for the project, settlement rule will generated automatically.
    even you can configure the same for profitability segment.
    Rgds
    Sudhir Reddy

  • How to set ORACLE_HOMES on Windows 2000 for 11i

    How to set ORACLE_HOMES on Windows 2000 for 11i
    As am newbie on windows.
    Its very urgent.

    To set ORACLE_HOME on Windows:
    C:\> set ORACLE_HOME=<location>
    i.e.
    C:\> set ORACLE_HOME=d:\oracle\proddb\10.2.0
    To verify:
    echo %ORACLE_HOME%
    In Apps 11i, you do not have to set it manually, just source the environment file and this will set all environment variables for you.
    - To source the application env file, run envshell.cmd under %APPL_TOP%
    - To source the database env file, run <SID>_<hostname>.cmd under %RDBMS_ORACLE_HOME%

  • How to set upper and lower limit for service notification in SPRO

    Hello everyone,
    Good morning....!!
    I am new to SAP PM and to SCN as well.
    I have a question on Service notification user status.
    I  have notification profile configured in SAP as below:
    Status no      Status          Short text              Lower limit          Upper limit
    5                  REGD          Registered                1                          70
    10                PCKS            Pack sent                  1                          70
    20                APRC            Application received  1                        70
    etc..
    I want the statusesto be set as  navigation should only allow to go back one by one...like from APRC -->PCKS not to REGD.From PCKS -->REGD etc..not vice versa.
    Can enayone explain me to how to set lower and upper limits for these according ot the above requirement.
    for more details please check my attachment.
    Thanks in advance..!!
    Regards,
    Sudha.

    Once you change the status to previous status, just save the order. Then again open the order & try to change the user status.
    Just I made replica of your profile. I could able to change (even without saving the order).

  • How to set up an iTunes account for my new ipad?

    How to set up an iTunes account for my new ipad?

    If you already have an iTunes account, simply use that. You do not need a new account.
    Open the iTunes app on the iPad. Go to the bottom of the screen and tap Sign in.

  • How to set background as white colour for Bitmap images in sapscripts?

    Hi,
    Can anyone let me know that How to set background as white colour for Bitmap images in sapscripts?Actually,I am getting grey as background as defualt for my Bitmap images.
    Sorry,in my previous question,I posted viceversa.I am mistaken.
    Thanks,
    Balaji

    Hi,
    The problem can be solved by changing the way you save the original image.
    Take a look at this thread which explains;
    Problem with logo
    Regards,
    Nick

  • How to set the Data Synchronisation mode for ADF BC component?

    Hi All,
    How to set the Data Synchronisation mode for ADF BC component
    Thanks
    Raghavendra

    Can you clarify what you mean by the data synchronization mode?
    If you mean the Sync Mode, then in 10.1.3 you set this property by:
    1. Selecting your DataBindings.cpx file
    2. Expanding the "Data Control Usages" section in the structure window
    3. Selecting the ADFBC-based data control
    4. Setting the "syncMode" property in the property inspector.

  • How to set the short cut key for buttons

    Hi
    I dont know how to set the short cut keys for the button...can u pls help me out

    Do you mean a short cut key for buttons at client side (web browser)? If yes, you could do it with JavaScript~~~ ^o^

  • How to set weblogic 5 or 6 for XSQL servlet

    how to set weblogic 5 or 6 for XSQL Servlet

    DO you have servlets which print utf-8 data to the client?
    If yes then you can just call response.setContentType("text/html;
    charset=UTF-8");
    and the response will look as expected.
    for jsps :
    <%@ page contentType="text/html; charset=UTF-8" %> should do the trick.
    Nagesh
    Michael wrote:
    I have the same problem with 7.0. Did you fine a solution?
    I'll be very interested to know how you fixed it.
    "Danh Hoai" <[email protected]> wrote:
    Hi all,
    Does anybody know how to set up Weblogic 5.1 server in order to display
    UTF8
    characters such as Japanese characters?
    I am able to display utf8 in Tomcat but not in Weblogic. All I did for
    Tomcat is to change the content type of the servlets.
    Thank you for your help.
    Danh

Maybe you are looking for

  • FiOS Remote App on IPhone

    I have been trying to get the FiOS Remote app to work, but it keeps giving me problems with the sign on.  I don't think my sign on is the issue. My signon works for ... 1. My FiOS app - in which I can pull my account information 2. the Verizon mobile

  • When printing form using Adobe Acrobat X, I get squares over my italic text

    Hi, I have created an Adobe Form using Adobe Acrobat XI Pro and just printed it to check whether this works and the following occured: - When printing my 14 page document using adobe reader everything looked great - When printing my 14 page document

  • Billing document output needs to tigger for multiple emails.

    Hi Experts, We have a scenario wherein a single billing document output gets triggered for multiple emails. The requirement is to send the invoice layout copy to multiple emails where we maintain customer mail ids in customer master record. When trie

  • Component Based on HTTPService

    Is it possible to create a new MXML component based on HTTPService? Thank you.

  • No Sub Folder?

    Using mini bridge in PS CC , when displaying folders any subfolders do not appear as nested. Specifically there is no "dropdown" triangle so we can see the sub-folder(s)?