SQL Query base Finish goods year wise report

Hi
I want to make query base year wise report  of Finish Goods.
example like :
Item Name     Year2010-11                           Year2011-12
   abc         Sep   Oct   Nov                 Sep    Oct   Nov 
    xyz        5     0      10                   2    5      0
Why this report is need to me because i want to see How old Finish Goods are in the Stock. so that when a delivery make, the person can delivery from old stock first.
Our FY is from September to August
Please help me
Regards,
Mizan
Edited by: mizan700 on Nov 15, 2011 3:28 PM

Hi Eva,
As Sybrand mentioned, you can't create DDL inside a procedure, and you probably don't need a temporary table. Temporary tables in SQL server used to be used to create a read consistent view for the duration of the procedure, but Oracle's multi version concurrent consistency model eliminates this as a need in all but the most remote cases.
Your create table only seems to be used to take arguments from the user, which I don't see in your code.
If I am looking at your code correctly, all you really want to ask the database is the following:
select nvl(sum(dc.daily_count),0)
  from daily_counts_summary dc, branch br, division div
  where dc.branch_ky = br.branch_ky
    and br.division_ky = div.division_ky
    and dc.transaction_dt = t.trndt
    and dc.commission_cd = 'R'
    and div.division_ky = nvl(v_div_ky,div.division_ky)
    and dc.member_type_cd, 'P'
    and dc.expiration_dt between v_exp_start_dt and v_exp_end_dt;You can do this in Crystal Reports by writing a procedure that has an out parameter of type sys_refcursor. All you have to do is:
create or replace procedure my_proc(p_curs in out sys_refcursor,v_exp_start_dt date,v_exp_end_dt date) is
begin
  open p_cur for
select nvl(sum(dc.daily_count),0)
  from daily_counts_summary dc, branch br, division div
  where dc.branch_ky = br.branch_ky
    and br.division_ky = div.division_ky
    and dc.transaction_dt = t.trndt
    and dc.commission_cd = 'R'
    and div.division_ky = nvl(v_div_ky,div.division_ky)
    and dc.member_type_cd, 'P'
    and dc.expiration_dt between v_exp_start_dt and v_exp_end_dt;
end;
/...or something close to that, with perhaps calls to your date functions to extract what you need.
You also have several syntax errors in your code. I would recommend you get two books if your are going to work with Oracle:
Anything by Tom Kyte
Anything by Steven Feuerstein
These would both be available on amazon.com
HTH,
Steve

Similar Messages

  • Need information in Year wise report

    Dear All,
    I am doing year wise report, in that i got total quantity for every month.
    But my problem is if there is no transaction in that month i didn't get for that month, i need that month with total quantity is 0.
    Please help to solve this issue.
    thanks & Regards
    Adina

    Try this..
    SELECT sum(po.No_POS) over(order by mths.dt) Quantity ,
           to_char(trunc(mths.dt,'MM') , 'MON-YYYY') "Month"
    from
        (select count(poh.segment1) No_POS
              , to_char(trunc(poh.approved_date,'MM') , 'MM-YYYY') Month_PO
         from po_headers_all poh
         where poh.type_lookup_code='BLANKET'
         and poh.approved_flag='Y'
         and poh.approved_date>=nvl(:P_FROM_DATE,poh.approved_date)
         and poh.approved_date<=nvl(:P_TO_DATE,poh.approved_date)
         group by trunc(poh.approved_date,'MM'))po,
        (SELECT add_months('01-DEC-2005', lvl) dt
         FROM (select level lvl
               from dual
               connect by level < 1000)) mths
    WHERE to_char(trunc(mths.dt,'MM') , 'MM-YYYY')= po.Month_PO(+)
    and mths.dt between :P_FROM_DATE and :P_TO_DATE
    order by mths.dtMessage was edited by:
    jeneesh
    Tested Like..
    SQL> select * from po_headers_all;
      SEGMENT1 APPROVED_
             1 28-SEP-07
             2 23-SEP-07
             1 09-AUG-07
    SQL>  SELECT sum(nvl(po.No_POS,0)) over(order by mths.dt) Quantity ,
      2          to_char(trunc(mths.dt,'MM') , 'MON-YYYY') "Month"
      3   from
      4       (select count(poh.segment1) No_POS
      5             , to_char(trunc(poh.approved_date,'MM') , 'MM-YYYY') Month_PO
      6        from po_headers_all poh
      7        --where poh.type_lookup_code='BLANKET'
      8        --and poh.approved_flag='Y'
      9        --and poh.approved_date>=nvl(:P_FROM_DATE,poh.approved_date)
    10        --and poh.approved_date<=nvl(:P_TO_DATE,poh.approved_date)
    11        group by trunc(poh.approved_date,'MM'))po,
    12   --date is changed here and no extra subquery needed
    13       (SELECT add_months(sysdate-365, level) dt
    14        from dual
    15   --dates are HARDCODED here
    16        connect by level < (months_between(sysdate,sysdate-365)+1)) mths
    17   WHERE to_char(trunc(mths.dt,'MM') , 'MM-YYYY')= po.Month_PO(+)
    18   order by mths.dt;
      QUANTITY Month
             0 OCT-2006
             0 NOV-2006
             0 DEC-2006
             0 JAN-2007
             0 FEB-2007
             0 MAR-2007
             0 APR-2007
             0 MAY-2007
             0 JUN-2007
             0 JUL-2007
             1 AUG-2007
             3 SEP-2007
    12 rows selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to display the SQL query's date parameters to the report

    Hi all,
    I'd like to take the date parameters that are contained in my query and have them appear on the report and/or have the sysdate appear on the report. Any ideas on how to do this? Thanks!

    Hi..
    To display parameters which are part of SQl Query in the output..
    http://blogs.oracle.com/xmlpublisher/2008/07/where_are_the_parameter_values.html
    HTH..

  • Where and how do I get the SQL Query used by the Microsoft Generic Report Library - Alerts?

    Background:
    I'm tasked with the following: I need to create a new Report and the SQL
    The two canned reports that I can pattern after are: Microsoft Generic Report Library
    - Alerts (there is also an alert detail report that can be chosen within the alert report that we may want to use instead)
    - Most Common Alerts
    I'm trying to do this:
    Add another parameter to search on customfield3.
    It should be able to report on all alerts that were assigned to the specific team for the time period along with the top 10 (most common alerts) assigned to the team for the time period.
    Choose as the objects (group) all servers, but Imay need to adjust the report to just look at all alerts without having to provide objects or a group
    The struggle I'm having is: I know SQL. I know how to create an RDL file.
    But Where are the RDL files for the canned reports so I can modify the canned RDL and modify its SQL and forms?
    What is the SQL/ where can I find the SQL used for the Generic Report Library -> Alerts

    Easy but you need to extract it from Microsoft Generic Report Pack. 
    So.. the procedure is as follows:
    1) You export and unseal Management Pack from your SCOM using
    Boris's OpsgMgr tools (MPViewer
    2.3.3)
    2) Ok you've got unsealed xml, now the tricky part, use
    MpElementsExtract tool, example of usage:
    MPElementsExtract.exe <MP.xml> /ex /destination:<destination>
    That you way you get several folders out of mp:
    DWScripts, DWSubScripts, LinkedReports, ReportResources, Reports
    Take a look into content of first 2, there will be pure sql scripts, and rdl's are in Reports folder :)
    Other way is to just use SQL profiler and catch SQL query while generating report. 
    --- Jeff (Netwrix)

  • Sql query with dynamic fiscal year

    Hi,
    I wrote this query with static fiscal year and fiscal period, I need info on making the variables dynamic
    Fiscal year : starts from July1st. So this year until June'30 it is '2011' and from July'1st its '2012'
    Fiscal period: July1st its '1' and June'1st its '12'
    Query:
    select distinct o.c_num, o.ac_num, s.sub_ac_num, o.fiscal_year, o.ac_exp_date, s.sub_ac_ind
                             from org_account o
                                  left outer join sub_account s
                                  on o.c_num = s.c_num and o.ac_num = s.ac_num
                             where (o.ac_exp_date >= CURRENT_DATE or o.ac_exp_date is null)
                             and o.fiscal_year = *'2011'* --> need to be dynamic
                             and o.fiscal_period = *'12'* --> need to be dynamic
    thanks,
    Mano
    Edited by: user9332645 on Jun 2, 2011 6:55 PM

    Hi, Mano,
    Welcome to the forum!
    Whenever you have a question, please post a little sample data (CREATE TABLE and INSERT statements), and the results you want from that data.
    Always say which version of Oracle you're using.
    Since this is your first thread, I'll post some sample data for you:
    CREATE TABLE     table_x
    (     dt     DATE
    INSERT INTO table_x (dt) VALUES (DATE '2010-12-31');
    INSERT INTO table_x (dt) VALUES (DATE '2011-01-01');
    INSERT INTO table_x (dt) VALUES (DATE '2011-06-02');
    INSERT INTO table_x (dt) VALUES (DATE '2011-06-30');
    INSERT INTO table_x (dt) VALUES (DATE '2011-07-01');Is this the output you would want from that data?
    DT          FISCAL_YEAR     FISCAL_PERIOD
    31-Dec-2010 2011            06
    01-Jan-2011 2011            07
    02-Jun-2011 2011            12
    30-Jun-2011 2011            12
    01-Jul-2011 2012            01If so, here's one way to get it:
    SELECT       dt
    ,       TO_CHAR ( ADD_MONTHS (dt, 6)
                , 'YYYY'
                )     AS fiscal_year
    ,       TO_CHAR ( ADD_MONTHS (dt, 6)
                , 'MM'
                )     AS fiscal_period
    FROM       table_x
    ORDER BY  dt
    ;Since your fiscal year starts 6 months before the calendar year, you need to add 6 months to the actual date to get the fiscal year and month.
    The query above produces strings for fiscal_year and fiscal_period. If you'd rather have NUMBERs, then use EXTRACT instead of TO_CHAR:
    SELECT       dt
    ,       EXTRACT (      YEAR
                FROM     ADD_MONTHS (dt, 6)
                )     AS fiscal_year
    ,       EXTRACT (      MONTH
                FROM     ADD_MONTHS (dt, 6)
                )     AS fiscal_period
    FROM       table_x
    ORDER BY  dt
    ;The first query will work in Oracle 6 (and higher).
    I'm not sure when EXTRACT was introduced. It definitely works in Oracle 10, and may be available in earlier versions, too.

  • Finished goods stock statement report for production

    Hi guys,
    i want to create a report showing these fields:-
    Product Code,
    Description,
    UOM,
    Opening Balance,
    Receipts From Production,
    RMA Receipts (Rejections),
    Total,
    Dispatched,
    Closing Balance,
    Physical Stock,
    Variance.
    With org. code and date range parameters
    Pls i need ur inputs on d tables to use and how to link them.
    The query basically.
    I am using 10g rpts develper.
    thank u

    and how should we know your table-structure? If you are using the eBusiness-suite, try an eBusiness-related forum, maybe this OA Framework

  • How to get Inventory -Finished Goods Values Plant wise

    Hi,
    Client is asking a Balance sheet. In that Balance Sheet, he wants plant wise break up for Inventory Finished Goods GL Account.
    For Example:
    Inventory finished goods  - Plant 1100 = 120000
    Inventory finished goods  - Plant 1900 = 110000
    How can we get plant wise break up in Balance sheet? How can it be possible in SAP? Please help me on this.
    Thanks
    Vimal

    Hi Vimal,
    Use Transaction Code: FBL3N for obtaining the values of Inventory - Finished Goods Plant wise.
    Give the following Inputs:
    GL Account : Inventory - Finished Goods
    Company Code - 1000 example
    Click on Dynamic Selection Tab (Shift+F4) >> Click on Document (Spinner) >> Double Click on Plant >> You can see the input field at right side of the input fields. There give the plant number for which you are going to draw the report and Click on Dynamic Selection Tab to hide.
    Now, select Line Item Select appropriatedly.
    Execute.
    This is working fine and your problem will get solved and make your client happy.
    Regards
    VG

  • Report on Finished goods stock

    Hi friends ,
    I got a task to do .
    Description:
    "Age Analysis of Finished Good Stock: - Interactive report. Double click on the line item will give the batch wise stock details."
    Can any one give some more elaborate information regarding this.
    And please give what are the tables and fields might necessary for this.
    With Best Regards,
    Priyanka Sai.

    Hi satya,
    the report says that depending on the days difference of your material...the stock details shud be diplayed in the secondary list....
    hence for priomary list using the table MARA for a material number calculate the ageing period..in the sense sysdate-created date(ersda)..gives the days analysis..
    for this in the secondary report code such that stock details from MARD,MARC,MARDH is retreived...chck the reqquired fields..
    matnr,ersda,and corresponding fields of stcok in the other tables...
    hope this helps u a bit,
    all the best,
    regards,
    sampath
    mark helpful answers

  • How to enable show SQL Query in Crystal report tool

    Hi,
    How can we enable the show SQL Query under Database tab in crystal report...
    We have a requirement to modify the SQL query in Crystal reports.
    Thanks,
    Gana

    Gana,
    CR has an "Add Command" feature that will allow you to use hand-coded SQL as your data source.
    Look at Defining an SQL Command in CR's online help (F1).
    If a command was used in the original report creation, it's a simple matter to go in and edit that SQL.
    If the report was not originally built w/ a Command you may find it difficult to switch over. In most cases it easier to start over from scratch, creating a new, blank report, that uses the command.
    Jason

  • Executing PL-SQL Query before running a Report

    Hi Guys,
    Can i use a Run a Pl-Sql Query every time before executing a report. Like if i am opening a report then the pl-sql Query should run before it.
    Thanks
    Rondo.

    Try with Evaluate as one of the column's expression.. so that we can limit to specific report..
    or
    Use Connection Pool->Connection Pool Scripts tab->use 'Execute before query'
    Since we can set the repository variables using advanced tab.. the same variable we may validate using Connection pool scripts tab.
    This might be more dev work..
    Edited by: Srini VEERAVALLI on Dec 17, 2012 9:00 PM

  • How can I get the material consumption of the month for each specific Finished Good?

    (Sorry, I first opened this discussion in another space. I guess here's where it belongs).
    Dear Experts,
    This is the first time I open a discussion. I'm new at this. I've been reading for a couple of months your forums and certainly you've helped me a lot. Thanks for that. Keep it up! ^_^
    Now on business. Let me explain a bit about what I'm looking for.
    I've been looking for a report that shows me the material consumption of the month in quantities. Raw Material and Packaging Material to be more specific. Also I need to see the consumption of those materials by each specific Finished Good.
    For example, I know the consumption of Flour of all the month, but we use it for all our Finished Goods or SKU's as we call them, since we make cookies. How can I know how much Flour each Finished Good actually used?
    I've been trying with different T-Codes, reports, etc. The last thing I've got is using transaction MB51 and filtering movements type from 261 to 262. The beauty of this report is that shows me the Process Order number, since I can match the PO number to a Finished Good with another report from BI (or BEX, however you call it).
    Everything was fine until I found that there are some PO's that are not directly related to a Finished Good, but to a Semi Finished Good. In some cases I'm able to match the Finished Good, since the majority of Semi Finished Goods are uniques to a Finished Good. But there are three specific cases that are my problem right now:
    Cream X: We use it for three Finished Goods.
    X Syrup: We use it for all the Finished Goods.
    Refined X Sugar: We use it for three Finished Goods.
    So those three are Semi Finished Goods which are related to certain numbers of PO's I have on the report.
    In the end, with the report from MB51 I have all the list of materials (filtering only Raw and Packaging), I have the consumption of the month (filtering movements 261 and 262) and I have the PO number related to each material. Of course one material is listed many times on the report, but with different PO number.
    Then, like I said, I can match the PO number to a Finished Good, except in the cases where the PO is not matched to a Finished Good, but to a Semi Finished Good like the three examples I gave you.
    I don't know if there's another way to track the Finished Good having the PO number. I've tried T-Code COR3, but couldn't get too far.
    I hope I explained myself a bit clear and also sorry if my English is not so good.
    Thanks in advance. ^_^
    Warm regards,
    Rol

    Hi Rolando,
    If the purpose is to find the consumption of a material, you can get it from report "MC.9". Plz let me know if it's useful.
    Rgds,
    Sudheer.

  • How do I modify the WHERE clause in my SQL query?

    This seems like such a straight-forward part of the report design, but I'm fairly new to Crystal Reports and I only have experience with modifying reports someone else has already written.  In this particular case, I just need to modify the WHERE clause of the SQL query.  I can select Show SQL Query and see what statement is being used to select data, but I can't find where to modify it since it's grayed out.  I see how to change the selection criteria, parameters, grouping, etc...just not the WHERE clause.  The report is linked to a database used for reporting with a table created and populated by a stored procedure.  I don't need to modify the stored procedure because the data I want to filter by is currently in the table--I just don't know how to filter by what I need.  Here's part of the query:
    SELECT "rpt_dist"."startdate", "rpt_dist"."transtype", "rpt_dist"."laborcode", "rpt_dist"."crewid", "rpt_dist"."regularhrs" FROM   "Reporting"."dbo"."rpt_dist" "rpt_dist"
    WHERE  (rpt_dist."transtype" <> 'WORK' AND rpt_dist."transtype" <> 'WMATL') AND rpt_dist."laborcode" LIKE 'S%' AND (rpt_dist."crewid" = 'HOUS' OR rpt_dist."crewid" = 'HOUS2' ...
    I would like to add another crewid to the WHERE clause.  Thanks for any input.

    1.Open the report in the crystal designer
    2.Go to the field explorer(if hidden go to view menu->field explorer)
    3.Rt. click on the database fields->choose database expert
    4.Now you will see 2 columns-Available DataSource  and Selected Tables
    5.Rt. click on the object(ex.command) available in the Selected Tables column->Choose Edit command
    6.A new Modify Command window will appear,here you can edit your SQL Query
    I get to step 4 and I see the two columns including my database and the report table, but there is no command object available.  If I right-click on my table, I can just view the Properties. ??
    As for the other tip to modify the record selection:  I don't see anywhere the other crewid values are set and if I add the one I'm missing, it doesn't modify the existing SQL Query and when I preview the report it throws off the results so that no data displays??
    I'm using Crystal Reports 11.5 if that makes a difference.  Thanks again.

  • SQL Query(PL/SQL Function Returning SQL Query)

    I am trying to write a dynamic report using SQL Query(PL/SQL Function Returning SQL Query).
    I can get the report to run but I need to concatinate some columns into one, seperated by a comma or a dash.
    I have tried select *****||','||***** alias
    also select *****||'-'||***** alias
    but I always get an error.
    Is there a way of doing this please
    Gus

    This is my full query
    declare
    v_query varchar2(4000);
    begin
    if :P63_TRAN_INFO = 2 THEN
    v_query := 'select
         A.FILENR,
         A.EXERCISENAME,
    A.STARTDATE,
    A.ENDDATE,
         A.UNIT,
    A.ACCADDRESSES, B.ADDRESS, B.ADDRESS_1, B.POST_CODE, B.TOWN,
         A.EXERCISEAREAS,
         A.TOTALVEHICLES,
    A.TOTALTROOPS+A.RNTOTALTROOPS+A.RAFTOTALTROOPS TOTALTROOPS,
    A.CAR, A.MINIBUS, A.HGV,
    A.NAMERANK, A.ADDRESS, A.ADDRESSI, A.ADDRESSII, A.POSTCODE,
    A.TRANSIT,
    A.INFOONLY
    from     BFLOG_AT A, BFLOG_ACCADDRESS B
    WHERE A.ACCADDRESSES = B.NAME
    AND A.STARTDATE >= :P63_START_DATE
    AND A.ENDDATE <= :P63_END_DATE
    AND A.AUTHORISED = 1
    AND A.INFOONLY = 1' ;
    END IF;
    RETURN v_query;
    END;
    This query runs ok, but if I try changing it to the code below with fields concatinated, then it fails
    declare
    v_query varchar2(4000);
    begin
    if :P63_TRAN_INFO = 2 THEN
    v_query := 'select
         A.FILENR,
         A.EXERCISENAME,
    A.STARTDATE,
    A.ENDDATE,
         A.UNIT,
    A.ACCADDRESSES||','||B.ADDRESS||','||B.ADDRESS_1||','||B.POST_CODE||','||B.TOWN ADDRESS,
         A.EXERCISEAREAS,
         A.TOTALVEHICLES,
    A.TOTALTROOPS+A.RNTOTALTROOPS+A.RAFTOTALTROOPS TOTALTROOPS,
    A.CAR, A.MINIBUS, A.HGV,
    A.NAMERANK, A.ADDRESS, A.ADDRESSI, A.ADDRESSII, A.POSTCODE,
    A.TRANSIT,
    A.INFOONLY
    from     BFLOG_AT A, BFLOG_ACCADDRESS B
    WHERE A.ACCADDRESSES = B.NAME
    AND A.STARTDATE >= :P63_START_DATE
    AND A.ENDDATE <= :P63_END_DATE
    --AND (A.EXERCISEAREAS LIKE "GAP, OA, OAL")
    --OR (A.EXERCISEAREAS LIKE "Harz")
    AND A.AUTHORISED = 1
    AND A.INFOONLY = 1' ;
    END IF;
    RETURN v_query;
    END;
    Cheers
    Gus

  • Why field length is shorter than the actual one in a SQL query based grid?

    Hi,
    I have a grid based on a SQL query on a UDO table, but I found when I retrieve the data from a SQL query some column show only part of data. For example, in SQL server the query should return one column data like "ABCD", but in the grid it only shows "A" or "AB". I think the SQL query should be good because when copy the same query executing in SQL server side, it returns me all complete data. But when it is executed in add-on inside a grid, then some column only returns me partial data. In most case it only return the first one or two characters. I don't see any special in the query. Basically it is normal SELECT query, the only possible special is it is using "UNION".
    The SQL query looks like below:
    SELECT fieldA, fieldB FROM table1
    UNION ALL
    SELECT fieldA, fieldB FROM table2
    When it is executed in SQL side, everything looks good, but when i run it in a grid in add-on then fieldB column only display partial data.
    Any idea?
    Thanks,
    Lan
    Edited by: ZHANGLAN on Oct 4, 2011 11:55 PM

    Hi All,
    Thanks for all your replies, I agree that the issue is caused by the UNION in SQL query. Because when i create a view in SQL based on that query and the grid is based on that SQL view then everything is fine now. I think Petr's solution should work in this case.
    Thank you again!
    Lan

  • SQL QUERY IN ABAP

    Dear ABAP Experts,
    Is there any possibility to see the SQL statement for the query which are designed by the SQVI queries.?
    Like SQL Server, we design the query in query designer and sql statements  are also shown in it .
    Regards,
    Aneel

    Yes we can design but to get the sql query we have to generate the report and then get the sql statement from that report. 
    But I want to get only sql statement immediately. If you have used the MS sql server , It gives sql statements under the query designer in the same window.  I mean you can design the quuery and as well as write the sql statements in the same window.

Maybe you are looking for

  • How to limit the response rows while invoking a stored procedure from OSB 10gR3

    Dear Experts, I am trying to limit the response while invoking a stored procedure from OSB via DB adapter. Here the stored procedure returns cursors as response. I tried using the MaxTransactionSize propertiy (which is used for polling the database o

  • [SOLVED] Could I broke my SD card with badblocks or dd? [I coudn't]

    I found some old, 1GB SD Card and wanted to use it as my EFI partition (well, wanted to check if my EFI system will even see it as I have no idea if it's possible or not). There were some old pictures so I thought - okay, it's working. I've wiped it

  • Migration PI 7 to PI 7.1

    Hello, We have installed the PI 7, and will migrate to PI 7.1. As I do not know much about PI 7.1, I need help. How is the migration of software component version Integration Repository, and the settings of the interfaces in the Integration Director?

  • Certain contact groups are not appearing in iTunes

    I am trying to update the contacts on my iPhone, through iTunes, from my iMac.  iTunes is not showing many of the groups that I have in my contacts and when I default to just syncing all of my contacts, it doens't actually synce them all.  How do I f

  • Price varience mail not trigerring

    Hi All I have made the cutomising for price varience mail. the settings i have done are -activated Define Mail to Purchasing When Price Variances Occur - Maintain Message Type MLPP - OME4 is maintained - MRM1 also i have maintained But mail is not tr