Characterstics updating (replacing with existing) via BO issue?

Hello i have crated a BO for updating(replacing with existing) the existing Characteristics, basically want to overwrite the existing char values. the schema i have created to do this as follows
BO Name: CmPremChUpd
<schema>
<premiseId mapField="PREM_ID"/>
<premiseCharacteristic type="list" mapChild="CI_PREM_CHAR">
<characteristicType mapField="CHAR_TYPE_CD"/>
<effectiveDate mapField="EFFDT" default="%CurrentDate"/>
<characteristicValue mapField="CHAR_VAL" default=""/>
<adhocCharacteristicValue mapField="ADHOC_CHAR_VAL" default=" "/>
<version mapField="VERSION"/>
</premiseCharacteristic>
</schema>
in my BPA i am have written following code ..
default $CmPrmCharUp as 'CmPremChUpd';
declareBO $CmPrmCharUp as 'CmPremChUpd';
if ("string (CM_PRM_UI/bo/parcelId) != $BLANK")
move null to "CmPremChUpd";
move "$premiseId" to "CmPremChUpd/premiseId";
move 'WTRCOM' to "CmPremChUpd/+premiseCharacteristic/characteristicType";
move "$wtrComVal" to "CmPremChUpd/premiseCharacteristic[last()]/adhocCharacteristicValue";
move "$CURRENT-DATE" to "CmPremChUpd/premiseCharacteristic[last()]/effectiveDate";
move "1" to "CmPremChUpd/premiseCharacteristic[last()]/version";
invokeBO $CmPrmCharUp using "CmPremChUpd" for replace;
if ("$ERROR")
terminate;
end-if;
end-if;
when i exicute i am getting the following error,
Detail of Schema input error: BO Replace action for BO BusinessObject_Id(CmPrmCharAddBO1) with request <CmPremChUpd><premiseId>0132173400</premiseId><premiseCharacteristic><characteristicType>RCL_SORC</characteristicType><adhocCharacteristicValue>0132173400</adhocCharacteristicValue><effectiv
eDate>2012-11-26</effectiveDate><version>1</version></premiseCharacteristic></CmPremChUpd> requires the version to be supplied.
i tried different things like keeping the version and adding the version in BO schema, but still no luck. Appreciate if any one has solution to resolve this.

Thanks for your reply Neil.
Okay, so I created a new app via the DPS App Builder, filled in all the app details plus the mobile provision files.
Inserted the dev p12 certificate plus passwords and tested the app on my iPad with great success.
The problem I am having now is downloading the distribution app.
When I click Distribution App in the Downloads column of my new app, select my p12 distribution certificate and proceed to enter the password, a red square is seen around the Distribution P12 Certificate box.
I have used the same certificates as last time as instructed.
Do you think there may be a problem with the fact that there are now 2 apps in the DPS App Builder using the same P12 Certificate even though I will be replacing the old one in iTunes when I get there?
Any help would be much appreciate.
Thanks
Myles

Similar Messages

  • Update statement with EXISTS clause

    I saw this code in one of the procedures we are using ... is it possible to avoid EXIST caluse:
    update table_x p
    set p.internal_issue_ky = (select sh.internal_issue_ky
    from security_history sh, XT_SECURITY xs
    where sh.internal_wins_issue_id = xs.internal_wins_issue_id
    and sh.as_of_dt = xs.as_of_date
    and p.internal_wins_issue_id = sh.internal_wins_issue_id
    and p.effective_dt between sh.as_of_dt and sh.next_as_of_dt
    where exists
    (select sh.internal_issue_ky
    from security_history sh, XT_SECURITY xs
    where sh.internal_wins_issue_id = xs.internal_wins_issue_id
    and sh.as_of_dt = xs.as_of_date
    and p.internal_wins_issue_id = sh.internal_wins_issue_id
    and p.effective_dt between sh.as_of_dt and sh.next_as_of_dt
    Thanks.

    Without the EXISTS, every record in the table will be updated, and those that don't exist in the subquery will be updated with NULL. The EXIST clause ensures that only those records that form the subset in the subquery are updated, and is necessary here.

  • Is 6288 update compatible with 6280?

    Is 6288 software update compatible with 6280?

    The issue for 6280's seems to be that the update from 3.x to 5.x causes the handset to die and then the handset has to be revived / recovered using the tools at a service centre. In fact going from early versions of 3.x to later versions of 3.x is also risky.
    As the NSU currently does not have a revive / recovery mode for dead handsets I am not surprised they chose to play it safe and only support the 6288 which has an initial firmware version of 5.92.
    Hopefully future versions of the NSU will support the 6280 properly.
    First use the search to see if your question has already been answered...
    Secondly I will not knowingly assist in breaking the forum rules.
    My information is always changing, what I post at the time is usually true.

  • I just purchased a new MacPro to replace my existing 2006 MacPro which cannot be undated with the new operating system.  My question is what is the safest way to transfer all my files.  1) simply install my existing 2TB HD into the new Mac Pro or 2)

    I just purchased a new MacPro 3.2GHz Quad-Core Intel Xeon processor to replace my existing 2006 MacPro 2 x 2.66 GHz Dual-Core Intel Xeon because it cannot be undated with the new Lion operating system.
    My question is what is the safest way to transfer all my files to the new computer.  1) simply install my existing 2TB HD into the new Mac Pro, set it as the startup drive, and update its10.7  operating system or 2) or use the migration program.
    I'm concerned that simply installing the existing 2TB HD, I may have issues with it not recognising some infromation written for the old 2 x 2.66 GHz Dual-Core Intel Xeon.

    your new system runs 10.6.8 just fine as has been said and stated many times.
    I would clone it first.
    I would even clone the original system it has.
    And if you have or want to use Lion and then Mountain Lion, fine - I would still keep backups of every OS.
    I am not a fan of putting the OS and Apps plus all the data all on one drive. I like to keep them separate.
    Whatever OS, rerun the last combo update is all and any other updates.
    And by "new Lion" I assume you don't mean 10.7 but "Moutain" 10.8.  Part of me says keep Lion and SL around, and test and try out ML with your apps and other hardware you may have. After too many years, waiting for 10.8.1 - and give everyone time to update their apps and retest.

  • Update and replace a index via script

    Hi everybody,
    I created a book with 30 chapters, each of them having a local (or chapter) index at the last pages.
    I would like to update these indexes and replace them with the new, updated ones (just as the command "Generate Index..."
    do with the option "Replace the Existing Index" on).
    I'm able to generate the index via script, but I don't know how to make it replace the existing one.
    I dont want the Place the Index, as its precise location is variable and it can run for more than one page and frame.
    So even I could get the coordinates of an existing index to place the new one,
    I would have the re-layout them, what would defeat my automation goal altogether.
    I just want to replace the existing indexes via script, as I can do using the interface.
    Is it possible?
    Thank you all in advance.
    Edson Furman
    [email protected]

    I'd like to re-ask the same question. I am able to generate an index for the first time, but am at a loss how to do the scripting equivalent of pressing the "OK" button in the following dialog:
    I'm guessing I should proceed something like this:
    myDocument.indexGenerationOptions.replaceExistingIndex = true;
    myIndex = myDocument.indexes[0].update();
    myIndex.generate( ? DO I REALLY HAVE TO SPECIFY A PAGE ETC. HERE ? );

  • Replace an existing file with a new one

    This is probably a very simple problem. I have a script that is making an XML document. I am sucking information out of a database and exporting it as a XML file. The script runs just dandy except when I want to update the text file I receive an error along the lines of "the file already exists".
    What code do I use to replace an existing file?
    tell application "Finder"
    set theFile to "donky.xml" as string
    set theFullName to mySavePathAsText & theFile
    set theNewFile to make new file at myPath with properties {name:theFile}
    write myFinalText to file theFullName
    set the extension hidden of theNewFile to false
    end tell
    I assume I would use the "replacing yes" command but that is not working or I am not doing it right.
    Any help much appreciated.

    Hello
    Two things.
    • 'open for access file _path with write permission' will create new file at the path given in _path if it's not present.
    • 'set eof' command will clear the existing contents of the given file, which lets you replace the contents.
    So you may try something like this. (Finder is only used to set 'extension hidden' property of the file)
    Good luck
    H
    -- SNIPPET
    set theFileName to "donky.xml"
    set theFullPath to mySavePathAsText & theFileName
    try
    set fref to open for access file theFullPath with write permission
    set eof fref to 0 -- clear the existing contents
    write myFinalText to fref starting at eof
    close access fref
    on error errs number errn
    try
    close access file theFullPath
    on error --
    end try
    error errs number errn
    end try
    tell application "Finder"
    set extension hidden of item theFullPath to false
    end tell
    -- END OF SNIPPET

  • HT4623 Why did the update of my phone to the IOS 6, lose my UTube icon, and was replaced with a Passbook app.

    Why did the update of my iphone4 to the IOS 6, lose my UTube icon, and was replaced with a Passbook app.

    Apple is no longer supporting YouTube with a native application starting with iOS 6.0.  The "old" YouTube application was automatically removed when you upgraded, and it no longer exists in the new iOS.  There are however, numerous third-party apps in the App Store which will allow you to view YouTube, including one from Google, which is the parent company for YouTube.  Passbook is a new application to iOS 6.0 and is not at all related to YouTube.

  • If i replace my existing website with muse website will google search it?

    If i replace my existing website with new website made in adobe muse on same domain will google search it?

    Hi,
    If Google has already indexed your site, it will keep checking your site, but make sure you update sitemap in google webmaster tools, if you have some new pages in new site, google will index them and if you have some pages renamed or removed asked google to remove it. You can check some details here
    https://support.google.com/webmasters/answer/164734?hl=en

  • TS1702 problem with updated find my iPhone app: when I attempt to open the FMi app, it tells me that I need to be a registered developer and run iOS7 to do so; is anyone else having this problem?  I got the app as a regular update to my existing FMi app w

    problem with updated find my iPhone (FMi) app: when I attempt to open the FMi app, it tells me that I need to be a registered developer and run iOS7 to do so; is anyone else having this problem?  I got the app as a regular update to my existing FMi app which worked great.

    The problem is being reported in the news media, yes. Apparently someone at Apple jumped the gun and uploaded the update before it was ready. They'll probably issue another update shortly, I would expect, but you can go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store. If you have a backup copy of the older version of the app, remove the newer version, restore the old version to iTunes on your computer, and resync.
    Update: Well, that was certainly quick. As of a short time ago, various sites are reporting that the Find My iPhone app is no longer displaying the previous error message. If it still is for you, delete it from your iPhone and re-download from the iTunes Store.
    Regards.

  • Issue in Invoking an Updatable View with Instead of Trigger

    Hi,
    I am trying to insert a record using Updatable View with Instead of Trigger. When i try to save the data, i get the below error:
    java.sql.SQLException: ORA-01403: no data found
    ORA-06512: at line 1
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1075)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3887)
    at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:9323)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:432)
    at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8566)
    Can someone help me resolve this issue?
    Also it would be great if you can share Sample codes for Invoking an updatable view with instead of trigger on Save/commit.
    Regards,
    Jeevan

    As a trigger is executed in the db and not in your app it's really hard to help as you did not give any useful information.
    Have you read this blog http://stegemanoracle.blogspot.com/2006/03/using-updatable-views-with-adf.html ?
    Timo
    Edited by: Timo Hahn on 22.09.2011 09:15
    And my friend google also found http://technology.amis.nl/blog/1447/adf-business-components-resfresh-after-insertupdate-and-instead-of-triggers

  • My ipad mini is not syncing music onto in, my ipad has been replaced to see whether the issue is to do with the ipad but its still not working. i have a a windows PC please help thanks

    my ipad mini is not syncing music onto in, my ipad has been replaced to see whether the issue is to do with the ipad but its still not working.
    ive tried everything and ive been to the store which was when i was given a new ipad mini. i have a a windows PC please help thanks

    Are you attempting to sync music from your iTunes Music Library on your PC?
    What options do you have set on the Music Tab for your iPad in iTunes?
    What happens when you sync?
    Any error messages?

  • MacBook Pro battery had accumulated more than a 1000 charges, and stopped functioning unexpectedly. Went and got the battery replaced. Just saw that SMC Firmware 1.6 update deals with this. Possible to get my money back?

    MacBook Pro battery had accumulated more than a 1000 charges, and stopped functioning unexpectedly. Went and got the battery replaced. Just saw that SMC Firmware 1.6 update deals with this. Possible to get my money back?

    The firmware update corrects an error that may occur, however the techs would have checked the condition of the battery prior to installing a new one.  If the battery was questionable, the firmware update was really not too important.
    You can check the battery condition by going to the apple, left side of the menu bar, About This Mac, More Info, System Report, Hardware, Power and see what it says about Cycle Count, Condition, Capacity: Condition anything but Normal needs to be checked and may need to be replaced.
    The cycle count of 1,000 charge cycles is the typical life of a Lithium-Ion battery, the point at which the capacity drops to 80% of the as built capacity.

  • Is it possible to replace an existing published folio with a new one?

    Hello everyone,
    We created a folio with the wrong intention (landscape and portrait). I have now recreated the folio with the proper intention (landscape only) and have give the folio the same: name, dimensions, publication date and product id as the original. However when I publish the new folio it appears as a new download in addition to the original one we had created. Should it not appear as an update to the existing one? Any help would be greatly appreciated. Thank you.

    You'll need to clarify what you mean by 'ebook', and how it's different to the HTML pages of your existing website...

  • I have just installed itune again. now i sync problem of existing music will be replace with new itune which is empty. how can i keep my pervious files and sync new....

    i have just installed itune again. now when i sync it, it show me warning that all existing music will be replace with new itune which is empty. h
    ow can i keep my pervious files of music photos and other files and sync with new installed itune

    Use your backup copy of your computer to put everything back on the computer.

  • HT1338 Updated my imac from 10.6 to 10.8.2 recently. My iphoto logo in my Dock has been replaced with a transparent "question mark" and I can no longer access my iPhotos... please help!!  Mark Howell

    Why can I no longer find my iphotos?  Updated from 10.6 to 10.8.2 recently... The iphoto logo in my dock has been replaced with a transparent, grey, question mark... why? How do I restore my iphotos?  Searched for them in Finder, and in "search"... they appear as text only.. but no photos.. please help.. Mark

    Have you verified that the iPhoto applications is not in the Applications folder or somewhere else on the hard drive? 
    To do so download and use  Find Any File to search for "iPhoto.app" because FAF can search areas that Spotlight can't.  If the application is somewhere else on the HD FAF will find it.  However, I doubt that it will be there but it's worth a search. 
    OT

Maybe you are looking for

  • Business rule to use page member on form

    Hi all, I need to create a business rule which uses a page member on the form. Created a RTP variable and used it in the Rule.Attached the rule and selected "use members on the form" and "Hide Prompt".But, Is still asking for prompt. How to unhide th

  • Get metadata link disabled

    Hello Everyone, I am trying to setup local IdP in my Eclipse. I am following documentation from this link here - SAP HANA Cloud Platform The problem is, as mentioned in the Point 2 in the documentation, I tried configuring a custom Local trust provid

  • Transparent border appears when I use Image Size to shrink an image (bug)

    In CS2 (9.0.2) and CS3 (10.0.1), whenever I shrink an image using Image Size, my layers get a slightly transparent edge. As a game developer, I make tiling textures a lot, and this generally ruins their tiling-ness. Try this: - create a 32x32 image,

  • Rarely Heard Playlist missing after upgraded firmw

    I upgraded my firmware with the latest version (the one releast feb. 8th). The firmware uploaded to my zen micro fine but my micro froze when it was restarting. I took the battery out, put it back in and everything seemed to be fine except my Rarely

  • Doubt in the reserved key words

    hii all jut by mistake i found this unusual SET SERVEROUTPUT ON; DECLARE NUMBER VARCHAR2 (100) := 'Everything''s Fine!';--number used as a variable name BEGIN DBMS_OUTPUT.put_line (NUMBER); END; anonymous block completed Everything's Fine! if replace