Anda di halaman 1dari 5

http://oracleappscommunity.com/oracle/blog/tags/oracle-apps/ Forms--You can reference items indirectly with the NAME_IN and COPY built-in subprogram s.

The NAME_IN function returns the contents of an indicated variable or item. U se the NAME_IN function to get the value of an item without referring to the ite m directly. The following statements are equivalent: IF :emp.ename = 'smith' -direct reference IF NAME_IN('emp.ename') = 'smith' -- indirect reference . The return value is always a character string. To use NAME_IN for a DATE or NUMB ER item, convert the string to the desired data type with the appropriate conver sion function: Date_var := TO_DATE(Name_In('order.Date_item')); num_var := TO_NU MBER(Name_In('order.number_item')); Notes on NAME_IN: The NAME_IN function cannot return the contents of a global or local variable. --The COPY Procedure The COPY procedure assigns an indicated value to an indicated variable or item. Unlike standard PL/SQL assignment, however, using the COPY pr ocedure allows you to indirectly reference the item whose value is being set: :e mp.ename := 'smith';-- direct reference Copy('smith','emp.ename');-- indirect refe rence COPY can be used with the NAME_IN function to assign a value to an item whose na me is stored in a reference variable or item: /* put value 'smith' in item whose name is stored in ref_item */ Copy('smith',Name_In('control.ref_item')); Why Use Indirect Reference? Referencing items indirectly allows you to write mor e generic, reusable code. By using variables in place of actual item names, you can write a subprogram that can operate on any item whose name has been assigned to the indicated variable. Also, using indirect reference is mandatory when you refer to the value of a form bind variable (item, parameter, global variable) i n PL/SQL that you write in a library or a menu module. Because libraries, menus, and forms are separate application modules, you cannot refer directly to the va lue of a form item in a menu-item command or library procedure.

V0312 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror i tem MAIN.LEADS_TEAM_CUSTOMER. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.LEADS_TEAM_CUSTOMER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.PROFILE_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.PROFILE_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.CUSTOMER_NAME_SEARCH2. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.SITES_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.SITES_CUSTOMER_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.PROFILE_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.SITES_ACCOUNT_NUMBER.

FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.CONTACTS_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.CONTACTS_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.CONTACTS_CUSTOMER_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.TRANS_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.TRANS_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.TRANS_CUSTOMER_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.RECEIPTS_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.ORDER2_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.RECEIPTS_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.RECEIPTS_CUSTOMER_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.ORDER2_CUSTOMER_NAM. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.ORDER2_CUSTOMER_NAM. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.CALLS_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.CALLS_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.CALLS_CUSTOMER_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.ORDERS_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.ORDERS_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.ORDERS_CUSTOMER_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.RELSHIP_CUSTOMER_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.RELSHIP_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.RELSHIP_CUSTOMER_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.PR_AGREE_CUST_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.PR_AGREE_CUST_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.PR_AGREE_CUST_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.QUOTES_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.QUOTES_ACCOUNT_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.QUOTES_ACCOUNT_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.OPPORTUNITY_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.OPPORTUNITY_CUSTOMER_NAME. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.OPP_BY_CUST_CUSTOMER_NAME.

FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.OPP_BY_CUST_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.SEARCH_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.CUST_CLASS_MENAING_SEARCH2. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.PROFILE_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.SITE_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.CONTACTS_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.TRX_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.RECIEPTS_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.COLLECT_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.ORDER2_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.QUOTE_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.RELSHIP_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.PR_AGREE_CUST_CLASS_MENAING. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.CALL_LIST_ACCOUNT_NUMBER. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item MAI N.CALL_LIST_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.CALL_LIST_CUSTOMER_NAME. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item MAIN.CALL_LIST_CUST_CLASS_MENAING. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item CALL_LIST_RESULTS.MIR_DSP_NOTE. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item AR_ CUSTOMER_ACCOUNTS1.ORDERS_ACCTD_BALANCE. FRM-30440: Warning: Copy Value from Item ignored for subordinate mirror item AR_ CUSTOMER_ACCOUNTS1.ORDERS2_ACCTD_BALANCE. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ORDER2_DETAIL.ORDERED_ITEM_DESC_MIR1. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ORDER2_DETAIL.DET_OUTSIDE_SALES_MIR1. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ORDER2_DETAIL.DSP_CUST_PO_NUM1. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ORDER2_DETAIL.DSP_ORDERED_ITEM1. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ORDER2_DETAIL.DSP_CUST_PO_NUM2. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ORDER2_DETAIL.DSP_ORDERED_ITEM2. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ORDER2_DETAIL.DSP_CUST_PO_NUM3. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ORDER2_DETAIL.DSP_ORDERED_ITEM3. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item AR_SITE_USES_V.PRIMARY_SALESREP_NAME_MIR1. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_SEARCH.

FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_SEARCH2. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_PROFILE. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_SITES. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_CONTACTS. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_TRX. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_RECEIPT. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_ORDER. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_LEAD. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_OPP. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_OPPCUS. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_QUOTE. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES_CONTROL.COPY_TYPE_DESC_SALESMAN. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.DSP_NOTE_VALUE. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_SEARCH. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_SEARCH. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_SEARCH2. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_SEARCH2. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_PROFILE. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_PROFILE. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_SITES. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_SITES. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_CONTACTS. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_CONTACTS. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_TRX. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_TRX. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_RECEIPT. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_RECEIPT. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_ORDER. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_ORDER. FRM-30457: Warning: Maximum Length ignored for character-datatype rror item WBSCUS_NOTES.COPY_NOTE_VALUE_LEAD.

subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi subordinate mi

FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_LEAD. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_NOTE_VALUE_QUOTE. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_QUOTE. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_NOTE_VALUE_OPP. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_OPP. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_NOTE_VALUE_OPPCUS. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_OPPCUS. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_NOTE_VALUE_SALEMAN. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item WBSCUS_NOTES.COPY_DSP_NOTE_VALUE_SALESMAN. FRM-30442: Warning: Required property ignored for subordinate mirror item ACCOUN T_NOTES.DSP_NOTES. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ACCOUNT_NOTES.DSP_NOTES. FRM-30442: Warning: Required property ignored for subordinate mirror item ACCOUN T_NOTES.COPY_DSP_NOTES. FRM-30457: Warning: Maximum Length ignored for character-datatype subordinate mi rror item ACCOUNT_NOTES.COPY_DSP_NOTES. FRM-30442: Warning: Required property ignored for subordinate mirror item ACCOUN T_NOTES.COPY_DSP_NOTES_SEARCH2. Created form file D:\pll\resource\WBSCUS_WB_CRM_DRVR.fmx