Problem of forms 6 with record type.

Hello!.
Forms [32 Bits] Versão 6.0.8.11.3 (Produção)
Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
I have this code in a pl sql package named consulta_dbi on the server:
type tsintegra is record (
            situacao         varchar(255) := null,
            cnpj             number       := null,
            ie               varchar(255) := null,
            razaosocial      varchar(255) := null
    );

    type treceita is record (
            cnpj                 number         := null,
            dataabertura         date          := null,
            razaosocial          varchar(255) := null
    );
In forms, I have these procedures:
PROCEDURE buscar_dados_sintegra IS
          sintegra      consulta_dbi.tsintegra;
BEGIN
        null;
END;
AND
PROCEDURE buscar_dados_receita IS
          receita      consulta_dbi.treceita;
BEGIN
        null;
END;
buscar_dados_receita works. But whe I try to compile buscar_dados_sintegra shapes (narrow) breaks.

Does anyone know how to fix this?

Thank you

I bring both the database + forms on the last group of patches and try again.

see you soon

Tags: Oracle Development

Similar Questions

  • XMLTYPE with record type

    Hi friends,

    Is it possible to use XMLTYPE with record types?

    For example, in the following code I expect output voltage

    < TY_EMP > < > 1001 EMPNO < / EMPNO > < ADAMS ENAME > < / ENAME > < SAL > 5000 < / SAL > < TASK MANAGER > < / JOB > < / TY_EMP >

    The code is...

    DECLARE

    Ty_emp RECORD TYPE IS

    (

    EmpNo INTEGER

    , ename VARCHAR2 (100)

    NUMBER of sal

    , VARCHAR2 (100) employment

    );

    r_emp ty_emp;

    BEGIN

    r_emp.EmpNo: = 1001;

    r_emp. Ename: = "Adams";

    r_emp. SAL: = 5000;

    r_emp.job: = "MANAGER";

    -This line gives the error.

    dbms_output.put_line (XmlType (r_emp). GETSTRINGVAL()); -Here, I don't want to talk about all the fields in the record. I just need to specify the name of the record.

    END;

    p.s. to use object types to generate XML data...

    SQL > ed
    A written file afiedt.buf

    1 TYPE to CREATE or REPLACE ty_emp () AS OBJECT
    2 empno INTEGER
    3, ename VARCHAR2 (100)
    4, NUMBER of sal
    5, job VARCHAR2 (100)
    6*   );
    SQL > /.

    Type of creation.

    SQL > ed
    A written file afiedt.buf

    1 DECLARE
    2 r_emp ty_emp: = new ty_emp (null, null, null, null);
    3 BEGIN
    4 r_emp.empno: = 1001;
    r_emp.ename 5: = "Adams";
    6 r_emp.sal: = 5000;
    7 r_emp.job: = "MANAGER";
    8 dbms_output.put_line (XMLTYPE (r_emp) .getstringval ());
    9 * END;
    SQL > /.
    1001 Adams 5000 MANAGER

    PL/SQL procedure successfully completed.

    SQL >

  • Error using BULK collect with RECORD TYPE

    Hello

    I wrote a simple procedure to declare a record type & then by a variable of type NESTED table.

    I then selects the data using COLLECT in BULK & trying to access it via a LOOP... We get an ERROR.

    ------------------------------------------------------------------------------------------------------------------------------------------------------

    CREATE OR REPLACE PROCEDURE sp_test_bulkcollect
    IS

    TYPE rec_type () IS RENDERING
    emp_id VARCHAR2 (20).
    level_id NUMBER
    );

    TYPE v_rec_type IS TABLE OF THE rec_type;

    BEGIN

    SELECT employe_id, level_id
    LOOSE COLLECTION v_rec_type
    OF portfolio_exec_level_mapping
    WHERE portfolio_execp_id = 2851852;

    FOR indx IN v_rec_type. FIRST... v_rec_type. LAST
    LOOP

    dbms_output.put_line ('Emp-' | v_rec_type.emp_id (indx) |) » '|| v_rec_type.level_id (indx));

    END LOOP;

    END;
    -----------------------------------------------------------------------------------------------------------------------------------

    Here is the ERROR I get...


    -Errors of compilation for the PROCEDURE DOMRATBDTESTUSER. SP_TEST_BULKCOLLECT

    Error: PLS-00321: expression "V_REC_TYPE" is not appropriate for the left side of an assignment statement
    Online: 15
    Text: IN portfolio_exec_level_mapping

    Error: PL/SQL: ORA-00904: invalid identifier
    Online: 16
    Text: WHERE portfolio_execp_id = 2851852;

    Error: PL/SQL: statement ignored
    Line: 14
    Text: COLLECT LOOSE v_rec_type

    Error: PLS-00302: component 'FIRST' must be declared
    Online: 19
    Text: LOOP

    Error: PL/SQL: statement ignored
    Online: 19
    Text: LOOP
    ------------------------------------------------------------------------------------------------

    Help PLZ.

    and with a complete code example:

    SQL> CREATE OR REPLACE PROCEDURE sp_test_bulkcollect
      2  IS
      3  TYPE rec_type IS RECORD (
      4  emp_id VARCHAR2(20),
      5  level_id NUMBER
      6  );
      7  TYPE v_rec_type IS TABLE OF rec_type;
      8  v v_rec_type;
      9  BEGIN
     10     SELECT empno, sal
     11     BULK COLLECT INTO v
     12     FROM emp
     13     WHERE empno = 7876;
     14     FOR indx IN v.FIRST..v.LAST
     15     LOOP
     16        dbms_output.put_line('Emp -- '||v(indx).emp_id||' '||v(indx).level_id);
     17     END LOOP;
     18  END;
     19  /
    
    Procedure created.
    
    SQL>
    SQL> show error
    No errors.
    SQL>
    SQL> begin
      2     sp_test_bulkcollect;
      3  end;
      4  /
    Emp -- 7876 1100
    
    PL/SQL procedure successfully completed.
    
  • Error creating service with record type as a return type

    Hi, I tried the following code to get the nth highest sal using the service and the record type.
    CREATE OR REPLACE PACKAGE pack_rec_cur AS
    TYPE rec_type IS RECORD (
     name EMP.ename%TYPE,
     sal EMP.sal%TYPE);
      END;
    The lot above 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 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 am wrong

    Thank you.

    By clauase missing column name in the order. 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> 
    
  • I can't call anyone on Skype, he said only: "problem with recording device" help?

    Could someone help me? my lack of Skype let me call anyone, when I try to call or answer a call it comes a message saying "problem with recording device"-does anyone know how to fix this help please!

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4158&LC=no&cc=no&DLC=no&sw_lang=&product=7264...

    You can install this "driver - Lyd" (Realtek High-definition-lyddriver (HD))

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-135685-1&CC=no&DLC=no&LC=No... =

  • Display problems with all types of terrain and graphic

    Hello

    I have display problems general with all types of chart, graph or plot that I try to use, on two different machines, both with NVIDIA graphics cards.  A machine is a MacBook under XP SP2 in bootcamp and the other a Dell T3400 workstation (or something similar) under XP SP3.

    I posted this thread earlier which Ben replies to the weird graphic behavior.  Ben suggested that I try to simplify my code as much as possible while keeping the bad behavior and by submitting to the NC and the forum, because it is others have had problems of graph.  I tried, but in vain.  Display problem continues and continues and continues and then they just go and I can't get back by unscrewing the last stage of reduction or simplification of code.  But at some point during the reconstruction of the code, which I cannot determine, returns the bad behavior.

    So, I was set up with graphics looking for shit, until recently, when I thought I'd try some suggestions of other messages to a XY-plot function as a graph by creating a buffer and using nodes of ownership of land for the range control.  Things seemed promising, until my "XY table" started getting shit, too.  This time, the issue was with the grid lines becomes all chopped, attached images.

    I am out of resources here.  I think I'm running out of options to display graphic data in an acceptable manner.  Do I have to display data by using an Excel chart in an ActiveX container in Labview?  I'm not skilled enough to do it again.  I like Labview, it is the only programming language that I am competent even remotely help, but it's just inferiorating.

    Any suggestions would be much appreciated.  Thanks for reading.

    -Greg

    Greg,

    is there a particular reason why you use the bar plots - view superior graphic style? Try activating the legend of the plot, go to the bar plots and select the first track of the Bar Style. Your chart is displayed very well after that.

    See you soon,.

    Cerati

  • Initialize the record with constants type

    Hi all

    I need to initialize the record type that has 3 fields with constants.

    Please find the code example:

    DECLARE

    P_rec RECORD TYPE IS

    (

    ID1 VARCHAR2 (50).

    CLID VARCHAR2 (50).

    P_ID VARCHAR2 (50)

    );

    TYPE p_rec_tab IS TABLE OF THE p_rec;

    v_p_rec_tab p_rec_tab

    : = p_rec_tab ((«PA1», '1', «A»),)

    ('PA2', '2', 'B').

    ('PA3', ' 3 ", 'C').

    (WOULD BE "PA4', ' 4 ','),

    ('PA5', '5', 'E')) ;

    number of v_count;

    BEGIN

    v_count: = 0;

    BECAUSE me IN v_p_rec_tab. FIRST...

    v_p_rec_tab. LAST

    LOOP

    v_count: = v_count + 1;

    dbms_output.put_line (' a record number: ' | v_count);

    Dbms_output.put_line (' v_p_rec_tab.id1:' | v_p_rec_tab.id1 (i));

    Dbms_output.put_line (' v_p_rec_tab.clid:' | v_p_rec_tab.clid (i));

    Dbms_output.put_line (' v_p_rec_tab.p_id:' | v_p_rec_tab.p_id (i));

    END LOOP;

    END;

    Exception, I get:

    ORA-06550: line 12, column 24:

    PLS-00306: wrong number or types of arguments in the call to 'P_REC_TAB '.

    ORA-06550: line 11, column 18:

    PL/SQL: Ignored Element

    ORA-06550: line 22, column 13:

    PLS-00320: the declaration of the type of the expression is incomplete or incorrect

    ORA-06550: line 22, column 4:

    PL/SQL: Statement ignored

    Try the below

    SET SERVEROUTPUT ON

    DECLARE

    P_rec RECORD TYPE IS

    (

    ID1 VARCHAR2 (50).

    CLID VARCHAR2 (50).

    P_ID VARCHAR2 (50)

    );

    TYPE p_rec_tab IS TABLE OF THE p_rec;

    v_p_rec_tab p_rec_tab;

    number of v_count;

    BEGIN

    v_count: = 0;

    SELECT * COLLECT in BULK IN the v_p_rec_tab OF

    (SELECT 'PA1', ' 1', 'A' FROM dual UNION ALL)

    SELECT 'PA2', '2', 'B' FROM dual UNION ALL

    SELECT 'PA3', '3', 'C' FROM dual UNION ALL

    SELECT 'PA4', '4', would be "OF double UNION ALL

    SELECT 'PA5', '5', 'E' OF THE double);

    BECAUSE me IN v_p_rec_tab. FIRST... v_p_rec_tab. LAST

    LOOP

    v_count: = v_count + 1;

    dbms_output.put_line (' a record number: ' | v_count);

    Dbms_output.put_line (' v_p_rec_tab.id1:' | v_p_rec_tab (i) .id1);

    Dbms_output.put_line (' v_p_rec_tab.clid:' | v_p_rec_tab (i) .clid);

    Dbms_output.put_line (' v_p_rec_tab.p_id:' | v_p_rec_tab (i) .p_id);

    END LOOP;

    END;

    ----- OR --------

    SET SERVEROUTPUT ON

    DECLARE

    P_rec RECORD TYPE IS

    (

    ID1 VARCHAR2 (50).

    CLID VARCHAR2 (50).

    P_ID VARCHAR2 (50)

    );

    TYPE p_rec_tab IS TABLE OF THE p_rec;

    v_p_rec_tab p_rec_tab: = p_rec_tab();

    number of v_count;

    BEGIN

    v_count: = 0;

    v_p_rec_tab. EXTEND (5);

    v_p_rec_tab (1) .id1: = 'PA1 ';

    v_p_rec_tab (1) .clid: = '1';

    v_p_rec_tab (1) .p_id: = 'A ';

    v_p_rec_tab (2) .id1: = 'PA2;

    v_p_rec_tab (2) .clid: = '2';

    v_p_rec_tab (2) .p_id: = 'B ';.

    v_p_rec_tab (3) .id1: = 'PA3 ';

    v_p_rec_tab (3) .clid: = '3';

    v_p_rec_tab (3) .p_id: = 'C ';

    v_p_rec_tab (4) .id1: = 'PA4.

    v_p_rec_tab (4) .clid: = '4';

    v_p_rec_tab (4) .p_id: = ';

    v_p_rec_tab (5) .id1: = 'PA5.

    v_p_rec_tab (5) .clid: = '5';

    v_p_rec_tab (5) .p_id: = 'E ';

    BECAUSE me IN v_p_rec_tab. FIRST... v_p_rec_tab. LAST

    LOOP

    v_count: = v_count + 1;

    dbms_output.put_line (' a record number: ' | v_count);

    Dbms_output.put_line (' v_p_rec_tab.id1:' | v_p_rec_tab (i) .id1);

    Dbms_output.put_line (' v_p_rec_tab.clid:' | v_p_rec_tab (i) .clid);

    Dbms_output.put_line (' v_p_rec_tab.p_id:' | v_p_rec_tab (i) .p_id);

    END LOOP;

    END;

  • Form master-detail recording detail does not with ORA-20001

    Hello

    I have a master/detail form, the detail record has a timestamp field that I people using systimestamp via the default, it is a single field of view and everthing records very well. But if I change the format of the timestamp field via the DD-MON-YY HH24 attrubutes column, I get the following error on save

    Internal error in the routine mru: ORA-20001: error in MRU: line = 1, ORA-20001: find the invalid timestamp value, please check the timestamp format.

    Someone knows what's goin?

    Thank you...

    Looks like your display only column is based on the database column.
    If this is the case, you have little control for it in ApplyMRU.
    What you need to do is
    a. keep the TimeStamp column hidden with any mask format
    b. Add the form as a table with the format mask you want to display a column of data not

    In a Word, the DB column is in the proper format as required by the ApplyMRU but you display for users of the truncated version of that.

    See you soon,.

  • Dynamic SQL with in bulk in the record type

    Oracle 10.2 g

    I received this Tom

    [http://asktom.oracle.com/pls/apex/f?p=100:11:0:NO:]

    I'm able to do this without dynamic SQL, but my requirement is to do it in dynamic SQL
     create table t1 ( x int, y int );
    
     insert into t1 select rownum, rownum+1 from all_users where rownum <= 5;
    
     create table t2 ( x int, y int, z int );
    
     declare
                type array is table of t1%rowtype;
                l_data array;
        begin
                select * bulk collect into l_data from t1;
      
                forall i in 1 .. l_data.count
                
                       execute immediate 'insert into (select x, y from t2) values :x' using l_data(i);
        end;
     
    Error at line 1
    ORA-06550: line 9, column 90:
    PLS-00457: expressions have to be of SQL types
    ORA-06550: line 9, column 20:
    PL/SQL: Statement ignored
    There is a work around in 11g, but can we do something in 10g?



    Thank you
    HESH.

    HESH wrote:

    but following does not.

    declare
    type array is table of t1%rowtype;
    l_data array;
    begin
    select * bulk collect into l_data from t1;
    
    forall i in 1 .. l_data.count
    
    execute immediate 'insert into (select x, y from t2) values :x' using l_data(i);
    end;
    

    I want just a dynamic SQL code for the insert with FORALL statement would adopt as well as collections.

    Doesn't make much sense.

    Extract you the data from the SQL engine in the table of the record type. If the output data that cursor SQL must be read in the SQL engine and copied into the memory of PL/SQL engine.

    Then, you send that VERY SAME DATA back to the SQL engine to be used by a SQL insert cursor.

    Where is the logic behind the extraction of data from SQL in a PL/SQL table structure and then push this same structure table on the SQL engine database? What is the purpose to send data on a detour of underperforming and non-scalale through the PL/SQL engine?

    You have any justification (technical or functional wise) to back up this absurd approach?

    Why this can be achieved using a single SQL cursor that does both the choice (extraction) and (in bulk) insertion - using the plain old INSERT... SELECT structure?

    And if the insert is variable, then what? Create a dynamic INSERT... SELECT cursor and execute it (using bind values). This simple... Right?

  • problem with the type of local and global

    Hi the gems...

    I have a plsql package. In the package, I defined a proc that takes two input parameters of type simple number and a parameter of a type of output collection.

    create or replace package pack_1 as body
    procedure proc_1 (p_number1 in number, p_number2 number, p_tt_table to tt_table) as
    v_tt_table tt_table:=tt_table();
    type c_ref_cursor is ref_cursor;
    v_c_ref_cursor c_ref_cursor;
    v_sql varchar2 (20000): = < a large sql using bind variables p_number1 and p_number2 >

    Start
    Open the v_c_ref_cursor for v_sql using p_number1, p_number2;
    loop
    extract the v_c_ref_cursor in v_tt_table;
    When the output v_tt_table.count = 0;
    for idx in 1.v_tt_table.count
    loop
    < business logic >
    end of loop
    end loop;
    close v_c_ref_cursor;
    < excpetion_block >;
    end;

    < several codes for the rest of the package >



    When I execute the proc_1 then he throws me error of data type incosistent while to fetch the v_c_ref_cursor of cursor in the v_tt_table variable.
    ORA-00932: inconsistent data types: expected - was -.
    But I have checked that the output of the query is similar with the type of variable.

    Now, a few facts: the tt_table of the user-defined table type is made from ot_table (create or replace tt_table to ot_table Board).
    The parent type i.e. ot_table has the same columns of this query in v_sql my proc.
    The ot_table and the tt_table are global types.

    But when I did these two types as local types, then the proc works very well. But I need them as global types only according to the condition in java.

    Please help me. The database is 11 GR 2.

    Thanks in advance.

    user12780416 wrote:

    I'm trying to keep it in the simplest form... Please take a look...

    Ah... Easy to solve.

    The projection of SQL must be an object of type ot_test_type for extraction in bulk work.

    Your projection of SQL look like this:
    cursor c1 is select object_name from user_objects;

    object_name is a string - it is not of type ot_test_type.

    You must change the projection to return ot_test_type. This is done by using the default constructor for that type of object.

    For example
    cursor c1 is ot_test_type (object_name) select as the user_objects OBJECT;

    He may now be in bulk recovered in tt_test_type.

  • Record type.  Display the entire register with DBMS_output.putline

    Hello. I have the following code, I've played with to better understand the Collections. I have a 'how' question. Is there a way to dbms_output.putline a complete file or I have to name each column as I began to do in the code below?

    If there is no single statement to display a record, is it a good way to dynamically loop through the registration and use of dbms_output.putline for each output column without having to name each column explicitly?

    Thanks much for any help.
    DECLARE
    pc_info_rec performance_clusters%rowtype;
    
    CURSOR C1 IS 
         SELECT * 
         INTO pc_info_rec
         FROM performance_clusters 
         WHERE rownum < 11; 
    
    BEGIN
         OPEN C1;
         LOOP
         FETCH C1 INTO pc_info_rec;
         EXIT WHEN C1%NOTFOUND;
    
                    -- Currently have to name each column in the record, but would prefer a simpler way to output the entire record
              DBMS_OUTPUT.PUT_LINE (pc_info_rec.pc_code||', '||pc_info_rec.zip3);
    
    
         END LOOP;
         CLOSE C1;
    END; 
    /

    You can not 'loop' in the columns folder. You must list the columns individually. As I already mentioned, if you need display case in many places, you can create a procedure (you don't need a package as I suggested earlier):

    SQL> create or replace
      2    procedure print_dept_rec(
      3                             p_rec dept%rowtype
      4                            )
      5      is
      6      begin
      7          dbms_output.put_line(p_rec.deptno || ', ' || p_rec.dname || ', ' || p_rec.loc);
      8  end;
      9  /
    
    Procedure created.
    
    SQL> set serveroutput on
    SQL> DECLARE
      2      v_rec dept%rowtype;
      3      CURSOR C1 IS SELECT  *
      4              FROM  dept;
      5  BEGIN
      6      OPEN C1;
      7      LOOP
      8        FETCH C1 INTO v_rec;
      9        EXIT WHEN C1%NOTFOUND;
     10        print_dept_rec(v_rec);
     11      END LOOP;
     12      CLOSE C1;
     13  END;
     14  /
    10, ACCOUNTING, NEW YORK
    20, RESEARCH, DALLAS
    30, SALES, CHICAGO
    40, OPERATIONS, BOSTON
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    Obviously, you will need to create a procedure for each record type.

    SY.

  • problem with the types

    Hello

    I have a problem. I've created a type
    create or replace type type1 as object (
      field1 number,
      field2 number,
      constructor function type1 return self as result
    );
    and also the body.

    Now I have another type
    create or replace type type2 as table of type1
    In a function package, I have somewhere
    ...
    tmp type2;
    ...
    tmp=new type2();
    tmp.extend --works
    tmp(tmp.last).field1 := ...<something>; --does not work, i got: Reference to an unitialized variable..., so that field1 is unrecognized
    If I run "describe type2" I see Field1 and Field2.
    What I am doing wrong?

    Thank you

    Edited by: Roger22 the 12.07.2010 14:26

    Roger22 wrote:
    But I need tmp (tmp.last) * .field1: = r.field1

    Ok then

    tmp(tmp.last) := type1(r.field1, null);
    
  • Problem by associating files with a program.

    I installed a new program and have problem associate the file type for the program.  Whenever I pass by the exercise, he would only associate to the wrong program.  I assumed I could do in the registry, but not too sure how to in this regard.

    I have followed the first link, downloaded the unassoc.zip and run the unassoc.exe file.  The program deleted the extension I wanted to delete.  According to the program of the extension has been removed.  I ran the default programs later and found that there was still the extension in question.  I restarted the computer, the situation remained.  I double-clicked on the file in question and he still tried to open with wrongly associated program as indicated on the default programs.

    I tried what all other links suggested before that I started this thread.

    Registration of MYOB once using OpenWithAdd should solve the problem. See:

    [OpenWithAdd] Record the programs with the "Open with:" dialog box
    http://WindowsXP.MVPs.org/openwithadd.htm

    Ramesh Srinivasan . The Winhelponline Blog
    Microsoft MVP, Windows desktop experience

  • Error in passing in the RECORD type in the API

    Gurus,

    Get the following error when I try and change from one type of RECORD in an API. I am in passage correctly?

    Any help is appreciated.

    Thank you
    -Scott



    Here is 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 the call to 'LOAD_ROW '.
    ORA-06550: line 21, column 4:
    PL/SQL: Statement ignored



    Here is my anon block:

    declare
    Who_type RECORD TYPE IS
    (
    created_by NUMBER,
    CREATION_DATE DATE,
    last_updated_by NUMBER,
    last_update_date DATE,
    last_update_login NUMBER
    );
    v_who_type who_type;
    date of v_sysdate;
    Start
    Select sysdate
    in v_sysdate
    Double;
    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 = > ");

    ...

    sreese wrote:
    Tubby,

    Im not asking for your help with this error. I want to define my own FILE type that mimics the call package so I can spend in my own variables.

    Pretty sure I've described previously, there was a specific question with the answer that you do not understand?

    >

    The problem with this type of recording is that it contains all the 'who' columns that the application requires. When it is called from a package within the schema, the package has no difficulty arising from these data. When you call the package from an anon block, I have to pull my own values.

    You did before declaring a LOCAL record type, then you need to reference to the PACKAGE of type folder, as I showed you... it makes you EF values even as you were in your first post.

    I want to define the RECORD type of the manner in which it has been set to 'fnd_flex_loader_apis.who_type', but using my own variable and passing in the parameter. Make sense?

    Thank you
    Scott

    Hope that helps.

  • LabVIEW:EXE generates the error 1003 calling plugin with the type definition

    Hi all

    I am running LV 2012 on a Win 7 machine. I had this same problem with LV 2011, so I'm sure that's not associated with version/upgrade.

    Go to a LV-built EXE, I try to call a dynamically loaded Subvi. I did it several times with success before, so I think I know how. I prefer to use the call by reference, but I get the error 1003 Open Ref VI (with the type specifier). If I use the type specifier, can I open the Subvi, but the State is listed as 'bad '. Then, I went to recursively through all the subVIs (~ 25 in total) and concluded that the only item with a status of 'Bad' was a type definition.

    I checked several times, several different, that all ways the subVIs (and the definition of Type 'bad') are available to the Subvi dynamics. I did that the type definition is correct. I have also made sure the subVIs are stored as .VI files in the same directory and not within an EXE file. When I try to run the VI run call node, I still get the error 1003. I checked the path that displays in the error dialog box is the exact path for the Subvi (it would be for other VI properties and methods working properly).

    Why can't I run a sub - VI loaded dynamically from an executable if it has a type (a group of 3 trails) as output parameter definition?

    I just tested an idea: rename the library from project to project A create script. Now when it loads, it does not disturb what he must internally with externally called Subvi (dynamic). It worked the first time!

Maybe you are looking for

  • How to remove kuklorest from my laptop

    I have Mapsgalaxy on my computer and want to get rid of him.  I can only find the Kuklorest in the list of applications, so I think that it is embedded in the file.  Everything I find on the internet so to remove this file on the PC.  Someone at - it

  • HP laptop G71 - 340US Windows 7-64 bit "NO BOOT DEVICE"

    Today, I got a black screen with error message "disk Boot error - 3F0", not found operating system - 6011 after several attempts to reboot, I got the start menu when F2 is pressed. No help there. Got to the screen showing press «F2, F3, F4, F10...» "

  • How can I get a replacement Windows XP CD-ROM?

    original title: to WHICH SPEAK FOR the REPLACEMENT OF THE WINDOWS XP CD in DELHI, INDIA I BOUGHT THE CD OF WINDOWS XP PROFESSIONAL FROM A RETAILER IN DELHI, INDIA KEYWORD [redacted], THIS DATA CD IS CORRUPTED PLEASE TELL WHO ASK IF I CAN USE THIS GEN

  • Conversion of music files

    How to convert music files that are in my Windows media player for MP3 files, so I can then put them on my MP3 player?

  • Windows 7 installation stuck on windows startup

    I have a laptop pro 64-bit of windows 8.1 and I installed windows 7 ultimate on it, and when I run the installation from the cd it happens to a screen like this and he's stuck there. My laptop is preinstalled with windows 8, then I upgraded to 8.1 pr