Multiple records are present for same key in lookup DSO
Hi,
I want to populate quantity value from lookup dso in target dso. I have written code to populate it in start and end routine. While populating value in target It is taking first value of quantity. there are two records in lookup and target DSO with same key and different Quantity value. there is not any common key field in lookup and target dso. So that I can not populate correct values in the target DSO.
Can anyone suggest me for this?
Hi All,
I have written below code for populating Qty:
LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
IF <RESULT_FIELDS>-/BIC/ZSHPCRTID IS NOT INITIAL.
CLEAR : WA_ITAB.
READ TABLE IT_ITAB TRANSPORTING NO FIELDS WITH KEY
/BIC/ZSHPCRTID = /BIC/ZSHPCRTID.
IF SY-SUBRC = 0.
TMP = SY-TABIX.
ENDIF.
LOOP AT IT_ITAB INTO WA_ITAB FROM TMP.
IF WA_ITAB-/BIC/ZSHPCRTID <> /BIC/ZSHPCRTID.
EXIT.
ELSE.
<RESULT_FIELDS>-BBP_SCQTY = WA_ITAB-BBP_SCQTY.
ENDIF.
ENDLOOP.
ENDIF
ENDLOOP.
in this case my output/target DSO is:
key1 key2 key3 qty
1000 10 200 30
1000 10 300 30
1000 20 400 30
Below is the lookup DSO data:
key1 key2 key3 qty
1000 10 1 10
1000 10 2 20
1000 20 3 30
It is taking last record's qty value and putting it for all records.
Please suggest something for this issue.
Similar Messages
-
VS Workflow - Erroring out when multiple records are created by same user
Hi,
I am using SP 2013. I have a visual webpart and custom sequential workflow. The webpart saves the data to a custom list and the workflow is associated to the custom list on Item creation only. In the workflow, I am breaking the role inheritance and setting
permission to specific set of users, and then the normal approval workflow happens. The whole workflow condition works fine, but if the user is raising multiple requests one after another, the workflow seems to break either in the Break inheritance or granting
permission. If the user raises only one or two requests then everything works fine.
Below are the errors which I am getting in the workflow:
Error 1:
Error: Save Conflict. Your changes conflict with those made concurrently
by another user. If you want your changes to be applied, click Back in your Web
browser, refresh the page, and resubmit your changes.
I have already checked this :
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/60ab04fd-9650-427d-a48f-784bc22fae05/workflow-and-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user?forum=sharepointdevelopmentprevious_
http://adrianhenke.wordpress.com/2010/08/20/sharepoint-error-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user/
I have also implemented the "Reload" thing posted in the above URL. This error only happens when multiple new requests are getting raised by same user. This error does not happen if I terminate the workflow and re-start the workflow.
How to fix this?
ThanksHi,
Based on my understanding, you have a Visual Web Part for adding new item into a list. A workflow will be triggered when item creation in this list. Everything works
fine except when an user adds multiple items in a short period.
If this is the case, plus with the error message, a possible cause is that the SharePoint Server and the workflow engine are not functioning effectively enough to
handle the multiple request in a short time, therefore a scenario is that when there is new item being added into the database, the workflow modifies the “RoleAssignments” property of this item at the same time, this may cause a “Save Conflict” error.
As you said, “If the user raises only one or two requests then everything works fine”, a workaround is that you can disable the adding item function in Visual Web
Part forcibly in a specific period after a new item is being added by current user, it can leave some time for handling the item creation and item modification.
Or if there is a need to submit multiple items concurrently, we can organize the requests into one request, then handle this item with other custom logic in your workflow.
Thanks
Patrick Liang
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]
Patrick Liang
TechNet Community Support -
Unique data record means you can't update a record from ECC with same key.
Unique data record means you can't update a record from ECC with same key fileds right?
Details: For example i have two requests Req1 and Req2 in DSO with unique data record setting checked. on day one Req1 has a filed quantity with value 10 in Active data table. On day two Req1 can not be overwitten from ECC with Req2 with the same key fields but different value 20 in the filed quantity because of the Unique data record settings. finally the delta load fails from ECC going to DSO because of this setting. is it right?
I think we can only use unique record setting going from DSO to cube right?
Please give me a simple scenario in which we can use this setting.
I already search the threads and will assign points only to valuable information.
Thanks in advance.
YorkHi Les,
Unique Data Records:
With the Unique Data Records indicator, you determine whether only unique data records are to be updated to the ODS object. This means that you cannot load a data record into the ODS object the key combination for which already exists in the system otherwise a termination occurs. Only use this setting when you are sure that only unique data records are to be loaded into the ODS object (for example, single documents). A typical application of this is in the loading of mass data. It improves the load performance.
Hope it Helps
Srini -
Multiple web catalog files for same rpd
Is there any way to run multiple web catalog files for same rpd in OBIEE?
Why do you want to do that? Why not merge them into one? You run seperate presentation servers againt the same RPD.
Regards
John
http://obiee101.blogspot.com/ -
Calculate total and average for same key figure
Hi Experts,
I have a requirement where I need to calculate total and average for same key figure no of employees.
eg:
If I enter 03,2009 as Input the reuslt should give from financiual year starting to current month.
11.2008 12.2008 1.2009 2.2009 3.2009 average
11 10 12 10 10 10.6
10 10 11 12 10 10.6
total 21 20 23 22 20 21.2
we have only one characteristic in rows... companycode.
Waiting for your Inputs.
Regards
Prasad Nannurino it will work for u
you have to use variable on 0calmonth or fiscal period depending on what Time characteristic u are using.
lets say that variable is zcalmonth
it is based on 0calmonth for e.g.
now u restrict keyfigure with this variable zcalmonth with time char. = 0CALMONTH
copy and paste the restricted keyfigure
now set offset for variable in variable selection screen dialog box = -1
repeat this until u want
make this variable mandatory
now at query execution user will select any value for month/year
and u will see all 5 months in result set
now there can be maximum 12 months in a year, so u end up creating only 12 restricted keyfigures.
use YEAR in restricted keyfigure too, and restrict it with YEAR VARIABLE processing by CUSTOMER EXIT = CURRENT YEAR
in this case it will automatically removes any additional values...
for e.e.g
YEAR = 2008 only
User entered 6/2008
so lets say ur financial year starts in april 2007 and ends in april 2008
so u expect to see
4/08
5/08
6/08
but u created 12 restricted keyfigures , so it will show upto
4,5,6 months only -
The Windows SMB feature has file locking if multiple users are accessing the same file. Does File Sharing (AFP) on Snow Leopard Server provide similar services?
Were you ever able to solve this problem. I'm having similar issues since upgrading to snow leopard. Four macs connect to a Windows Server 2003 for shared files. Each user has full permissions & when we "get info" it shows read & write permissions. Two of the computers were running 10.4, two were running 10.5. Everything worked properly until upgrading to snow leopard. Some files let me copy, move, delete. Others either just hang up or we get a "no permission" error. Also getting a "pdf is in use" error, even when the file/folder doesn't contain a pdf. We had our IT rep check the server who said everything is in working order. They don't represent macs any longer but feel that it's a mac problem. I would have to agree since this problem only started after the upgrade, and the one machine that was not upgraded (still running 10.5.8) is not dealing with these problems.
Lastly, I would install 10.5 back on all of the computers if I could, but the leopard disk that came with one of the computers wouldn't work with the 2 machines running 10.4 and I didn't see it available at the apple store. I'll buy it if it's still available, but why wouldn't the disks that I have work?
Thanks for any help -
No posting rules are exist for account key
Guys...
I have done the configuration part and created tax codes for sales and purchases. When i am trying to post the invoice in Customer and vendor, the system is throwing an error message as below.
" No posting rules are exist for account key"
I have checked in OB40, and the details are correct.
Tax procedure, condition types and transaction keys are also correct.
Can someone suggest the solution please?
Thanks
nkonniHi
Check weather you have assigned Taxcodes in OBCL T.code or in this Path : Assign Tax Codes for Non-Taxable Transactions for your Company code . if not Assign it.
this shoud solve your issue..
Thanks
Goutam -
Fixed length fileadapter [multiple records are of multiple types]
Hi,
I am using Jdev 10133 and SOA suite 10133.
I am using fixed length(multiple records are of different type) file adapter to read data from a DAT file.
I need to read the data based on condition.
i.e: the DAT file looks like below
city1 EMPName1 female organisation1
city2 EMPName2 male organisation2
city2 EMPName3 male organisation1
city1 EMPName4 female organisation1Here i need to read the records based on gender.
I was able to read based on city i.e first column.
In adapter wizard it is giving only endposition.
How to read data based on gender??
Plz help me regarding this.
Regards.
Edited by: [email protected] on May 21, 2009 1:44 AMnot sure if this is an exact example but when you create youe xsd you can use white space as a delimiter, so if your fields don't have spaces you can use this.
Also you can mix and match fixed length with delimiters
cheers
James -
Need to concatonate multiple values for same key columns into one string
Hi...I'm attempting to use PL/SQL to read through a table containing more than one column value for a set of keys, and concatonate those values together into one string. For example, in the STUDENT table, for a STUDENT_ID there are multiple MAJORS_ACCOMPLISHED such as History, Biology and Mathematics. Each of the majors is stored in a different row with the same STUDENT_ID due to different faculty DEPARTMENT values.
I want to read through the table and write out a single row for the STUDENT_ID and
concatonate the values for MAJORS_ACCOMPLISHED. The next row should be another STUDENT_ID and the MAJORS ACCOMPLISHED for that student..etc.
I've hit a wall trying to use cursors and WHILE loops to get the results I want. I'm hoping someone may have run across this before and have a suggestion. Tks!!I think you are looking for string aggregation.
The following are the replies posted by me in the forum recently on the same case.
they might help you.
Re: Concatenating multiple rows in a table - Very urgent - pls help
Re: Doubt in a query ( Urgent )
Re: How to remove words which consist of max 2 letters?
Re: output like Name1,Name2,Name3... -
Multiple Alerts getting raised for same Error
Hi All,
I have a Management Pack Which will will trigger an Exe. The Exe takes an input and that input is being provided as a parameter from the MP. Whenever the exe raises throws an error an event in the event viewer and also we are raising an Alert.
Now suppose say there are 3 inputs for which the Exe has to run. Now the Exe failed for Input 1 and passed for the rest 2. Since we have a exe failure we are raising an event and firing an alert. But in the SCOM alerts i see 3 alerts with the Source
Name as all the three inputs, but the error message and all other stuff are remaining the same
Am I missing out on anything here?
Any Help in this regard is much appreciated
Regards, Mahadev Sundeep Maruvada<?xml version="1.0" encoding="utf-8"?><ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<Manifest>
<Identity>
<ID>AlertTestMP</ID>
<Version>1.0.0.36</Version>
</Identity>
<Name>AlertTestMP</Name>
<References>
<Reference Alias="Windows">
<ID>Microsoft.Windows.Library</ID>
<Version>7.5.8501.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias="Health">
<ID>System.Health.Library</ID>
<Version>7.0.8432.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias="System">
<ID>System.Library</ID>
<Version>7.5.8501.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
</References>
</Manifest>
<TypeDefinitions>
<EntityTypes>
<ClassTypes>
<ClassType ID="SDMonitoringSyntheticTest.SDDepot" Accessibility="Public" Abstract="false" Base="Windows!Microsoft.Windows.ApplicationComponent" Hosted="true" Singleton="false" Extension="false">
<Property ID="ServerDetails" Type="string" AutoIncrement="false" Key="true" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />
<Property ID="SDType" Type="string" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />
</ClassType>
<ClassType ID="SDMonitoringSyntheticTest.SDWatcher" Accessibility="Internal" Abstract="false" Base="Windows!Microsoft.Windows.LocalApplication" Hosted="true" Singleton="false" Extension="false">
<Property ID="SDType" Type="string" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />
</ClassType>
</ClassTypes>
<RelationshipTypes>
<RelationshipType ID="SDMonitoringSyntheticTest.SDWatcher_To_SDDepot_Relationship" Accessibility="Internal" Abstract="false" Base="System!System.Hosting">
<Source ID="Source" MinCardinality="0" MaxCardinality="2147483647" Type="SDMonitoringSyntheticTest.SDWatcher" />
<Target ID="Target" MinCardinality="0" MaxCardinality="2147483647" Type="SDMonitoringSyntheticTest.SDDepot" />
</RelationshipType>
</RelationshipTypes>
</EntityTypes>
</TypeDefinitions>
<Monitoring>
<Discoveries>
<Discovery ID="SourceDepot.SDMonitoringSyntheticTest.SDWatcherDiscovery" Enabled="true" Target="Windows!Microsoft.Windows.Computer" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SDMonitoringSyntheticTest.SDWatcher">
<Property TypeID="SDMonitoringSyntheticTest.SDWatcher" PropertyID="SDType" />
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>
$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$
</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>AppExists</AttributeName>
<Path>Software\SDSynthetic\SDServers</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SDType</AttributeName>
<Path>Software\SDSynthetic\SDServers\SDType</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>600</Frequency>
<ClassId>$MPElement[Name="SDMonitoringSyntheticTest.SDWatcher"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="SDMonitoringSyntheticTest.SDWatcher"]/SDType$</Name>
<Value>$Data/Values/SDType$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>SD Util Depot ($Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$)</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/AppExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>
<Discovery ID="SourceDepot.SDMonitoringSyntheticTest.SDWatcher.SDDepotDiscovery" Enabled="true" Target="SDMonitoringSyntheticTest.SDWatcher" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SDMonitoringSyntheticTest.SDDepot">
<Property TypeID="SDMonitoringSyntheticTest.SDDepot" PropertyID="ServerDetails" />
<Property TypeID="SDMonitoringSyntheticTest.SDDepot" PropertyID="SDType" />
<Property TypeID="System!System.Entity" PropertyID="DisplayName" />
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="PS" TypeID="Windows!Microsoft.Windows.TimedPowerShell.DiscoveryProvider">
<IntervalSeconds>600</IntervalSeconds>
<SyncTime />
<ScriptName>SDSyntheticServerDiscoverDepot.ps1</ScriptName>
<ScriptBody>
param($sourceId,$managedEntityId,$computerName,$SDType)
$api = new-object -comObject 'MOM.ScriptAPI'
$Script:LOG_ERROR = 1
$Script:LOG_WARNING = 2
$Script:LOG_INFORMATION = 4
$Script:ScriptName = "SDMonitoringSyntheticTestSDDiscovery.ps1"
function Write-ErrorInfo([string] $msg)
$api.LogScriptEvent("$ScriptName",1728,$Script:LOG_ERROR,"`r$msg")
function Write-OnlyInfo([string] $msg)
$api.LogScriptEvent("$ScriptName",1727,$Script:LOG_INFORMATION,"`r$msg")
Write-OnlyInfo "in SD servers discovery"
$discoveryData = $api.CreateDiscoveryData(0, $SourceId, $ManagedEntityId)
$SDServerList=Get-ChildItem "HKLM:\SOFTWARE\SDSynthetic\SDServers" | ForEach-Object {Get-ItemProperty $_.pspath}
Foreach ($SDServer in $SDServerList)
$Name = $SDServer.PSChildName
$DisplayName = $SDServer.PSChildName
Write-OnlyInfo $computerName
$ServerDetails =$SDServer.servername+":"+$SDServer.port
$instance = $discoveryData.CreateClassInstance("$MPElement[Name='SDMonitoringSyntheticTest.SDDepot']$")
$instance.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $computerName)
$instance.AddProperty("$MPElement[Name='SDMonitoringSyntheticTest.SDDepot']/ServerDetails$", $ServerDetails)
$instance.AddProperty("$MPElement[Name='SDMonitoringSyntheticTest.SDDepot']/SDType$", $SDType)
$instance.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", $DisplayName)
$discoveryData.AddInstance($instance)
Write-OnlyInfo "$Name $ServerDetails"
Write-OnlyInfo $discoveryData
$discoveryData
</ScriptBody>
<Parameters>
<Parameter>
<Name>sourceID</Name>
<Value>$MPElement$</Value>
</Parameter>
<Parameter>
<Name>managedEntityID</Name>
<Value>$Target/Id$</Value>
</Parameter>
<Parameter>
<Name>computerName</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Parameter>
<Parameter>
<Name>SDType</Name>
<Value>$Target/Property[Type="SDMonitoringSyntheticTest.SDWatcher"]/SDType$</Value>
</Parameter>
</Parameters>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>
</Discoveries>
<Monitors>
<UnitMonitor ID="AlertTestMP.AlertDiscTestMonitor" Accessibility="Internal" Enabled="true" Target="SDMonitoringSyntheticTest.SDDepot" ParentMonitorID="Health!System.Health.EntityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="AlertTestMP.AlertDiscTestMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data[Default='']/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success" />
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error" />
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Application</FirstLogName>
<FirstExpression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>WSAETIMEDOUT</Pattern>
</RegExExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7017</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7015</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7013</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Application</SecondLogName>
<SecondExpression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="SDMonitoringSyntheticTest.SDDepot"]/ServerDetails$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>executed Successfully</Pattern>
</RegExExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7012</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7014</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7016</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>
</Monitors>
<Overrides>
<MonitorPropertyOverride ID="OverrideForMonitorAlertTestMPAlertDiscTestMonitorForContextSDMonitoringSyntheticTestSDWatcherf3454dfab84141b68e1f7cda55c641f5" Context="SDMonitoringSyntheticTest.SDWatcher" Enforced="false" Monitor="AlertTestMP.AlertDiscTestMonitor" Property="Enabled">
<Value>true</Value>
</MonitorPropertyOverride>
</Overrides>
</Monitoring>
<Presentation>
<StringResources>
<StringResource ID="AlertTestMP.AlertDiscTestMonitor.AlertMessage" />
</StringResources>
</Presentation>
<LanguagePacks>
<LanguagePack ID="ENU" IsDefault="true">
<DisplayStrings>
<DisplayString ElementID="AlertTestMP.AlertDiscTestMonitor">
<Name>AlertDiscTestMonitor</Name>
<Description>Description for the new unit monitor.</Description>
</DisplayString>
<DisplayString ElementID="AlertTestMP.AlertDiscTestMonitor.AlertMessage">
<Name>TestAlertMonitor</Name>
<Description>Event Description: {0}</Description>
</DisplayString>
<DisplayString ElementID="AlertTestMP.AlertDiscTestMonitor" SubElementID="FirstEventRaised">
<Name>FirstEventRaised</Name>
<Description>FirstEventRaised</Description>
</DisplayString>
<DisplayString ElementID="AlertTestMP.AlertDiscTestMonitor" SubElementID="SecondEventRaised">
<Name>SecondEventRaised</Name>
<Description>SecondEventRaised</Description>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</ManagementPack>
Hi Yan,
Attached is the MP that iam using.
SourceDepot.SDMonitoringSyntheticTest.SDWatcher.SDDepotDiscovery is the class which actually discovers the inputs. As of now there is no probe action to trigger the exe, iam doing it manually, but still i see an alert raised for all of the inputs discovered
even if only 1 input has failed.
Regards, Mahadev Sundeep Maruvada -
Multiple APP run's for same vendor
Dear Friends,
I would like to know whether it is possible to do multiple payment proposals for a vendor on same dates.
here is the scenario:
Each business area would like to creat and edit payment proposals for the same dates, for ex: Run date is 1.1.08, next payment date will be 02.01.08 and schedule the actul payment run on say 03.01.08.
The actual payment runs will be processed by different paying coc.ode on 03.1.08
so for a given vendor say we have 2 open items which are due for each business area. I tried giving Business area in free selections .
when I try to create a secong payment proposal system gives me the message saying no payment proposal found for the co.code Message nO.FZ349
Yes it does makes sense to this meesage in the sense system wants to check that no invoice is paid twice by mistake.
But my question is since I am restricting open items by Busines area in the selection parameters itself shouldnt that be considered by system.
Hope I am clear.
Please let me know your inputs on the same.
Points assured for useful replies.
Thanks,
VamsiHi Chandra,
Thanks for your inputs.
When you say that same vendor can be paid more than 1 once in a given day by APP, I belive you meant that once paymnet run has been done we can create another APP process for the same vendor.
Yes I dont see any issues there.
I also have no doubt that we can create multiple payment runs for a given vendor for 2 different co.codes on the same day.
But the issue I have is a case of centralised payment for all regions which are represented by Business areas.
Each region will do business with the same pan india vendor and would like to create thier payment proposals. The payment runs for these proposals will be done by the head office.
while trying to the second payment proposal, thi sis the message:
"Vendor 54 222 is contained in proposal 24.01.2008 SB1; no editing"
Hope I am clear.
Thanks,
Vamsi -
Multiple PR's generating for same material after MRP
Hi Guru's,
As per my business scenario, i am creating project with WBSE, Activities and BOM.
By using the reference points, i am transferring the BOM to Project, then executing MRP run.
But after MRP run i found that multiple PR's generated for the same Material.
Please find my BOM structure
BOM-->Assembly + raw material
Assembly is consists of
Sub-Assembly+ 2 raw materials
Sub-Assembly consists of
1 Raw Material.
as per this i should have 4 PR's after MRP but system is generating 8 PR's.
Please tell me where i am doing wrong
Regards,
BhadraHi,
I find the reason why it is creating the multiple PR's for the same component.
It is because of the BOM status. Please find the attached scree shots for the BOM structure and BOM status.
As per my requirement the Planned Orders should be created for "BOM" and "Assembly" and 3 PR's should be generated for Components.
Initially i maintained BOM status as "4" for "BOM" due to that system is exploded the BOM twice i.e., for "BOM" and "Assembly" and generated PR's twice and two planned orders for "BOM" and "Assembly" along with their components.
Now to avoid the duplicates PR generation, i have maintained BOM Status as "5" for "BOM"and run MRP.
This time system is generated 3 PR's and 2 Planned Orders.
As per as PR's is concerned there is no issue. Coming to the Planned Orders there is a issue that, the components are not copied into order which is generated against "BOM" (BOM Status-5) and components are copied into order which is created against "Assembly"(BOM tatus-4)
But as per my requirement, the components should copied in both the orders.
So please tell where is the wrong in this..
Regards,
Rao -
Multiple GL Acct Assignment for FRL Key
Dear All
We avail various type of services from our vendors. We want the services entry to be posted to different GL accounts for each type of services.
We have assinged one GL account for FRL Key in FI-MM-OBYC.
Is there any way to assign different GL account for each type of services in FRL Key or is there any way to resolve this requirement.
All your suggestions are highly appreciated.
Regards
A ChandrasekaranHi,
It is possible to post to multiple GL Accounts. Pls. do the following steps.
1) Go to OBYC t code.
2) Click on "Rules" Button.
3) You can see "Valuation Modifier" and "Valutaion Class" indicator.
4) Select both or either of one inidicator.
5) If you select both, you can specify a unique GL Account for a unique combination of Valuation Modifier and Valuation Class.
Hope this helps..
Regards,
Chirag -
NI-5122 Multiple records: different trigger for first record
Hi,
I’m using a NI-5122 high-speed digitizer to acquire multiple records (say 100 of length 20 each), triggered by an external 1kHz source, and clocked by an external 80MHz clock.
Is it possible to start the whole acquisition process (i.e. the first record) with a certain trigger signal (e.g. from PFI0), but trigger subsequent records with a different trigger signal (e.g. from TRIG)?
Thanks in advance for your suggestions!TobiSL,
Yes, what your asking for is possible, and the two trigger types you mentioned are called repectively: Start Trigger, and Reference Trigger. You can configure each of these triggers separately. To configure the Reference trigger you use the "niScope Configure Trigger vi". To configure the start trigger, all you need to do is specify the source of the start trigger, using the niScope property node: "Start Trigger Source".
Hope this helps!
Product Support Engineer
National Instruments -
Validate whether all the records are present in the list before writing
Hi,
I have the below code:-
List<CustomerVO> custlist = new ArrayList<CustomerVO>();
for (CustomerVO customerVO : custlist) {
try {
saveRecord(customerVO);
} catch (Exception e) {
custlist.add(customerVO);
if(){ // Here i need to compare whether all the records in the list are processed and there is no more records
// if so i wrire the all the error details at once by calling the writeErrorDetails
writeErrorDetails(frbVOlist);
Here in the if block I need compare whether all the records in the list are processed and there is no more records to process ,
if so write all the error details at once by calling the writeErrorDetails in the .TXT file.
The problem here is, how i will know whether the all the records are processed from the custList, so that I can write all of then atonce.
If the If conditional block is not there, then for each record failure a separate .txt file will be created. Hence if there are 4 failed records
then 4 .txt error file will be generated. Which should be avoided and i want to write all the 4 failed records in a single .txt file.
Hence, what may be the If condition i need to check from the list whether all the records are processed. Please , let me know your opinion.
Thanks.797836 wrote:
List<CustomerVO> custlist = new ArrayList<CustomerVO>();
for (CustomerVO customerVO : custlist) {
try {
saveRecord(customerVO);
} catch (Exception e) {Look at the following statement in the catch block.
custlist.add(customerVO);Is this correct? Why are you adding the faild record to the custlist again? I think, it should be like,
frbVOlist.add(customerVO);
if(){ // Here i need to compare whether all the records in the list are processed and there is no more records
// if so i wrire the all the error details at once by calling the writeErrorDetails
writeErrorDetails(frbVOlist);
}Call the writeErrorDetails(frbVOlist) after the end of the for loop by checking the size of the frbVOlist > 0.
Maybe you are looking for
-
How to find index of row in dynamic table?
Our form has a table to which the user can add rows. We want to be able to edit the custom help text of each field in the row to add the row number for accessibility. But need the index number of the row to reference the row of the fields. And we c
-
I restarted my computer. After it rebooted I was asked to update firefox I did and it updated to 3.0 or something and it said update complete but it is out of date would you like to update to 6.0.2. I did and it updated again. When I got back online,
-
SAP Query: Display Selection Fields in the header page of Basic list
Hello, I have to display the selection fields in the header page of the basic list and statistics in a SAP Query. I know the usage of short names for fields in the header page, but this doesn't work for the selection fields. How can I display the sel
-
Upgrading Mail from 10.4.11 to 10.5.6
I just installed 10.5.6 over 10.4.11 and now none of my old emails show up. How long does it take mail to move old info into new mail app? I had about 1000 emails.
-
New to Adobe Photoship Elements 11
Have just installed Adobe Photoship Elements 11. Finding online assistance very frustrating. Is there a printed manual available - or a 'dummies for Adobe' available? If so is the printed manual explicit in its instructions? Many thanks