UDO Form Help

Hi There,
Need help on modifying my UDO xml form. I need to have the data in Matrix or Grid, But the UDO form that i create from B1 UDO Form Generator gives it field wise.
I tried to create a new form in screen painter but it doesn't load the form from my code (Surprising).
My UDO form is loding though and im able to add data, etc. but i want it in a Grid or Matrix style.
Here is my XML of my UDO form.
Thank you all in advance.
<forms>
    <action type="add">
      <form AutoManaged="0" BorderStyle="0" FormType="FMS1_OUT" ObjectType="FMS1_OUT" SupportedModes="15" appformnumber="FMS1_OUT" client_height="373" client_width="518" color="0" default_button="1" height="373" left="219" mode="0" pane="0" title="FMS1_OUT" top="95" type="0" uid="FMS1_OUT_" visible="1" width="518">
        <datasources>
          <dbdatasources>
            <action type="add">
              <datasource tablename="@FMS1_OUT" />
            </action>
          </dbdatasources>
        </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="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="@FMS1_OUT" />
              </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="@FMS1_OUT" />
              </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_FileNo" databound="1" table="@FMS1_OUT" />
              </specific>

Prashant,
Have you tried the Screen painter add-on? Use it has a RAD tool to create your UDO Forms.
Looking at your xml, I can see that haven't defined any columns.
I provide you with the XML for one of my document forms, so you can use has template.
<?xml version="1.0" encoding="UTF-16" ?>
<Application>
     <forms>
          <action type="add">
               <form appformnumber="frmNR" FormType="frmNR" type="4" BorderStyle="0" uid="frmNR" title="Nota de Recepção" visible="0" default_button="1" pane="0" color="0" left="324" top="49" width="808" height="479" client_width="808" client_height="445" AutoManaged="1" SupportedModes="15" ObjectType="ADAT_NR">
                    <datasources>
                         <dbdatasources>
                              <action type="add">
                                   <datasource tablename="@ADAT_ONR"></datasource>
                                   <datasource tablename="@ADAT_NR1"></datasource>
                              </action>
                         </dbdatasources>
                         <userdatasources>
                              <action type="add"></action>
                         </userdatasources>
                    </datasources>
                    <Menus>
                         <action type="enable">
                              <Menu uid="5890"></Menu>
                              <Menu uid="4876"></Menu>
                              <Menu uid="1293"></Menu>
                              <Menu uid="1294"></Menu>
                              <Menu uid="1299"></Menu>
                         </action>
                         <action type="disable"></action>
                    </Menus>
                    <items>
                         <action type="add">
                              <item uid="1" type="4" left="5" tab_order="0" width="80" top="420" height="19" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="OK"></specific>
                              </item>
                              <item uid="2" type="4" left="100" tab_order="0" width="80" top="420" height="19" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Cancelar"></specific>
                              </item>
                              <item uid="AddRow" type="4" left="715" tab_order="0" width="80" top="420" height="19" visible="0" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Adicionar Linha"></specific>
                              </item>
                              <item uid="lbCardCode" type="116" left="111" tab_order="0" width="13" top="11" height="11" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="CardCode" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific linkedObject="2" LinkedObjectType="2"></specific>
                              </item>
                              <item uid="CardCode" type="16" left="125" tab_order="0" width="150" top="10" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Código do Fornecedor" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                            <AutoManagedAttribute>
                                <Attribute id="2" description="editable" modeAdd="1" modeFind="1"></Attribute>
                            </AutoManagedAttribute>
                                   <specific TabOrder="0" ChooseFromListUID="CFL0" ChooseFromListAlias="CardCode">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_CardCode"></databind>
                                   </specific>
                              </item>
                              <item uid="CardName" type="16" left="125" tab_order="1" width="150" top="25" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Nome do Fornecedor" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                            <AutoManagedAttribute>
                                <Attribute id="2" description="editable" modeAdd="1" modeFind="1"></Attribute>
                            </AutoManagedAttribute>
                                   <specific TabOrder="1" ChooseFromListUID="CFL4" ChooseFromListAlias="CardName">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_CardName"></databind>
                                   </specific>
                              </item>
                              <item uid="ContPrsn" type="16" left="125" tab_order="2" width="150" top="40" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Pessoa de Contacto do Fornecedor" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="2" ChooseFromListUID="CFL10" ChooseFromListAlias="Name">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_ContPrsn"></databind>
                                   </specific>
                              </item>
                              <item uid="RefNum" type="16" left="125" tab_order="3" width="150" top="55" height="15" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Número de Referência do Fornecedor" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="3">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_RefNum"></databind>
                                   </specific>
                              </item>
                              <item uid="PrcCode" type="16" left="365" tab_order="4" width="65" top="10" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Código do Parcelário" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="4" ChooseFromListUID="CFL3" ChooseFromListAlias="Code">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_PrcCode"></databind>
                                   </specific>
                              </item>
                              <item uid="lbPrc" type="116" left="352" tab_order="0" width="12" top="11" height="10" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="PrcCode" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific linkedObject="" LinkedObjectType=""></specific>
                              </item>
                              <item uid="PrcName" type="16" left="431" tab_order="6" width="140" top="10" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Nome do Parcelário" linkto="PrcCode" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="6" ChooseFromListUID="CFL5" ChooseFromListAlias="Name">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_PrcName"></databind>
                                   </specific>
                              </item>
                              <item uid="FolhaCod" type="16" left="365" tab_order="4" width="65" top="25" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Código da Folha" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="4" ChooseFromListUID="CFL6" ChooseFromListAlias="Code">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_FolhaCod"></databind>
                                   </specific>
                              </item>
                              <item uid="lbFolha" type="116" left="352" tab_order="0" width="12" top="26" height="10" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="FolhaCod" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific linkedObject="" LinkedObjectType=""></specific>
                              </item>
                              <item uid="FolhaNam" type="16" left="431" tab_order="6" width="140" top="25" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Nome da Folha" linkto="FolhaCod" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="6" ChooseFromListUID="CFL7" ChooseFromListAlias="Name">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_FolhaNam"></databind>
                                   </specific>
                              </item>
                              <item uid="lbItemCode" type="116" left="352" tab_order="0" width="12" top="41" height="10" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="ItemCode" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific linkedObject="4" LinkedObjectType="4"></specific>
                              </item>
                              <item uid="ItemCode" type="16" left="365" tab_order="8" width="65" top="40" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Código da Variedade" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="8">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_ItemCode"></databind>
                                   </specific>
                              </item>
                              <item uid="ItemName" type="16" left="431" tab_order="9" width="140" top="40" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Descrição da Variedade" linkto="ItemCode" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="9">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_ItemName"></databind>
                                   </specific>
                              </item>
                              <item uid="Series" type="113" left="639" tab_order="10" width="50" top="10" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Nome da Série" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                            <AutoManagedAttribute>
                                <Attribute id="2" description="editable" modeAdd="1" modeFind="1"></Attribute>
                            </AutoManagedAttribute>
                                   <specific AffectsFormMode="1" TabOrder="10">
                                        <ValidValues>
                                             <action type="add"></action>
                                        </ValidValues>
                                        <databind databound="1" table="@ADAT_ONR" alias="Series"></databind>
                                   </specific>
                              </item>
                              <item uid="DocNum" type="16" left="690" tab_order="0" width="99" top="10" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Número da Série de Numeração" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                            <AutoManagedAttribute>
                                <Attribute id="2" description="editable" modeFind="1"></Attribute>
                            </AutoManagedAttribute>
                                   <specific TabOrder="0">
                                        <databind databound="1" table="@ADAT_ONR" alias="DocNum"></databind>
                                   </specific>
                              </item>
                              <item uid="Status" type="16" left="690" tab_order="0" width="99" top="25" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="0">
                                        <databind databound="0" table="" alias=""></databind>
                                   </specific>
                              </item>
                              <item uid="DataRcp" type="16" left="690" tab_order="11" width="64" top="55" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Data de Recepção da Matéria Prima" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="11">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_DataRcp"></databind>
                                   </specific>
                              </item>
                              <item uid="HoraRcp" type="16" left="755" tab_order="12" width="34" top="55" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Hora de Recepção da Matéria Prima" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="12">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_HoraRcp"></databind>
                                   </specific>
                              </item>
                              <item uid="OwnerSig" type="16" left="665" tab_order="0" width="24" top="40" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="0">
                                        <databind databound="1" table="@ADAT_ONR" alias="UserSign"></databind>
                                   </specific>
                              </item>
                              <item uid="OwnerNam" type="16" left="690" tab_order="0" width="99" top="40" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Utilizador que Efectuou a Recepção" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="0">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_OwnerNam"></databind>
                                   </specific>
                              </item>
                              <item uid="TesouraSim" type="122" left="661" tab_order="0" width="50" top="101" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="A fruta foi colhida com Tesoura" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Sim" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Tesoura"></databind>
                                   </specific>
                              </item>
                              <item uid="TesouraNao" type="122" left="717" tab_order="0" width="60" top="101" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="A fruta Não foi colhida com Tesoura" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Não" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Tesoura"></databind>
                                   </specific>
                              </item>
                              <item uid="Cochoni" type="121" left="660" tab_order="0" width="130" top="140" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="A fruta apresenta sinais de infectação por cochoninha?" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Cochonilha" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Cochoni"></databind>
                                   </specific>
                              </item>
                              <item uid="Mosca" type="121" left="660" tab_order="0" width="130" top="155" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="A fruta apresenta sinais de perfuração por Moscas?" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Mosca" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Mosca"></databind>
                                   </specific>
                              </item>
                              <item uid="DefEpid" type="121" left="660" tab_order="0" width="130" top="170" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Defeitos Epidermicos" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Defeitos Epidérmicos" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_DefEpid"></databind>
                                   </specific>
                              </item>
                              <item uid="OutDef" type="121" left="660" tab_order="0" width="130" top="185" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Outros Defeitos que a Fruta possa apresentar" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Outros" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_OutDef"></databind>
                                   </specific>
                              </item>
                              <item uid="PodresN" type="122" left="660" tab_order="0" width="130" top="225" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="A entrega não tem fruta podre" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Nenhum" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Podres"></databind>
                                   </specific>
                              </item>
                              <item uid="PodresP" type="122" left="660" tab_order="0" width="130" top="240" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="A entrega tem alguma fruta podre" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Pouco" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Podres"></databind>
                                   </specific>
                              </item>
                              <item uid="PodresM" type="122" left="660" tab_order="0" width="130" top="255" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="A entrega tem muita mercadoria podre" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Muito" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Podres"></databind>
                                   </specific>
                              </item>
                              <item uid="Cor" type="113" left="660" tab_order="13" width="130" top="295" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Indique, na generalidade, qual a cor da fruta entregue" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific AffectsFormMode="1" TabOrder="13">
                                <ValidValues>
                                  <action type="add">
                                    <ValidValue value="1" description="Verde"></ValidValue>
                                    <ValidValue value="2" description="Verde/Amarelo"></ValidValue>
                                    <ValidValue value="3" description="Verde/Laranja"></ValidValue>
                                    <ValidValue value="4" description="Amarelo"></ValidValue>
                                    <ValidValue value="5" description="Laranja"></ValidValue>
                                    <ValidValue value="6" description="Vermelho"></ValidValue>
                                  </action>
                                </ValidValues>
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Cor"></databind>
                                   </specific>
                              </item>
                              <item uid="Indust" type="121" left="660" tab_order="0" width="130" top="335" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="A fruta destina-se a fins industriais?" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Para Fins Industriais" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Indust"></databind>
                                   </specific>
                              </item>
                              <item uid="Calib" type="121" left="660" tab_order="0" width="130" top="350" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="Indique caso a fruta não seja para calibrar" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Não Calibrado" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Calib"></databind>
                                   </specific>
                              </item>
                              <item uid="Drencher" type="121" left="660" tab_order="0" width="130" top="365" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="1" right_just="0" description="A fruta é para ser lavada?" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="DRENCHER" AffectsFormMode="1" val_on="Y" val_off="N">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_Drencher"></databind>
                                   </specific>
                              </item>
                              <item uid="mtx_NR" type="127" left="5" tab_order="0" width="645" top="80" height="250" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific SelectionMode="1" layout="0" titleHeight="20" cellHeight="16">
                                        <columns>
                                             <action type="add">
                                                  <column uid="V_LineId" type="16" title="#" description="" visible="1" AffectsFormMode="1" width="22" disp_desc="0" editable="0" right_just="1" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
                                                       <databind databound="1" table="@ADAT_NR1" alias="LineId"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                                  <column uid="V_PltCode" type="16" title="Cód. Palete" description="Código da Palete Entregue" visible="1" AffectsFormMode="1" width="60" disp_desc="1" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1" ChooseFromListUID="CFL2" ChooseFromListAlias="Code">
                                                       <databind databound="1" table="@ADAT_NR1" alias="U_PltCode"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                                  <column uid="V_PltName" type="16" title="Descrição da Palete" description="Descrição da Palete" visible="1" AffectsFormMode="1" width="100" disp_desc="1" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1" ChooseFromListUID="CFL8" ChooseFromListAlias="Name">
                                                       <databind databound="1" table="@ADAT_NR1" alias="U_PltName"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                                  <column uid="V_QtdCaixa" type="16" title="Nº de Caixas" description="Quantidade de Caixas na Palete" visible="1" AffectsFormMode="1" width="70" disp_desc="1" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
                                                       <databind databound="1" table="@ADAT_NR1" alias="U_QtdCaixa"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                                  <column uid="V_CaixaCod" type="16" title="Cód. Caixa" description="Código da Caixa" visible="1" AffectsFormMode="1" width="60" disp_desc="1" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1" ChooseFromListUID="CFL1" ChooseFromListAlias="Code">
                                                       <databind databound="1" table="@ADAT_NR1" alias="U_CaixaCod"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                                  <column uid="V_CaixaNam" type="16" title="Descrição da Caixa" description="Descrição da Caixa" visible="1" AffectsFormMode="1" width="100" disp_desc="0" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1" ChooseFromListUID="CFL9" ChooseFromListAlias="Name">
                                                       <databind databound="1" table="@ADAT_NR1" alias="U_CaixaNam"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                                  <column uid="V_PesoBrut" type="16" title="Peso Bruto" description="Peso Bruto da Palete" visible="1" AffectsFormMode="1" width="70" disp_desc="1" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
                                                       <databind databound="1" table="@ADAT_NR1" alias="U_PesoBrut"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                                  <column uid="V_PesoLiq" type="16" title="Peso Líquido" description="Peso Liquido da Palete" visible="1" AffectsFormMode="1" width="70" disp_desc="1" editable="0" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
                                                       <databind databound="1" table="@ADAT_NR1" alias="U_PesoLiq"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                                  <column uid="V_PltObs" type="16" title="Observações" description="Observações sobre a Palete" visible="1" AffectsFormMode="1" width="175" disp_desc="1" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
                                                       <databind databound="1" table="@ADAT_NR1" alias="U_PltObs"></databind>
                                                       <ExtendedObject></ExtendedObject>
                                                  </column>
                                             </action>
                                        </columns>
                                   </specific>
                              </item>
                              <item uid="DocObs" type="118" left="7" tab_order="14" width="320" top="344" height="60" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="Indique quaisquer observações adicionais sobre a recepção, fornecedor ou fruta" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific ScrollBars="0">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_DocObs"></databind>
                                   </specific>
                              </item>
                              <item uid="TotCaixa" type="16" left="470" tab_order="0" width="100" top="360" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="0">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_TotCaixa"></databind>
                                   </specific>
                              </item>
                              <item uid="TotPalet" type="16" left="470" tab_order="0" width="100" top="345" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="0">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_TotPalet"></databind>
                                   </specific>
                              </item>
                              <item uid="TPesBrut" type="16" left="470" tab_order="0" width="100" top="380" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="0">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_TPesBrut"></databind>
                                   </specific>
                              </item>
                              <item uid="TPesLiq" type="16" left="470" tab_order="0" width="100" top="395" height="14" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific TabOrder="0">
                                        <databind databound="1" table="@ADAT_ONR" alias="U_TPesLiq"></databind>
                                   </specific>
                              </item>
                              <item uid="3" type="8" left="10" tab_order="0" width="100" top="10" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="CardCode" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Fornecedor"></specific>
                              </item>
                              <item uid="4" type="8" left="10" tab_order="0" width="114" top="25" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="CardName" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Nome"></specific>
                              </item>
                              <item uid="5" type="8" left="10" tab_order="0" width="114" top="39" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="ContPrsn" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Pessoa de Contacto"></specific>
                              </item>
                              <item uid="6" type="8" left="10" tab_order="0" width="114" top="55" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="RefNum" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Nº Ref. Fornecedor"></specific>
                              </item>
                              <item uid="7" type="8" left="295" tab_order="0" width="55" top="10" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="PrcCode" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Parcelário"></specific>
                              </item>
                              <item uid="8" type="8" left="295" tab_order="0" width="55" top="25" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="FolhaCod" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Folha"></specific>
                              </item>
                              <item uid="10" type="8" left="295" tab_order="0" width="55" top="40" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="ItemCode" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Variedade"></specific>
                              </item>
                              <item uid="12" type="8" left="590" tab_order="0" width="49" top="10" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="DocNum" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Número"></specific>
                              </item>
                              <item uid="13" type="8" left="590" tab_order="0" width="99" top="25" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="Status" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Estado"></specific>
                              </item>
                              <item uid="16" type="8" left="590" tab_order="0" width="59" top="40" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="OwnerSig" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Funcionário"></specific>
                              </item>
                              <item uid="14" type="8" left="590" tab_order="0" width="99" top="55" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="DataRcp" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Data/Hora de Recep."></specific>
                              </item>
                              <item uid="38" type="8" left="660" tab_order="0" width="130" top="85" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Colheita com Tesoura?"></specific>
                              </item>
                              <item uid="41" type="8" left="660" tab_order="0" width="130" top="125" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Imperfeições da Epiderme"></specific>
                              </item>
                              <item uid="47" type="8" left="660" tab_order="0" width="130" top="210" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Podres"></specific>
                              </item>
                              <item uid="54" type="8" left="660" tab_order="0" width="130" top="280" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Cor do Fruto"></specific>
                              </item>
                              <item uid="56" type="8" left="660" tab_order="0" width="130" top="320" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Outra Informação"></specific>
                              </item>
                              <item uid="19" type="8" left="5" tab_order="0" width="160" top="329" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific caption="Observações do Documento"></specific>
                              </item>
                              <item uid="rtgProp" type="100" left="655" tab_order="0" width="140" top="80" height="305" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></AutoManagedAttribute>
                                   <specific></specific>
                              </item>
                              <item uid="59" type="8" left="370" tab_order="0" width="100" top="380" height="14" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="TPesBrut" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute></Auto

Similar Messages

  • Help in adding UDO Form to Project

    Hi all,
    I need some help with calling a UDO form in VB.Net
    I have created a new project in VB.NET
    I have created a UDo through Object Registration wizead.
    I also create a form through UDO form generator.
    Since I am new to SAp I want to know how do i call this form into my project.
    I have already created a menu event and on its click I write the folwing code
    Dim SBO_Application As SAPbouiCOM.Application
                Dim oXmlDoc As Xml.XmlDocument
                oXmlDoc = New Xml.XmlDocument
                '// load the content of the XML File
                oXmlDoc.Load("C:\XXX_NEW\poc\form\" + "XXX_POC_MASTERForm.xml")
                '// load the form to the SBO application in one batch
                SBO_Application.LoadBatchActions("oXmlDoc.XML")
    However the above line throws error
    Can someone please tell me what shoud I be doing to make it work
    thanks Dibakar

    Hi Dibakar,
    You should change the last line of your code from
    SBO_Application.LoadBatchActions("oXmlDoc.XML")
    to
    SBO_Application.LoadBatchActions(oXmlDoc.XML)
    There should not be quotation marks around the variable with the XML values in it as the SDK then interprets it as a string.
    Hope it helps,
    Adele

  • View Crystal Report Layout for my UDO Form

    Hi all,
    I try to view a report created for my UDO form. I set all settings in Administration -> Setup -> General -> Report and Layout Manager. Now I wonder what should be assigned to  eventInfo.LayoutKey. I tried assigned report's DocCode from RDOC, DocEntry of my UDO object or UDO Code but nothing works. Always get an error: Incorrect format of argument or something like that - I didn't get an error in English so I tried to translate it.
    How to show a report layout for my UDO form?
    Regards
    Szymon Lipnicki

    Hi and thanks for Your reply.
    Help file contains example how to open report layout prepare in Crystla Reports designer for UDO form.
    //Add Layout Key Event Handler
    SBO_Application.LayoutKeyEvent += new SAPbouiCOM._IApplicationEvents_LayoutKeyEventEventHandler(SBO_Application_LayoutKeyEvent);
    void SBO_Application_LayoutKeyEvent(ref SAPbouiCOM.LayoutKeyInfo eventInfo, out bool BubbleEvent)
        BubbleEvent = true;
        if (eventInfo.ReportTemplate == "A001" && eventInfo.ReportCode == "A001001")
            eventInfo.LayoutKey = 1; //Set the key of the layout
    I am using SAP 8.81.
    Regards
    Szymon

  • EditText , ComboBox : How to reffer  edittext in UDO forms

    I had Generated an UDO Form and on the form Load Event.
    i had created a Combobox(RunTime) and Filled some values from the database;
    now i want to act with the select event of that combobox.
    <b>where can i write the code for the Events of this runtime generated ComboBox(i.e ComboBox.Selected Event) in UDO Forms.</b>
    More over i am also facing the problem as
    <b>how to refer the edittext of the UDO generated form to assign some values. when i tried</b>
    eItemNo = (EditText)(form.Items.Item("13").Specific);
    where 13 is the uid of the EditText
    I am getting the error as
    EXCEPTION: Form_MyForm.OnAfterFormLoad raised
    Item - Invalid item  [66000-3]. Form Unique Id: 'MyForm_0',
    Item Unique Id: '13'
    can any one please help me

    First , you have to get the event for the combo like this ...
                If pVal.Before_Action = True Then
                    Select Case pVal.EventType
                        Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT ' on Combo Select
                             'your code here
                    End Select
                 End if
    on the second case, you have to make sure of that the <b>form</b> UniqueID is correct
    eItemNo = (EditText)(form.Items.Item("13").Specific);

  • Udo form

    Hi,
    i created a form by using UDO Form generator.
    in that for add line i am writing the code like in item event,
           Try
                If (FormUID = "JBWISSUES" And pVal.Before_Action = True) Then
                    ' Click on Add Row
                    If (pVal.ItemUID = "add") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then
                        Dim f As SAPbouiCOM.Form
                        Dim omtx_0rix As SAPbouiCOM.Matrix
                        f = SBO_Application.Forms.Item(FormUID)
                        omtx_0rix = f.Items.Item("mtx_0").Specific
                        f.DataSources.DBDataSources.Item(1).Clear()
                        omtx_0rix.AddRow(1)
                        omtx_0rix.Clear()
                    End If
                 end if
    But, when i run the application, when i click addline button , its not showing any result. when i check by putting break point, that form itself not finding..
    plz help me in that. how to enter the values in marix? and i want to create a combobox on form. but with udo form generator all fields are comming as edit boxes. but i want in that one fields as combo. how can i set like a combo?
    plz help me asap

    hi babu,
    Try this code for adding row in the matrix:
    Try
    If (FormUID = "JBWISSUES" And pVal.Before_Action = True) Then
    If (pVal.ItemUID = "ADD") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then
    Dim f As SAPbouiCOM.Form
    Dim omtx_0rix As SAPbouiCOM.Matrix
    f = SBO_Application.Forms.ActiveForm
    omtx_0rix = f.Items.Item("mtx_0").Specific
    omtx_0rix.AddRow()
    End If
    End If
    For your second requirement of including a combo in the UDO form:
    While declaring field in the UDT, set some valid values and then register the UDO.
    When you generate the form using the UDO Form Generator, the combo box comes automatically.
    If the values in the combo are dynamic, you can open the srf / xml form in screen painter, replace the edit box with a combo box. and populate it thru the code.
    HTH,
    Lakshman.
    Message was edited by:
            Lakshman

  • UDO form generator tool ??

    Hi all
    could  u  help me  where it will be find UDO form  generator tool?
    plz help.. me....
    Edited by: Gangotri Infotech on Jan 14, 2008 9:01 AM

    UDO form generator will generate for you a B1 form in XML format starting from a UDO definition in your DB. It is included also in the VS.NET wizards for C# and VB.NET projects for B1 addons as part of the B1DE package.
    You can download the B1DE package directly from SDN under "Business One SDK tools" section in the B1 SDN home page.

  • UDO Form color

    There doesn't appear to be a UDO form property for color.  I would like our UDO forms to look consistent with the color selected by the user in the general settings.  Is that possible?

    when you look in the uiapi documentation and search for color you will get a result
    with  <forms> Element
    there is the tag description of the <form> tag and there you see color
    so it looks like that via .xml it is possible
    i tested it
    there's already a color="0" entry
    when you change it to color="3" in the xml it is blue
    when it was helpful enough reward me
    if not anyway - regards
    David
    Edited by: David Nussböck on Feb 11, 2008 7:11 PM
    Edited by: David Nussböck on Feb 11, 2008 7:13 PM

  • Stopping UDO form from committing to database

    Hi All,
    This has actually been bothering me for quite some time. I would like to know how others are handling this problem.
    When we create a UDO form, SBO will handle the Add/Update/Delete function automatically.
    Normally before committing to database, we need to do a validation on the form, making sure no dirty record gets into our table.
    But if the user turn off the addon when the UDO form is already opened, they can commit the record and bypass our validation.
    I can think of a few ways :
    1. Put the Validation in SP Notification. But this will be troublesome if a lot of fields to be validated and more if the validation gets complicated.
    2. Set the Addon as mandatory. This has also a drawback, since when we set as mandatory, every user must run this addon regardless whether they are using it or not.
    Can anybody share how you do this ?
    Regards
    Edy

    Hi Edy,
    As you said " if the user turn off the addon when the UDO form is already opened, they can commit the record and bypass our validation":
    As far as I know then the things are not in our hands in that case. This can be bypassed only using SP Transaction Notification.
    Secondly yes, Setting the addon as mandatory has a drawback. Every user must run this addon whether he/she uses it or not.
    So if I were you, I will go with the SP Transaction Notification.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

  • Copy data from a UDO form to Goods Receipt PO using UI API

    Hi, all
    I tried to copy data from a UDO form to Goods Receipt PO using UI API through following codes.
    It works fine while copying to a Item-type Goods Receipt PO.
    But when the doctype is set to service, I got errors.
    I use for-loop to copy two items, Description and LineTotal, into the matrix of Goods Receipt PO form, but both failed.
    any suggestion?
    Edited by: Chao-Yi Wu on Aug 25, 2009 5:50 AM

    Hi  Chao-Yi Wu ,
    SBO_Application.ActivateMenuItem("2306")
    Dim oFormGR As SAPbouiCOM.Form = SBO_Application.Forms.ActiveForm
    Dim omtxIQC, omtxGR As SAPbouiCOM.Matrix
    Dim oedIQC, oedGR, oed As SAPbouiCOM.EditText
    Dim ocbIQC, ocbGR As SAPbouiCOM.ComboBox
    oFormGR.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE
    oedIQC = oFormIQC.Items.Item("13").Specific
    oedGR = oFormGR.Items.Item("4").Specific
    oedGR.Value = oedIQC.Value
    oedIQC = oFormIQC.Items.Item("21").Specific
    oedGR = oFormGR.Items.Item("24").Specific
    oedGR.Value = oedIQC.Value
    oedIQC = oFormIQC.Items.Item("edComments").Specific
    oedGR = oFormGR.Items.Item("16").Specific
    oed = oFormIQC.Items.Item("3").Specific
    oedGR.Value = oedIQC.Value + ", Goods Recript PO:" + oed.Value
    ocbIQC = oFormIQC.Items.Item("cbDocType").Specific
    ocbGR = oFormGR.Items.Item("3").Specific
    If ocbIQC.Selected.Value = "I" Then
         ocbGR.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
    Else
         ocbGR.Select(1, SAPbouiCOM.BoSearchKey.psk_Index)
    End If
    omtxIQC = oFormIQC.Items.Item("mtx_0").Specific
    For i As Integer = 1 To omtxIQC.RowCount
    omtxGR = oFormGR.Items.Item("38").Specific
           If ocbIQC.Selected.Value = "I" Then
                oedIQC = omtxIQC.Columns.Item("c_ItemCode").Cells.Item(i).Specific
                oedGR = omtxGR.Columns.Item("1").Cells.Item(i).Specific
                oedGR.String = oedIQC.String
                oedIQC = omtxIQC.Columns.Item("c_AQty").Cells.Item(i).Specific
                oedGR = omtxGR.Columns.Item("11").Cells.Item(i).Specific
                oedGR.String = oedIQC.String
                oedIQC = omtxIQC.Columns.Item("col_19").Cells.Item(i).Specific
                oedGR = omtxGR.Columns.Item("14").Cells.Item(i).Specific
                oedGR.String = oedIQC.String
       Else  
    omtxGR = oFormGR.Items.Item("39").Specific
               oedIQC = omtxIQC.Columns.Item("c_Descrp").Cells.Item(i).Specific
               oedGR = omtxGR.Columns.Item("1").Cells.Item(i).Specific
               oedGR.String = oedIQC.String
               oedIQC = omtxIQC.Columns.Item("col_16").Cells.Item(i).Specific
               oedGR = omtxGR.Columns.Item("12").Cells.Item(i).Specific
               oedGR.String = oedIQC.String
      End If
                Next
    for items the matrix is 38 and for service the matrix is 39
    Rgds
    Micheal

  • Error when open UDO form generator

    when i try to open udo form gen .the following error arises.
    ERROR The Type initializer for 'B1 Wizard.Globals' threw an exception
    Pls tell me how to resolve it

    Have you searched the forum?
    You may check this first: ERROR: The type initializer for B1Wizard.Globalsu2019 threw an exception.
    Thanks,
    Gordon

  • How to use default UDO form from new menu

    Hello,
    I've created a UDO form which shows just the code field and the name field on a matrix.
    Is it possible to call this default form from a new created menu?
    Thank you

    Hello,
    If you don't want to keep using the default form - just launch it from somewhere else, simply "Activate" the appropriate menu item.
    Remember that in SAP Business One 2004 every menu item has its own UniqueID. You might want to check-out the sample "AddingMenuItems" from the SDK-CD installation...;
    it has some code (commented out) that will save the menu in a XML file...
    Maybe you have to check the menu string for the appropriate default form as well, if you want to make the code generic.
    Regards,
    Frank

  • Problem Connecting B1DE UDO Form Generator in SAP 8.8

    Hello All,
    I have installed the B1DE Tool for SAP 8.8 Patch - 17 machine but while running the UDO Form Generator
    when i am ginving the User Name & Password of the selected company then system throws an error
    "ERROR - Connection to Company Failed ; Resource Error "
    and i am not able to use the UDO Form Generator .
    Please suggest how to resolve this problem,
    Thanks
    Amit

    Hi AmitSharma_061985
    you can download B1DE UDO new version here http://www.sdn.sap.com/irj/sdn/downloads?rid=/webcontent/uuid/a175fb62-0c01-0010-a8b5-fa58a13b1cf7 [original link is broken]
    1.change name server (server database)
    2.user name and password must have lincence.
    Regards
    H

  • UDO forms doesn't display after export

    Hi Guys!
    I've created an add-on from my PC and works well.
    I did a backup of my database with UDO forms etc. and transfer them into another server.
    When I clicked the menu for the UDO, the form doesn't appear.
    Is there any files or procedure I had missed out?

    Currently I am using a Ahsay software for backup.Ahsay Backup software is a robust cross-platform backup solution which allows businesses and managed backup service provider to backup virtual machines, databases and servers to local/mapped network drive, locally hosted backup server, or online backup server hosted in datacentre. I would like to suggest you to try this software, because its reThanks. Ahsay On-Premises/Online/Off-Site/Cloud Backup Software

  • Basic form help needed

    I am new to Dreamweaver 8 (but have worked with simple html a
    quite a bit) and am working on building a, hopefully, simple
    prototype for a project. What I need to do is collect user-entered
    text and user-selected dropdown box data on one page and send it to
    another for presentation there. After looking at the Help screens,
    I looked at using Session variables and it seems that is the best
    way to pass the data. Where I am stuck is in the (from Help
    Contents) Making Pages Dynamic - Creating Forms - Creating HTML
    forms help. They first say to, in step 2, Select Insert > Form
    (which doesn't do anything - you have to click another option,
    which I figured meant Form again). Then, in step 3, they say to
    "Specify the page or script that will process the form data." by
    selecting the file in the Action box in Properties. I don't have a
    file to "process the form data" and don't really know what they are
    talking about. Help!
    I originally (before I reverted to using Help) set it up with
    Insert->Form->Text Field text entry boxes, figuring this was
    a Form field that could be captured and passed on. Right? Wrong? I
    guess I thought the method would be to define a variable name
    associated with a text input field in one page, then pass it with
    the value to the next page. That is pretty much what it seems
    Session variables do (?), which I discovered when I started looking
    at Help.
    So, was I on the right track for a simple implementation and
    missed the way to capture and transmit the data, or do I need to
    use the Forms->Forms option? If the former, how do I define the
    variable names? If the later...well, I am real confused then. :-)
    Thanks for your help.
    (btw, we do have training material coming - went with
    Dreamweaver for Dummies, Peachpit Macromedia Dreamweaver 8 Hands-On
    Training "dead tree media" and TechRepublic Fast Track Dreamweaver
    8 CBT. Any opinions on those?)

    Session variables as the name suggests are created when a
    user starts a session and last till the session is open. You form
    doesn't really need session variables unless you are carrying form
    data from one page to another and need to keep it associated with
    that specific user such as in shopping cart applications.
    I have never used the dreamweaver insert form, so can't help
    you there. why not code the form yourself, especially since you
    have been using html
    The link below may help.
    http://www.w3schools.com/html/html_forms.asp

  • Udo form matrix binding

    Hi,
    I created one UDO form.
    in that i am trying to fill the matrix with recordset.
    becoz i am selecting the value from combobox and i run the query with this value.
    so this resultant record set i want to fill in matrix rows.
    oForm = SBO_Application.Forms.Item("JBWISSUES_")
                oItem = oForm.Items.Item("mtx_0")
                oMatrix = oItem.Specific
                oColumns = oMatrix.Columns
                'frm = app.Forms.ActiveForm
                'oMat = frm.Items.Item("gd_act").Specific
                'oMatrix.Clear()
                oComboBox = oForm.Items.Item("27").Specific
                ds = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                ds.DoQuery("select a.code as Code,b.Itemname as Desc1,a.quantity as Quantity from itt1 a,oitm b where a.code=b.Itemcode and a.code='" & oComboBox.Selected.Value & "'")
                ds.MoveFirst()
                'oColumn = oColumns.Item("col_0")
                For i = 0 To ds.RecordCount - 1
                 oColumn.ValidValues.Add(ds.Fields.Item("Code").Value, ds.Fields.Item("Desc1").Value)
                    ds.MoveNext()
                Next
                oMatrix.AddRow()
    here i am getting error like Object reference not set to instance error at oColumn.validvalues....... plz hel p me in that.
    Regards,
    Ravi

    That's because you have commented out the line where you set the oColumn object:
    'oColumn = oColumns.Item("col_0")
    Regards,
    Frank

Maybe you are looking for