Conditions in SP Trans Notif

Hi All,
I have a SP which blocks the addition of AR Invoice based on values in two udf:
if @transaction_type = 'A' and @object_type = '13'
begin
if exists(select T.docentry from OINV T inner join nnm1 P on T.Series = P.Series where T.docentry = @list_of_cols_val_tab_del and
T.U_InvType = 'T' and T.U_City = 'Hyderabad' and p.SeriesName not like '%APTI%')
begin
SET @error = 17
SET @error_message = N'Please select the right series for Tax Type Invoice!! '
end
end
Here, I have different values in City and I want to update it in a single SP, is it possible or do we have to create multiple sp's??
Ex. T.U_InvType = 'T' and T.U_City = 'Cochin' and p.SeriesName not like '%KETI%'  in this case, if the city is Cochin, then the series should be KETI%.
Thanks,
Joseph

Hi ,
Try This
if @transaction_type = 'A' and @object_type = '13'
begin
Declare @city as Varchar(50)
Declare @Type as Varchar(50)
Select @city=u_city from OINV t0 where T0.docentry = @list_of_cols_val_tab_del
Select @Type=T0.U_InvType from OINV t0 where T0.docentry = @list_of_cols_val_tab_del
if exists(select T.docentry from OINV T inner join nnm1 P on T.Series = P.Series
where T.docentry = @list_of_cols_val_tab_del and
(T0.[U_InvType] = @Type) and ( T0.[U_City] = @City ) and ( T1.[SeriesName] not Like 'APTI%%' or T1.[SeriesName] not Like 'KETI%'))
begin
SET @error = 10
SET @error_message = N 'Please select the right series for Tax Type Invoice!! '
end
end

Similar Messages

  • Conditional display of Worklist Notifications region in the Home Page

    Hi ,
    We have personalized the Home page of Oracle by displaying the Notifications work list . Now , I have a requirement to display the Notiifcations worklist section conditionally (based on some of the existing responsibilites to each user) .
    I was thinking we can do this using SPEL and opened up the HomePG.xml in the JDeveloper . I have created a boolean attribute in the ResponsibilitySearchVO and then in the Rendered section of WorklistRN of HomePG.xml I have put *${oa.ResponsibilitySearchVO.getCustomFunction}* . getCustomFunction* is the method in the RowImpl of VO . In this method for now , I have not put any logic but just returning a false value . Now,when I run my page from JDev , i could still see the Worklist Notification section . I was thinking if I did something wrong / if this is not the right away to do it .
    Gurus ... any replies will be of great help !!
    Thanks,
    Chandu
    Edited by: Chandu_CS on May 19, 2009 7:29 PM

    Yes, you are correct. It's possible to drop the dataguard configuration and to add the standby database manually. But I really would like to know in which table/view the current configuration is stored.Seems like a bug to me that the GrdiControl uses the wrong name for the standby-database. All other standby databases carry the hostname in their name, but since stbySELLPROD_demzivup01.akc.prod is too long for the agent, it gets shortened to stbySELLPROD.akc.prod (on the agent side, but not in the GridControl).
    Edited by: VivaLaVida on Dec 13, 2010 10:37 AM

  • Manual notifications on SR update

    Hi,
    I have a requirement to send Manual notifications to customer contacts whenever SR is updated from Customer support SR form.
    On other events like SR creation closure etc.. notifications should fire automatically.
    So it is like sending automatic notifications on few events on SR and manual notifications on other few events.
    For setting up automatic notifications in SR, i am defining rules in Notifications rules ( Customer Support --> Setups --> SR --> Notification rules).
    Need pointers in setting up manual notifications for SR ( Service representative should be able to send manually a notification to customer contacts that SR has been updated). Does this need customization in workflow?
    PLease note that we are on Oracle Apps 11.5.10.2 and implementing Services modules like Teleservices, iSupport, etc..
    Any helpful hints are appreciated.
    Regards,
    Mohammed

    Mohammed
    You can try two options:
    1. You personalize the SR Screen adding an option to Tools (using special menus)-->Send Notifications to Customer Contacts. The action on this screen will use wf_notification.send to pump out the notification to your customer contact WF roles.
    2. You can use SR Update business event to automatically send the notification to the SR customer contact under special conditions you want that notification to go to. The way this option differs from above one is that you have code the condition in your code where as you are doing it 'as-and-when-you-want' in the first option.
    I am not aware of any standard functionality.
    Thanks
    Nagamohan

  • Notification status is CLOSED automatically

    Hi,
    In my custom workflow, the notifications which are being fired are handled with pl/sql procedure using wf_engine.send_notification. But i see that the status of these notifications is CLOSED when i try to view them through the application.
    Any reason why the status of the notification is changed to CLOSED?
    Thank you
    Jim

    Hi,
    A notification is closed under three conditions.
    1 - The notification is a notification which does not require a response, has been emailed to the user, and the mailer is configured so that FYI notifications are automatically closed when they are emailed.
    2 - The notification does not require a response and the user has clicked on the OK button from their notifications screen.
    3 - The notification requires a response and has been responded to, either via email or via the notification pages.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Transaction Notification Considering Old transaction as well

    Dear Experts,
    If (@transaction_type = 'A' AND @Object_type = '140000009')
    begin
    if exists (SELECT T0.DocEntry FROM OOEI T0 WHERE (T0.U_ModVatCatg = 'N' AND T0. Series = 34) or (T0.U_ModVatCatg = 'M' AND T0. Series = 40) and T0.DOCENTRY = @list_of_cols_val_tab_del)
    select @Error = 1, @error_message = 'Wrong Series Selected for the given MODVAT Category'
    end
    The above transaction notification is written to check the series with a UDF. It was working fine till a few days back.
    However, a historical transaction was needed to be updated in a way that the condition in the transaction notification was not met.
    After having updated the transaction, this notification blocks all further documents even though the condition is satisfied.
    It seems the transaction notification is also considering the historical transaction and hence blocking the new transactions. However, this is not the way transaction notifications are meant to work.
    Kindly advise on how to over come this issue.
    Regards,
    Jimit

    Hi Jimmit,
    Seems you have 3 condition here
    1. (T0.U_ModVatCatg = 'N' AND T0. Series = 34)
    2. (T0.U_ModVatCatg = 'M' AND T0. Series = 40)
    3. T0.DOCENTRY = @list_of_cols_val_tab_del
    You place OR between 1 and 2, and place AND between 2 and 3, but no bracket to group condition 1 and 2.
    Seems fishy, try this
    if exists
    SELECT T0.DocEntry FROM OOEI T0
    WHERE ((T0.U_ModVatCatg = 'N' AND T0. Series = 34) or (T0.U_ModVatCatg = 'M' AND T0. Series = 40))
                  and T0.DOCENTRY = @list_of_cols_val_tab_del
    Hope this help.
    Best Regards,
    Hendry Wijaya

  • Workflow notification when idoc fails

    Hi Gurus,
    have little confusion over in understnaind the concept of order acknowledgement and shippining notification and the way they appear in MD04. Please ckindly clarify.
    We create a PO and send it to the vneodr (this is called 850). we use a third part VAN provider who will trnasmit the PO to our vendor. Now if there vendor receives the PO sucessfully, then it is called a 997. This is received only by the van provider. we do not get this. the van provider will only contact us if the document is not sucessfully trasnmittted.
    Now if the vendor agrees to the date and quantity on a single line that we have asked on PO, what is it called? Order acknowledgement or order confirmation or shipping notification? If it is order confirmation, then should it not appear as Ord conf or something like that in MD04. What do we need to do to make it look like ord conf. Becuase rright now we are still in the testing mode, once we get a confrimation about dates and quanitites on the confirmations tab on the P,O, i see that it shows up as SHPNTG ind MD04. is it right or am i missing anything. again this is setup in config. How we can deal a scenario where our users do not want to go the route of creating the inbound delivery automatically, and VL32N goods receipt, tehy dont want to do that. They still want to stick to MIGO and receive. <<Text removed>>
    My understanding is as follows, let me know if i'm right or wrong and please correct
    PO gets sent out - This is 850.
    Van provider gets confirmatioon of the successful receiupt of the PO from vendor - This is 997 and only van proivder gets this.
    Order confirmation - is this called order ackwnowledement or order confirmation? The vendor agress to the dates and quantities that we asked, Lets say the vendor changes the dates and/or quantities than what we asked. Is there a posssibility in system where we can put them in wait mode and not update our PO, then the buyer will go to some place in SAP and verify the changes dates and/or quantities that the vendor sent and then accept or reject the changes if we dont like etc.
    once the material is put on truck by the vendor, then we can get loading confirmation if we need to. Then finally once when they do the PGI that is when we get the shipping notifdication. IF this is the shipping notification then what is it that we got when the vendor agreed to our dates and quantities or changed the quanittues and dates. Please help
    Thanks
    Anusha
    Edited by: anusha vemulapati on Jun 23, 2011 7:30 PM
    Edited by: Matt on Jun 24, 2011 9:51 AM

    Hi Anusha,
    Well a very long description of question, and too many questions, please mention if something is missed in reply
    Firstly when you receive acknowledgement of the order from vendor, that means it is Order Acknowledgement, that vendor agrees to the terms and conditions of the PO sent in the PO, he may send you a date variance and may not, but not sending a date variance doesn't guarantee that there can be no change later.
    You mentioned the uses are not ready for Inbound delivery creation, so don't enter the shipping notification confirmation category in your confirmation control set up at all, or if you want you can use it but make it unaffected for your GR posting manually, by not ticking the GR assignment field in the confirmation control against shipping notification. by doing this it doesn't matter whether an Inbound delivery exists or not, you can post a GR Manually using MIGO.
    See basically order acknowledgement is just an acceptance by the vendor of the PO terms and condition whereas a shipping notification is more relevant from planning point of view, because it gives you exact dates of material reciept, also you can link use these documents for various other purposes.
    Regards
    Chandra Shekhar

  • Notification Wait with Interruption

    Hi All,
    I have two process one is Process A and another is Process B. In Process A I have an interactive activity and after that I have unconditional transition to an automatic activity. Again From Interactive activity I have one conditional transition to the Notification Wait activity which will be false always. Again from Notification Wait activity I have an unconditional transition to Interactive activity.
    Now In process B I want to notify the Process A, I need to mention here I do not have any instance pending in Notification Wait activity of process A.
    In simple language I want to shift my control from process B's automatic activity to Process A Notification wait taciturnity. If I can notify the activity I can traverse to Interactive activity in Process A as I have unconditional transition to Interactive activity.
    Can this be possible if so how and Can I make use of Notification Wait activity with Allow Interruption property.
    Any help will be appreciated.
    Bibhu
    Edited by: Bibhuti Bhusan on Oct 14, 2010 11:56 PM

    Sorry - probably just me but I'm completely lost.
    Sometimes it's helpful to describe your use case before drilling into your solution. A lot of times we can recommend a better way to do things if we understand the underlying need you have.
    Here's where I'm lost. I think you're trying to send a notification to an instance in another process. I have undoubtedly misunderstood you but I think that there are two things missing in your process that is being notified:
    1. the work item instance in the process being notified is not and will never be in a Message Wait activity and
    2. the process being notified does not have a Message Wait activity that has its "Interupt" property set.
    If I understand you correctly and if both of these two things are true, it will be impossible for you to send a notification into this process.
    Dan

  • Vendor's AP report

    Dear Experts/Gurus,
    I have a problem to develop a report using query print layout. The report will look like vendor liabilities aging (VLA). In the aging, the closed AP invoices are not display but in the report I need, they are still displayed if the selection criteria is still below the updatedate (the date that the AP invoices were closed). For example an AP invoice due date was 12.01.06, but it is closed on 12.01.07, where it will be recorded in the updatedate field of OPCH table, if the data is filtered between 01.01.06 - 31.12.06, the vendor's AP invoice is still displayed in the report. The VLA is not able to do that, isn't it ? Could it be possible to develop report like that by using query ? I appreciate your answer. TIA
    Rgds,

    you would need to start from the possible end points:
    ie credit memo's, outgoing payments and work your way backwards to the ap invoice this will allow you to get the close date.
    This is because the update date on the ap invoice cannot be used for your purpose.
    Either that or you can add logic to the sp tran notification to update the date to the ap invoice table from either the credit memo or the outgoing payment.
    -- I'm assuming the you understand the base/ target document functionality that allows traceability in b1.

  • How to Enable logging of the ASA 5525?

    I need help to enable logging of the ASA 5525 for all new rules created today from the firewall module, rules changed, deleted desabilidas and disabled rules.
    Not found in the historic level of the ID on new firewall rules.
    0 or emergencies—System is unusable.
    1 or alerts—Immediate action needed.
    2 or critical—Critical conditions.
    3 or errors—Error conditions.
    4 or warnings—Warning conditions.
    5 or notifications—Normal but significant conditions.
    6 or informational—Informational messages.
    7 or debugging—Debugging messages.
    Thank you.

    You cannot log only those changes but you can log *all* changes.
    The messages 111008 and 111010 are the ones to look for (as described in this post).

  • How to avoid outputting goods receipt

    Hi,
    iam printing a goods receipt with output type WE01 thru MB90
    How to avoid outputting befor printing it??
    Regards
    Krishna

    hi Charlie,
    i dont want to assign output type to material document..
    but i want to print the goods receipt.
    i maintained condition record for Trans./Event Type,Print Version and Print item.
    But iam unable to print iT.
    Any further config required to acheive this?
    Many thanks
    Krishna

  • ORA-24344: Success with compilation error.

    Hi, i got the following error notification mail when the DB job [runs only once in a day at 1 AM] tries to execute the following procedure.
    The mail reads like this ----
    "Condition Raised in: toll_partitions.recompile_invalid_objects
    Short Desc: ORA-24344
    Long Desc: ORA-24344: Success with compilation error.
    Cause: Trigger creation did not successfully complete.
    Solution: Check trigger status for all triggers created in this schema and find out which error caused the failure by querying the user_errors table for the named trigger and Trigger type.
    --- end of mail ----
    === This is the procedure =====
    PROCEDURE recompile_invalid_objects IS
    -- Declare variables
    v_ins_str VARCHAR2(2000);
    cursor_handle NUMBER;
    execute_feedback NUMBER;
    v_unix_str VARCHAR2(200);
         v_object_cnt NUMBER := 0;
         -- Declare cursor objects
         CURSOR curs_obj IS
    SELECT decode( OBJECT_TYPE, 'PACKAGE BODY',
    'ALTER PACKAGE ' || OWNER||'.'||OBJECT_NAME || ' COMPILE BODY',
    'ALTER ' || OBJECT_TYPE || ' ' || OWNER||'.'||OBJECT_NAME || ' COMPILE' )
                   "COMP_OBJECT"
    FROM dba_objects
    WHERE STATUS = 'INVALID'
    AND OBJECT_TYPE IN ( 'PACKAGE BODY', 'PACKAGE', 'FUNCTION', 'PROCEDURE',
              'TRIGGER', 'VIEW' )
    AND OWNER = USER
              AND OBJECT_NAME NOT LIKE 'TOAD_PROFILER'
    ORDER BY OWNER, OBJECT_TYPE, OBJECT_NAME;
    BEGIN
         -- Set Package/Procedure Name for email notification.
         vFacility := cProcName || '.recompile_invalid_objects';
    -- Select invalid object count
    BEGIN
         SELECT count(*)
              INTO v_object_cnt
              FROM dba_objects
    WHERE STATUS = 'INVALID'
    AND OBJECT_TYPE IN ( 'PACKAGE BODY', 'PACKAGE', 'FUNCTION', 'PROCEDURE',
              'TRIGGER', 'VIEW' )
    AND OWNER = USER
                   AND OBJECT_NAME NOT LIKE 'TOAD_PROFILER'
    ORDER BY OWNER, OBJECT_TYPE, OBJECT_NAME;
              -- Recompile invalid objects
              IF v_object_cnt > 0 THEN
              FOR i in curs_obj
                   LOOP
                   v_ins_str := i.COMP_OBJECT;
                        cursor_handle := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(cursor_handle,
         v_ins_str,
                   DBMS_SQL.V7);
    execute_feedback := DBMS_SQL.EXECUTE(cursor_handle);          
    DBMS_SQL.CLOSE_CURSOR(cursor_handle);
    COMMIT;
                   END LOOP;
              END IF;
    END;
    EXCEPTION
         WHEN OTHERS THEN
         -- Log error condition and generate email notification if needed.
    toll_handle.error_condition(vFacility, toll_handle.get_ora_desc(sqlerrm),vErrorID);
         END recompile_invalid_objects;
    ==== end of procedure ====
    I got '0' count when I ran the invalid object count to see the invalid objects. I ran the following code ..and it gave me 0 value.
    SELECT count(*)
              FROM dba_objects
    WHERE STATUS = 'INVALID'
    AND OBJECT_TYPE IN ( 'PACKAGE BODY', 'PACKAGE', 'FUNCTION', 'PROCEDURE',
              'TRIGGER', 'VIEW' )
    AND OWNER = USER
                   AND OBJECT_NAME NOT LIKE 'TOAD_PROFILER'
    ORDER BY OWNER, OBJECT_TYPE, OBJECT_NAME;
    --- end of query ---
    The count 0 means, there are no invalid objects. But it throws daily the same error notification mail at 1 AM[the time job runs]. I compiled the procedure and it reports no errors. I checked the status of the triggers and all are valid and enabled. Please suggest me. Any help in this regard will be of great help to me. Thanks in advance...

    Just some hints. I'm not sure if they help solving your problem.
    1) Don't COMMIT inside a cursor.
    2) Instead of DBMS_SQL you could use DBMS_DDL.ALTER_COMPILE, also see here: http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_ddl2.htm#1000604
    3) Check if there are other jobs running during the recompile. Maybe you run into some conflicts.
    4) Output the statement that creates the error. It looks like you could try to put this into your exception handler: toll_handle.error_condition(vFacility, v_ins_str,vErrorID);

  • A little help writing an SQL please? May need some advanced functionality..

    Hi All
    I have arequirement to write an SQL that, given a total, and some rows from a table, can return the rows where one of the columns adds up to the total
    These are transactions, so I'll boil it down to:
    TranID, TranAmount
    1, 100
    2, 200
    3, 250
    4, 50
    Suppose I will know that I need to seek 2 transactions totalling 300.
    Possible combinations are ID 1+2, or 3+4. In this case, it is an error that I cannot find a single set of transactions that satisfies the number-of and the sum-of requirements
    Suppose I will know that I need to seek 3 transactions totalling 550.
    Only combination is ID 1+2+3
    The difficulty for me here comes in that the number of transactions hunted will change, possibly without limits but as there will be a factorial element in terms of number of combinations, imposing an upper limit would be sensible.
    I considered one solution within my understanding of SQL, that I can take my rows, and (supposing I enforce a limit of 3.. i.e. I cannot look for any more than a combination of 3 transactions) cross join them to themselves on condition that no tran ID is equal to any other tran ID, I will then get a huge block of cartesian joined transactions. I can then use a where clause to pick out row combinations having the correct sum. If I can use some kind of ID > otherID in my join, then I can make the cartesian a triangle shape which hopefully would prevent essentially duplicated rows of 1,2,3 and 1,3,2 and 3,2,1 and 3,1,2 etc
    If I was only looking for 2 or 1 possible combinations, I would replace the tran amounts with 0 using a case when (because the number of times I'll cross join is fixed; I dont want to get into executing a dynamic sql)
    Lastly I should point out that I'm doing this in PL/SQL or possibly Java so I have the ability to introduce custom logic if needs be
    I would love to hear any other input from the wise and wizened members here as to how they might approach this problem.. Maybe oracle has some cool analytical functionality that I do not know of that will help here?
    Thanks in advance guys n girls!

    >
    Now, as I'll be looking to update another columns on these transactions so that it can be picked up by an external process, can I modify this query so that it produces a list of TranIDs so I can say:
    UPDATE tran SET falg='Y' WHERE tranID IN (<the query>)
    >
    Well if there's a workaround for the NOCYCLE, then the following will give all the transactions as rows for a particular total...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 1 as TranID, 100 as TranAmount from dual union all
      2             select 2, 200 from dual union all
      3             select 3, 250 from dual union all
      4             select 4, 50 from dual)
      5  -- end of test data
      6  select distinct substr( trans
      7                , decode( level, 1, 1, instr(trans,'+',1,level-1)+1)
      8                , decode( instr(trans,'+',1,level), 0, length(trans), instr(trans,'+',1,level) - decode( level, 1, 0, instr(trans,'+',1,level-1))-1)
      9                ) the_value
    10                from (select trans
    11                      from (
    12                            select ltrim(rtrim(comb.trans,'+'),'+') as trans, sum(case when instr(comb.trans,'+'||t.tranid||'+')>0 then tranamount else null end) as sum_tran
    13                            from (select sys_connect_by_path(tranid, '+')||'+' as trans
    14                                  from t
    15                                  connect by nocycle tranid > prior tranid) comb
    16                                 ,t
    17                            group by comb.trans
    18                           )
    19                      where sum_tran = 550)
    20  connect by level < length(replace(translate(trans,'01234567890','00000000000'),'0')) + 2
    21* order by 1
    SQL> /
    THE_VALUE
    1
    2
    3
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 1 as TranID, 100 as TranAmount from dual union all
      2             select 2, 200 from dual union all
      3             select 3, 250 from dual union all
      4             select 4, 50 from dual)
      5  -- end of test data
      6  select distinct substr( trans
      7                , decode( level, 1, 1, instr(trans,'+',1,level-1)+1)
      8                , decode( instr(trans,'+',1,level), 0, length(trans), instr(trans,'+',1,level) - decode( level, 1, 0, instr(trans,'+',1,level-1))-1)
      9                ) the_value
    10                from (select trans
    11                      from (
    12                            select ltrim(rtrim(comb.trans,'+'),'+') as trans, sum(case when instr(comb.trans,'+'||t.tranid||'+')>0 then tranamount else null end) as sum_tran
    13                            from (select sys_connect_by_path(tranid, '+')||'+' as trans
    14                                  from t
    15                                  connect by nocycle tranid > prior tranid) comb
    16                                 ,t
    17                            group by comb.trans
    18                           )
    19                      where sum_tran = 300)
    20  connect by level < length(replace(translate(trans,'01234567890','00000000000'),'0')) + 2
    21* order by 1
    SQL> /
    THE_VALUE
    1
    2
    3
    4
    SQL>

  • Problem in Inv O/P Condn Rec--"Debit/Credit Key Combination not appearing"

    Hi,
      I have done the following settings for Inventory Mgmt:Output determination:
      Print control settings as follows:
      1. Defined Print items for each output type (eg. A,B,C etc.)
      2. Defined Version Print Indicator = 3 (Collective Slip) for MIGO transaction
      3. Maintained Print Indicator for GI/Transfer Posting Documents - here I linked print item for my  
         mov.types.
       I have maintained User Parameter NDR = "X"
      Output determination settings as follows:
      1.Defined my output types with access seq=0003
      2.Linked output types to O/p det.procedure ME0001 (requirement field blank)
      3.Maintained condition records for Trans.type WA 
         Here, the key combination for debit/credit indicator is not appearing for selection
         - hence I am not able to maintain condition records at the debit/credit level for transactions like    
           stock transfer but I am able to maintain conditions without Debit/Credit indicator.
         - as a result, during output determination, 2 messages appear for each document item.
       I want only one output message per document item.
        I tried changing access sequence for my output type to 0004 but once I did that, no output was
        getting determined for my material documents.
        How do I solve this.
        Is there any other config to be done (for eg. requirement in Inv.Mgmt procedure)?   
        Is there any other user parameter I should check out?
        Thanks & Regards
        Prabhu
    Edited by: Prabhu Sundararaman on Dec 16, 2008 12:31 PM

    You call do_addition with a wrong set of parameters or you use the wrong datatypes from your parameters.
    Check what parameters ( and their datatypes ) that procedure expects.
    Also check if you have the right privileges for using UPDATE_ERROR_MSG and that a synonym exists for it.
    fa_addition_pub.do_addition
    (p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_false,
    p_commit => fnd_api.g_false,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => l_return_status,
    x_msg_count => l_mesg_count,
    x_msg_data => l_mesg,
    p_calling_fn => 'FA_ADDITION_API', ---modify by anand
    px_trans_rec => l_trans_rec,
    px_dist_trans_rec => l_dist_trans_rec,
    px_asset_hdr_rec => l_asset_hdr_rec,
    px_asset_desc_rec => l_asset_desc_rec,
    px_asset_type_rec => l_asset_type_rec,
    px_asset_cat_rec => l_asset_cat_rec,
    px_asset_hierarchy_rec => l_asset_hierarchy_rec,
    px_asset_fin_rec => l_asset_fin_rec,
    px_asset_deprn_rec => l_asset_deprn_rec,
    px_asset_dist_tbl => l_asset_dist_tbl,
    px_inv_tbl => l_inv_tbl,
    px_inv_rate_tbl => l_inv_rate_tbl
    );

  • Link between QMEL-QMNUM and IMRG-MDOCM

    Hello friends,
    this is related to PM(Plant Maintenance) module...
    i want the link between QMEL-QMNUM (Notification Number) and IMRG-MDOCM(Measurement Document) or IMRG-POINT(Measuring Point),
    Scenario : Depending on certain conditions, I am creating notification for the given measuring point.
      IF ( w_cdsuf = 'X' AND w_vlcod = 'NK' )
    Perform Notif_create. using bdc method.
    Since notification is getting created when it has to be created,,i mean everything is working fine.
    But, Ineed to know the Notification number created against the Measurement Document.
    If at all tehre is any link,please let me know..
    Thanks,
    Siddhartha Prakash.

    Hi,
    The link between the tables QMEL and IMRG can be achieved by using the table "IEQT_WL_MP", where we have to use the Equipment number in the QMEL to retrieve the Measuring Point Object .
    Regards,
    Smart Varghese
    Edited by: smartvarghese on May 25, 2009 11:48 AM

  • Updating of TestStand data from CVI Callback

    How do I update the variables in TestStand from a callback function in LabWindows. In the attached file the use must press the pass or fail button. This action is received in the callback function in CVI where I call the TS_PropertySetValBoolean method in TestStand. The variables are updated and the notification is processed but only when the close button is pressed. If the update conditions are removed the Notification event is sent correctly (when either pass/fail is pressed).
    Attachments:
    TS_NewThread.zip ‏15 KB

    Hi Steven,
    Not sure I understand your problem.
    When you press the Pass button the Pass/Fail step passes and when you press the Fail button the Pass/Fail step fails. (therefore your FileGlobals is being updated correctly).
    Don't know why you have the Set Notification after the Pass/Fail step as you have nothing running waiting on this action.
    The MainSequence is then left waiting to complete and this does happen until you close the new thread by closing your GUI.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

Maybe you are looking for

  • What are Logical patha nd physical paths?

    Hi all, When i am uploading Material master data through LSMW i am getting Error like The Logical file name LSMW_* ....is not created. What are this Logical files and i know these are Created by FILE tCode. My question is why we need this file and it

  • BOM components are not matching in BOM and STPO table

    Dear Guru's When I check the BOM compoenents and the STPO table it is not matching. For an example, If Material X has 10 components avialable in BOM (CS03), and when I go to STPO table with the BOM number it has about 15 centries in it. We have Engin

  • Field value as file name when export as fdf

    When running a batch process in Adobe Acrobat Professional that exports a pdf as fdf to a file path, is there a way to name the file with one of the pdf field values?

  • ICON Frustration

    I just installed Adobe Creative Suite 3 and since then my icons have been all screwed up in finder and sometimes on the desktop. To give you an idea, a .psd file will have the stickies icon or an html file will have the itunes icon. What the heck is

  • Why is it still so hard to get into safe mode?

    One of the worst features in Windows 8 is the many, many steps it takes to boot into safe mode... and it doesn't always get you there. And sadly, Microsoft has brought that into the Windows 10 preview. Let's be real for a second. Safe mode is a valua