cancel
Showing results for 
Search instead for 
Did you mean: 

UDO Form: Search functionality

Former Member
0 Kudos

Hi Experts

I have a problem with FIND functionality in the form based on UDO (only MASTER_DATA);

- [image1|http://img58.imageshack.us/my.php?image=folder01yz0.jpg];

- [image2|http://img511.imageshack.us/my.php?image=folder02rc8.jpg];

UDO O01_CONTR have these columns in FIND list:

- Code;

- Name;

- U_CODPREM;

- U_DESPREM.

I also noticed that after activation of the search by pressing "Find" (menuuid = "1281") form in the video is cleared, however, the fields remain dirty (see in the statusbar).

What can be the problem ?

Thanks in advance

Sierdna S.

P.S.

MASTER_DATA table sql scheme:


-- SQL SCHEME
CREATE TABLE [dbo].[@O01_CONTRATTI](
	[Code] [nvarchar](8) NOT NULL,       -- find column
	[Name] [nvarchar](100)  NULL,       -- find column
	[DocEntry] [int] NOT NULL,
	[Canceled] [char](1)  NULL CONSTRAINT [DF_@O01_CONTRATTI_Canceled]  DEFAULT ('N'),
	[Object] [nvarchar](20)  NULL,
	[LogInst] [int] NULL,
	[UserSign] [int] NULL,
	[Transfered] [char](1) NULL CONSTRAINT [DF_@O01_CONTRATTI_Transfered]  DEFAULT ('N'),
	[CreateDate] [datetime] NULL,
	[CreateTime] [smallint] NULL,
	[UpdateDate] [datetime] NULL,
	[UpdateTime] [smallint] NULL,
	[DataSource] [char](1)  NULL,
	[U_CODPREM] [int] NULL,       -- find column
	[U_DESPREM] [nvarchar](150)  NULL,       -- find column
	[U_CLIRIF] [nvarchar](15)  NULL,
	[U_CLILIQ] [nvarchar](15)  NULL,
	[U_NOTA] [nvarchar](250)  NULL,
	[U_TIPOPREM] [char](1)  NULL,
	[U_TIPOSCAG] [char](1)  NULL,
	[U_CALCPREM] [char](1) NULL,
	[U_PERMATU] [nvarchar](2) NULL,
	[U_DATAINI] [datetime] NULL,
	[U_DATAFIN] [datetime] NULL,
	[U_PERLIQ] [char](1) NULL,
	[U_METFATT] [nvarchar](2)  NULL,
	[U_STATPREM] [char](1) NULL,
	[U_UNIMQTA] [nvarchar](8)  NULL,
	[U_MODPAG] [nvarchar](15)  NULL,
	[U_NRGG] [int] NULL,
	[U_SCOOMA] [char](1) NULL,
 CONSTRAINT [KO01_CONTRATTI_PR] PRIMARY KEY CLUSTERED 
 (
	[Code] ASC
 )
) 
-- SAP MASTER_DATA TABLE UK 
CREATE UNIQUE NONCLUSTERED INDEX [KO01_CONTRATTI_IK] ON [dbo].[@O01_CONTRATTI] 
(
	[DocEntry] ASC
)
;
-- SAP MASTER_DATA TABLE PK 
ALTER TABLE [dbo].[@O01_CONTRATTI] ADD  CONSTRAINT [KO01_CONTRATTI_PR] PRIMARY KEY CLUSTERED 
(
	[Code] ASC
)
;
-- USER DEFINED UNIQUE INDEX
CREATE UNIQUE NONCLUSTERED INDEX [UKCONTR1] ON [dbo].[@O01_CONTRATTI] 
(
	[U_CODPREM] ASC
)
;

XML code of form


<Application>
  <forms>
    <action type="add">
      <form FormType="O01_CONTR" title="Contratti" 
	    type="4" BorderStyle="0" uid="TO_CHANGE" ObjectType="O01_CONTR" 
	    visible="1" default_button="1"
            pane="1" color="0" left="200" top="100" width="780" height="370" 
	    client_width="780" client_height="370"
            AutoManaged="1" SupportedModes="-1" mode="0">
        <datasources>
         <dbdatasources>
          <action type="add">
	       <!-- (GESTITO SOLO QO) BusinessObject = q_O01_CONTRATTI | 
	          ChildMostName = O01_CONTRATTI -->
           <datasource tablename="@O01_CONTRATTI"/>
	      </action>
        </dbdatasources>
        <userdatasources>
	    <!-- Number of DO in QO  -->
         <action type="add">

          <!-- Folders/Tabs for details -->
          <datasource uid="FolderDS" type="1" size="9" />
          <datasource uid="FolderDS" type="9" size="10" />

         <!-- Folder 1 +++++++++++++++++++++++++++++++++++++++ -->
          <!-- DONAME = OCRD | Nome = CardName --> 
          <!-- FIELD: Nome = CardName | HasLabel = 0 | 
		Caption = R Card Name | Size = 150 | SizeOnForm = 15 -->
          <datasource uid="uRCardName" type="9" size="150"/>

		  <!-- DONAME = OCRD | Nome = CardName --> 
          <!-- FIELD: Nome = CardName | HasLabel = 0 | 
	       Caption = Cliente Liquidazione | Size = 150 | SizeOnForm = 15 -->
          <datasource uid="uLCardName" type="9" size="150"/>

		  <!-- DONAME = OPYM | -->
          <!-- FIELD: Nome = Descrizione U_ModPag  -->
          <datasource uid="uPayName" type="9" size="100"/>

         <!-- Folder 2 +++++++++++++++++++++++++++++++++++++++ -->
          <datasource uid="uTipoCond" type="9" size="1"/>
          <datasource uid="uDummy1" type="9" size="1"/>

         </action>
	    </userdatasources>
	    <!--
        <datatables>
         <datatable uid="dt00">
           <Query>SELECT ItemCode, ItemName FROM OITM</Query>
         </datatable>
        </datatables>
        -->
       </datasources>

<!-- FORM ITEMS ++++++++++++++++++++++++++++++++++++++++ -->
<!-- FORM ITEMS ++++++++++++++++++++++++++++++++++++++++ -->
<!-- FORM ITEMS ++++++++++++++++++++++++++++++++++++++++ -->

        <items><!-- var 44 = tab_order (inizio da 0) --><!-- var 55 = pick number (inizio da 0) -->
          <action type="add">

          <!-- =========================================================================== -->
          <!-- FOLDERS  ================================================================== -->
          <!-- =========================================================================== -->
		  
		  <!-- Folder : Generale -->
            <item uid="FLD1" type="99" tab_order="5" 
		  left="5" width="100" top="5" height="19" visible="1" enabled="1" 
		  from_pane="0" to_pane="0" disp_desc="0" right_just="0" 
		  description="Generale" linkto="" forecolor="-1" backcolor="-1" 
		  text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
              <AutoManagedAttribute />
              <specific caption="Generale" AffectsFormMode="0" val_on="1" val_off="N">
                <databind databound="1" table="" alias="FolderDS" />
              </specific>
            </item>
            
		  <!-- Folder : Dettagli -->
            <item uid="FLD2" type="99" tab_order="5" 
		  left="105" width="100" top="5" height="19" visible="1" enabled="1" 
		  from_pane="0" to_pane="1" disp_desc="0" right_just="0" 
		  description="Dettagli" linkto="" forecolor="-1" backcolor="-1" 
		  text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
              <AutoManagedAttribute />
              <specific caption="Dettagli" AffectsFormMode="0" val_on="2" val_off="N">
                <databind databound="1" table="" alias="FolderDS" />
              </specific>
            </item>

          <!-- =========================================================================== -->
          <!-- RECTANGLES ================================================================ -->
          <!-- =========================================================================== -->
          <!-- RECT1: Generale da form size width="980" height="300" -->
            <item uid="rect1" type="100" tab_order="0" 
		  left="5" width="760" top="24" height="250" 
		  visible="1" enabled="1" 
		  from_pane="1" to_pane="1" 
		  disp_desc="0" right_just="0" description="" linkto="" 
		  forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
              <AutoManagedAttribute />
              <specific />
            </item>

          <!-- RECT2: Dettagli da form size width="980" height="300" -->
<!--
            <item uid="rect2" type="100" tab_order="0" 
		  left="5" width="960" top="24" height="250" 
		  visible="1" enabled="1" 
		  from_pane="2" to_pane="2" 
		  disp_desc="0" right_just="0" description="" linkto="" 
		  forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
              <AutoManagedAttribute />
              <specific />
            </item>
-->

          <!-- =========================================================================== -->
          <!-- FIELDS & LABELS =========================================================== -->
          <!-- =========================================================================== -->


	<!-- Items on folder 1 : GENERALE +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	<!-- Items on folder 1 : GENERALE +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	<!-- Items on folder 1 : GENERALE +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

            <!-- CAPTION: Tipo Premio ============= -->
            <item uid="lUTIPOPREM" type="8" left="9" tab_order="0" width="150" top="97" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		  linkto="eUTIPOPREM" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
                   <AutoManagedAttribute /><specific caption="Tipo Premio" />
            </item>


          <!-- FIELD: Code | Childmost = 1 | HasLabel = 0 | Caption = Code --><!-- tab_order 10 -->
	      <item uid="eCode" type="16" left="600" tab_order="0" width="100" top="20" height="14" 
		    visible="0" enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		    description="Code" linkto="" forecolor="-1" backcolor="-1" text_style="0" 
		    font_size="-1" supp_zeros="0" AffectsFormMode="1">
           <AutoManagedAttribute />
           <specific TabOrder="10"  >
           <databind databound="1" table="@O01_CONTRATTI" alias="Code" />
		   </specific>
          </item>
                                          
          <!-- FIELD: Name | Childmost = 1 | HasLabel = 0 | Caption = Name --><!-- tab_order 20 -->
	      <item uid="eName" type="16" left="105" tab_order="0" width="0" top="0" height="0" visible="0" 
		    enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Name" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
              <specific TabOrder="20"  >
		
              <databind databound="1" table="@O01_CONTRATTI" alias="Name" />
		      </specific>
	      </item>
                                          
	      <!-- FIELD: DocEntry | Childmost = 1 | HasLabel = 0 | Caption = DocEntry --><!-- tab_order 30 -->
	      <item uid="eDocEntry" type="16" left="105" tab_order="0" width="0" top="0" height="0" 
		    visible="0" enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="0"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="DocEntry" />
		      </specific>
	      </item>
                                          
	      <!-- FIELD: U_CODPREM | Childmost = 1 | HasLabel = 1 | Caption = Codice Premio --><!-- tab_order 40 -->
	      <item uid="eUCODPREM" type="16" left="161" tab_order="10" width="100" top="30" height="14" 
		    visible="1" enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		    description="Codice Premio" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="10"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_CODPREM" />
            </specific>
	      </item>
            <!-- CAPTION: Codice Premio ============= -->
            <item uid="lUCODPREM" type="8" left="10" tab_order="0" width="150" top="30" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		  linkto="eUCODPREM" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" AffectsFormMode="1">
              <AutoManagedAttribute /><specific caption="Codice Premio" />
	        </item>
                                          
	      <!-- FIELD: U_DESPREM | Childmost = 1 | HasLabel = 0 | Caption = Descrizione Premio --><!-- tab_order 50 -->
	      <item uid="eUDESPREM" type="16" left="263" tab_order="20" width="480" top="30" height="14" visible="1" 
		    enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Descrizione Premio" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="20"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_DESPREM" />
		      </specific>
	      </item>
                                          
	      <!-- FIELD: U_CLIRIF | Childmost = 1 | HasLabel = 1 | Caption = Codice Riferimento --><!-- tab_order 60 -->
	      <item uid="eUCLIRIF" type="16" tab_order="30" 
		    left="160" width="100" top="55" height="14" visible="1" 
		    enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Codice Riferimento" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="30" ChooseFromListUID="1" ChooseFromListAlias="CardCode" >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_CLIRIF" />
		        </specific>
	      </item>
            <!-- CAPTION: Codice Riferimento ============= -->
            <item uid="lUCLIRIF" type="8" left="9" tab_order="0" width="120" top="55" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		  linkto="eUCLIRIF" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" AffectsFormMode="0">
			<AutoManagedAttribute /><specific caption="Codice Riferimento" />
                 </item>
            <!-- BUTTON CFL: --><!-- tab_order 70 --><!-- pick number 1 -->
            <item uid="bCFL1" type="4" left="262" top="55" width="15" height="15" visible="1" 
		  enabled="1" tab_order="40" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		  description="Seleziona" linkto="" forecolor="-1" backcolor="-1" text_style="0" 
		  font_size="-1" supp_zeros="0" AffectsFormMode="1">
		 <AutoManagedAttribute>
		  <Attribute id="1" description="editable" modeAdd="1" />
		 </AutoManagedAttribute>
		 <specific image="CHOOSE_ICON" ChooseFromListUID="2" />
            </item>
            <!-- Arrow Link to BP -->
            <item uid="arr1" type="116" tab_order="45" 
		  left="142" width="12" top="55" height="11" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Coll.a Business Partner" 
		  linkto="eUCLIRIF" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" AffectsFormMode="2">
              <AutoManagedAttribute>
                <Attribute id="arr1" description="editable" modeView="1" />
              </AutoManagedAttribute>
              <specific linkedObject="2" LinkedObjectType="2" />
            </item>
 
	      <!-- FIELD: RCardName | Childmost = 0 | HasLabel = 0 | Caption = R Card Name --><!-- tab_order 80 -->
	      <item uid="eRCardName" type="16" left="278" tab_order="80" width="297" top="54" height="14" visible="1" 
		    enabled="0" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Riferimento" linkto="" 
		    forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="80"  >
                <databind databound="1" table="" alias="uRCardName" />
		      </specific>
	      </item>
                                          
	      <!-- FIELD: U_CLILIQ | Childmost = 1 | HasLabel = 1 | Caption = Cliente Liquidazione --><!-- tab_order 90 -->
	      <item uid="eUCLILIQ" type="16" left="160" tab_order="50" width="100" top="71" height="14" visible="1" 
		    enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		    description="Cliente Liquidazione" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="50" ChooseFromListUID="3" ChooseFromListAlias="CardCode" >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_CLILIQ" />
             </specific>
	      </item>
            <!-- CAPTION: Cliente Liquidazione ============= -->
            <item uid="lUCLILIQ" type="8" left="9" tab_order="0" width="120" top="71" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		  linkto="eUCLILIQ" 
		  forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
             <AutoManagedAttribute /><specific caption="Cliente Liquidazione" />
            </item>
	         <!-- BUTTON CFL: --><!-- tab_order 100 --><!-- pick number 1 -->
             <item uid="bCFL2" type="4" left="262" top="71" width="15" height="15" visible="1" enabled="1" 
		   tab_order="60" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		   description="Seleziona" 
		   linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		   AffectsFormMode="1">
               <AutoManagedAttribute>
                <Attribute id="2" description="editable" modeAdd="1" />
               </AutoManagedAttribute>
               <specific image="CHOOSE_ICON" ChooseFromListUID="4" />
             </item>
            <!-- Arrow Link to BP -->
            <item uid="arr2" type="116" tab_order="65" 
		  left="142" width="12" top="71" height="11" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		  description="Coll.a Business Partner" 
		  linkto="eUCLILIQ" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" AffectsFormMode="2">
              <AutoManagedAttribute>
                <Attribute id="arr2" description="editable" modeView="1" />
              </AutoManagedAttribute>
              <specific linkedObject="2" LinkedObjectType="2" />
            </item>
                           
	      <!-- FIELD: LCardName | Childmost = 0 | HasLabel = 0 | Caption = Cliente Liquidazione --><!-- tab_order 110 -->
	      <item uid="eLCardName" type="16" left="278" tab_order="110" width="297" top="71" height="14" visible="1" 
		    enabled="0" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		    description="Cliente Liquidazione" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="110"  >
                <databind databound="1" table="" alias="uLCardName" />
		      </specific>
	      </item>
                                          
          <!-- FIELD: U_TIPOPREM | Childmost = 1 | HasLabel = 1 | Caption = Tipo Premio --><!-- tab_order 130 -->
	      <item uid="eUTIPOPREM" type="113" left="160" tab_order="70" width="100" top="97" height="14" visible="1" 
		    enabled="1" from_pane="1" to_pane="1" disp_desc="1" right_just="0" description="Tipo Premio" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="70"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_TIPOPREM" />
		      </specific>
          </item>
            <!-- CAPTION: Tipo Premio ============= -->
            <item uid="lUTIPOPREM" type="8" left="9" tab_order="0" width="150" top="97" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		  linkto="eUTIPOPREM" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
                   <AutoManagedAttribute /><specific caption="Tipo Premio" />
            </item>
            
          <!-- FIELD: U_TIPOSCAG | Childmost = 1 | HasLabel = 1 | Caption = Tipo Scaglioni --><!-- tab_order 140 -->
          <item uid="eUTIPOSCAG" type="113" left="160" tab_order="80" width="100" top="113" height="14" visible="1" 
		enabled="1" from_pane="1" to_pane="1" disp_desc="1" right_just="0" description="Tipo Scaglioni" 
		linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="80"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_TIPOSCAG" />
		         </specific>
          </item>
            <!-- CAPTION: Tipo Scaglioni ============= -->
            <item uid="lUTIPOSCAG" type="8" left="9" tab_order="0" width="150" top="113" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		  linkto="eUTIPOSCAG" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
                 <AutoManagedAttribute /><specific caption="Tipo Scaglioni" />
            </item>
                                          
          <!-- FIELD: U_CALCPREM | Childmost = 1 | HasLabel = 1 | Caption = Calcolo Premio Su --><!-- tab_order 150 -->
	      <item uid="eUCALCPREM" type="113" left="160" tab_order="90" width="100" top="129" height="14" visible="1" 
		    enabled="1" from_pane="1" to_pane="1" disp_desc="1" right_just="0" description="Calcolo Premio Su" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="90"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_CALCPREM" />
		       </specific>
          </item>
            <!-- CAPTION: Calcolo Premio Su ============= -->
            <item uid="lUCALCPREM" type="8" left="9" tab_order="0" width="150" top="129" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" linkto="eUCALCPREM" 
		  forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
                   <AutoManagedAttribute /><specific caption="Calcolo Premio Su" />
            </item>
                                          
        <!-- FIELD: U_PERMATU | Childmost = 1 | HasLabel = 1 | Caption = Periodicita' Maturazione --><!-- tab_order 160 -->
	    <item uid="eUPERMATU" type="113" left="160" tab_order="100" 
			  width="100" top="152" height="14" visible="1" enabled="1" 
			  from_pane="1" to_pane="1" disp_desc="1" right_just="0" 
			  description="Periodicita' Maturazione" linkto="" forecolor="-1" 
			  backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
			  AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="100"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_PERMATU" />
		              </specific>
            </item>
                 <!-- CAPTION: Periodicita' Maturazione ============= -->
                 <item uid="lUPERMATU" type="8" left="9" tab_order="0" width="150" top="152" height="14" visible="1" 
		       enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		       linkto="eUPERMATU" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		       AffectsFormMode="0">
                   <AutoManagedAttribute /><specific caption="Periodicita' Maturazione" />
                 </item>

         <!-- FIELD: U_PERLIQ | Childmost = 1 | HasLabel = 1 | Caption = Periodicita' Liquidazione --><!-- tab_order 190 -->
	     <item uid="eUPERLIQ" type="113" tab_order="110" 
		   left="160" width="100" top="168" height="14" visible="1" enabled="1" 
		   from_pane="1" to_pane="1" disp_desc="1" right_just="0" description="Periodicita' Liquidazione" 
		   linkto="eUPERMATU" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
              <AutoManagedAttribute />
               <specific TabOrder="110"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_PERLIQ" />
		       </specific>
         </item>
            <!-- CAPTION: Periodicita' Liquidazione ============= -->
            <item uid="lUPERLIQ" type="8" left="9" tab_order="0" width="150" top="168" height="14" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" linkto="eUPERLIQ" 
		  forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
               <AutoManagedAttribute /><specific caption="Periodicita' Liquidazione" />
            </item>

            <!-- FIELD: U_METFATT | Childmost = 1 | HasLabel = 1 | Caption = Metodo Fatturazione --><!-- tab_order 200 -->
	    <item uid="eUMETFATT" type="113" left="160" tab_order="115" width="100" top="184" height="14" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="1" right_just="0" description="Metodo Fatturazione" linkto="eUPERLIQ" forecolor="-1" 
		  backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="115"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_METFATT" />
		              </specific>
        </item>
          <!-- CAPTION: Metodo Fatturazione ============= -->
          <item uid="lUMETFATT" type="8" left="9" tab_order="0" width="150" top="184" height="14" visible="1" enabled="1" 
	       from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" linkto="eUMETFATT" 
	       forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
	       AffectsFormMode="0">
              <AutoManagedAttribute /><specific caption="Metodo Fatturazione" />
          </item>

        <!-- FIELD: U_DATAINI | Childmost = 1 | HasLabel = 1 | Caption = Data Inizio validita' --><!-- tab_order 170 -->
	    <item uid="eUDATAINI" type="16" left="441" tab_order="120" width="50" top="96" height="14" 
		  visible="1" enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		  description="Data Inizio validita'" linkto="eUTIPOPREM" forecolor="-1" backcolor="-1" 
		  text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
              <AutoManagedAttribute />
              <specific TabOrder="120"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_DATAINI" />
              </specific>
        </item>
            <!-- CAPTION: Data Inizio validita' ============= -->
            <item uid="lUDATAINI" type="8" left="291" tab_order="0" width="150" top="97" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		  linkto="eUDATAINI" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" AffectsFormMode="0">
	       <AutoManagedAttribute /><specific caption="Data Inizio validita'" />
            </item>

        <!-- FIELD: U_DATAFIN | Childmost = 1 | HasLabel = 1 | Caption = Data Fine validita' --><!-- tab_order 180 -->
	    <item uid="eUDATAFIN" type="16" left="441" tab_order="130" width="50" top="113" 
		  height="14" visible="1" enabled="1" from_pane="1" to_pane="1" disp_desc="0" 
		  right_just="0" description="Data Fine validita'" linkto="eUDATAINI" forecolor="-1" 
		  backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="130"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_DATAFIN" />
		              </specific>
        </item>
          <!-- CAPTION: Data Fine validita' ============= -->
          <item uid="lUDATAFIN" type="8" left="291" tab_order="0" width="150" top="114" 
		height="14" visible="1" enabled="1" from_pane="1" to_pane="1" disp_desc="0" 
		right_just="0" description="" linkto="eUDATAFIN" forecolor="-1" backcolor="-1" 
		text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="0">
	     <AutoManagedAttribute /><specific caption="Data Fine validita'" />
          </item>

        <!-- FIELD: U_UNIMQTA | Childmost = 1 | HasLabel = 1 | Caption = Unita' di Misura Qta' --><!-- tab_order 220 -->
	    <item uid="eUUNIMQTA" type="16" left="442" tab_order="150" width="50" top="153" height="14" 
		  visible="1" enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		  description="Unita' di Misura Qta'" 
		  linkto="eUPERMATU" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" 
		  AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="150"  >
             <databind databound="1" table="@O01_CONTRATTI" alias="U_UNIMQTA" />
		  </specific>
        </item>
           <!-- CAPTION: Unita' di Misura Qta' ============= -->
           <item uid="lUUNIMQTA" type="8" left="291" tab_order="0" width="150" top="153" height="14" visible="1" 
		 enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		 linkto="eUUNIMQTA" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		 AffectsFormMode="0">
	     <AutoManagedAttribute /><specific caption="Unita' di Misura Qta'" />
           </item>
                                          
        <!-- FIELD: U_MODPAG | Childmost = 1 | HasLabel = 1 | Caption = Modalita' di Pagamento --><!-- tab_order 230 -->
	    <item uid="eUMODPAG" type="16" tab_order="160" 
		  left="442" width="50" top="169" height="14" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		  description="Modalita' di Pagamento" linkto="eUUNIMQTA" forecolor="-1" backcolor="-1" 
		  text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="160" ChooseFromListUID="5" ChooseFromListAlias="PayMethCode" >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_MODPAG" />
             </specific>
	    </item>
	      <!-- CAPTION: Modalita' di Pagamento ============= -->
          <item uid="lUMODPAG" type="8" left="291" tab_order="0" width="130" top="169" 
		height="14" visible="1" enabled="1" 
		from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		linkto="eUMODPAG" forecolor="-1" 
		backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="0">
            <AutoManagedAttribute /><specific caption="Modalita' di Pagamento" />
          </item>
	         <!-- BUTTON CFL: Modalita' di Pagamento -->
             <item uid="bCFL3" type="4" left="493" top="169" width="15" height="15" visible="1" 
		   enabled="1" 
		   tab_order="162" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		   description="Seleziona Modalita' di Pagamento" 
		   linkto="eUMODPAG" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		   supp_zeros="0" 
		   AffectsFormMode="1">
               <AutoManagedAttribute>
                <Attribute id="3" description="editable" modeAdd="1" />
               </AutoManagedAttribute>
               <specific image="CHOOSE_ICON" ChooseFromListUID="6" />
             </item>
            <!-- Arrow Link to BP -->
            <item uid="arr3" type="116" tab_order="165" 
		  left="421" width="12" top="169" height="11" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Coll.a Modalita' di Pagamento" 
		  linkto="eUMODPAG" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" AffectsFormMode="0">
              <AutoManagedAttribute>
                <Attribute id="arr3" description="editable" modeView="1" />
              </AutoManagedAttribute>
              <specific linkedObject="147" LinkedObjectType="147" />
            </item>
	      <!-- FIELD: PayName | Childmost = 0 | HasLabel = 0 | Caption = R Card Name --><!-- tab_order 80 -->
	      <item uid="ePayName" type="16" left="508" tab_order="0" 
		    width="234" top="169" height="14" visible="1" 
		    enabled="0" from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		    description="Modalita' di Pagamento" linkto="bCFL3" 
		    forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="0"  >
                <databind databound="1" table="" alias="uPayName" />
		      </specific>
	      </item>

        <!-- FIELD: U_NRGG | Childmost = 1 | HasLabel = 1 | Caption = N.gg emissione doc. --><!-- tab_order 240 -->
	    <item uid="eUNRGG" type="16" left="442" tab_order="170" width="50" top="185" 
		  height="14" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="N.gg emissione doc." 
		  linkto="eUMODPAG" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" 
		  AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="170"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_NRGG" />
	        </specific>
	    </item>
	      <!-- CAPTION: N.gg emissione doc. ============= -->
          <item uid="lUNRGG" type="8" left="291" tab_order="0" width="150" 
		top="185" height="14" visible="1" enabled="1" 
		from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		description="" linkto="eUNRGG" forecolor="-1" 
		backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="0">
              <AutoManagedAttribute /><specific caption="N.gg emissione doc." />
          </item>
          
	      <!-- FIELD: U_NOTA | Childmost = 1 | HasLabel = 1 | Caption = Nota --><!-- tab_order 120 -->
	      <item uid="eUNOTA" type="16" left="160" tab_order="180" width="582" top="221" height="14" visible="1" 
		    enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Nota" linkto="eUMETFATT" 
		    forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="180"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_NOTA" />
	      	      </specific>
	      </item>
	        <!-- CAPTION: Nota ============= -->
            <item uid="lUNOTA" type="8" left="10" tab_order="0" width="100" top="221" height="14" visible="1" 
		  enabled="1" from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		  linkto="eUNOTA" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="0">
              <AutoManagedAttribute /><specific caption="Nota" />
            </item>

        <!-- FIELD: U_STATPREM | Childmost = 1 | HasLabel = 1 | Caption = Stato del Premio --><!-- tab_order 210 -->
	    <item uid="eUSTATPREM" type="113" tab_order="190" 
		  left="160" width="100" top="251" height="14" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="1" right_just="0" description="Stato del Premio" 
		  linkto="eUNOTA" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  AffectsFormMode="1">
              <AutoManagedAttribute />
              <specific TabOrder="190"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_STATPREM" />
		      </specific>
        </item>
          <!-- CAPTION: Stato del Premio ============= -->
          <item uid="lUSTATPREM" type="8" tab_order="0" 
		left="10" width="100" top="251" height="14" visible="1" enabled="1" 
		from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" 
		linkto="eUSTATPREM" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		supp_zeros="0" AffectsFormMode="0">
		<AutoManagedAttribute /><specific caption="Stato del Premio" />
          </item>

        <!-- FIELD: U_SCOOMA | Childmost = 1 | HasLabel = 1 | Caption = Sconto Omaggi --><!-- tab_order 250 -->
	    <item uid="eUSCOOMA" type="121" left="442" tab_order="200" width="100" 
		  top="251" height="14" visible="1" enabled="1" 
		  from_pane="1" to_pane="1" disp_desc="0" right_just="0" 
		  description="Sconto Omaggi" linkto="eUNOTA" 
		  forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		  val_on="A" val_off="C"
		  AffectsFormMode="1">
              <AutoManagedAttribute />
                <specific TabOrder="200"  >
                <databind databound="1" table="@O01_CONTRATTI" alias="U_SCOOMA" />
	      </specific>
        </item>
          <!-- CAPTION: Sconto Omaggi ============= -->
          <item uid="lUSCOOMA" type="8" left="291" tab_order="0" width="100" top="251" 
		height="14" visible="1" enabled="1" 
		from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="" linkto="eUSCOOMA" 
		forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		AffectsFormMode="0">
              <AutoManagedAttribute /><specific caption="Sconto Omaggi" />
          </item>
                                                    

	<!-- Items on folder 2 : DETTAGLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	<!-- Items on folder 2 : DETTAGLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
	<!-- Items on folder 2 : DETTAGLI +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

	<!-- left="160" width="100" top="55" height="14" visible="1"  -->

          <!-- FIELD: campo DUMMY per spostare il fuoco -->
	      <item uid="eDUMMY1" type="16" tab_order="0" 
		    left="1500" width="250" top="30" height="14" 
		    visible="1" enabled="1" 
		    from_pane="2" to_pane="2" 
		    disp_desc="1" right_just="0" description="" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="0">
              <AutoManagedAttribute />
                <specific TabOrder="0"  >
                <databind databound="1" table="" alias="uDummy1" />
		      </specific>
          </item>

          <!-- FIELD: Tipologia Condizione -->
	      <item uid="eUTIPOCOND" type="113" tab_order="210" 
		    left="160" width="250" top="30" height="14" 
		    visible="1" enabled="1" 
		    from_pane="2" to_pane="2" 
		    disp_desc="1" right_just="0" description="Tipologia Condizione" 
		    linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		    AffectsFormMode="0">
              <AutoManagedAttribute />
                <specific TabOrder="130"  >
                <databind databound="1" table="" alias="uTipoCond" />
		      </specific>
          </item>
            <!-- CAPTION: Codice Premio ============= -->
            <item uid="lUTIPOCOND" type="8" tab_order="0" 
		  left="10" width="150" top="30" height="14" 
		  visible="1" enabled="1" 
		  from_pane="2" to_pane="2" 
		  disp_desc="0" right_just="0" description="" 
		  linkto="eUTIPOCOND" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" AffectsFormMode="0">
              <AutoManagedAttribute /><specific caption="Tipologia Condizione" />
	        </item>

		  <!-- GRID -->
            <item uid="grd00" type="128" tab_order="220" 
		  left="10" width="750" top="50" height="230" 
		  visible="1" enabled="1" 
		  from_pane="2" to_pane="2" disp_desc="0" right_just="0" description="" 
		  linkto="eUTIPOCOND" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" 
		  supp_zeros="0" AffectsFormMode="0">
              <AutoManagedAttribute />
              <specific SelectionMode="0" DataTable="dt00" CollapseLevel="0">
                <RowHeaders Width="20" />
                <GridColumns />
              </specific>
            </item>


          <!-- BUTTONS =========================================================== -->
          <!-- BUTTONS =========================================================== -->
          <!-- BUTTONS =========================================================== -->

          <!-- Button: Conferma, Conferma operazione--><!-- tab_order 260 -->
          <item uid="1" type="4" tab_order="205" 
		left="10" width="85" top="300" height="19" visible="1" enabled="1" 
		from_pane="1" to_pane="1" disp_desc="0" right_just="0" description="Conferma operazione" 
		linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		AffectsFormMode="1">
             <AutoManagedAttribute /><specific caption="Conferma" />
          </item>          

          <!-- Button: Interrompi, Annulla operazione--><!-- tab_order 270 -->
          <item uid="2" type="4" left="97" tab_order="206" width="85" top="300" height="19" visible="1" enabled="1" 
		from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="Annulla operazione" 
		linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		AffectsFormMode="1">
             <AutoManagedAttribute /><specific caption="Interrompi" />
          </item>          

          <!-- Button: Aggiorna, Aggiorna dati --><!-- Pane=2 -->
          <item uid="btnAgg" type="4" tab_order="260" 
		left="10" width="85" top="300" height="19" visible="1" enabled="0" 
		from_pane="2" to_pane="2" disp_desc="0" right_just="0" description="Aggiorna dati" 
		linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		AffectsFormMode="1">
             <AutoManagedAttribute /><specific caption="Aggiorna" />
          </item>          

          <!-- Button: Inserisci, Inserisci dati --><!-- Pane=2 -->
          <item uid="btnIns" type="4" tab_order="215" 
		left="420" width="85" top="28" height="19" visible="1" enabled="0" 
		from_pane="2" to_pane="2" disp_desc="0" right_just="0" description="Inserisci dati" 
		linkto="eUTIPOCOND" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		AffectsFormMode="1">
             <AutoManagedAttribute /><specific caption="Inserisci" />
          </item>          

          <!-- Button: Visualizza, Visualizza dati --><!-- Pane=2 -->
          <item uid="btnVis" type="4" tab_order="230" 
		left="675" width="85" top="300" height="19" visible="1" enabled="0" 
		from_pane="2" to_pane="2" disp_desc="0" right_just="0" description="Visualizza dati" 
		linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" 
		AffectsFormMode="1">
             <AutoManagedAttribute /><specific caption="Visualizza" />
          </item>          

          </action>
        </items>
        <items>
          <action type="group">
            <item uid="FLD1" />
            <item uid="FLD2" />
          </action>
        </items>
        <FormMenu/>
        <!-- inizio pick da 0 + 1 -->
        <ChooseFromListCollection>
          <action type="add">
            <!-- for cfl opened from "Find" with uid=-1 -->
            <ChooseFromList UniqueID="-1" ObjectType="O01_CONTR" MultiSelection="0" IsSystem="1"/>
            <!-- pick number 1 -->
            <ChooseFromList UniqueID="1" ObjectType="2" MultiSelection="0" IsSystem="1">
             <Conditions>
              <condition bracket_open_num="0" bracket_close_num="0" cond_end_val="" cond_value="C" 
	      operation="1" relationship="0" compare_fields="0" alias="CardType" compared_field_alias="" />
             </Conditions>
            </ChooseFromList>
            <!-- pick number 2 -->
            <ChooseFromList UniqueID="2" ObjectType="2" MultiSelection="0" IsSystem="1">            
             <Conditions>
              <condition bracket_open_num="0" bracket_close_num="0" cond_end_val="" cond_value="C" 
	      operation="1" relationship="0" compare_fields="0" alias="CardType" compared_field_alias="" />
             </Conditions>
            </ChooseFromList>
            <!-- pick number 3 -->
            <ChooseFromList UniqueID="3" ObjectType="2" MultiSelection="0" IsSystem="1">            
             <Conditions>
              <condition bracket_open_num="0" bracket_close_num="0" cond_end_val="" cond_value="C" 
	      operation="1" relationship="0" compare_fields="0" alias="CardType" compared_field_alias="" />
             </Conditions>
            </ChooseFromList>
            <!-- pick number 4 -->
            <ChooseFromList UniqueID="4" ObjectType="2" MultiSelection="0" IsSystem="1">            
             <Conditions>
              <condition bracket_open_num="0" bracket_close_num="0" cond_end_val="" cond_value="C" 
	      operation="1" relationship="0" compare_fields="0" alias="CardType" compared_field_alias="" />
             </Conditions>
            </ChooseFromList>
            <!-- oWizardPaymentMethods: pick number 5 -->
            <ChooseFromList UniqueID="5" ObjectType="147" MultiSelection="0" IsSystem="1">
            </ChooseFromList>
            <!-- oWizardPaymentMethods: pick number 6 -->
            <ChooseFromList UniqueID="6" ObjectType="147" MultiSelection="0" IsSystem="1">
            </ChooseFromList>
          </action>
        </ChooseFromListCollection>
        <DataBrowser BrowseBy="eCode"/> 
        <!-- <DataBrowser BrowseBy="eUCODPREM"/> -->
        <!-- <Settings Enabled="0" /> -->
      </form>
    </action>
  </forms>
</Application>

Edited by: Sierdna S on Oct 20, 2008 9:17 AM

Accepted Solutions (1)

Accepted Solutions (1)

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

Set AffectsFormMode="1"

then it works fine.

Kind Regards

-Yatsea

Former Member
0 Kudos

It's not work.

I checked and I correct AffectsFormMode (a method for the fields) for all fields in form.

The mask is dirty with the data previously loaded. I do not know why.

Thanks

Sierdna S.

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Here is my UDO form XML, Search field: DocNum

By the way, it is generated by UDO Form Generator in B1DE.

<Application>
  <forms>
    <action type="add">
      <form AutoManaged="0" BorderStyle="0" FormType="AMI_ORNM" ObjectType="AMI_ORNM" SupportedModes="15" appformnumber="AMI_ORNM" client_height="373" client_width="518" color="0" default_button="1" height="373" left="219" mode="0" pane="0" title="AMI_ORNM" top="95" type="0" uid="AMI_ORNM_" visible="1" width="518">
        <datasources>
          <dbdatasources>
            <action type="add">
              <datasource tablename="@AMI_ORNM" />
              <datasource tablename="@AMI_RNM1" />
            </action>
          </dbdatasources>
          <userdatasources>
            <action type="add">
              <datasource size="9" type="1" uid="FolderDS" />
            </action>
          </userdatasources>
        </datasources>
        <items>
          <action type="add">
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="1" width="65" height="20" top="320" left="5" type="4" />
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="2" width="65" height="20" top="320" left="75" type="4" />
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="add" width="65" height="20" top="320" left="370" type="4">
              <specific caption="Add line" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="del" width="65" height="20" top="320" left="440" type="4">
              <specific caption="Del line" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="0" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="3" width="80" height="14" top="5" left="92" type="16">
              <AutoManagedAttribute />
              <specific>
                <databind alias="DocEntry" databound="1" table="@AMI_ORNM" />
              </specific>
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="3" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="4" width="80" height="14" top="5" left="5" type="8">
              <specific caption="DocEntry" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="5" width="80" height="14" top="20" left="92" type="16">
              <AutoManagedAttribute />
              <specific>
                <databind alias="DocNum" databound="1" table="@AMI_ORNM" />
              </specific>
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="5" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="6" width="80" height="14" top="20" left="5" type="8">
              <specific caption="DocNum" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="7" width="80" height="14" top="35" left="92" type="16">
              <AutoManagedAttribute />
              <specific>
                <databind alias="U_CardCode" databound="1" table="@AMI_ORNM" />
              </specific>
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="7" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="8" width="80" height="14" top="35" left="5" type="8">
              <specific caption="CardCode" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="9" width="80" height="14" top="50" left="92" type="16">
              <AutoManagedAttribute />
              <specific>
                <databind alias="U_CardName" databound="1" table="@AMI_ORNM" />
              </specific>
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="9" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="10" width="80" height="14" top="50" left="5" type="8">
              <specific caption="CardName" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="11" width="80" height="14" top="5" left="271" type="16">
              <AutoManagedAttribute />
              <specific>
                <databind alias="U_RntDt" databound="1" table="@AMI_ORNM" />
              </specific>
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="11" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="12" width="80" height="14" top="5" left="184" type="8">
              <specific caption="RntDt" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="13" width="80" height="14" top="20" left="271" type="16">
              <AutoManagedAttribute />
              <specific>
                <databind alias="U_RetnDt" databound="1" table="@AMI_ORNM" />
              </specific>
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="13" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="14" width="80" height="14" top="20" left="184" type="8">
              <specific caption="RetnDt" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="15" width="80" height="14" top="35" left="271" type="16">
              <AutoManagedAttribute />
              <specific>
                <databind alias="U_Amnt" databound="1" table="@AMI_ORNM" />
              </specific>
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" linkto="15" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" visible="1" uid="16" width="80" height="14" top="35" left="184" type="8">
              <specific caption="Amnt" />
            </item>
            <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" visible="1" uid="mtx_0" width="500" height="155" top="113" left="5" type="127" to_pane="0" from_pane="0">
              <AutoManagedAttribute />
              <specific SelectionMode="2" layout="0" titleHeight="20">
                <columns>
                  <action type="add">
                    <column AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" editable="1" font_size="12" forecolor="-1" right_just="0" text_style="0" visible="1" val_off="" val_on="" title="#" uid="col_f" width="20" type="16" />
                    <column AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" editable="1" font_size="12" forecolor="-1" right_just="0" text_style="0" visible="1" val_off="" val_on="" title="Name" uid="col_0" width="90" type="16">
                      <databind alias="U_Name" databound="1" table="@AMI_RNM1" />
                      <ExtendedObject />
                    </column>
                    <column AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" editable="1" font_size="12" forecolor="-1" right_just="0" text_style="0" visible="1" val_off="" val_on="" title="Desc" uid="col_1" width="90" type="16">
                      <databind alias="U_Desc" databound="1" table="@AMI_RNM1" />
                      <ExtendedObject />
                    </column>
                    <column AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" editable="1" font_size="12" forecolor="-1" right_just="0" text_style="0" visible="1" val_off="" val_on="" title="Price" uid="col_2" width="90" type="16">
                      <databind alias="U_Price" databound="1" table="@AMI_RNM1" />
                      <ExtendedObject />
                    </column>
                    <column AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" editable="1" font_size="12" forecolor="-1" right_just="0" text_style="0" visible="1" val_off="" val_on="" title="Qty" uid="col_3" width="90" type="16">
                      <databind alias="U_Qty" databound="1" table="@AMI_RNM1" />
                      <ExtendedObject />
                    </column>
                    <column AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" editable="1" font_size="12" forecolor="-1" right_just="0" text_style="0" visible="1" val_off="" val_on="" title="LinTotl" uid="col_4" width="90" type="16">
                      <databind alias="U_LinTotl" databound="1" table="@AMI_RNM1" />
                      <ExtendedObject />
                    </column>
                  </action>
                </columns>
              </specific>
            </item>
          </action>
        </items>
        <DataBrowser BrowseBy="3" />
      </form>
    </action>
  </forms>
</Application>

Kind Regards

-Yatsea

Former Member
0 Kudos

Yes, and I has used B1DE UDO Form Generator to make UDO xml file and I have replaced this part in the xml file.


    <action type="add">
      <form AutoManaged="0" BorderStyle="0" FormType="O01_CONTR" ObjectType="O01_CONTR" SupportedModes="15" 
			color="0" default_button="1" 
			left="200" top="100" width="780" height="470" client_width="780" client_height="470"
			mode="0" pane="0" title="Gestione Contratti" type="0" 
			uid="TO_CHANGE" visible="1">
      <!-- <form FormType="O01_CONTR" title="Contratti" 
			type="4" BorderStyle="0" uid="TO_CHANGE" 
			visible="1" default_button="1"
            pane="1" color="0" left="200" top="100" width="780" height="470" client_width="780" client_height="470"
            ObjectType="O01_CONTR" AutoManaged="0" SupportedModes="15" mode="0">
            -->
        <datasources>

Former Member
0 Kudos

Hi Yatsea Li

I'm tryed to load xml but it's not work :(.

Thank you for your time.

Regards

Sierdna S.

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

The only difference I can see in your xml part is:

pane="0" type="0"

by the way,can you use the find mode in the UDO ( udo form by udo form generator) to search?

Kind Regards

-yatsea

Former Member
0 Kudos

In the generated form I can use search functionality, but in my xml, even if modified, I can not.

About :

- type: Specifies the border type of the form. Deprecated in UI API 2004 and replaced by BorderStyle attribute.

- pane: Specifies the pane level of the form.

I'm using the pane levels because I have 2 folders in my form (see images) and has set those to:


      <form AutoManaged="1" BorderStyle="0" FormType="O01_CONTR" ObjectType="O01_CONTR" SupportedModes="15" 
			color="0" default_button="1" 
			left="200" top="100" width="780" height="470" client_width="780" client_height="470"
			mode="0" pane="1" title="Gestione Contratti"
			uid="TO_CHANGE" visible="1">

Dos'not work.

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

can you try this:

just set the default pane level as 0, pane="0"

<form AutoManaged="1" BorderStyle="0" FormType="O01_CONTR" ObjectType="O01_CONTR" SupportedModes="15" 
			color="0" default_button="1" 
			left="200" top="100" width="780" height="470" client_width="780" client_height="470"
			mode="0" pane="0" title="Gestione Contratti"
			uid="TO_CHANGE" visible="1">

Kind Regards

-Yatsea

Former Member
0 Kudos

Hi Yatsea Li

I checked loading form (generated with B1DE) with my code and I found that searching does not work.

It means that the problem in the code.

I just make what the problem and write to you.

Thank you very much

Sierdna S.

Former Member
0 Kudos

Hi Yatsea Li

I checked form loading (generated with B1DE) with my code and I found that searching does not work.

It means that the problem is in the code.

Now all functionality are ok.

Thank you very much.

Sierdna S.

Answers (0)