Range.Formula not set correctly when filters are applied on sheet

I am using C# for excel add in development and a strange issue is occurring. I am populating the formulas inside the cells as follows:
private void SetFormula(Range range, string[,] formulaMatrix)
range.Formula = formulaMatrix;
This code works fine if no filter is there in the sheet. But if any column (in the given range) has a filter set, then many rows are duplicated with the same value. So for instance, say that formula matrix contains the following:
[0,0] = "A"
[1,0] = "B"
[2,0] = "C"
[3,0] = "D"
[4,0] = "E"
Then, from 3rd row onwards, the value set is "B" only. (specifically 3rd because the next filtered row is 3rd in number)
I searched online about the problem but couldn't find anything.

Hi Harsh,
Base on my test in VS2013 with Excel 2013, it works fine.
These are steps:
Code:
private void button2_Click(object sender, EventArgs e)
string[,] s=new string[4,1];
s[0,0]="A";
s[1,0]="B";
s[2,0]="C";
s[3,0]="D";
SetFormula(this.get_Range("A1", "A4"), s);
private void SetFormula(Excel.Range range, string[,] formulaMatrix)
range.Formula = formulaMatrix;
Click the button to trigger that event, works fine
Clear content (A1:A4)
Apply filter to column A (Data=>Filter)
Click the button to trigger that event, works fine
Could you share a simple project that can reproduce that issue on the OneDrive? 
We will check it.
Best Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Bc4j not behaving correctly when details are repeatedly added/removed

    Hi,
         I'm having problems creating a form with a master detail relationship. Seems like bc4j is not behaving correctly when details with the same keys are repeatedly added and removed.
         I've 3 entities maintenance order, maintenance and maintenance type with the relationships maintenance order 1:n maintenance n:1 maintenance type. My application module data model has one view for each of these entities and a view link between maintenance order and maintenance.
         In the maintenance order form, I can choose which maintenance types apply to a maintenance order by marking checkboxes. The struts action that saves the maintenance order, I remove/add maintenance records base on the selected/unselected checkboxes.
    Sequence of events:
    1) Open maintenance order - Maintenance order shown with all maintenances selected
    2) Uncheck all maintenances and save order - all maintenances removed from db
    3) Open maintenance order - Maintenance order shown with no maintenances selected as expected
    4) Check all maintenances and save order - all maintenances saved to db
    5) Open maintenance order - Maintenance order shown with all maintenances selected as expected
    6) Uncheck all maintenances and save order - NO maintenances removed from db
    7) Open maintenance order - Maintenance order shown with NO maintenances selected, even thought there are maintenances in the db
    8) Check all maintenances and save order - bc4j tried to insert new maintenance records in the db and an exception was raised due to unique constraint violation
    My environment is: Sun JDK 1.4.1_01, JDeveloper 9.0.3.4 (build 1247), testing with the embedded server
    Server log produced with jbo.debugoutput=console:
    [17] BC4J Property jbo.default.language='pt' -->(MetaObjectManager) from System Default
    [18] BC4J Property jbo.default.country='BR' -->(MetaObjectManager) from System Default
    [19] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [20] Skipping empty Property ConnectionMode from System Default
    [21] Skipping empty Property HostName from System Default
    [22] Skipping empty Property ConnectionPort from System Default
    [23] BC4J Property jbo.locking.mode='pessimistic' -->(MetaObjectManager) from System Default
    [24] Skipping empty Property ApplicationPath from System Default
    [25] BC4J Property AppModuleJndiName='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule' -->(SessionImpl) from Client Environment
    [26] Skipping empty Property java.naming.security.principal from System Default
    [27] Skipping empty Property java.naming.security.credentials from System Default
    [28] Skipping empty Property jbo.user.principal from System Default
    [29] Skipping empty Property jbo.object.marshaller from System Default
    [30] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [31] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [32] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [33] Skipping empty Property jbo.pcoll.mgr from System Default
    [34] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
    [35] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
    [36] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
    [37] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [38] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [39] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [40] Skipping empty Property JBODynamicObjectsPackage from System Default
    [41] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [42] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
    [43] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [44] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [45] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [46] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [47] Skipping empty Property HandleName from System Default
    [48] Skipping empty Property Factory-Substitution-List from System Default
    [49] BC4J Property jbo.project='Sinalizacao' -->(Configuration) from Client Environment
    [50] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [51] BC4J Property jbo.dofailover='true' -->(Configuration) from System Default
    [52] BC4J Property jbo.doconnectionpooling='false' -->(Configuration) from System Default
    [53] BC4J Property jbo.recyclethreshold='10' -->(Configuration) from System Default
    [54] BC4J Property jbo.ampool.dynamicjdbccredentials='true' -->(Configuration) from System Default
    [55] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
    [56] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.http.HttpSessionCookieFactory' -->(Configuration) from Client Environment
    [57] BC4J Property jbo.ampool.connectionstrategyclass='oracle.jbo.common.ampool.DefaultConnectionStrategy' -->(Configuration) from System Default
    [58] BC4J Property jbo.ampool.maxpoolsize='2147483647' -->(Configuration) from System Default
    [59] BC4J Property jbo.ampool.initpoolsize='0' -->(Configuration) from System Default
    [60] BC4J Property jbo.ampool.monitorsleepinterval='600000' -->(Configuration) from System Default
    [61] BC4J Property jbo.ampool.minavailablesize='5' -->(Configuration) from System Default
    [62] BC4J Property jbo.ampool.maxavailablesize='25' -->(Configuration) from System Default
    [63] BC4J Property jbo.ampool.maxinactiveage='600000' -->(Configuration) from System Default
    [64] BC4J Property jbo.ampool.doampooling='true' -->(Configuration) from System Default
    [65] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
    [66] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
    [67] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
    [68] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
    [69] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
    [70] BC4J Property jbo.maxpoolcookieage='-1' -->(Configuration) from System Default
    [71] BC4J Property PoolClassName='oracle.jbo.common.ampool.ApplicationPoolImpl' -->(Configuration) from System Default
    [72] BC4J Property jbo.maxpoolsize='2147483647' -->(Configuration) from System Default
    [73] BC4J Property jbo.initpoolsize='0' -->(Configuration) from System Default
    [74] BC4J Property jbo.poolrequesttimeout='30000' -->(Configuration) from System Default
    [75] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(Configuration) from System Default
    [76] BC4J Property jbo.poolminavailablesize='5' -->(Configuration) from System Default
    [77] BC4J Property jbo.poolmaxavailablesize='25' -->(Configuration) from System Default
    [78] BC4J Property jbo.poolmaxinactiveage='600000' -->(Configuration) from System Default
    [79] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [80] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [81] BC4J Property jbo.viewlink.consistent='false' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [82] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [83] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [84] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [85] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [86] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [87] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
    [88] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
    [89] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [90] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
    [91] BC4J Property oracle.jbo.defineColumnLength='as_chars' -->(MetaObjectManager) from System Default
    [92] Skipping empty Property jbo.tmpdir from System Default
    [93] Skipping empty Property jbo.server.internal_connection from System Default
    [94] Skipping empty Property SessionClass from System Default
    [95] Skipping empty Property TransactionFactory from System Default
    [96] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [97] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [98] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [99] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [100] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [101] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [102] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [103] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [104] Skipping empty Property oracle.home from System Default
    [105] Skipping empty Property oc4j.name from System Default
    [106] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [107] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
    [108] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [109] Skipping empty Property oracle.jbo.schema from System Default
    [110] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [111] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
    [112] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
    [113] Skipping empty Property ord.HttpTempDir from System Default
    [114] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [115] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [116] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [117] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [118] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [119] Skipping empty Property ord.rp.codebase from System Default
    [120] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    [121] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [122] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [123] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
    [124] BC4J Property jbo.security.loginmodule='oracle.security.jazn.tools.Admintool' -->(SessionImpl) from System Default
    [125] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
    [126] Copying unknown Client property (DBconnection='jdbc:oracle:thin:@cdsvandromeda:1521:dctm') to session
    [127] Copying unknown Client property (password='kitbordo') to session
    [128] Copying unknown Client property (JDBCName='Kitbordo') to session
    [129] Copying unknown Client property (jbo.jndi.use_default_context='true') to session
    [130] Copying unknown Client property (user='kitbordo') to session
    [131] Copying unknown Client property (jbo.applicationmoduleclassname='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule') to session
    [132] Copying unknown Client property (ApplicationName='br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule') to session
    [133] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
    [134] }} finished loading BC4J properties
    [135] -----------------------------------------------------------
    Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    [136] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [137] JavaVMVersion: 1.4.1_01-b01
    [138] JavaVMVendor: Sun Microsystems Inc.
    [139] JavaVMName: Java HotSpot(TM) Client VM
    [140] OperatingSystemName: Windows 2000
    [141] OperatingSystemVersion: 5.0
    [142] OperatingSystemUsername: Lbueno
    [143] Jbo323Compatible Flag: false, str: false
    [144] Loading from Sinalizacao.jpx file
    [145] Loading from indvidual XML files
    [146] Loading the Containees for the Package 'Sinalizacao.Sinalizacao'.
    [147] Connected to Oracle JBO Server - Version: 9.0.3.11.88
    [148] BC4J: Instrumentation disabled
    [149] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/service/service.xml file
    [150] Loading from indvidual XML files
    [151] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.service'.
    [152] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/service/CadastroDeManutencaoModule.xml file
    [153] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/view.xml file
    [154] Loading from indvidual XML files
    [155] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.view'.
    [156] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/TipoManutencaoBoiaView.xml file
    [157] ViewObjectImpl's default fetch mode = 0
    [158] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/entity.xml file
    [159] Loading from indvidual XML files
    [160] Loading the Containees for the Package 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.entity.entity'.
    [161] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/TipoManutencaoBoiaEntity.xml file
    [162] Loading Typemap entries from oracle.jbo.common.OracleTypeMapEntries
    [163] Stringmanager using default locale: 'pt_BR'
    [164] CSMessageBundle (language base) being initialized
    [165] OracleSQLBuilder reached getInterface
    [166] Oracle SQL Builder Version 3.2.0.0.0
    [167] ViewRowSetImpl's jbo.viewlink.consistent = false (0)
    [168] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/BoiasPorCanalView.xml file
    [169] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/BoiaEntity.xml file
    [170] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/HistoricoManutencaoBoiaView.xml file
    [171] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/HistoricoManutencaoBoiaEntity.xml file
    [172] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/ManutencaoBoiaView.xml file
    [173] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/ManutencaoBoiaEntity.xml file
    [174] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/ManutencaoBoiaViewLink.xml file
    [175] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/ManutencaoBoiaAssociation.xml file
    [176] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    [177] mUsePersColl is false
    [178] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [179] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [180] DBTransactionImpl Max Cursors is 50
    [181] Created root application module: 'br.com.cvrd.logistica.kitbordo.sinalizacao.model.service.CadastroDeManutencaoModule'
    [182] Locale is: 'pt_BR'
    [183] DefaultConnectionStrategy is establishing an application module connection
    [184] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [185] Creating a new pool resource
    [186] Trying connection/2: url='jdbc:oracle:thin:@cdsvandromeda:1521:dctm' info='{user=kitbordo, password=kitbordo}' ...
    [187] Successfully logged in
    [188] JDBCDriverVersion: 9.0.1.4.0
    [189] DatabaseProductName: Oracle
    [190] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production
    [191] **PCollManager.resolveName** tabName=PS_TXN
    [192] **retrieve** id=-1, collid=6838, keyonly=falseGetting a connection for internal use...
    [193] Creating internal connection...
    [194] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [195] Creating a new pool resource
    [196] Trying connection/2: url='jdbc:oracle:thin:@cdsvandromeda:1521:dctm' info='{user=kitbordo, password=kitbordo, dll=ocijdbc9, protocol=thin}' ...
    [197] , parid=0, ret=oracle.jdbc.driver.OracleBlobInputStream
    [198] stmt: select parentId, content from "PS_TXN" where id=:1 and collid=:2
    [199] **retrieve** id=1, collid=6838, keyonly=false, parid=-1, ret=oracle.jdbc.driver.OracleBlobInputStream
    [200] stmt: select parentId, content from "PS_TXN" where id=:1 and collid=:2
    [201] Clearing VO cache for TipoManutencaoBoiaView
    [202] Clear QueryCollection in cache...
    [203] Clearing VO cache for BoiasPorCanalView
    [204] Clear QueryCollection in cache...
    [205] Clearing VO cache for HistoricoManutencaoBoiaView
    [206] Clear QueryCollection in cache...
    [207] Getting a connection for internal use...
    [208] Creating internal connection...
    [209] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [210] Clearing VO cache for BoiasPorCanalView
    [211] Clear QueryCollection in cache...
    07/09/2004 12:07:51 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.actions.LocalStrings', returnNull=true
    [212] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/view/HistoricoManutencaoViewLink.xml file
    [213] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/HistoricoDeManutencaoDeBoiaAssociation.xml file
    [214] Column count: 23
    [215] ViewObject : Created new QUERY statement
    [216] SELECT Boia.H55SCANA, Boia.H55CODBO, Boia.H55LATGR, Boia.H55LATMI, Boia.H55LATSE, Boia.H55INDLA, Boia.H55VALEX, Boia.H55LONGR, Boia.H55LONMI, Boia.H55LONSE, Boia.H55INDLO, Boia.H55VALEY, Boia.H55CORLP, Boia.H55REMOV, Boia.H55NRORD, Boia.H55PROJE, Boia.H55PINTU, Boia.H55CARAC, Boia.H55EQLUM, Boia.H55FOLUM, Boia.H55EQFUN, Boia.H55EQMON FROM H55BOIAT Boia WHERE Boia.H55SCANA = :1
    [217] Binding param 1: 21
    [218] Clearing VO cache for TipoManutencaoBoiaView
    [219] Clear QueryCollection in cache...
    [220] Column count: 2
    [221] ViewObject : Created new QUERY statement
    [222] SELECT TipoManutencaoBoiaEntity.H5PSTPMB, TipoManutencaoBoiaEntity.H5PNOMAN FROM H5PTPMBT TipoManutencaoBoiaEntity ORDER BY TipoManutencaoBoiaEntity.H5PNOMAN ASC
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    [223] Application Module failover is enabled
    [224] Getting a connection for internal use...
    [225] Creating internal connection...
    [226] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [227] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" im="1" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    07/09/2004 12:07:52 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [228] **insert** id=1, parid=-1, collid=6844, keyArr.len=-1, cont.len=1043
    [229] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [230] **commit** #pending ops=1
    [231] **insert** id=-1, parid=0, collid=6844, keyArr.len=-1, cont.len=665
    [232] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [233] **commit** #pending ops=1
    [234] Getting a connection for internal use...
    [235] Creating internal connection...
    [236] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [237] **deleteAll** collid=6838
    [238] stmt: delete "PS_TXN" where collid=:1
    [239] **commit** #pending ops=1
    [240] Reusing a cached session application module instance
    [241] Getting a connection for internal use...
    [242] Creating internal connection...
    [243] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [244] Column count: 5
    [245] ViewObject : Created new QUERY statement
    [246] SELECT HistoricoManutencaoBoia.H56CODBO, HistoricoManutencaoBoia.H56DTMAN, HistoricoManutencaoBoia.H56DESCR, HistoricoManutencaoBoia.H56SCANA FROM H56HIMAT HistoricoManutencaoBoia WHERE HistoricoManutencaoBoia.H56CODBO = ? and HistoricoManutencaoBoia.H56SCANA = ?
    [247] Binding param 1: XPPP
    [248] Binding param 2: 21
    [249] Clearing VO cache for HistoricoManutencaoBoiaView
    [250] Clear QueryCollection in cache...
    [251] Column count: 5
    [252] ViewObject : Reusing defined prepared Statement
    [253] Binding param 1: XPPP
    [254] Binding param 2: 21
    [255] Application Module failover is enabled
    [256] Getting a connection for internal use...
    [257] Creating internal connection...
    [258] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [259] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [260] **insert** id=1, parid=-1, collid=6847, keyArr.len=-1, cont.len=1036
    [261] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [262] **commit** #pending ops=1
    [263] **insert** id=-1, parid=0, collid=6847, keyArr.len=-1, cont.len=665
    [264] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [265] **commit** #pending ops=1
    [266] Getting a connection for internal use...
    [267] Creating internal connection...
    [268] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [269] **deleteAll** collid=6844
    [270] stmt: delete "PS_TXN" where collid=:1
    [271] **commit** #pending ops=1
    [272] Reusing a cached session application module instance
    [273] Getting a connection for internal use...
    [274] Creating internal connection...
    [275] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [276] Column count: 6
    [277] ViewObject close prepared statements...
    [278] ViewObject : Created new QUERY statement
    [279] SELECT ManutencaoBoiaEntity.H6ASCANA, ManutencaoBoiaEntity.H6ACODBO, ManutencaoBoiaEntity.H6ADTMAN, ManutencaoBoiaEntity.H6ASTPMB, TipoManutencaoBoiaEntity.H5PSTPMB AS CODIGO_TIPO_MANUTENCAO_BOIA1, TipoManutencaoBoiaEntity.H5PNOMAN FROM H6AMABOT ManutencaoBoiaEntity, H5PTPMBT TipoManutencaoBoiaEntity WHERE (ManutencaoBoiaEntity.H6ASCANA = :1 AND ManutencaoBoiaEntity.H6ACODBO = :2 AND ManutencaoBoiaEntity.H6ADTMAN = :3)
    [280] Binding param 1: 21
    [281] Binding param 2: XPPP
    [282] Binding param 3: 2004-06-02
    07/09/2004 12:08:19 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    [283] Application Module failover is enabled
    [284] Getting a connection for internal use...
    [285] Creating internal connection...
    [286] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [287] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDAT07/09/2004 12:08:19 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    07/09/2004 12:08:20 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    A[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [288] **insert** id=1, parid=-1, collid=6849, keyArr.len=-1, cont.len=1036
    [289] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [290] **commit** #pending ops=1
    [291] **insert** id=-1, parid=0, collid=6849, keyArr.len=-1, cont.len=665
    [292] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [293] **commit** #pending ops=1
    [294] Getting a connection for internal use...
    [295] Creating internal connection...
    [296] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [297] **deleteAll** collid=6847
    [298] stmt: delete "PS_TXN" where collid=:1
    [299] **commit** #pending ops=1
    [300] Reusing a cached session application module instance
    [301] Getting a connection for internal use...
    [302] Creating internal connection...
    [303] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [304] OracleSQLBuilder Executing Select on: H56HIMAT (true)
    [305] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
    [306] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
    [307] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/RelatoriosSetorSinalizacaoNauticaBoiaAssociation.xml file
    [308] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/RelatorioSetorSinalizacaoNauticaEntity.xml file
    [309] OracleSQLBuilder Executing Select on: H55BOIAT (true)
    [310] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
    [311] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
    [312] Loading from /br/com/cvrd/logistica/kitbordo/sinalizacao/model/entity/TipoManutencaoBoiaAssociation.xml file
    [313] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [314] Built select: 'SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity'
    [315] Executing LOCK...SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4 FOR UPDATE NOWAIT
    [316] QueryCollection: afterRemove(0)
    [317] ViewRowCache: removeReference
    [318] ViewRowCache: removeReference
    [319] QueryCollection: afterRemove(5)
    [320] ViewRowCache: removeReference
    [321] ViewRowCache: removeReference
    [322] QueryCollection: afterRemove(10)
    [323] ViewRowCache: removeReference
    [324] ViewRowCache: removeReference
    [325] QueryCollection: afterRemove(15)
    [326] ViewRowCache: removeReference
    [327] ViewRowCache: removeReference
    [328] QueryCollection: afterRemove(20)
    [329] ViewRowCache: removeReference
    [330] ViewRowCache: removeReference
    [331] QueryCollection: afterRemove(25)
    [332] ViewRowCache: removeReference
    [333] ViewRowCache: removeReference
    [334] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [335] Reusing prepared LOCK statement
    [336] QueryCollection: afterRemove(0)
    [337] ViewRowCache: removeReference
    [338] ViewRowCache: removeReference
    [339] QueryCollection: afterRemove(4)
    [340] ViewRowCache: removeReference
    [341] ViewRowCache: removeReference
    [342] QueryCollection: afterRemove(8)
    [343] ViewRowCache: removeReference
    [344] ViewRowCache: removeReference
    [345] QueryCollection: afterRemove(12)
    [346] ViewRowCache: removeReference
    [347] ViewRowCache: removeReference
    [348] QueryCollection: afterRemove(16)
    [349] ViewRowCache: removeReference
    [350] ViewRowCache: removeReference
    [351] QueryCollection: afterRemove(20)
    [352] ViewRowCache: removeReference
    [353] ViewRowCache: removeReference
    [354] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [355] Reusing prepared LOCK statement
    [356] QueryCollection: afterRemove(0)
    [357] ViewRowCache: removeReference
    [358] ViewRowCache: removeReference
    [359] QueryCollection: afterRemove(3)
    [360] ViewRowCache: removeReference
    [361] ViewRowCache: removeReference
    [362] QueryCollection: afterRemove(6)
    [363] ViewRowCache: removeReference
    [364] ViewRowCache: removeReference
    [365] QueryCollection: afterRemove(9)
    [366] ViewRowCache: removeReference
    [367] ViewRowCache: removeReference
    [368] QueryCollection: afterRemove(12)
    [369] ViewRowCache: removeReference
    [370] ViewRowCache: removeReference
    [371] QueryCollection: afterRemove(15)
    [372] ViewRowCache: removeReference
    [373] ViewRowCache: removeReference
    [374] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [375] Reusing prepared LOCK statement
    [376] QueryCollection: afterRemove(0)
    [377] ViewRowCache: removeReference
    [378] ViewRowCache: removeReference
    [379] QueryCollection: afterRemove(2)
    [380] ViewRowCache: removeReference
    [381] ViewRowCache: removeReference
    [382] QueryCollection: afterRemove(4)
    [383] ViewRowCache: removeReference
    [384] ViewRowCache: removeReference
    [385] QueryCollection: afterRemove(6)
    [386] ViewRowCache: removeReference
    [387] ViewRowCache: removeReference
    [388] QueryCollection: afterRemove(8)
    [389] ViewRowCache: removeReference
    [390] ViewRowCache: removeReference
    [391] QueryCollection: afterRemove(10)
    [392] ViewRowCache: removeReference
    [393] ViewRowCache: removeReference
    [394] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [395] Reusing prepared LOCK statement
    [396] QueryCollection: afterRemove(0)
    [397] ViewRowCache: removeReference
    [398] ViewRowCache: removeReference
    [399] QueryCollection: afterRemove(1)
    [400] ViewRowCache: removeReference
    [401] ViewRowCache: removeReference
    [402] QueryCollection: afterRemove(2)
    [403] ViewRowCache: removeReference
    [404] ViewRowCache: removeReference
    [405] QueryCollection: afterRemove(3)
    [406] ViewRowCache: removeReference
    [407] ViewRowCache: removeReference
    [408] QueryCollection: afterRemove(4)
    [409] ViewRowCache: removeReference
    [410] ViewRowCache: removeReference
    [411] QueryCollection: afterRemove(5)
    [412] ViewRowCache: removeReference
    [413] ViewRowCache: removeReference
    [414] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [415] Reusing prepared LOCK statement
    [416] QueryCollection: afterRemove(0)
    [417] ViewRowCache: removeReference
    [418] ViewRowCache: removeReference
    [419] QueryCollection: afterRemove(0)
    [420] ViewRowCache: removeReference
    [421] ViewRowCache: removeReference
    [422] QueryCollection: afterRemove(0)
    [423] ViewRowCache: removeReference
    [424] ViewRowCache: removeReference
    [425] QueryCollection: afterRemove(0)
    [426] ViewRowCache: removeReference
    [427] ViewRowCache: removeReference
    [428] QueryCollection: afterRemove(0)
    [429] ViewRowCache: removeReference
    [430] ViewRowCache: removeReference
    [431] QueryCollection: afterRemove(0)
    [432] ViewRowCache: removeReference
    [433] ViewRowCache: removeReference
    [434] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
    [435] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
    [436] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [437] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [438] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [439] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [440] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [441] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [442] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [443] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [444] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [445] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [446] OracleSQLBuilder Executing DML on: H6AMABOT (Deletar)
    [447] DELETE FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4
    [448] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [449] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [450] TipoManutencaoBoiaView notify COMMIT ...
    [451] BoiasPorCanalView notify COMMIT ...
    [452] HistoricoManutencaoBoiaView notify COMMIT ...
    [453] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
    [454] EntityCache close prepared statement
    [455] EntityCache close prepared statement
    [456] EntityCache close prepared statement
    [457] Clearing VO cache for BoiasPorCanalView
    [458] Clear QueryCollection in cache...
    [459] Column count: 23
    [460] ViewObject : Reusing defined prepared Statement
    [461] Binding param 1: 21
    [462] Clearing VO cache for TipoManutencaoBoiaView
    [463] Clear QueryCollection in cache...
    [464] Column count: 2
    [465] ViewObject : Reusing defined prepared Statement
    [466] Application Module failover is enabled
    [467] Getting a connection for internal use...
    [468] Creating internal connection...
    [469] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [470] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [471] **insert** id=1, parid=-1, collid=6850, keyArr.len=-1, cont.len=1036
    [472] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [473] **commit** #pending ops=1
    [474] **insert** id=-1, parid=0, collid=6850, keyArr.len=-1, cont.len=665
    [475] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [476] **commit** #pending ops=1
    [477] Getting a connection for internal use...
    [478] Creating internal connection...
    [479] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [480] **deleteAll** collid=6849
    [481] stmt: delete "PS_TXN" where collid=:1
    [482] **commit** #pending ops=1
    [483] Reusing a cached session application module instance
    [484] Getting a connection for internal use...
    [485] Creating internal connection...
    [486] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [487] Application Module failover is enabled
    [488] Getting a connection for internal use...
    [489] Creating internal connection...
    [490] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [491] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [492] **insert** id=1, parid=-1, collid=6851, keyArr.len=-1, cont.len=1036
    [493] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [494] **commit** #pending ops=1
    [495] **insert** id=-1, parid=0, collid=6851, keyArr.len=-1, cont.len=665
    [496] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [497] **commit** #pending ops=1
    [498] Getting a connection for internal use...
    [499] Creating internal connection...
    [500] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [501] **deleteAll** collid=6850
    [502] stmt: delete "PS_TXN" where collid=:1
    [503] **commit** #pending ops=1
    [504] Reusing a cached session application module instance
    [505] Getting a connection for internal use...
    [506] Creating internal connection...
    [507] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [508] OracleSQLBuilder Executing Select on: H56HIMAT (true)
    [509] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
    [510] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
    [511] OracleSQLBuilder Executing Select on: H55BOIAT (true)
    [512] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
    [513] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
    [514] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
    [515] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
    [516] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [517] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [518] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [519] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [520] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [521] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [522] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [523] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [524] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [525] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [526] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [527] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [528] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [529] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [530] TipoManutencaoBoiaView notify COMMIT ...
    [531] BoiasPorCanalView notify COMMIT ...
    [532] HistoricoManutencaoBoiaView notify COMMIT ...
    [533] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
    [534] EntityCache close prepared statement
    [535] EntityCache close prepared statement
    [536] Clearing VO cache for BoiasPorCanalView
    [537] Clear QueryCollection in cache...
    [538] Column count: 23
    [539] ViewObject : Reusing defined prepared Statement
    [540] Binding param 1: 21
    [541] Clearing VO cache for TipoManutencaoBoiaView
    [542] Clear QueryCollection in cache...
    [543] Column count: 2
    [544] ViewObject : Reusing defined prepared Statement
    [545] Application Module failover is enabled
    [546] Getting a connection for internal use...
    [547] Creating internal connection...
    [548] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [549] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [550] **insert** id=1, parid=-1, collid=6853, keyArr.len=-1, cont.len=1036
    [551] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [552] **commit** #pending ops=1
    [553] **insert** id=-1, parid=0, collid=6853, keyArr.len=-1, cont.len=665
    [554] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [555] **commit** #pending ops=1
    [556] Getting a connection for internal use...
    [557] Creating internal connection...
    [558] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [559] **deleteAll** collid=6851
    [560] stmt: delete "PS_TXN" where collid=:1
    [561] **commit** #pending ops=1
    [562] Reusing a cached session application module instance
    [563] Getting a connection for internal use...
    [564] Creating internal connection...
    [565] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [566] Application Module failover is enabled
    [567] Getting a connection for internal use...
    [568] Creating internal connection...
    [569] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [570] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [571] **insert** id=1, parid=-1, collid=6854, keyArr.len=-1, cont.len=1036
    [572] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [573] **commit** #pending ops=1
    [574] **insert** id=-1, parid=0, collid=6854, keyArr.len=-1, cont.len=665
    [575] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [576] **commit** #pending ops=1
    [577] Getting a connection for internal use...
    [578] Creating internal connection...
    [579] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [580] **deleteAll** collid=6853
    [581] stmt: delete "PS_TXN" where collid=:1
    [582] **commit** #pending ops=1
    [583] Reusing a cached session application module instance
    [584] Getting a connection for internal use...
    [585] Creating internal connection...
    [586] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [587] OracleSQLBuilder Executing Select on: H56HIMAT (true)
    [588] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
    [589] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
    [590] OracleSQLBuilder Executing Select on: H55BOIAT (true)
    [591] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
    [592] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
    [593] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [594] Built select: 'SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity'
    [595] Executing LOCK...SELECT H6ASCANA, H6ACODBO, H6ADTMAN, H6ASTPMB FROM H6AMABOT ManutencaoBoiaEntity WHERE H6ASCANA=:1 AND H6ACODBO=:2 AND H6ADTMAN=:3 AND H6ASTPMB=:4 FOR UPDATE NOWAIT
    [596] QueryCollection: afterRemove(0)
    [597] ViewRowCache: removeReference
    [598] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [599] Reusing prepared LOCK statement
    [600] QueryCollection: afterRemove(0)
    [601] ViewRowCache: removeReference
    [602] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [603] Reusing prepared LOCK statement
    [604] QueryCollection: afterRemove(0)
    [605] ViewRowCache: removeReference
    [606] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [607] Reusing prepared LOCK statement
    [608] QueryCollection: afterRemove(0)
    [609] ViewRowCache: removeReference
    [610] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [611] Reusing prepared LOCK statement
    [612] QueryCollection: afterRemove(0)
    [613] ViewRowCache: removeReference
    [614] OracleSQLBuilder Executing Select on: H6AMABOT (true)
    [615] Reusing prepared LOCK statement
    [616] QueryCollection: afterRemove(0)
    [617] ViewRowCache: removeReference
    [618] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
    [619] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
    [620] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [621] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [622] TipoManutencaoBoiaView notify COMMIT ...
    [623] BoiasPorCanalView notify COMMIT ...
    [624] HistoricoManutencaoBoiaView notify COMMIT ...
    [625] ManutencaoBoiaEntity_ManutencaoBoiaAssociation_ManutencaoBoiaView notify COMMIT ...
    [626] EntityCache close prepared statement
    [627] EntityCache close prepared statement
    [628] EntityCache close prepared statement
    [629] Clearing VO cache for BoiasPorCanalView
    [630] Clear QueryCollection in cache...
    [631] Column count: 23
    [632] ViewObject : Reusing defined prepared Statement
    [633] Binding param 1: 21
    [634] Clearing VO cache for TipoManutencaoBoiaView
    [635] Clear QueryCollection in cache...
    [636] Column count: 2
    [637] ViewObject : Reusing defined prepared Statement
    [638] Application Module failover is enabled
    [639] Getting a connection for internal use...
    [640] Creating internal connection...
    [641] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [642] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [643] **insert** id=1, parid=-1, collid=6855, keyArr.len=-1, cont.len=1036
    [644] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [645] **commit** #pending ops=1
    [646] **insert** id=-1, parid=0, collid=6855, keyArr.len=-1, cont.len=665
    [647] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [648] **commit** #pending ops=1
    [649] Getting a connection for internal use...
    [650] Creating internal connection...
    [651] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [652] **deleteAll** collid=6854
    [653] stmt: delete "PS_TXN" where collid=:1
    [654] **commit** #pending ops=1
    [655] Reusing a cached session application module instance
    [656] Getting a connection for internal use...
    [657] Creating internal connection...
    [658] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [659] Application Module failover is enabled
    [660] Getting a connection for internal use...
    [661] Creating internal connection...
    [662] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [663] <AM MomVer="0">
    <cd/>
    <TXN Def="0" New="0" Lok="1"/>
    <VO>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.TipoManutencaoBoiaView" Name="TipoManutencaoBoiaView"/>
    <VO It="1" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.BoiasPorCanalView" Name="BoiasPorCanalView">
    <args ct="1">
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    <VO It="1" Sz="10" St="0" ac="0" Def="br.com.cvrd.logistica.kitbordo.sinalizacao.model.view.HistoricoManutencaoBoiaView" Name="HistoricoManutencaoBoiaView">
    <args ct="2">
    <arg>
    <![CDATA[XPPP ]]>
    </arg>
    <arg>
    <![CDATA[21]]>
    </arg>
    </args>
    </VO>
    </VO>
    </AM>
    [664] **insert** id=1, parid=-1, collid=6856, keyArr.len=-1, cont.len=1036
    [665] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [666] **commit** #pending ops=1
    [667] **insert** id=-1, parid=0, collid=6856, keyArr.len=-1, cont.len=665
    [668] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [669] **commit** #pending ops=1
    [670] Getting a connection for internal use...
    [671] Creating internal connection...
    [672] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [673] **deleteAll** collid=6855
    [674] stmt: delete "PS_TXN" where collid=:1
    [675] **commit** #pending ops=1
    [676] Reusing a cached session application module instance
    [677] Getting a connection for internal use...
    [678] Creating internal connection...
    [679] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [680] OracleSQLBuilder Executing Select on: H56HIMAT (true)
    [681] Built select: 'SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity'
    [682] Executing LOCK...SELECT H56CODBO, H56DTMAN, H56DESCR, H56SCANA FROM H56HIMAT HistoricoManutencaoBoiaEntity WHERE H56CODBO=:1 AND H56DTMAN=:2 AND H56SCANA=:3 FOR UPDATE NOWAIT
    [683] OracleSQLBuilder Executing Select on: H55BOIAT (true)
    [684] Built select: 'SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity'
    [685] Executing LOCK...SELECT H55SCANA, H55CODBO, H55LATGR, H55LATMI, H55LATSE, H55INDLA, H55VALEX, H55LONGR, H55LONMI, H55LONSE, H55INDLO, H55VALEY, H55CORLP, H55REMOV, H55NRORD, H55PROJE, H55PINTU, H55CARAC, H55EQLUM, H55FOLUM, H55EQFUN, H55EQMON FROM H55BOIAT BoiaEntity WHERE H55SCANA=:1 AND H55CODBO=:2 FOR UPDATE NOWAIT
    [686] EntityCache:add WARNING - a new row with a key equal to a removed row
    [687] EntityCache:add WARNING - a new row with a key equal to a removed row
    [688] EntityCache:add WARNING - a new row with a key equal to a removed row
    [689] EntityCache:add WARNING - a new row with a key equal to a removed row
    [690] EntityCache:add WARNING - a new row with a key equal to a removed row
    [691] EntityCache:add WARNING - a new row with a key equal to a removed row
    [692] OracleSQLBuilder Executing DML on: H56HIMAT (Atualizar)
    [693] BEGIN UPDATE H56HIMAT HistoricoManutencaoBoiaEntity SET H56CODBO=:1,H56DTMAN=:2,H56DESCR=:3 WHERE H56CODBO=:4 AND H56DTMAN=:5 AND H56SCANA=:6 RETURNING H56CODBO INTO :7; END;
    [694] OracleSQLBuilder Executing DML on: H6AMABOT (Inserir)
    [695] BEGIN INSERT INTO H6AMABOT(H6ASCANA,H6ACODBO,H6ADTMAN,H6ASTPMB) VALUES (:1,:2,:3,:4) RETURNING H6ACODBO INTO :5; END;
    [696] OracleSQLBuilderImpl.doEntityDML failed...
    [697] X/Open SQL State is: 23000
    [698] java.sql.SQLException: ORA-00001: restrição exclusiva (KITBORDO.PK_H6AMABOT) violada
    ORA-06512: em line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:187)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:241)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1477)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:888)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2004)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1924)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2562)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:452)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:526)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:370)
     

    Hi Sung, Thanks for your reply.
    Leonardo:
    If I understand your msg correctly, I'm wondering if
    the data model as you described is complete.
    You state that you have MaintenanceType, Maintenance,
    and MaintenanceOrder, but don't you need
    MaintenanceOrderLine?MaintenanceOrderLine is what I'm calling Maintenance. A Maintenace record is used just to link a MaintenanceOrder to a MaintenanceType
    >
    Otherwise, you say that you removed all Maintenance's
    in step 2). How did you form a list of all
    Maintenance's in step 4)? How do you form this
    list?
    was raised due to unique constraint violationAt step 3) I'm using a view object, MaintenanceTypeView, to create a list of checkboxes, one for each MaintenanceType.
    At step 4), for each MaintenanceType selected in the form, I'm creating a new Maintenance using:
    //All codes of maintenance types, that already have a
    //respective maintenance record in the db, have already
    //been remove from the maintenancesToInsert list at this
    //point
    for (Iterator iter = maintenancesToInsert.iterator(); iter.hasNext();) {
    MaintenanceViewRow maintenanceRow = (MaintenanceViewRow) maintenanceView.createRow();
    maintenanceRow.setMaintenanceTypeCode(Integer.valueOf((String)iter.next()));
    maintenanceView.insertRow(maintenanceRow);
    >
    Sung

  • Group not resizing correctly when contents are moved programmatically

    Hi there,
    My apologies in advance if this is a known issue. I searched the forums but I was unable to find a discussion about this topic. The issue we are running into is when we programmatically move the contents of a Group which is in turn enclosed within a Scroller beyond the Scroller's limits the position of the Group within the stage is incorrectly calculated. This will cause mouseEvents in the area beyond the Group's limits to be "ignored" among other problems.
    I have created an application to illustrate the problem, we are in 4.1:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application
        minWidth="955" minHeight="600"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                private function onGroupClick(event:MouseEvent):void
                    Alert.show("It works");
                private function onButtonClick(event:MouseEvent):void
                    rect.x += 500;
                    rect.y += 500;
            ]]>
        </fx:Script>
        <s:Scroller
            width="100%" height="100%">
            <s:Group id="myGroup"
                width="100%" height="100%"
                click="onGroupClick(event)">
                <s:Rect id="rect"
                    x="0" y="0" width="10" height="10"/>
            </s:Group>
        </s:Scroller>
        <s:Button
            label="Move Rectangle"
            click="onButtonClick(event)"/>
    </s:Application>
    Steps to reproduce:
    Click anywhere in the screen - notice that an alert that reads "It works" shows up.
    Click on the "Move Rectangle" button enough times for the coordinates of the Rectangle to exceed the limits of the Scroller, hence producing scroll bars.
    Scroll all the way to the right and to the bottom.
    Click right next to the right bottom corner - notice that no alert is displayed. The reason is the Group has not resized correctly hence we are actually clicking outside the Group. Resizing your browser window for example will cause the Group to resize and events will again "work". FlexSpy will make things pretty apparent as well.
    Any pointers regarding where this bug lives in the source code or suggestions on how to fix this would be greatly appreciated, this issue is causing us a lot of pain.
    Thanks in advance!!
    ~ TheMadPenguin

    Thanks for logging this in the bugbase: https://bugs.adobe.com/jira/browse/SDK-29112. The latest comments there say:
    Reproduced in 4.0.0, 4.1.0
    Confirmed fixed in 4.5.0.19764
    A workaround for the 4.0.0 and 4.1.0 release would be to put the click handler on the Scroller instead of the viewport.
    Note: This bug seems to be fixed, but the fact that the width/height of  the Group doesn't change is still consistent (and correct).  Group has a  concept of size and content size, scrolling is enabled when the content  size is larger than the size (with Group.clipAndEnableScrolling set to  true which Scroller sets automatically).
    See this spec for more details: http://opensource.adobe.com/wiki/display/flexsdk/Spark+Viewport
    Hans has a good article here: http://hansmuller-flex.blogspot.com/
    Here's a simple example that demonstrates width does not change:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> 
         <s:Scroller width="100" height="100"> 
             <s:Group id="viewport"> 
                 <s:Rect width="100%" height="100%">
                     <s:fill><s:SolidColor color="red" /></s:fill>
                 </s:Rect>
                 <s:Button id="btn" label="out of view" y="150" click="btn.y += 50" />
             </s:Group> 
         </s:Scroller>
    </s:Application> 
    You might expect that this example should have a red background behind  the Button, but it does not.  That is because width/height of 100% on  the Rect is 100% of the width/height of the viewport, not the  contentWidth/contentHeight.
    One way of getting the behavior where the Rect expands across the whole content size would be to bind to contentHeight:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> 
         <s:Scroller width="100" height="100"> 
             <s:Group id="viewport"> 
                 <s:Rect width="100%" height="{viewport.contentHeight}">
                     <s:fill><s:SolidColor color="red" /></s:fill>
                 </s:Rect>
                 <s:Button id="btn" label="out of view" y="150" click="btn.y += 50" />
             </s:Group> 
         </s:Scroller>
    </s:Application> 
    Note: You shouldn't specify or change the size of the viewport Group  inside of a Scroller.  The Scroller component manages the size of the  Group in a specific way and if the Group has a size that conflicts with  that then you can get into a bad situation that might cause infinite  loops.  Notice in my example the viewport Group has no size set on it.
    Thanks to SDK QE for the info!
    -Heidi

  • Formula claculation in query is not summing correctly when details are remo

    have a report that totals 2 columns together and is at the work center level. when I remove the details the totals are wrong but when I show them it comes over correctly. Here is the scenario
    work center column a column b sum a+b
    XXX 2 2 4
    the details however bring in 3 and 5 & 8 for columns respectively. Why would the work center level be wrong. do I need to do anything special in my formula?

    Hi,
    Do you mean the<i> calculate result as propety</i> set to standard Deviation for those KF ? If so , we can not expect as how it would be if we select <i>summation</i>  for <i> calculate result as propety</i> .
    With rgds,
    Anil Kumar Sharma .P

  • Outer join not working when filters are applied from Prompts

    Hi,
    Without values being selected from the dashboard prompts, my outer join is working fine with all the rows and all the columns showing up( as per requirement). But as soon as I select values in the prompts, only certain rows and columns show up.
    BTW, I have 2 prompts Year and Quarter. I put Year is Prompted or is null in the criteria. It works. BUT as soon as I also put in quarter numbers, it does not work.
    Is there a workaround for this?
    Thanks,
    Dan
    Edited by: Danny on Apr 26, 2013 12:10 PM

    I just experimented by adding is null to not only the year and quarter but to the row and column too and it worked!
    Thanks,
    Dan

  • The maximize/minimize and close and buttons are not shown correctly when FF windows is maximized.

    I have the same problem on all my computers, one running Windows 7 and two with Vista.
    The three buttons in the upper right corner of the FF windows are not shown correctly. They are soft of cut off in the middle when the FF window is maximized.

    It is possible that the screen is too wide or too high and that the scroll bars fall off.<br />
    Open the system menu via Alt+Space and see if you can resize that window.<br />
    If that works then close Firefox to save that setting.<br />
    See also:
    * http://kb.mozillazine.org/Resizing_oversize_window
    Window sizes and positions are stored in [http://kb.mozillazine.org/localstore.rdf localstore.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder].
    See http://kb.mozillazine.org/Corrupt_localstore.rdf

  • MFL: The dependency is not configured in schema resource. Possible reason one or more import/include is not set   correctly.

    HI Friends,
    I have a created a MFL to transform XML to Non XML format. When am generating a XSD out of this MFL am getting this Error:
    The dependency is not configured in schema resource. Possible reason one or more import/include is not set
    correctly.
    Here is the snippet of the XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl"/>........
    Later Part i have searched for mfl.xsd in com.bea.wli.core.mflengine_1.x.x.x.jar in my.........../Oracle_OSB1/modules  and imorted this XSD into my eclipse workspace.
    Then i added the schemalocation attribute to the Import element. which looks something like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl" schemaLocation="../../mfl.xsd" />......
    After doing these changes also am getting the same error... can anyone help me out of this????

    Hi Arun,
    Also in SB console we can refer xsds from other projects but again OEPE doesnt seem to support that we will have to make duplicate copies of the resources in each project.It is not like that if you are using OEPE then you can not refer resources from other projects. Just what you need to do is that give relative path of the resource which is there in the file system. It does not matter that to which project it belongs. Yes, now with OEPE, you have to do this manually.
    Regards,
    Anuj

  • SharePont 2013 Document Library lookup Column Properties not Showing Correctly when editing in Word

    Hi
    I keep seeing this issue albeit intermittently.  I have set up a doc library for my users which has a custom content type (lookup, metadata columns, etc)  . They all appear perfectly most of the time except the lookup column. Sometimes is just
    decides to display the title field of the current library and not the lookup list title .  It is weird as it has been working perfectly for ages given the library is populated with valid documents.
    There are some fixes listed here. Has anyone got any experience of this?
    https://social.msdn.microsoft.com/Forums/azure/en-US/e0b55531-509c-4219-8113-61b3e488de69/document-library-metadata-properties-of-a-content-type-do-not-show-correctly-when-editing-in-word?forum=sharepointdevelopmentprevious
    Freelance consultant

    Hi,
    According to your post, my understanding is that the lookup  column not display well while editing in word.
    Did you customize the Document Information Panel?
    I recommend you edit your custom document information panel or create a new document information panel, then re-publish it to check whether it works.
    https://support.office.com/en-gb/article/Create-or-edit-a-custom-Document-Information-Panel-for-a-content-type-b701a9af-3ea6-4c1a-9e1c-75363bd987c9?ui=en-US&rs=en-GB&ad=GB
    Or you can also use the methods in the post you have pasted to check whether it works.
    As the limitation of the environment, we could not reproduce the issue in our environment.
    I  would suggest you open a case to Microsoft Customer Service via Phone.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Type2 SCD attributes not shown correctly across subject areas

    User259188     
    March 21, 2012 2:04 AM
    Type2 SCD attributes not shown correctly across subject areas
    Hi,
    The issue is that Type2 SCD attributes are showing the old value when used outside the domain of Type2 SCD dimension.
    For example, if we try to display the value of Type2 SCD attribute from Contact dimension in Opportunities subject area we get the old value instead of current one.
    The reason is that Revenue fact table which is used between Contact and Opportunities dimensions is keeping the old value of Contact ROW_WID.
    Is there a suggested / recommended approach on how to solve this ?
    Would adding the Contact INTEGRATION_ID in Revenue fact table and using it for join instead of ROW_WID, while filtering out on current flag be a best practice ?
    Please advise
    Boris

    Hi Boris,
    to understand how PR_CONTACT_WID is populated on the W_REVN_F, you must use Informatica (PowerCenter Designer) and view the backward link path.
    You could see that PR_CONTACT_WID is search in the Lookup LKP_W_PARTY_PER_D_With_Geo_Wid (mapplet mplt_SIL_RevenueFact) :
    - table W_PARTY_PER_D
    - Query : SELECT
    LOOKUP_TABLE.ROW_WID as ROW_WID,
    LOOKUP_TABLE.GEO_WID as GEO_WID,
    LOOKUP_TABLE.INTEGRATION_ID as INTEGRATION_ID,
    LOOKUP_TABLE.DATASOURCE_NUM_ID as DATASOURCE_NUM_ID,
    LOOKUP_TABLE.EFFECTIVE_FROM_DT as EFFECTIVE_FROM_DT,
    LOOKUP_TABLE.EFFECTIVE_TO_DT as EFFECTIVE_TO_DT
    FROM
    W_PARTY_PER_D LOOKUP_TABLE, W_REVN_FS
    WHERE W_REVN_FS.PR_CONTACT_ID = LOOKUP_TABLE.INTEGRATION_ID
    AND W_REVN_FS.DATASOURCE_NUM_ID = LOOKUP_TABLE.DATASOURCE_NUM_ID
    ORDER BY
    LOOKUP_TABLE.DATASOURCE_NUM_ID,
    LOOKUP_TABLE.INTEGRATION_ID,
    LOOKUP_TABLE.EFFECTIVE_FROM_DT,
    +LOOKUP_TABLE.EFFECTIVE_TO_DT --+
    - Condition : EFFECTIVE_FROM_DT <= IN_DATE AND EFFECTIVE_TO_DT > IN_DATE
    So your value for PR_CONTACT_WID is dependent of the value of IN_DATE ( --> IIF(ISNULL(CLOSE_DT), EXCH_DT, CLOSE_DT)).
    You must verify for one record where you think there is an issue the CLOSE_DT and EXCH_DT on the table W_REVN_F (CLOSE_DT and U_RVN_EXCH_DT)
    Hope it helps,
    Benoît

  • AD attributes and passwords not setting correctly

    I am running FIM 2010 R2 build 4.1.3479.0 with AD servers at 2008 forest level.  I have set up the ADMA for staff to set passwords and the userprincipalname attribute (among others).  I have custom code in the MVextension.dll that does this.  I
    am having two issues going on that I believe to be related somehow.  
    1) These initial passwords are not being set and
    2) although the userprinciplename attribute is set correctly when you look in ADUC on the "Attribute Editor" tab, it is not being displayed correctly on the "Account" tab.  The User logon name and the upnsuffix fields are blank.
     The pre-win2k fields are displaying correctly.  
    I have done a lot of work trying to figure out what is going on here and I have checked that there are no issues with rights in AD and the code.  I have another ADMA that populates a different set of users in another OU and that fills out the UPN and
    password and everything works as it should.  The code differences between the two areas are very minimal.
    The code for this is as follows:
             csentry["userPrincipalName"].StringValue = mventry["accountName"].StringValue + emailExtension;
             if (mventry["user_InitialPassword"].IsPresent)
                      csentry["unicodePwd"].StringValue = mventry["user_InitialPassword"].StringValue; // defaultPassword;                     
            else
                      csentry["unicodePwd"].StringValue = Custom_Extensions.Custom_Extensions.GenerateRandomPassword();
    Any ideas what to look at to try and figure out what the heck is going on would be really helpful please!
    Thanks
    Erica

    There are no errors on creation of the user.  There are no errors if I log in as the service account and try to change the password.  
    The emailExtension variable is the same as the one that works for the other users that work.

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly

    Hi,
    I have a SSIS package named FlushFeed4Data that copy data from a table named TableA in a database named DatabaseA located on SQL server 2005 named SQL2005 to another table named Table B in a database named DatabaseB located on a server 2012 named SQL2012.
    The server SQL2005 is setup like a linked server in the server 2012. My package runs smootly: first it removes all old records in SQL2012.DatabaseB.TableB & then copy all records from SQL2005.DatabaseA.TableA  to SQL2012.DatabaseB.TableB to without
    any error message. It runs well both when I ran debugging in SQL Server Data Tools (Microsoft Visual Studio) & when I executed this package in SSIS of server SQL2012. However when I use a job named FlushFeed4Data to run this package, I've got error message:
    Executed as user NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.5058.0 for 64 bitCopyright (C) Microsoft Corporation. Code: 0xC002F210. Source: Insert Data Execute SQL Task. Dexcription: Executing the query "Insert
    Into SQL2012.B.[dbo].TableB ..." failed with the following error: "Login failed for user '[MyCompanyDomainName]\SQL2012$' ". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not
    set correctly, or connection not established correctly. End Error DTExec: The package execution returned DTSER_FAILURE (1) ... The package execution failed. The step failed.
    Please help!
    Thanks
    Edward

    Hi Athur,
    Thanks so much for your reply. I'd really appreciate about that. Following the article given by your link, I got error message when trying to create proxy
    sg 14529, Level 16, State 1, Procedure sp_add_proxy, Line 45
    Proxy "MyCompanyDomainName\SSISProxyDemoUser" is not a valid Windows user.
    USE msdb
    --Create a proxy and use the same credential as created above 
    EXEC msdb.dbo.sp_add_proxy 
    @proxy_name = ', 
    @credential_name=N'SSISProxyCredentials', 
    @enabled=1 
    GO 
    So I have a question: Do I have to create a new user account that can access our network named 
    PS: Below are the steps I followed the article:
    --Script #1 - Creating a credential to be used by proxy
    USE MASTER
    GO 
    --Drop the credential if it is already existing 
    IF EXISTS (SELECT 1 FROM sys.credentials WHERE name = N'SSISProxyCredentials') 
    BEGIN 
    DROP CREDENTIAL [SSISProxyCredentials] 
    END 
    GO 
    CREATE CREDENTIAL [SSISProxyCredentials] 
    WITH IDENTITY = N'MyCompanyDomainName\SSISProxyDemoUser', 
    SECRET = N'abcd@0987' 
    GO
    --Script #2 - Creating a proxy account 
    USE msdb
    GO 
    --Drop the proxy if it is already existing 
    IF EXISTS (SELECT 1 FROM msdb.dbo.sysproxies WHERE name = N'SSISProxyDemo') 
    BEGIN 
    EXEC dbo.sp_delete_proxy 
    @proxy_name = N'SSISProxyDemo' 
    END 
    GO 
    and the rest of the script 2 hasn't been proceeded due to error:
    --Create a proxy and use the same credential as created above 
    EXEC msdb.dbo.sp_add_proxy 
    @proxy_name = N'SSISProxyDemo', 
    @credential_name=N'SSISProxyCredentials', 
    @enabled=1 
    GO 
    --To enable or disable you can use this command 
    EXEC msdb.dbo.sp_update_proxy 
    @proxy_name = N'SSISProxyDemo', 
    @enabled = 1 --@enabled
    = 0 
    GO
    Please advise me!
    Thanks,Edward

  • : "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

     Hi   .
        I was creating the  pass the values t in temp tables  though s sis package vs2012 .
      First I was taken on executive SQL TASK.
     IN EXCUTIVE SQL TASK  . I was write the stored proce:
    Sp;
    reate  procedure  USP_GETEMP2333
    AS
    begin
    Select  eid,ename,dept,salary from emp
    end;
    create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
      insert into #temp
       exec USP_GETMP02333
       go.
     It was executive correctly.
     I was taken another sequence container. In the sequence container iam creating one   executive  sql
    In 2<sup>nd</sup> excutive sql task: sql statements is
    if object_id('emp_fact_sal') is not null
     drop table emp_fact_sal
    select eid,ename as emp_name,sal_bar=
    case when salary<=5000 then 'l'
    when salary >5000 and salary<=7000 then 'm'
    else
    'h'
    end
    into emp_fact_sal from #temp.
     and one falt flies  it was taken to designation .
     iam changing  all  connection properties:
     in oldeb connection:
    in excutive sal task properties .
    delay validation is true,
    and retain connection maner is also true,
    and package mode is 64 bit is false.
     But iwas excutive in 2<sup>nd</sup> excutive ql task .
    Iam getting this type of errors,
                    [Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
     drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
     Please help me

    Arthur suggestion works but you shouldnt even be doing this on a SQL Task.
    Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • BKI0008E: The environment variable BI_CALLER is not set correctely. The cur

    Hi All,
    I have configured backint for backup of maxdb for content server 640. I configured it as per the documents available, created the configuration fiale and the parameter file. Created the backup medium in dbmgui.
    Now when i try to run the backup using the pipe am getting the above mentioned error.
    Please find below the dbm.ebp log for the same...
    more dbm.ebp
    2009-10-22 02:06:08
    Setting environment variable 'TEMP' for the directory for temporary files and pi
    pes to default ''.
    Setting environment variable 'TMP' for the directory for temporary files and pip
    es to default ''.
    Using connection to Backint for MaxDB Interface.
    2009-10-22 02:06:08
    Checking existence and configuration of Backint for MaxDB.
        Using configuration variable 'BSI_ENV' = '/sapdb/CFC/lcbackup/apoatlas.env'
    as path of the configuration file of Backint for MaxDB.
        Setting environment variable 'BSI_ENV' for the path of the configuration fil
    e of Backint for MaxDB to configuration value '/sapdb/CFC/lcbackup/apoatlas.env'
        Reading the Backint for MaxDB configuration file '/sapdb/CFC/lcbackup/apoatl
    as.env'.
            Found keyword 'BACKINT' with value '/sapdb/CFC/db/bin/backint'.
            Found keyword 'INPUT' with value '/tmp/backint4sapdbCFC.in'.
            Found keyword 'OUTPUT' with value '/tmp/backint4sapdbCFC.out'.
            Found keyword 'ERROROUTPUT' with value '/tmp/backint4sapdbCFC.err'.
            Found keyword 'PARAMETERFILE' with value '/sapdb/CFC/lcbackup/param.cfg'
            Found keyword 'TIMEOUT_SUCCESS' with value '1800'.
            Found keyword 'TIMEOUT_FAILURE' with value '1800'.
        Finished reading of the Backint for MaxDB configuration file.
        Using '/sapdb/CFC/db/bin/backint' as Backint for MaxDB program.
        Using '/tmp/backint4sapdbCFC.in' as input file for Backint for MaxDB.
        Using '/tmp/backint4sapdbCFC.out' as output file for Backint for MaxDB.
        Using '/tmp/backint4sapdbCFC.err' as error output file for Backint for MaxDB
        Using '/sapdb/CFC/lcbackup/param.cfg' as parameter file for Backint for MaxD
    B.
        Using '1800' seconds as timeout for Backint for MaxDB in the case of success
        Using '1800' seconds as timeout for Backint for MaxDB in the case of failure
        Using '/sapdb/data/wrk/CFC/dbm.knl' as backup history of a database to migra
    te.
        Using '/sapdb/data/wrk/CFC/dbm.ebf' as external backup history of a database
    to migrate.
        Checking availability of backups using backint's inquire function.
    Check passed successful.
    2009-10-22 02:06:08
    Checking medium.
    Check passed successfully.
    2009-10-22 02:06:08
    Preparing backup.
        Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
        Setting environment variable 'BI_REQUEST' to value 'NEW'.
        Setting environment variable 'BI_BACKUP' to value 'FULL'.
        Constructed Backint for MaxDB call '/sapdb/CFC/db/bin/backint -u CFC -f back
    up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c'.
        Created temporary file '/tmp/backint4sapdbCFC.out' as output for Backint for
    MaxDB.
        Created temporary file '/tmp/backint4sapdbCFC.err' as error output for Backi
    nt for MaxDB.
        Writing '/sapdb/CFC/lcbackup/pipe1 #PIPE' to the input file.
        Writing '/sapdb/CFC/lcbackup/pipe2 #PIPE' to the input file.
    Prepare passed successfully.
    2009-10-22 02:06:08
    Creating pipes for data transfer.
        Creating pipe '/sapdb/CFC/lcbackup/pipe1' ... Done.
        Creating pipe '/sapdb/CFC/lcbackup/pipe2' ... Done.
    All data transfer pipes have been created.
    2009-10-22 02:06:08
    Starting database action for the backup.
        Requesting 'SAVE DATA QUICK TO '/sapdb/CFC/lcbackup/pipe1' PIPE,'/sapdb/CFC/
    lcbackup/pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKINT_ONLINE1'' from
    db-kernel.
    The database is working on the request.
    2009-10-22 02:06:09
    Waiting until database has prepared the backup.
        Asking for state of database.
        2009-10-22 02:06:09 Database is still preparing the backup.
        Waiting 1 second ... Done.
        Asking for state of database.
        2009-10-22 02:06:10 Database is still preparing the backup.
        Waiting 2 seconds ... Done.
        Asking for state of database.
        2009-10-22 02:06:12 Database has finished preparation of the backup.
    The database has prepared the backup successfully.
    2009-10-22 02:06:12
    Starting Backint for MaxDB.
        Starting Backint for MaxDB process '/sapdb/CFC/db/bin/backint -u CFC -f back
    up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c >>/tm
    p/backint4sapdbCFC.out 2>>/tmp/backint4sapdbCFC.err'.
        Process was started successfully.
    Backint for MaxDB has been started successfully.
    2009-10-22 02:06:12
    Waiting for end of the backup operation.
        2009-10-22 02:06:12 The backup tool is running.
        2009-10-22 02:06:12 The database is working on the request.
        2009-10-22 02:06:14 The backup tool process has finished work with return co
    de 2.
        2009-10-22 02:06:17 The database is working on the request.
        2009-10-22 02:06:27 The database is working on the request.
        2009-10-22 02:06:42 The database is working on the request.
        2009-10-22 02:07:02 The database is working on the request.
        2009-10-22 02:07:15 Canceling Utility-task after a timeout of 60 seconds ela
    psed ... OK.
        2009-10-22 02:07:17 The database has finished work on the request.
        Receiving a reply from the database kernel.
        Got the following reply from db-kernel:
            SQL-Code              :-903
    The backup operation has ended.
    2009-10-22 02:07:17
    Filling reply buffer.
        Have encountered error -24920:
            The backup tool failed with 2 as sum of exit codes. The database request
    was canceled and ended with error -903.
        Constructed the following reply:
            ERR
            -24920,ERR_BACKUPOP: backup operation was unsuccessful
            The backup tool failed with 2 as sum of exit codes. The database request
    was canceled and ended with error -903.
    Reply buffer filled.
    2009-10-22 02:07:17
    Cleaning up.
        Removing data transfer pipes.
            Removing data transfer pipe /sapdb/CFC/lcbackup/pipe2 ... Done.
            Removing data transfer pipe /sapdb/CFC/lcbackup/pipe1 ... Done.
        Removed data transfer pipes successfully.
        Copying output of Backint for MaxDB to this file.
    Begin of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)-
                                     Data Protection for mySAP(R)
                         Interface between BR*Tools and Tivoli Storage Manager
                         - Version 5, Release 4, Modification 0.0  for Linux x86_64
                               Build: 303  compiled on Nov 16 2006
                    (c) Copyright IBM Corporation, 1996, 2006, All Rights Reserved.
            BKI0008E: The environment variable BI_CALLER is not set correctely. The
    current value is "DBMSRV"
            usage:
             backint -p <par_file> [-u <user_id>] [-f <function>]
                    [-t <type>] [-i <in_file>] [-o <out_file>] [-c]
            where:
                   <user_id>    backint utility user
                   <function>   backup | restore | inquire | password | delete
                   <type>       file | file_online
                   <par_file>   parameter file for backup utility
                   <in_file>    name of a text file  that defines the objects
                                default: STDIN
                   <out_file>   Pool for processing messages and the results
                                of the executed function.
                                default: STOUT
            BKI0020I: End of program at: Thu 22 Oct 2009 02:06:14 AM EDT .
            BKI0021I: Elapsed time: 01 sec .
            BKI0024I: Return code is: 2.
    End of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)---
        Removed Backint for MaxDB's temporary output file '/tmp/backint4sapdbCFC.out
        Copying error output of Backint for MaxDB to this file.
    Begin of error output of Backint for MaxDB (/tmp/backint4sapdbCFC
    .err)----
    End of error output of Backint for MaxDB (/tmp/backint4sapdbCFC.e
    rr)----
        Removed Backint for MaxDB's temporary error output file '/tmp/backint4sapdbC
    FC.err'.
        Removed the Backint for MaxDB input file '/tmp/backint4sapdbCFC.in'.
    Have finished clean up successfully.

    Also, is there any specification about the user permissions and about how the backup should be run?

  • Why exchange rate is not displayed correctly when I create the PO in SRM?

    Hi Gurus,
    Yesterday I insert a new row at OB08 tx. at backend system (R/3) for exchange rate of May 17,2010, the value was 10.00. Then I run the BBP_GET_EXRATE program to replicate the info to SRM.
    But when I created a purchase order (PO) the value was 12.24 for exchange rate (this value 12.24 is the value for the previous day May 16, 2010).
    Today morning (May 18, 2010), I inserted another row at R/3 and replicated to SRM, the new value for May 18 was 11. I create another PO and the value was 10 for exchange rate (the value for yesterday).
    But when the PO is transmitted to R/3, the exchange rate is the correct.
    My question is: Why exchange rate is not displayed correctly when I create the PO in SRM? Exists an aspect of memory in SRM that it has to be refreshed? Why SRM is getting the exchange rate for yesterday? Is an issue for time zone?

    Hi Muthu,
    I'm in Extended classic.
    I already discovered what is happening. At the time of being creating the purchase order (PO), it takes the exchange rate of the delivery date of the shopping cart (SC). But when the order is authorized and tries to transmit it to R/3, it takes the exchange rate of the date of creation of the PO.
    Two checks of budget exist:
    1.- When creating PO (exchange rate date of delivery date of the SC's item)
    2.- When authorized and tries to transmit it to R/3 (exchange rate date of creation date of the PO)
    If exchange rate of delivery date of the SC is lower than exchange rate date of creation of the PO, there are cases in which it is marking budget error.
    Now my question is: It is a standard behavior? (to take different exchange rate)

Maybe you are looking for