Updating tax on the contract lines and header

Hi All,
Service Contracts
We are trying to update Contract Line DFFs that store different values like Preventive Maintenance qty, Months billed etc. When we update this, we expect that the price, subtotal also should get updated. Also, we are updating annualized amount stored at the subline DFF as attribute1 using okc_contract_pub.update_contract_line.
We are doing all the price calculations using the APIs :
oks_qp_pkg.calc_price
oks_qp_int_pvt.compute_price
Since the subtotal is getting recalculated, the tax should also change. Note that the subtotal is getting recalculated at all the places i.e. at subline, top line and the header.
The tax amount is getting recalculated only at the subline level and not reflecting either at the Line or header level.
Questions:
1. How to achieve this ?
2. Do the above 2 APIs calculate tax as well ?
Any pointers on this will be extremely helpful.
Regards,
Isha

Hi All,
Service Contracts
We are trying to update Contract Line DFFs that store different values like Preventive Maintenance qty, Months billed etc. When we update this, we expect that the price, subtotal also should get updated. Also, we are updating annualized amount stored at the subline DFF as attribute1 using okc_contract_pub.update_contract_line.
We are doing all the price calculations using the APIs :
oks_qp_pkg.calc_price
oks_qp_int_pvt.compute_price
Since the subtotal is getting recalculated, the tax should also change. Note that the subtotal is getting recalculated at all the places i.e. at subline, top line and the header.
The tax amount is getting recalculated only at the subline level and not reflecting either at the Line or header level.
Questions:
1. How to achieve this ?
2. Do the above 2 APIs calculate tax as well ?
Any pointers on this will be extremely helpful.
Regards,
Isha

Similar Messages

  • Service Contracts Line and Header Tax amounts are not matching

    Hi,
    I am creating service contracts using API. Using below code i am applying price adjustments on the line. while using the below API Tax is calculated at line level and added for each line But the Tax filed on the header is not getting updated. I fwe go to front end and click on reprice then the Tax amount is added to the header(If the contract created with status 'Entered').
    Please help me to fix this.
    l_multi_line_tbl (0).ID := l_x_clev_rec.ID;
    l_multi_line_tbl (0).price_list_id :=l_curr_price_list_id;
    l_multi_line_tbl (0).lse_id := 46;
    l_multi_line_tbl (0).line_pl_flag := 'Y';
    l_x_return_status := NULL;
    apps.oks_auth_util_pub.compute_price_multiple_line (
    p_api_version
    => 1.0,
    p_detail_tbl 
    => l_multi_line_tbl,
    x_return_status   => l_x_return_status,
    x_status_tbl 
    => l_status_tbl);
    Thanks,
    Hari

    not answered yet.

  • Link between Contract line and the Billing Plan number

    Hi All,
    I have a requirement which needs a link between the Contract Line item and its Billing Plan Number. I basically have to find out the contracts which have a billing block. So a invoice would not have been created to that line item.
    Please let me know if such a link exists.
    Thanks in advance,
    jr.

    Hello
    In table <b>VBKD </b>(Sales Document: Business Data) you will find the link between the contract (VBELN) and the billing plan (FPLNR). If POSNR = '000000' then this is the billing plan of the contract header.
    The billing block can be found in VBAK-FAKSK.
    Finally, billing plan details can be found in table FPLA. If FPLA-RFPLN is filled then the item billing plan is linked to the header billing plan.
    Regards
      Uwe

  • I will starting afresh website in my iWeb, it shows only the head or the command line and the command new website is inactive - what do I need to start over

    Help........
    I will starting afresh website in my iWeb, when I start the program it only shows the head or the command line and the command new website is inactive - what do I need to start over - what have I done wrong

    Don't quite understand what you mean, but it says at the bottom that you are still using iWeb 08 so depending on what OSX you are running, you might consider upgrading to iWeb 09.  This works with Lion, Mountain Lion and Mavericks.
    Apple no longer sells iWeb so if you decide to upgrade, then you'll need to purchase iWeb by going to Amazon and buying the iLife 09 or 11 boxed sets, both of which contain iWeb 09.
    Install this on your Mac and it might solve your problems, or just ditch iWeb and start again with one of the newer programmes out there that are still being supported and updated, such as RapidWeaver, Sandvox, Freeway Pro/Express, Flux 4, WebAcapella 4 and EverWeb (http://www.everwebapp.com).

  • I put a Favicon on my website, which can be seen in the adress line and the tab header. However, when I add this site to the bookmarks, it doesn't show it's favicon.

    I put a Favicon on my website, which can be seen in the adress line and the tab header. However, when I add this site to the bookmarks, it doesn't show it's favicon. I have tried deleting and creating a bookmark and also refreshing the webpage or clicking on the bookmark. I don't know what else to do. I use Firefox 4.0.1

    I'm getting favicons for most of my bookmarks, so there might be some issue with the coding or the image format.
    Do you use a tag like this in your page?
    <link rel="shortcut icon" href="/path/to/favicon.ico"/>

  • Not able to change the the Contract Line Item Payer

    Hi there,
    I am not able to change the Contract Line item Payer and giving an error message '' Credit limit customer differs from credit limit customer in header''.
    I checked the credit management assignment and the Business partner is assigned with the required Payer.
    Request your help.
    Thanks,
    Renjith

    Hi Renjith
    So first of all  check with which customer you have created Contract. So go to CMR data and check wheather you have maintained multiple Payers or not. If not maintained maintain multiple payers.
    As you are getting error  '' Credit limit customer differs from credit limit customer in header'' , so check the payer at header level and item level also. the payer at header level and item level should be different.
    Regards
    Srinath

  • Link between the Schedule Lines and the GR document

    Hi
    I would like to find the link between the Schedule Lines (of Scheduling Agreement) and the GR document. i.e. which GR has been made against which Schedule Line. I have checked the tables EKET, EKBE, MSEG but there is no link with the Schedule Line, I found the link only with the item number there.
    Thanks
    Prashanth

    Hi
    At the time of posting the GR for a SA you will be not posting this with reference to the Schedule line of the SA item. So system will always update the GR document against the SA item and update qty on the schedule line.
    May be this is the reason we donot have any direct relation ship to material document and Scheclue line
    Thanks & Regards
    Kishore

  • I have a question regarding my txt/alert tones. I recently updated my iPhone 5's software without first backing it up on iCloud or my computer (oops). After my phone finished updating, i lost the new ringtones and txt/alert tones i had bought.

    I have a question regarding my txt/alert tones. I recently updated my iPhone 5's software without first backing it up on iCloud or my computer (oops). After my phone finished updating, i lost the new ringtones and txt/alert tones i had bought. I connected my iPhone to my computer and sync'd it hoping that it could download my purchases from the itunes store and then put them back on to my phone but no such luck. When i look at my iphone on my computer and look at tones, they do not show up at all. However, if i click on the "On This iPhone" tab and click on "Tones" the deleted ringtones and altert tones show up...they are just grey'd out and have a dotted circle to the left of them. I also tried to go to the iTunes store on my phone and redownload them and it tells me that i have already purchased this ringtone and asks me if i want to buy it again. I press Cancel. I know when i do that with music it would usually let me redownload the song without buying it again but it wont let me with the ringtones...so how do i get them back? any help would be greatly appreicated

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • HT1178 I have BT Infinity at home with the BT modem connected to the phone line and then to a BThub which delivers the wif signal. I have purchased an airport extreme to improve wi fi strength if how do I connect up to hub it states connect modem to WAN o

    I have BT Infinity at home with the BT modem connected to the phone line and then to a BThub which delivers the wif signal. I have purchased an airport extreme to improve wi fi strength if how do I connect up to hub it states connect modem to WAN on back of Airport Extreme.
    Instructions do not mention connection to BT Hub and the BT modem has only one output which you dicsonnect from Hub and connect to airport extreme leaving. Once you do this Hub has no signal.
    How do I rectify
    Paul

    you can also set up the Airport extreme to extend the wireless by hitting the wireless tab in the airport menu then click the drop down menu to select extend
    Apple's "extend" function is a proprietary setting that was designed to only work with other Apple routers.
    It would be extremely unlikely that this setting would work with a BT product, or any other manufacturer's product for that matter.
    But, I haven't tested this with a BT product...and I suppose anything is possible.
    Still, I would be extremely surprised if this worked.
    The AirPort Extreme might "join" the BT network if you try this......but the AirPort does not provide any additional wireless signal coverage when it "joins" a wireless network. In fact, it really does nothing when it "joins" a network except enable the USB port.

  • Every time I make a call or I'm receiving a call my phone is extremely static i can't hear the person on the other line and the person on the other line cannot hear anything They say that they hear a lot of static now my videos when I play a video on YouT

    Every time I make a call or I'm receiving a call my phone is extremely static i can't hear the person on the other line and the person on the other line cannot hear anything They say that they hear a lot of static now my videos when I play a video on YouTube for instance works just fine Siri  works just fine. I can't make a call or receive a call whatsoever because all I hear is static and I haven't dropped the phone in water nothing has really happened this literally happened overnight

    This is a wireless carrier issue.  The fact that the speaker & microphone work properly for other apps is a great indicator that your device is fine.
    Contact your wireless carrier about your call quality issue.

  • They sent me a serial number for a windows version of PS Elements when I ordered a mac version.  The serial number doesn't work, not surprisingly, but they don' t seem to care.  I have tried the chat line and have waited for almost a day with no response.

    They sent me a serial number for a windows version of PS Elements when I ordered a mac version.  The serial number doesn't work, not surprisingly, but they don' t seem to care.  I have tried the chat line and have waited for almost a day with no response.  What should I do?

    Look here
    Order product | Platform, language swap

  • HT1222 I just updated iTunes to the latest version and now I can't play more than have of my songs.  Says it can find it and then leasds me to locate it.  I don't know where to look.  Help!!!

    I just updated iTunes to the latest version and now I can't play more than half of my songs.  When I click on a song it comes back and states that it can't find it and prompts me to try and locate it.  I don't know where to look.  Help!!!!

    Hi ldhong,
    There are a few ideas in this article on how and where to look for missing iTunes media:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Hope this helps!
    - Ari

  • I just tried updating ITunes to the new version and it will not completely download and now I get an error message of MSVCR80

    I just tried updating ITunes to the new version and it will not completely download and now I get an error message of MSVCR80. Is there a problem with the new iTunes version?
    Now ITunes won't open.Help!!!

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • Why can i not see the time line and canvas? Also, why am i not able to click on them either?

    I am not able to see the time line and canvas in the motion 5.  Also i am not able to click on it either

    Try selecting 'revert to original layout' in the window menu. If that doesn't help I would delete Motion preferences in ~/library/preferences/com.apple.motionapp.plist and com.apple.motionapp.LSSharedFileList.plist. You can also try deleting the layouts folder in ~/Library/Application Support//Motion. I assume that at some earlier time Motion was behaving properly. If this problem has occured when you first tried to open it after downloading then I'd reinstall it.

  • My iphone 5S is stuck on a screen displaying the itunes symbol and a charging cable. I tried connecting it to itunes and updating it to the new software, and backing it up but it keeps saying unknown error 4005, Also when I first tried backing up my

    My iphone 5S is stuck on a screen displaying the itunes symbol and a charging cable. I tried connecting it to itunes and updating it to the new software, and backing it up but it keeps saying unknown error 4005, Also when I first tried backing up my phone on my computer it would begin the processes then half way through it would say IPHONE has been disconnected, now it won't recognize it or anything. what can i do? This is a brand new phone!!!

    Hello jraff21,
    I was able to locate a support article for the error you mentioned. The following steps may help you get your device back to working order:
    iOS: Restore errors 4005, 4013, and 4014 - Apple Support
    You may see one of these messages if the device unexpectedly disconnects during the update or restore or iTunes couldn't tell the device to go to the restore state.
    The iPhone [device name] could not be restored. An unknown error occurred (4005).
    The iPhone [device name] could not be restored. An unknown error occurred (4013).
    The iPhone [device name] could not be restored. An unknown error occurred (4014).
    Try these steps to resolve the issue:
    Install the latest version of iTunes.
    Restart your computer.
    Make sure your computer is up to date. If an update requires a restart, check for updates again after you restart.
    Restore using another USB cable.
    Learn more about updating OS X.
    Learn more about updating Windows.
    Restore your device on another computer.
    If you continue to see error 4005, 4013, or 4014 when you restore your device,contact Apple for support.
    Learn more about other update and restore errors.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

Maybe you are looking for

  • ERROR 00604

    I wrote oracle procedure in which I am using 2 cursor. When I execute this procedure I got following error. ERROR at line 1: ORA-00604: error occurred at recursive SQL level 2 ORA-04031: unable to allocate 1400 bytes of shared memory ("shared pool","

  • HttpSession::getMaxInactiveInterval method not found

    Hi, I am trying to run a servlet on iPlanet Web Server 4.1 SP7. The servlet uses the getSession methods to access the session data. However, when I make the getSession call, an exception is thrown from NSHttpServletRequest indicating that the method

  • Slide show with various lightboxes

    So basically I am creating my website to show my portfolio. I have several pages that show my work e.g. illustrations and photography. I have created a slider that flicks through various images. Some of these images say "click to see more" so I want

  • My iPhoto 9.4.2 keeps crashing during downloads to Facebook

    I keep trying to cancel the downloads but they keep restarting when I open the application again then it crashes. I have also tried repairing the system using the Command and Option keys as I have seen in other discussions. I have pasted the error me

  • Hi how to sync contacts in Outlook 2010 with iCloud on pc running Windows 7 Pro?

    Hi I was trying to sync my outlook contacts, calendar and notes using iCloud control panel. I use Windows 7 Pro 64bit and have iPhone 4S with latest iOS. After completing almost all steps there is an Error message saying that the opeartion failed due