DBMS_SPACE ASA_RECO_ROW Record Type Definition

Hi All,
Do you have any idea where we can find the definition of the mentioned packages? Here is the description from Oracle:
DBMS_SPACE
Thats fine, but we would like to select it from data dictionary view.In GUI tools we are able to select metadata, but how in sqlplus?
thanks if somebody could help me
Kind regards
Attila

Anything else rather than: select dbms_metadata.get_ddl('PACKAGE_SPEC','DBMS_SPACE','SYS') from dual; ?

Similar Messages

  • Initialize record type constant in package header

    I am creating a package to hold application constants in Oracle 8.1.7.4. I want one of my constants to be a programmer-defined record type. A constant table type of that record type will then hold multiple records. I'm new to using record data types though, and think I'm having a syntactical problem. Here's a snip of the code. Any ideas?
    CREATE OR REPLACE PACKAGE kes_constants
    AS
    TYPE T_CLASS IS RECORD (code classes.cls_code%TYPE);
    TYPE T_CLASSES IS TABLE OF T_CLASS
    INDEX BY BINARY_INTEGER;
    con_proj_realestate CONSTANT T_CLASS;
    con_proj_realestate.code := 'RE';
    END kes_constants;

    It was a bit of a simplification, but I see your point. The desire is to create varchar2 constants and a collection constant containing said varchar2 constants. The values of the constants could be stored in a table instead and selected into the collection at initialization, but I'd like to do it all in the package header without any database tables if possible.
    I've modified my code to use varchar2 rather than records to hold the values. Then I try to initialize the collection with the constant values. When I compile my example code as shown here I get error: "PLS-00492: variable or constant initialization may not refer to functions declared in the same package". When I take the type definitions out of this package and put them in a separate package, change the code shown here to refer to the types with absolute dot notation names, I get error: "PLS-00222: no function with name 'T_CLASS_TABLE' exists in this scope".
    It seems to me there should be a way to do this. Do you think I'm way off base?
    Thanks for your help, Andrew.
    CREATE OR REPLACE PACKAGE kes_constants
    AS
       TYPE t_class_table IS TABLE OF VARCHAR2(4)
             INDEX BY BINARY_INTEGER;
       TYPE t_rtype_table IS TABLE OF VARCHAR2(4)
             INDEX BY BINARY_INTEGER;
       con_proj_realestate  CONSTANT VARCHAR2(4) := 'RE';
       con_proj_vehiclesv   CONSTANT VARCHAR2(4) := 'V';
       con_proj_other       CONSTANT VARCHAR2(4) := 'O';
       con_proj_maint       CONSTANT VARCHAR2(4) := 'M';
       con_proj_replacement CONSTANT VARCHAR2(4) := 'CR';
       con_proj_swing       CONSTANT VARCHAR2(4) := 'RS';
       con_proj_refurb      CONSTANT VARCHAR2(4) := 'RF';
       con_proj_additions   CONSTANT VARCHAR2(4) := 'EA';
       con_proj_cap         CONSTANT t_class_table := t_class_table(con_proj_realestate,
                                                                    con_proj_vehicles,
                                                                    con_proj_other,
                                                                    con_proj_replacement,
                                                                    con_proj_swing,
                                                                    con_proj_refurb,
                                                                    con_proj_additions);
       con_proj_noncap      CONSTANT t_class_table := t_class_table(con_proj_maint);
    END kes_constants;

  • Record type - Am I doing something wrong here

    Hi,
    I am writing a package for testing and I am facing issue in compiling this package.
    I am getting error
    PLS-00302: component 'ID' must be declared.
    PLS-00302: component 'STEP_ID' must be declared.
    PLS-00302: component 'STTS' must be declared.
    I am using record type. Below is the test code.
    I am on 10.2.0.4.0
    create table T1
       (id number,
        dtl_desc varchar2(400)
    create table T2
       (step_id number,
        id number,
        stts varchar2(400)
    create package pkg_1
    as
    type g_typ_stup_rec is record
         id  t1.id%type,
         step_id t2.step_id%type,
         stts  t2.stts%type
    g_ty_stup_tab is table of g_typ_stup_rec;
    procedure pr_stup_rec
         i_id in t1.id%type := 1,
         i_step_id in t2.step_id%type := 1,
         i_stts in t2.stts%type := 'SUCS',
         o_rec out g_ty_stup_tab
    end ;
    create package body pkg_1
    as
    procedure pr_stup_rec
          i_id in t1.id%type := 1,
          i_step_id in t2.step_id%type := 1,
          i_stts in t2.stts%type := 'SUCS',
          o_rec out g_ty_stup_tab
       is
       l_v_id t1.id%type;
       l_v_step_id  t2.step_id%type;
       select
           s_id.nextval
       into
           l_v_id
       from
           dual;
       select
           s_step_id.nextval
       into
           l_v_step_id
       from
           dual;
       o_rec.id      := l_v_id;
       o_rec.step_id := l_v_step_id;
       o_rec.stts    := i_stts ;
    end pr_stup_rec;
    procedure g_sp_ins_rec
          i_ins_rec in g_ty_stup_tab
       is
       insert into t1
        (id,
         desc
        values
         i_ins_rec.id,
         'TEST'
        insert into t2
           step_id,
           id.
           stts
          values
           i_ins_rec.step_id,
           i_ins_rec.id,
           i_ins_rec.stts
       commit;
    end g_sp_ins_rec;
    end pkg_1 ;
    Appreciate if you can point out what I am doing wrong here.
    Thanks in advance
    TA
    Edited by: user572194 on Feb 1, 2012 1:22 PM
    Edited by: user572194 on Feb 1, 2012 1:34 PM

    Surely, though, you have the ability to actually create these objects in your system (or in some local development environment) in order to verify that the code you're posting compiles and shows the problem you're trying to demonstrate, right?
    Your package definition, for example, fails to compile because you're missing the TYPE in your declaration of G_TY_STUP_TAB
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace package pkg_1
      2  as
      3  type g_typ_stup_rec is record
      4     (
      5       id  t1.id%type,
      6       step_id t2.step_id%type,
      7       stts  t2.stts%type
      8     );
      9   type g_ty_stup_tab is table of g_typ_stup_rec;
    10   procedure pr_stup_rec
    11     (
    12       i_id in t1.id%type := 1,
    13       i_step_id in t2.step_id%type := 1,
    14       i_stts in t2.stts%type := 'SUCS',
    15       o_rec out g_ty_stup_tab
    16     );
    17*  end ;
    SQL> /
    Package created.Your package body is missing the BEGIN statements in both of the procedure definitions. Then it references the old DESC column from T1 which needs to be changed to DTL_DESC. Then, you're missing a couple of sequences. Once all those items are fixed, I think we're down to the compilation errors that you're originally talking about
    SQL> create or replace package body pkg_1
      2   as
      3   procedure pr_stup_rec
      4      (
      5        i_id in t1.id%type := 1,
      6        i_step_id in t2.step_id%type := 1,
      7        i_stts in t2.stts%type := 'SUCS',
      8        o_rec out g_ty_stup_tab
      9     )
    10  is
    11     l_v_id t1.id%type;
    12     l_v_step_id  t2.step_id%type;
    13  begin
    14     select
    15         s_id.nextval
    16     into
    17         l_v_id
    18     from
    19         dual;
    20     select
    21         s_step_id.nextval
    22     into
    23         l_v_step_id
    24     from
    25         dual;
    26     o_rec.id      := l_v_id;
    27     o_rec.step_id := l_v_step_id;
    28     o_rec.stts    := i_stts ;
    29  end pr_stup_rec;
    30  procedure g_sp_ins_rec
    31     (
    32        i_ins_rec in g_ty_stup_tab
    33     )
    34     is
    35  begin
    36     insert into t1
    37      (id,
    38       dtl_desc
    39      )
    40      values
    41      (
    42       i_ins_rec.id,
    43       'TEST'
    44      );
    45      insert into t2
    46        (
    47         step_id,
    48         id.
    49         stts
    50        )
    51        values
    52        (
    53         i_ins_rec.step_id,
    54         i_ins_rec.id,
    55         i_ins_rec.stts
    56        );
    57     commit;
    58   end g_sp_ins_rec;
    59   end pkg_1 ;
    60  /
    Warning: Package Body created with compilation errors.
    SQL> sho err
    Errors for PACKAGE BODY PKG_1:
    LINE/COL ERROR
    26/4     PL/SQL: Statement ignored
    26/10    PLS-00302: component 'ID' must be declared
    27/4     PL/SQL: Statement ignored
    27/10    PLS-00302: component 'STEP_ID' must be declared
    28/4     PL/SQL: Statement ignored
    28/10    PLS-00302: component 'STTS' must be declared
    36/4     PL/SQL: SQL Statement ignored
    42/16    PL/SQL: ORA-00984: column not allowed here
    42/16    PLS-00302: component 'ID' must be declared
    45/5     PL/SQL: SQL Statement ignored
    45/17    PL/SQL: ORA-00913: too many valuesThose errors are the result of treating a nested table of records as if it was a single record. pr_stup_rec is defined to return a collection of records. If you're using a collection of records, you'd have to initialize the collection and you'd have to reference a particular element of the collection when you wanted to assign values. Something like this, for example, will declare a local variable of type pkg_1.g_ty_stup_tab, initialize the collection, add an element to the collection, and assign the values to the individual components of the record that is the first element in the collection
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    l_collection pkg_1.g_ty_stup_tab := new pkg_1.g_ty_stup_tab();
      3  begin
      4    l_collection.extend;
      5    l_collection(1).id := 1;
      6    l_collection(1).step_id := 10;
      7    l_collection(1).stts := 'Foo';
      8* end;
    SQL> /
    PL/SQL procedure successfully completed.Alternately, you could create a record type and add that as an element in your collection
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    l_collection pkg_1.g_ty_stup_tab := new pkg_1.g_ty_stup_tab();
      3    l_record     pkg_1.g_typ_stup_rec;
      4  begin
      5    l_collection.extend;
      6    l_record.id := 1;
      7    l_record.step_id := 10;
      8    l_record.stts := 'Foo';
      9    l_collection(1) := l_record;
    10* end;
    SQL> /
    PL/SQL procedure successfully completed.But it's not obvious to me that you actually want to use a collection here. Perhaps you want your procedures to simply return a single record.
    Justin

  • Error passing in RECORD type into API

    Gurus,
    Getting the following error when I try and pass a RECORD type into an API. Am I passing it in properly?
    Any help is appreciated.
    Thanks,
    -Scott
    Here's my error:
    fnd_descr_flex_col_usage_pkg.load_row
    ERROR at line 21:
    ORA-06550: line 21, column 4:
    PLS-00306: wrong number or types of arguments in call to 'LOAD_ROW'
    ORA-06550: line 21, column 4:
    PL/SQL: Statement ignored
    Here's my anon block:
    declare
    TYPE who_type IS RECORD
    created_by NUMBER,
    creation_date DATE,
    last_updated_by NUMBER,
    last_update_date DATE,
    last_update_login NUMBER
    v_who_type who_type;
    v_sysdate date;
    begin
    select sysdate
    into v_sysdate
    from dual;
    v_who_type.created_by := 0;
    v_who_type.creation_date := v_sysdate;
    v_who_type.last_updated_by := 0;
    v_who_type.last_update_date := v_sysdate;
    v_who_type.last_update_login := 0;
    fnd_descr_flex_col_usage_pkg.load_row
    (x_application_short_name => 'SPL',
    x_descriptive_flexfield_name => 'HR_LOCATIONS' ,
    x_descriptive_flex_context_cod => '441',
    x_application_column_name => 'ATTRIBUTE5',
    x_who                          =>  v_who_type,
    x_end_user_column_name => 'District',
    x_column_seq_num => 10,
    x_enabled_flag => 'Y',
    x_required_flag => 'N',
    x_security_enabled_flag => 'N',
    x_display_flag => 'Y',
    x_display_size => 50,
    x_maximum_description_len => 50,
    x_concatenation_description_le => 25,
    x_flex_value_set_name => '50 Characters',
    x_range_code => '',
    x_default_type => '',
    x_default_value => '',
    x_runtime_property_function => '',
    x_srw_param => '',
    x_form_left_prompt => 'District',
    x_form_above_prompt => 'District',
    x_description => '');
    ...

    I followed Tubby's advice and called the package to which the RECORD type was defined, however, I'm getting a "no data found" error in the called package. The purpose of "internally" definining the record type inside my Anon block was so that I could assign variables locally.
    Help from you gurus would be greatly appreciated!
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at "APPS.FND_DESCR_FLEX_COL_USAGE_PKG", line 508
    ORA-06512: at line 21
    Please do not refer me to any more EBS forums or links.  This is a coding question, not an EBS question.
    For the guy who asked, here is the procedure definition:
    PROCEDURE load_row
    (x_application_short_name IN VARCHAR2,
    x_descriptive_flexfield_name IN VARCHAR2,
    x_descriptive_flex_context_cod IN VARCHAR2,
    x_application_column_name IN VARCHAR2,
    x_who IN fnd_flex_loader_apis.who_type,
    x_end_user_column_name IN VARCHAR2,
    x_column_seq_num IN NUMBER,
    x_enabled_flag IN VARCHAR2,
    x_required_flag IN VARCHAR2,
    x_security_enabled_flag IN VARCHAR2,
    x_display_flag IN VARCHAR2,
    x_display_size IN NUMBER,
    x_maximum_description_len IN NUMBER,
    x_concatenation_description_le IN NUMBER,
    x_flex_value_set_name IN VARCHAR2,
    x_range_code IN VARCHAR2,
    x_default_type IN VARCHAR2,
    x_default_value IN VARCHAR2,
    x_runtime_property_function IN VARCHAR2,
    x_srw_param IN VARCHAR2,
    x_form_left_prompt IN VARCHAR2,
    x_form_above_prompt IN VARCHAR2,
    x_description IN VARCHAR2)

  • Error while creating function with record type as return type

    Hi i tried the following code to get the nth highest sal using record type and function.
    CREATE OR REPLACE PACKAGE pack_rec_cur AS
    TYPE rec_type IS RECORD (
    name EMP.ename%TYPE,
    sal EMP.sal%TYPE);
      END;The above package is created
    CREATE OR REPLACE
      FUNCTION fun_rec_cur(n INT) RETURN pack_rec_cur.rec_type AS
       rec pack_rec_cur.rec_type;
        CURSOR cur_rec IS
          SELECT ename,sal
            FROM emp
             WHERE sal is not null
              ORDER BY DESC;
    BEGIN
    OPEN cur_rec;
      FOR i IN 1..n LOOP
       FETCH cur_rec into rec;
       EXIT WHEN cur_rec%NOTFOUND;
      END LOOP;
    CLOSE cur_rec;
    RETURN rec;
    END;   The above function is giving errors
    LINE/COL ERROR
    4/7      PL/SQL: SQL Statement ignored
    7/16     PL/SQL: ORA-00936: missing expression
    SQL> Could you please correct me where i'm doing mistake
    Thanks.

    You are missing the column name in order by clauase. Is it ename desc?
    CREATE OR REPLACE
      FUNCTION fun_rec_cur(n INT) RETURN pack_rec_cur.rec_type AS
       rec pack_rec_cur.rec_type;
        CURSOR cur_rec IS
          SELECT ename,sal
            FROM emp
             WHERE sal is not null
              ORDER BY ENAME DESC; ---added ename
    BEGIN
    OPEN cur_rec;
      FOR i IN 1..n LOOP
       FETCH cur_rec into rec;
       EXIT WHEN cur_rec%NOTFOUND;
      END LOOP;
    CLOSE cur_rec;
    RETURN rec;
    END;  
    -OUTPUT
    SQL> SET SERVEROUT ON
    SQL>
    SQL> DECLARE
      2     rec            pack_rec_cur.rec_type;
      3  BEGIN
      4     rec         := fun_rec_cur (6); --you get the 6th record in order of ename desc
      5     DBMS_OUTPUT.put_line ('ename::' || rec.NAME || '  sal ::' || rec.sal);
      6  END;
      7  /
    ename::MARTIN  sal ::1250
    PL/SQL procedure successfully completed.
    SQL>

  • Error in using plsql record type inside packages

    Dear Friends,
    Using Ora9iR2 on Windows 2000 Server. I am trying to declare a record type and a nested table of that record type in the package body and the initialise that in the package body then insert records into that. But I receive error msg.
    CREATE OR REPLACE PACKAGE sample1 AS
    TYPE rcur IS REF CURSOR;
    TYPE emp_record IS RECORD
    (empname VARCHAR2(20),
    job VARCHAR2(10),
    salary NUMBER);
    TYPE emp_result IS TABLE OF emp_record;
    PROCEDURE emp_test ( i_empno emp.empno%TYPE);
    END sample1;
    -- Package Body
    CREATE OR REPLACE PACKAGE BODY sample1 AS
    PROCEDURE emp_test ( i_empno IN emp.empno%TYPE)AS
    c1 rcur;
    eresult emp_result := emp_result();
    v_empname VARCHAR2(20);
    v_job VARCHAR2(10);
    v_sal NUMBER;
    BEGIN
    OPEN c1 FOR SELECT ename,job,sal FROM emp WHERE empno = i_empno;
    LOOP FETCH c1 INTO v_empname,v_job,v_sal;
    EXIT WHEN c1%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(v_empname||' , '||v_job||' , '||v_sal);
    eresult := emp_result(v_empname,v_job,v_sal); showing error
    END LOOP;
    CLOSE c1;
    END emp_test;
    END sample1;
    While executing the procedure with out the line eresult := emp_result(v_empname,v_job,v_sal); the procedure executes fine.
    SQL> execute sample1.emp_test(7900);
    JAMES , CLERK , 950
    PL/SQL procedure successfully completed.
    With that line, i have error
    SQL> execute sample1.emp_test(7900);
    BEGIN sample1.emp_test(7900); END;
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "KUMAR.SAMPLE1" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    While executing in PL/SQL Developer, it says the wrong number or types of arguments call to ;EMP_RESULT'.
    Please guide me where I am wrong.
    Kumar

    I got invalide data type error.I think the datatype in the CAST() clause must be a SQL Type i.e. one created with a CREATE TYPE command in the database. emp_result is only a PL/SQL datatype.
    But I dont know why it is saying error
    eresult(eresult.count) := emp_result(v_empname,v_job,v_sal); eresult is a table of records. It is therefore expecting a record. records don't seem to be created in the same way that user defined types are.
    The concept of handling records like this is new to 9i and they are still smoothing out the bumps. Things are a lot better in 9.2 than in 9.0.1 if it's any consolation. There is a particular gap in the documentation, which is what's tripping you up at the moment: the difference between TYPE AS RECORD and other types, also the difference between VARRAY, NESTED TABLE and REF CURSOR. To be honest, it's all kind of hazy for me at the moment: I always need to run some code before I make any pronouncements on this topic.
    Good luck, APC

  • How create a record type and a pl/sql table of that record type in database

    Hi
    I want to create a record type and then I want to create a PL/SQL table in the oracle 9i database.
    I have done it in PL/SQL block.
    But when I am trying to do it in database it is throwing me some error.
    Could you please tell me how can I do that?
    Regards

    user576726 wrote:
    Hi
    I want to create a record type and then I want to create a PL/SQL table in the oracle 9i database.
    I have done it in PL/SQL block.
    But when I am trying to do it in database it is throwing me some error.
    Could you please tell me how can I do that?
    RegardsRECORD type is supported only in PL/SQL for SQL you need to use OBJECT type.

  • How to assigne value in sub record type

    Dear below mention record type database,now i want to assigne value in payr_rec type,in this recrocrd type have one column party_id,but how can assigne value int this field ,
    TYPE group_rec_type IS RECORD(
    group_name VARCHAR2(255),
    group_type VARCHAR2(30),
    created_by_module VARCHAR2(150),
    -- Bug 2467872
    mission_statement VARCHAR2(2000),
    application_id NUMBER,
    party_rec PARTY_REC_TYPE := G_MISS_PARTY_REC
    please guide.

    to get the desired default party_rec attribute value, just assign the "sub-record" attribute defaults as desired; PL/SQL will assign a default (non-null) record as the party_rec value using those attribute defaults:
    create or replace package P_Test_It
    as
         type party_rec_type is record (
              dummy varchar2(1) default 'X'
         type group_rec_type is record (
              group_name VARCHAR2(255),
              group_type VARCHAR2(30),
              created_by_module VARCHAR2(150),
              -- Bug 2467872
              mission_statement VARCHAR2(2000),
              application_id NUMBER,
              party_rec PARTY_REC_TYPE
    end;
    set serveroutput on
    declare
         rec p_test_it.group_rec_type;
    begin
         dbms_output.put_line(rec.party_rec.dummy);
    end;
    X
    PL/SQL procedure successfully completed.Hope it helps.
    Gerard

  • What's wrong with this content type definition?

    Could someone tell me what's wrong with this content type definition? When I click "New Folder" in a custom list, it should bring two fields 1) Name 2) Custom Order. However in my case when I click new folder, I see 1) Member (which is totally
    weird) 2) custom order. Where is it getting that Member field from?
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Parent ContentType: Folder (0x0120) -->
    <ContentType ID="0x012000c0692689cafc4191b6283f72f2369cff"
    Name="Folder_OrderColumn"
    Group="Custom"
    Description="Folder with order column"
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{35788ED2-8569-48DC-B6DE-BA72A4F87B7A}" Name="Custom_x0020_Order" DisplayName="Custom Order" />
    </FieldRefs>
    </ContentType>
    </Elements>

    Hi,
    According to your post, my understanding is that you had an issue about the custom content type with custom column.
    I don’t think there is any issue in the content type definition, and it also worked well in my environment.
    Did you have the Member field in the project?
    I recommend you create a simple project only with one custom Order column and one custom Folder_OrderColumn, then you can add more fields one by one.
    By doing this, it will be easier to find out the root cause of this error.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • ACH CTX - Addenda Record Type 7

    Hi,
    I am working on ACH CTX file for vendor payments through Wells Fargo bank. I need some help on the Addenda Record type 7. The format generated by standard SAP for this record type 7 is not acceptable by the bank. And they are not able to help us out much on what should be the format. All they say is that it should be in ANSI ASC X12 format (payment-related information) and refer NACHA format guidelines. Can anyone tell me what is this NACHA format and what data elements should be passed on in this record type. Is there a specific format I can follow?
    Thanks,
    Raj/

    Hi,
    did you solve this items. Any information would be helpful.
    thanks
    Regards
    PG

  • Howto post offsetting entries for Record type Z Line items in KE24 from FI

    HI,
    We are facing one problem for order created from CRM.
    Firstly this order  has created  with one profit center ( ex PH50293 ) they have posted some plan values and released the order in CRM so values flown to ECC and available in KE24 .
    After some time , we have changed profit center for this order in CRM by changing  service organisation and release the order after that we have posted some values in that order which is not flown to ECC becuase of different profit center
    Later we rejected the all values and make balance zero in CRM , But still values are appearing in KE24 and there is inconsistency of profit center between ECC & CRM.
    Now want to make the balances zero in KE24 for that order. but it shows record type Z ,
    So , now how we can rectify this and how we can make balances zero
    __Note :  as per present setting in the system, we can not change the profit center in CRM once order released_._
    Thanks & Regards
    Gupta

    Dear VK,
    I guess, the only option would be to post manual correction thru KE21N, with negative values for record type Z.
    Trust this helps.
    Cheers.

  • Oracle Account Receivables Lockbox Error, No ITEM NUM on PAYMENT record type.

    Hi,
    For "Process Lockbox" program. The program completes normally, but receipts are not created and I am getting below error in log file:-  
    "AR-ARLFMT: No ITEM NUM on PAYMENT record type."
    This error message is similar to error message mentioned in note id (Troubleshooting Known Issues In Lockbox (Doc ID 1366298.1)) :-
    2.10. Lockbox ends with error: "AR-ARLFMT: No PAYMENT NUM on PAYMENT record type"
    Symptoms
    You are trying to run lockbox and receive this error message in the log file:
    AR-ARLFMT: No PAYMENT NUM on PAYMENT record type.
    Your lockbox interface program has completed successfully, however,there is No Data Found in the AR_PAYMENTS_INTERFACE table.
    Solution
    Responsibility: Receivables Manager
    Navigation: Setup > Receipts > Lockboxes > Transmission Formats
    For the Transmission Format name that you are using, make sure that there is a 'Transmission Record' defined and that there is a Transmission Field with a Field Type of  'Record Identifier' defined.
      Make sure to include the check number in Transmission Format and Control file
    and item number is:-
    Item Number: A sequence number that your bank assigns to a specific payment. This number associates an invoice with a receipt.
    I am passing item number, but still I am getting this error.
    Can anybody please help.
    Thanks in advance.
    Regards
    Gagan Garg

    Hi,
    For "Process Lockbox" program. The program completes normally, but receipts are not created and I am getting below error in log file:-  
    "AR-ARLFMT: No ITEM NUM on PAYMENT record type."
    This error message is similar to error message mentioned in note id (Troubleshooting Known Issues In Lockbox (Doc ID 1366298.1)) :-
    2.10. Lockbox ends with error: "AR-ARLFMT: No PAYMENT NUM on PAYMENT record type"
    Symptoms
    You are trying to run lockbox and receive this error message in the log file:
    AR-ARLFMT: No PAYMENT NUM on PAYMENT record type.
    Your lockbox interface program has completed successfully, however,there is No Data Found in the AR_PAYMENTS_INTERFACE table.
    Solution
    Responsibility: Receivables Manager
    Navigation: Setup > Receipts > Lockboxes > Transmission Formats
    For the Transmission Format name that you are using, make sure that there is a 'Transmission Record' defined and that there is a Transmission Field with a Field Type of  'Record Identifier' defined.
      Make sure to include the check number in Transmission Format and Control file
    and item number is:-
    Item Number: A sequence number that your bank assigns to a specific payment. This number associates an invoice with a receipt.
    I am passing item number, but still I am getting this error.
    Can anybody please help.
    Thanks in advance.
    Regards
    Gagan Garg

  • DB proc - do you need to create a table to pass a ref cursor record type?

    I want to pass a limited selection of columns from a large table through a DB procedure using a REF CURSOR, returning a table rowtype:
    CREATE OR REPLACE package XXVDF_XPOS_DS021_ITEMS AS
         TYPE XXVDF_XPOS_DS021_ITEM_ARRAY
         IS REF CURSOR
         return XXVDF_XPOS_DS021_ITEM_TABLE%ROWTYPE;
    Do I need to create this dummy table?
    I can't get a TYPE to work, where the type is an OBJECT with the desired columns in it.
    So a dummy empty table will sit in the database...
    Is there another way?
    thanks!

    You can use RECORD type declaration:
    SQL> declare
      2   type rec_type is record (
      3    ename emp.ename%type,
      4    sal emp.sal%type
      5   );
      6   type rc is ref cursor return rec_type;
      7   rc1 rc;
      8   rec1 rec_type;
      9  begin
    10   open rc1 for select ename, sal from emp;
    11   loop
    12    fetch rc1 into rec1;
    13    exit when rc1%notfound;
    14    dbms_output.put_line(rec1.ename || ' ' || rec1.sal);
    15   end loop;
    16   close rc1;
    17  end;
    18  /
    SMITH 800
    ALLEN 1600
    WARD 1250
    JONES 2975
    MARTIN 1250
    BLAKE 2850
    CLARK 2450
    SCOTT 3000
    KING 5000
    TURNER 1500
    ADAMS 1100
    JAMES 950
    FORD 3000
    MILLER 1300or use, for example, VIEW to declare rowtype:
    SQL> create view dummy_view as select ename, sal from emp;
    View created.
    SQL> declare
      2   type rc is ref cursor return dummy_view%rowtype;
      3   rc1 rc;
      4   rec1 dummy_view%rowtype;
      5  begin
      6   open rc1 for select ename, sal from emp;
      7   loop
      8    fetch rc1 into rec1;
      9    exit when rc1%notfound;
    10    dbms_output.put_line(rec1.ename || ' ' || rec1.sal);
    11   end loop;
    12   close rc1;
    13  end;
    14  /
    SMITH 800
    ALLEN 1600
    WARD 1250
    JONES 2975
    MARTIN 1250
    BLAKE 2850
    CLARK 2450
    SCOTT 3000
    KING 5000
    TURNER 1500
    ADAMS 1100
    JAMES 950
    FORD 3000
    MILLER 1300 Rgds.

  • Reading fixed length file with different record types

    Hi,
    I need to read a fixed-length file with different record types, but the record identifier is in 31st position and not in 1st position.
    But if I give 31 as position in File adpater wizard, BPEL takes whole 1-31 as identifier.
    How we need to read such files.
    Thanks
    Ravdeep

    hi ,
    u cannot use the default wzard for this
    use some thing like this nxsd:lookAhead="30" nxsd:lookFor="S"have a look at the below link it has some examples
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm

  • Dynamic Variable In a Type Definition

    Can someone tell me how to define and use a dynamic variable, which resides in a Type Definition.  I.E...
    Type: beg of type1,
            field 1 type c,
            field 2 <---this dynamic
            field 3 type c.
          end of type1.
    Can this be done in Netweaver 2004.  And if so, can you show me how?
    Thanks for your time.
    Kind Regards,
    Jason

    Don't think it is available now, but I do believe they are working on this for a future release.
    Regards,
    Rich Heilman

Maybe you are looking for

  • How to simply save and restore PDF sessions in adobe Acrobat?

    I need an acrobat javascript that saves a list of paths of currently opened files then autoloads them upon relaunching Adobe Acrobat. Thanks,

  • Count of rows from different Columns

    SELECT (SELECT COUNT (empno) empno           FROM emp) empno, (SELECT COUNT (mgr) mgr                               FROM emp) mgr, (SELECT COUNT (sal) sal                                                 FROM emp                                       

  • Why won't my apps open after I updated them ?

    A few days ago I updated all my apps that needed updates (about 14). However , 2 of those apps didn't update right away (Flixster and TheScore sports) and an error message was displayed which I stupidly did not read and just pressed ok. After I press

  • Facebook App. Erros

    I just got the Curve 9360 on Friday. I was unable to update my FB status from the application. I spent a couple hours over the next two days on the phone with my provider trying to fix the problem ( I should mention, when I put my SIM card in my old

  • IPhoto not finding all photos when importing

    I'm trying to import 14,499 photos. The problems is when I drag it over or click file import it only imports about 12,200. What happened to the other 2,299? I clicked yes to import duplicate photos. I plan on running duplicate annihilator once all of