Is it possible to change the baseentry/baseline/basetype in document lines?

Hi,
I have created a PO and a SO with same item in document lines separately. I want to set the BaseEntry, BaseLine and BaseType of PO lines to points to a item line in SO. My code is like below:
                po.Lines.SetCurrentLine(0);
                po.Lines.BaseEntry = xxxxx;
                po.Lines.BaseLine = 0;
                po.Lines.BaseType = 17; // Sales Order
When I called po.Update(), i got error code -5002 with error message : Item no. is missing  [POR1.ItemCode][line: 1]. I am sure when i called po.Lines.SetCurrentLine(0), it points to correct line. My question is Can I update the BaseEntry/BaseLine/Base in a existing document line item?
BTW, since the PO is created separately the BaseEntry and BaseLine are all empty or -1. Now, I am using DI 2007A.
Please suggest!
Thanks,
Lan
Edited by: ZHANGLAN on Apr 15, 2011 10:03 PM

Hi Gordon,
I tried it again to create a new PO with all base document info in the line item, but this time I got error message: "Base document card and target document card do not match." with code -5002. The SO and the new PO have same line item and same qty. But I don't know what does that error message mean? Is it about business partner code? But they are different, in SO it is customer and in PO it is vendor. What's possible reasone for this error message?
Thanks!
Lan

Similar Messages

  • Is it possible to change the fonts in an illustrator document in Indesign or any other program BESIDES illustrator?

    Is there a quick way to change/replace the font of an illustrator document in inDesign or any other app? Thanks

    Depends on what is in the AI file.
    CD does a normally good job unless there are meshes and a particular type of transparency (I forget which one). I usually don't get "fancy" AI files. Stock & Trade, bare-bones types of files. these open in a few of the applications I use daily. That said, I never do it unless I need to return a format other than AI--because, well, why? I always try to use the originating application with the exception of older EPS files. As a lot of the daily stuff I do is screen printing, and because most every screen printer I deal with use CD, at some point the art has to go into CD.
    Mike

  • Is it possible to change the distributions on an Unearned Revenue line?

    We have a product who's accounting segment was updated after an order was placed. This item is a class product so revenue is not recognized until Day 1 of the class. The original Unearned Revenue line is incorrect and I believe it is causing problems updating the revenue line. When I try to fix the Unearned Rev line, multiple Unearned Rev lines are created. How do I fix this line?

    We are getting an error: FRM-40654: Record has been updated. Requery block to see change. We get this when trying to correct the distribution account on the revenue line. It's only on about 15 transactions where we have this issue. We are unable to locate any trailing spaces.
    Additionally, the order lines for these transactions are not progressing to CLOSED. They are stuck at FULFILLED. Not sure how to fix this problem.

  • Is is possible to change the page of an embedded document?

    I've got a PDF that I've embedded into an InDesign document, currently displaying Page 2 of the PDF. Is there an easy way to switch that to Page 3 of the PDF without reinserting it all over again?

    How about adding the three new pages at the end, then moving them to the front (or just adding three new pages to the front)? Is there something else on those pages that needs to remain on that page number?
    You might also want to think about re-importing the whole PDF int a new file. You can do that in a matter of minutes using the script here: InDesignSecrets » Blog Archive » Zanelli Releases MultiPageImporter for Importing both PDF and INDD Files

  • Is it possible to change the number of weeks to be displayed in the month view in calendar (mavericks)?

    I'd like to know if it's possible to change the number of weeks to be displayed in the month view in calendar? Thanks!

    No.
    There are up to six calendar weeks that might be used to display the 31 possible days in a month.
    So the month view displays six weeks.

  • Is it possible to change the ALV report layout settings in spool request

    Hi All,
    Please let me know is it possible to change the ALV layout settings in background as we can change the layout settings in foreground to get correct format when download to excel.
    Regards,
    Jyothi CH.

    Hello,
    Add a parameter for layout on selection-screen (p_varmm LIKE disvariant-variant).
    As you are in backgroud mode, ALV will be printed with this layout (assuming you call correctly the MF ALV_LIST or REUSE_ALV_GRID)
    Regards,
    Christophe

  • Does anyone know if it is possible to change the display in week view to show 24 hours per day for those of us that work irregular hours

    Does anyone know if it is possible to change the display in week view to show all 24 hours per day for those of us that work irregular hours.
    Also is it possible to have all of the 'all day' entries showing, not just 3.5 of them.
    The app Week Cal HD was the perfect calendar until Apple removed it so could they please offer the same facilities that it offered.

    Does anyone know if it is possible to change the display in week view to show all 24 hours per day for those of us that work irregular hours.
    Also is it possible to have all of the 'all day' entries showing, not just 3.5 of them.
    The app Week Cal HD was the perfect calendar until Apple removed it so could they please offer the same facilities that it offered.

  • Recently, I discovered I have two iCloud accounts. Is it possible to change the Apple ID from one account to match the second account, without losing the information on each account?

    Recently, I discovered I have two iCloud accounts. Is it possible to change the Apple ID for one of the accounts to match the other account, without losing the information from either account.
    thanks

    Welcome to the Apple Community.
    It's a little tricky to move data from one iCloud account to another but it can be done. But what makes you think you have 2 iCloud accounts.

  • Is it possible to change the video card of a pavilion g7-1075dx?

    So, I have an HP Pavilion g7-1075dx Notebook with Windows 7. I'm an avid gamer and wish to play the newest games. However, there's one problem thats keeping me from doing so. Alot of the newer games require newer video/graphics cards. This particular laptop has an ATI Mobility Radeon HD 4250. The newest games seem to require ATI Radeon HD 4850 and above. This is the only thing thats keeping me from playing games like Starcraft II on the highest settings OR in the case of Star Wars: The Old Republic, it almost keeps me from playing the game, period, due to the graphics being too much for my current card to handle, causing massive lag. I was hoping I could change the video card. Upgrade. However, i've heard that with most laptops or notebooks you can't upgrade anything other than the RAM. I'm hoping anyone on here can help me out and tell me if it is possible to get a new video card for my laptop. We don't have a desktop computer so this laptop is my only hope for a long time to play newer PC games.

    Alright, let me put this in a simpler message: Does anyone know if it is possible to change the video card currently in my laptop, the HP Pavilion g7-1075dx, for a newer and better one. ATI Mobility Radeon HD 4250 to ATI Radeon HD 4850 or higher.

  • Is it possible to change the colour of box in script from black to blue

    Hi,
    Is it possible to change the colour of box in script from black to blue  or some other colour and background colour also...if so how....
    Thanks.

    No..
    It is not possible in scripts..
    In scripts u cannot use colors..
    In smartforms u can do that..
    reward if it helps u..
    sai ramesh

  • I have a iMac 21,5" Intel mid 2011 and I need to know if is possible I change the original 500Gb HD for a 512Gb SSD? If yes, where I find a tutorial about this? Thanks a lot and best regards all.

    Hi people,
    I'm typing from Brasil, sorry my English.
    I have a iMac 21,5" Intel mid 2011 and I need to know if is possible I change the original 500Gb HD for a 512Gb SSD?
    I intend to keep the original DVD driver and install the SSD in the same HD place.
    If yes, where I find a tutorial about this?
    And I will like to know if the 512GB Solid-State Drive Kit for Mac Pro is compatible with iMac.
    http://store.apple.com/us/product/MC731ZM/A/512gb-solid-state-drive-kit-for-mac- pro?fnode=5f
    What brand and model of SSD do you recommend?
    Thanks a lot for now and best regards all.
    Carlos Sgrillo
    Porto Alegre, RS, Brasil

    Tukaine
    Sep 23, 2012 10:59 PM
    Since the late 2009 iMacs came out, replacing the hard drive has caused the internal Hard Drive Fan to start running at around 6000RPM.
    This is due to Apple replacing the external Hard Drive temperature sensor with a proprietary firmware and using the drives internal sensor.
    Replacement drives do not contain the firmware to deliver temperature data on the temperature sensor cable.
    When the iMac does not receive a good signal from the hard drive it puts the fan at full speed to protect the drive.
    If you replace your drive, your iMac will initially seem fine, but soon the fan will begin to speed up to full speed. Resetting the SMC (System Management Controller) will have a temporary effect, but again the fan will speed up.
    Fixes people have used in the past included:
    Using smcFanControl and the terminal to set a MAX speed for the fan and writing scripts to start this after every sleep/restart.
    Shorting the temperature sensor cable (Not a possibility on 2011 iMacs) this tricks the iMac into thinking the drives temperature is very low, hence slow fan speed.
    Both these fixes are less then perfect and leave the drive in a dangerous situation with no protection from overheating.
    Another option people try is other Fan Control software. These programs will not work for this particular issue as they often only control the base speed, and if they do control the fans actual speed they rely on the temperature reported by the sensor which is now incorrect.
    HDD Fan Control
    HDD Fan Control works to fix this issue by reading the drives internal temperature using the S.M.A.R.T protocol and set the fans actual speed to a value good to protect the drive.
    It runs at startup and continually to always control the fan correctly, prevent the loud fan noise and protect the drive from overheating
    Instead of HDDFan Control, get the free SSDFan Control
    http://exirion.net/ssdfanctrl/

  • Is it possible to change the order of the fields in the int table?

    Hello
    Is it possible to change the order of the fields in the int table?
    Lets say itab has the following fields :
    F1, F2, F3
    I would like to see it as F2 F3 F1
    Thanks

    >
    Comandante Che Guevara wrote:
    > Lets say itab has the following fields : F1, F2, F3
    >
    > I would like to see it as F2 F3 F1
    What do you mean by "like to see" ? You can WRITE the fields in any order you want. If you want to display the internal table in an ALV you can manipulate the fieldcatalog.
    If you want something else other than display the field, you have to explain your req. in detail.
    BR,
    Suhas

  • Is it possible to change the color of the folders in OS 10.10.2 Yosemite?

    Is it possible to change the color of the folders in OS 10.10.2 Yosemite?

    You can try these after backing up.
    Folders – Color folders
    Folders – Color folders Mavericks
    Folders Factory – Color folders

  • Is it possible to change the color of the regions in GB 11?

    Is it possible to change the color of the regions in GB 11?

    Gourmet Pizza wrote:
    Is it possible to change the color of the regions in GB 11?
    only an imported orange region (to purple):
    http://www.bulletsandbones.com/GB/GBFAQ.html#orangetopurple
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Is it possible to change the color of imported art in pages, say from B&W to a color?  ... or even to make it a gradation of color?

    Is it possible to change the color of imported art in pages, say from B&W to a color?  ... or even to make it a gradation of color?

    Make a Shape > Inspector > Graphic > Tinted Image Fill > Scale to fit > browse to image > click on the color patch to change the color to what you want
    or
    Drag in an image > overlay it with a Shape > select the color for the shape and change its Opacity
    Shapes may have Gradient and Advanced Gradient (multiple colors) fills both linear and radial. Both are in the Graphic Inspector as is Opacity.
    Peter

Maybe you are looking for

  • New Ipod windows- me get me some music!!!

    I have just brought a new Ipod nano for my wife for christmas and want to put some music on it.I have Windows ME and now know you need windows 2000 to support itunes.The windows media system (9) does not seem to support ipod.Could someone please let

  • Video podcast format for iPods

    I created a video podcast and the RSS feed was successfully accepted by iTunes. The first two episodes download through iTunes fine. The only problem is that the video file would not transfer to any video iPod. The first two episodes were 320x240 .mo

  • Which field changes will bring the delta into BW

    Hi, On which field changes the delta will bring data into SAP BW. let us say if you bring the data from 2LIS_13_VDITM, any key figure changes in VF02 will bring the data? Only few characterstic changes it will bring the delta data. What and all those

  • Photoshop Album Starter edition 3

    I have been trying to burn my photos to CD and have managed to use about a dozen disks and still haven't succeeded. I have downloaded the latest update and do have 'Burn to CD' as an option. I have selected all of my piccys that I want and have click

  • Merge Dimension using 2 different universes

    Hi Experts, I need to create a single  webi report using two different OLAP universes. one is AR universe and other is SD universe. I created a a report using AR universe and then went to ADD Query option and choose SD universe and droped all the obj