2 masters 1 details.. high priority please!!

here is the scenerio:
====================
Block 'B' has two masters. The 2 masters are NOT realted to each other.
My form has:
One master block called 'A'.
One child block called 'B'.
one more block 'C'.
-> A(one) to B(many) is an unbroken relations ship. They cannot exist without each other.
->> There is no relationship between 'A' AND 'C'. (both masters)
->>>For each 'C'(master) there may be (ZERO) or (ONE) or (more than ONE) rows in 'B'.
I dont know how to desgin the form for this relationship.
->'C' master block table's data is already in table, so need not worry about inserting into that table. only updating and I can take care of that on ON-INSERT trigger.
->If execute_query for 'B' fetches 10 rows, how to show 'B' and 'C'??
total confusion.
Thanks in advance.
prasad.

I cannot have 2 forms because:
Data entry happens like this.
Each batch has 50 incoming mails. It will be given a batch number (master record).
Each mail paper is a child record. Each given a unique number. (child record). A check accompanies each mail.
Data entry operator enters all the data manually into system.
->>>
But,if the mail has a check AND ALSO an INVOICE_STAMP(optional) then: she enters only INVOICE_NUMBER.
Data entry operator has no control over the child record, all fields are disabled and I have to get all the data from different tables related to that INVOICE_NUMBER that she enters. she has to just compare and save.
============
What I am doing is, if 2nd master record has 5 child records, I am just repeating the master record 5 times along with child record.
The problem is,
1)when I query the child record, 2nd master records are not appearing. Only child records are coming. (I MESSED UP SOMEWHERE, I AM LOOKING INTO IT.)
2)when I query the 2nd master record being on the 2nd block, nothing is appearing. Query caused no records to retrieve. There are records in the table.
Thanks for the reply.
I know it is difficult for you to give me a solution. I will find out myself by trail and error.
prasad

Similar Messages

  • Deleting Primary Key --- High Priority -- Please help us

    There is a custom defined table which had two primary keys and then moved the same to production. Since we got some requiremnent we added two more primary keys in the table in development server. We also activated the same in Development server. Now we need to delete the recently added two primary keys. It is a most important custom table. It is not allowing us to delete.
    It gives us error message about lot of dependencies and foreign key used in other tables.
    Please help us resolve this issue. FULL POINTS WILL BE AWARDED FOR THE SOLUTION. please help us resolve the same. Bottle neck situation.
    Regards,
    Siddhartha

    Hi Siddhartha,
    http://www.ncsu.edu/it/mirror/mysql/doc/maxdb/en/3c/384c4005a99523e10000000a1550b0/content.htm
    If you are not sorting by the primary key ( E.g. using the ORDER BY PRIMARY key ... Instead use ABAP SORT + DELETE ADJACENT DUPLICATES on an internal table, ...
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    This links will help you to solve your  problem
    Thanks
    sunil

  • Its a very high priority please help me

    the error is requested resource is not available
    //web.xml//
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <display-name>Name for Loginportal</display-name>
    <description>
         This is a simple web application with a source code organization
         based on the recommendations of the Application Developer's Guide.
    </description>
    <servlet>
    <servlet-name>Loginportal</servlet-name>
    <servlet-class>com.hp.ifc.install.verify.Loginportal</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Loginportal</servlet-name>
    <url-pattern>Loginportal</url-pattern>
    </servlet-mapping>
    </web-app>
    //Loginportal.java///
    package com.hp.ifc.install.verify;
    import javax.servlet.http.HttpServlet;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.RequestDispatcher;
    import com.hp.ifc.install.database.Loginportalbean;
    * Servlet Class
    * @web.servlet name="Loginportal"
    * display-name="Name for Loginportal"
    * description="Description for Loginportal"
    * @web.servlet-mapping url-pattern="/Loginportal"
    * @web.servlet-init-param name="A parameter"
    * value="A value"
    public class Loginportal extends HttpServlet {
         protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,IOException
              // TODO Auto-generated method stub
              RequestDispatcher rd;
              String username=req.getParameter("J_USERNAME");
              String password=req.getParameter("J_PASSWORD");
              Loginportalbean lb = new Loginportalbean();
              if(lb.isUservalid(username,password))
                   rd=req.getRequestDispatcher("success.html");
              else
                   rd=req.getRequestDispatcher("fail.html");
    url:http://ustca130/Loginportal
    please help

    I think this might be helpful
    <servlet-mapping>
    <servlet-name>Loginportal</servlet-name>
    <url-pattern>/Loginportal</url-pattern>
    </servlet-mapping>url-pattern should be like "/Loginportal"
    and what is ur webapplication name?
    i m gettting confused with your url. the url will be like
    http://<localhost>:<portno>/<webappname>/<urlpattern>
    Edited by: Diablo_Chiru on Apr 21, 2008 11:10 PM

  • 'High' Priority and 'critical' severity alerts from all MP's in SCOM 2007 R2

    Hi All
    Can anyone help me with the script to get all alert details from monitors and rules which are set to "high" priority and "critical" severity in SCOM 2007.
    Regards
    Madhavi

    You can below script to show all agent which isn't health
    $ReportOutput += "<h2>Agents where Health State is not Green</h2>"
    $ReportOutput += Get-Agent |
    where {$_.HealthState -ne "Success"} |
    select Name,HealthState | ConvertTo-HTML
    -fragment$ReportOutput += "<h2>Agents where the Monitoring Class is not available</h2>"
    $AgentMonitoringClass = get-monitoringclass
    -name "Microsoft.SystemCenter.Agent"
    $ReportOutput+= Get-MonitoringObject-monitoringclass:$AgentMonitoringClass|
    where{$_.IsAvailable -eq$false} |
    selectDisplayName | ConvertTo-HTML-fragment
    Also you can refer below links
    http://www.definit.co.uk/2012/01/scom-2007-r2-daily-health-check-script/
    http://www.blackops.ca/cms/blog/?p=155
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical

  • Listing Items based on criteria e.g. High Priority Items First.

    Hi,
    One of our customers have a need to List High Priority Items first on the WebTools site.
    Let's take two ItemCodes for example: Printer001, and, Monitor001.
    >> If these two items are included in the same category then Monitor001 will appear before Printer001 as WebTools sorts in alphabetic ascending order;
    >> But, our customer wants Printer001 to appear before Monitor001 as it is an Item higher in priority that Printer001.
    I can think of two possible solutions:
    1/2) Prefix Items with a number or letter to have it appear first in the WebTools default sort order. E.g. Rename "Monitor001" as "AMonitor001". This will not be possible for existing Items in SAP, so it doen't solve the issue,
    Or,
    2/2) Customize the Default WebTools Item List block to sort Items based on a User Define field called "pririty". Which might require a lot of effort.
    Please advise if anyone else has solved similar issue and how.
    Thanks very much for your replies in advance.

    Hey Kafil ... I think you may be stuck modifying the parts list page or creating something from scratch. I'm not aware of an easy way to do this out of the box.

  • Is it possible in IOS to have two static routes for the same subnet, one a higher priority and "failover" between the 2?

    Hi All
    Is it possible in IOS to have for a particular subnet:
    a) Two static routes?
    b) Make one static route a higher priority than the other?
    c) If one static router "goes down", failover to the lower priority static route?
    We have a l2tp/vpdn connection to a supplier which can be accessed via two vlans/routes. I would like to make one route the preferred one but the "route" to failover if the preferred route goes down.
    Again, many thanks in advance for all responses!
    Thanks
    John

    Hi John,
    Hope the below explaination will help you...
    R1(config)# ip route 0.0.0.0 0.0.0.0 2.2.2.2
    R1(config)# ip route 0.0.0.0 0.0.0.0 3.3.3.3 10
    If you notice the Administrative Distance for the secondary route pointing to ISP2 is increased to 10 so that it becomes the backup link.
    The above configuration with just two floating static routes partially accomplishes our requirement as it will work only in the scenario where the routers interfaces connected to the WAN link are in up/down or down/down status. But in a lot of situations we see that even though the links remain up but we are not able to reach the gateway, this usually happens when the issue is at the ISP side.
    In such scenarios, IP SLAs becomes an engineer's best friend. With around six additional IOS commands we can have a more reliable automatic failover environment.
    Using IP SLA the Cisco IOS gets the ability to use Internet Control Message Protocol (ICMP) pings to identify when a WAN link goes down at the remote end and hence allows the initiation of a backup connection from an alternative port. The Reliable Static Routing Backup using Object Tracking feature can ensure reliable backup in the case of several catastrophic events, such as Internet circuit failure or peer device failure.
    IP SLA is configured to ping a target, such as a publicly routable IP address or a target inside the corporate network or your next-hop IP on the ISP's router. The pings are routed from the primary interface only. Following a sample configuration of IP SLA to generate icmp ping targeted at the ISP1s next-hop IP.
    R1(config)# ip sla 1
    R1(config)# icmp-echo 2.2.2.2 source-interface FastEthernet0/0
    R1(config)# timeout 1000
    R1(config)# threshold 2
    R1(config)# frequency 3
    R1(config)# ip sla schedule 1 life forever start-time now
    The above configuration defines and starts an IP SLA probe.
    The ICMP Echo probe sends an ICMP Echo packet to next-hop IP 2.2.2.2 every 3 seconds, as defined by the “frequency” parameter.
    Timeout sets the amount of time (in milliseconds) for which the Cisco IOS IP SLAs operation waits for a response from its request packet.
    Threshold sets the rising threshold that generates a reaction event and stores history information for the Cisco IOS IP SLAs operation.
    After defining the IP SLA operation our next step is to define an object that tracks the SLA probe. This can be accomplished by using the IOS Track Object as shown below:
    R1(config)# track 1 ip sla 1 reachability
    The above command will track the state of the IP SLA operation. If there are no ping responses from the next-hop IP the track will go down and it will come up when the ip sla operation starts receiving ping response.
    To verify the track status use the use the “show track” command as shown below:
    R1# show track
    Track 1
    IP SLA 1 reachability
    Reachability is Down
    1 change, last change 00:03:19
    Latest operation return code: Unknown
    The above output shows that the track status is down. Every IP SLAs operation maintains an operation return-code value. This return code is interpreted by the tracking process. The return code may return OK, OverThreshold, and several other return codes.
    Different operations may have different return-code values, so only values common to all operation types are used. The below table shows the track states as per the IP SLA return code.
    Tracking
    Return Code
    Track State
    Reachability
    OK or over threshold
    (all other return codes)
    Up
    Down
    The Last step in the IP SLA Reliable Static Route configuration is to add the “track” statement to the default routes pointing to the ISP routers as shown below:
    R1(config)# ip route 0.0.0.0 0.0.0.0 2.2.2.2 track 1
    R1(config)# ip route 0.0.0.0 0.0.0.0 3.3.3.3 10
    The track number keyword and argument combination specifies that the static route will be installed only if the state of the configured track object is up. Hence if the track status is down the secondary route will be used to forward all the traffic.
    Please rate the helpfull posts.
    Regards,
    Naidu.

  • Query:Pop up on login for incomplete high priority tasks in sap inbox

    Hi All,
    I am having requirement to display pop up for incomplete high priority in sap inbox on loging in sap.
    I wil be thankful if you can guide to fulfill this requirement.
    Thanks.

    Hi,
    To get the High priority work items you can use the table SWWWIHEAD.
    using this table you can get the Priority, Status, and agent of the work item. Using this you can build the logic to
    display the pop up with this details.
    Thanks,
    Viji.

  • 1)     When call center Team creates Service Request/Service Order/  Complaints it should be set as High Priority by default.

    Hello team ,this is my requirement ..   Through customizing..
    When call center Team creates Service Request/Service Order/  Complaints it should be set as High Priority by default...we need to set only interaction agent bussiness role priority only HIGH..only for this bussiness role.through customizing how to do it..what are the steps..through customizing only please.. help

    By customizing, you can set a default priority to a given transaction type.
    But this does not depend on the business role.
    But as you are talking about IC agents, maybe you can check IDI for this purpose, because there are actions like "Set Problem Priority", "Set Service Request Priority" or "Set Service Order Priority".
    Best regards,
    Sylvain AGUETTAZ

  • High Priority MMS

    My text messages come across to the recievers as Urgent/High Priority.  I have figured out how to change the priority on each individual text, but is there any way to change them where I dont have to change it on the individual message?

    Hi and wecome to the forums! 
    options-mms text-priority
    I only have sms text, but that's how to do it for my sms.
    IrwinII
    Please remember to "Accept as Solution" the post which solved your thread. If I or someone else have helped you, please tell us you "Like" what we had to say at the bottom right of the post.

  • High priority in invoice

    hi,
    please tell what high priority  in  invoice.
    thanking you,
      madhu

    They should become available if you're composing a new message.

  • Give LAN higher priority than wireless / deactivate wireless if LAN is connected

    Hi.
    What I want to do is quite simple: Im my office there is a quite fast LAN connection and a rather poor wireless connection. Therefore, I want to tell my device: "If there is a LAN cable plugged in, just use LAN. Do not use Wifi in this case. If there is no LAN cable plugged in, try to connect to Wifi."
    It is really annoying to change that manually each time.
    I have already changed the network connection priority in Windows 7 as described here: http://support.microsoft.com/kb/2526067
    But to no avail.
    My notebook is E531.
    Wifi Device: Intel Centrino Wireless-N 2230
    Driver Date 30.09.2012
    Driver Version 15.3.1.2
    Solved!
    Go to Solution.

    Hi cis,
    do you by any chance have Access Connections installed on your system?  It is possible that the WLAN adapter is set to a higher priority than LAN in your location profile which is causing the behaviour.  If you don't have AC installed it may be a possible solution you could try. 
    Link to another thread on this subject;
    http://forums.lenovo.com/t5/ThinkVantage-Technologies/Access-Connections-disable-WiFi-on-Wired-Conne...
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • How to assign higher priority for labview while running other applications.

    HI,
    I am performing 2 time critical counter operations. I am using software time due to the hardware limitation of PCI6013(I have tried all other options). My problem is that I get a erractic value when I use mouse, keyboard or change to other application.
    I found the following link providing a method to provide maximum priority to labview application.But even regular labview users are asked not to use this application. I am not even a regular LABview user.Is there any precaution that I should take to use this VI. I am in need of such an application very badly. Please Help.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000F5880000&UCATEGORY_0=_1
    5_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=priority&USEARCHCONTEXT_QUESTION_S=0

    "Is there any precaution that I should take to use this VI."
    Yes many,
    When you start to experiment with settings priorities in an attempt to avoid the affects of mouse clicks, then you should brace yourself for the application appearing hung. This would happen if LV had a higher priority than the mouse interupt service routine.
    Same applies to the other conditions you mentioned.
    If you go this route, backup before you experiment! Some strange things can happen to your file system.
    I have talked to you about this challenge of yours in another thread. This is what I recomend.
    1) If you can live with your readings being made on only one gear at a time, AND the sample rate being aperiodic, then you MAY be able to use DAQ Occurances and two session. I
    have not done this myself, and AM NOT SURE if it can be done or if you hardare supports it, but maybe;
    a) Open two references to your and configure A so it uses hardware timing (like you already said works good) to count gear A using the other counter as the gate. On the other session you are counting gear B.
    b) Configure both of the above to fire occurances when done.
    c)Start only session A.
    d) When A occurance fires start B.
    e) When B fires start A, etc.
    This will give you determinism on the counts and effectively shift the indeterminism to the update interval.
    If this is not good enough then there is another option. Can you get yourself a nice solid external reference that you can apply as an external gate to both counters? If so you will be using hardware timing and you should be on the right track.
    If these do not work out, you may end up having to go to different hardware.
    Just trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Create at runtime a job to run at the central instance with high priority

    Hi All
    Using the function modules  (  job_open, job_submit and job_close )  or ( job_open, submit via job  jobname number jobcount, job_close) I need that this job runs in the central instance and with high priority.
    I would like to know how to  inform  it using the statements above?  How to pass the parameters to make the job run in the central instance with high priority?
    I would appreciate any help.
    Thanks in advance.
    João Gaia

    Hi
    I hadn't realized about the parameter TARGETSERVER of  the function module JOBCLOSE. I am going to make some tests.
    thanks in advance

  • Why is time-critical thread not interrupting sleepless high priority thread?

    Hello,
    I have two threads running in the same execution system on a real-time PXI platform. The time-critical thread sleeps using "AI Single Scan.VI", and acquires my data at a rate of 8000 Hz.
    I have a slower high priority process that calls a DLL function to calculate some filter coefficients. This function call takes longer than 1/8000 s to complete, and runs in a loop, executing as often as it can (with new data from FIFOs).
    I expected the time-critical thread to interrupt the the high priority thread without problem.
    I am finding that unless I insert a LabVIEW delay (for example a wait for x ms VI) in the loop, the real-time system stops responding. With a small delay (ie 1 ms), t
    he acquisition completes, and a FIFO shuts down the loop of the slow process.
    Why do I need a labVIEW delay in the high-priority loop, when the DLL function call itself is quite slow? Even without a DLL call, I would expect the time-critical VI to interrupt, finish its data acquisition, and shut-down the high-priority thread using its FIFO.
    Any suggestions?
    Thanks in advance,
    Frenk

    Here are a couple things to try/check:
    1) Check the call library node in your high priority VI. If it's orange (runs in UI thread), your high priority VI is actually switching to the UI thread every time your dll runs. That alone is not a problem. But if your TC VI tries to update any control terminals, the TC thread will switch over to the UI thread to access UI resources, possibly while the dll within your high priority VI has a lock on those resources. Why does the dll have a lock on UI resources? Because it was running in the UI thread and got interrupted by the TC thread before it finished doing its business. Not likely, but possible.
    2) There's another possible reason you're seeing this behavior. If the TC VI and the high VI call a mutual subVI, the subVI will be elevated to ALWAYS run in the highest priority thread irrespective of the actual caller (in your case, it's the the TC thread). Even when the *high priority VI* calls the mutual subVI, that subVI runs in the time-critical thread, which means there's a thread switch from high to TC, then back to high after the subVI finishes. And because high and TC VIs are in the same exec system, that mutual subVI will always run in the 1 and only TC thread alotted to that exec system.
    So, while your TC VI is running, you're in the TC thread. While, your high VI is running, you're in a high non-TC thread, and when your high VI calls the mutual subVI, you're again in the TC thread until the subVI finishes.
    So how could this arrangement cause your TC VI to become starved by the high VI? If your TC VI wakes up while the high VI is in the middle of running the mutual subVI, the TC thread responsible for running the TC VI is actually busy (in the middle of running the subVI in your high VI!!!), so the TC thread cannot run your TC VI until it finishes running that mutual subVI.
    The fix: make your TC VI run in a different exec system. It will be given its own TC thread that no one else can mess with. When TC VI wakes up, it's guaranteed a TC thread.
    I think there's a good reason behind why a mutual subVI ALWAYs runs at the highest priority of all its callers, irrespective of the actual caller's priority...but I can't think of the reason at the moment.

  • EIM Auto pushback - requeue at higher priority?

    Hello,
    In our EIM 4.3.2(8) implementation (ICM Enterprise integrated queues and agents), all new and incomplete activites auto-pushback to queue after 8 hours (overnight generally). The problem with this is, they're getting pushed to the back of the queue. I'd like to have all auto-pushback emails queue at a higher priority so that during days of high email volume, we don't get stragglers that keep getting pushed to the end of the queue while newer emails get handled.
    I saw this:
    http://docwiki.cisco.com/wiki/Transferred_Emails_Get_Sent_To_End_of_Queue
    and thought maybe I could pull some Activity related column through to ICM to act on to change the priority... Not sure what I should use though. I considered looking at the "WHEN_CREATED" field and upping the priority in ICM if that's more than a day ago, but I wonder if there is a simpler way to do this.
    Any help you can provide would be greatly appreciated.

    New tasks are sent from EIM to ICM in order queue priority, activity priority and oldest - in that order. While sending new task there is no differentiation between new email first time in queue Vs email which is auto pushed back to queue, if queue and activity priority are same then oldest activity criteria will be honored.
    There is no other way in default EIM product to push auto pushed back emails ahead of others.

Maybe you are looking for

  • Cash discount calculation at invoice level not at sales order level

    Dear Friends while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order. can you please let us know your views oin what basis iot calculating directly in the invoice, since payment

  • Tds problem

    i pass entry f-48 for advace payment that time surcharge not charge beco every time change master dta eg== vendor master data tax colum--- invoce time libale my problem is i change master data  & liable to payment cloum  what is permonant solutiaon (

  • Help!About the xml

    If i want to import a xml file,is the encoding must be "utf-8"???

  • Enterprise Services

    Hi Gurus! I think I know the concept of Enterprise Services, but I need to know technical aspects of ES (Integration on systems, ...). Could somebody give me information, links, examples,...? Useful answers will be rewarded. Thanks and regards, Manue

  • Prompt on formula

    Post Author: vargas CA Forum: Formula How can I create a prompt(paramater) on a Formula. The prompt is static.