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

Similar Messages

  • Adding Default Form while Registrasion of UDO

    Hi....
    I am facing problem while registering UDO using some VB.Net code.
    the SAP shows object registed successfully.but
    it doesn't create the default form.
    Sample Code....
                    oUserObjectMD.Code = "AssetType"
                   oUserObjectMD.Name = "ASSET TYPE UDO"
                    oUserObjectMD.ObjectType = SAPbobsCOM.BoUDOObjType.boud_MasterData
                    oUserObjectMD.TableName ="AssetTable"
                    oUserObjectMD.CanCancel = SAPbobsCOM.BoYesNoEnum.tYES
                    oUserObjectMD.CanClose = SAPbobsCOM.BoYesNoEnum.tYES
                    oUserObjectMD.CanDelete = SAPbobsCOM.BoYesNoEnum.tYES
                    oUserObjectMD.CanFind = SAPbobsCOM.BoYesNoEnum.tYES
                    oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES
                    oUserObjectMD.CanLog = SAPbobsCOM.BoYesNoEnum.tYES
                    oUserObjectMD.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tYES
                    oUserObjectMD.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tYES
                    oUserObjectMD.FindColumns.ColumnAlias = "Code"
                    oUserObjectMD.FindColumns.Add()
                    oUserObjectMD.FormColumns.FormColumnAlias = "Code"
                    oUserObjectMD.FormColumns.FormColumnDescription = "Code"
                    oUserObjectMD.FormColumns.Add()
                    oUserObjectMD.FormColumns.FormColumnAlias = "U_AssType"                     oUserObjectMD.FormColumns.FormColumnDescription = "Asset Type"
                    oUserObjectMD.FormColumns.Add()
                    oUserObjectMD.FormColumns.FormColumnAlias = "U_AssName"                oUserObjectMD.FormColumns.FormColumnDescription = "Asset Name"
                    oUserObjectMD.FormColumns.Add()
               If oUserObjectMD.Add() <> 0 Then
                        Dim ErrMsg As String
                        Dim ErrCode As Long
                        muc_ParentAddon.SBO_Company.GetLastError(ErrCode, ErrMsg)
                        muc_ParentAddon.SBO_Application.MessageBox("Error Adding UDO's - " & mst_ErrNumber & ErrMsg)  ', SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
                        System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserObjectMD)
                        oUserObjectMD = Nothing
                        Return False
                    End If
                End If
    UDO is Adding But I Am not getting Default Form.
    Please Help....

    Dear Nageswar Venkat,
    It seems like a sdk bug.
    You could update the UDO in B1 client then the Default Form will appear.
    Best Regards
    Jane Jing
    SAP Business One forums team

  • 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

  • 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.

  • Help with complex Acrobat forms

    Hi Everyone,
    Background: I worked with another developer and completed a form for one of our clients but I need to know if the below change requests are even possible and if so if anyone would like to help with finishing the form. I am definitely willing to pay for an experts services as long as this can be done in a timely manner.
    What the form is - Our client wants a form that has text fields, drop down boxes and pages where images can be placed into the file and arrows drawn on it to point where the images are located on other images (some images are store layout maps). They would like to send this file out to their store managers, have them fill it in and then they would like the completed forms sent back so all of the information that was filled in (names, store names, addresses, square footage, etc) can be gathered into a database or excel file.
    What is completed so far
    - Cascading drop down boxes (user clicks on first drop down and whatever is selected changes the second drop down options, etc)
    - Most of the text fields for information gathering including city, state, store manager etc
    - Metric unit conversion boxes
    - Header text fields (read only) are used on several of the pages and are a combination of choices made in the drop down boxes and text fields.
    - Page footer info including page number
    - The over all layout of the pages is set
    Requested changes/additions
    Major must have:
    - Page Addition - There is a product page in the form (page 10) and the different stores will have a different number of these products to enter into the form so is there a way to add an ADD PAGE button on the page that when pressed will copy the product page to make a new product page? Now the product page has cascading drop down form fields on it so I would want to make sure the form fields are separate iterations of the form fields not just a duplicate of what was on the product page.
    - Footer adjustments - If we can do the above of adding pages then is it possible to at that point adjust the footer to reflect the page number changes? The footer shows the current page number then the form name and date.
    - Gather info - What is the best way to distribute these forms so that when returned completed the information can be gathered? I tried distributing via email which seems to work ok but the files might end up being too large for email so what is the best way to gather the completed info if say the files were ftp'd back?
    Minor:
    There are several minor change requests that I know are doable or that if not possible we can disregard. One that I am not sure about is if the color of the arrows in Acrobat can be changed from the default red?
    At first I was assuming that the Clients that get the forms needed Acrobat Standard or Pro 8 or 9 because I thought that the only way to add images was to use the Touch-Up Tool under advanced tools and right click to Place images. However I am pretty sure that if Reader Rights is enabled that images can be copy pasted into the file too if this is incorrect please let me know.
    If the above is not doable or if there is a better solution other than Acrobat forms to gather client information including allow the client to add images and place arrows then please let me know your thoughts.
    Any help or suggestions would be greatly appreciated and again id like to commission this out to anyone who is up for the challenge.
    Thanks in advance
    Jason

    Perhaps a better question is does anyone know a good developer?

  • 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

  • I Need Dire Help Making a Flash Form

    Hello, I need some serious help creating a Flash Form.
    I Have used a template from another site with the following
    input boxes:
    Name: __________
    Email: __________
    Comments: ____________
    However, i had the script working fine, along with its php
    script,
    when i was trying to add more "text" boxes, i must have
    messed the script up somhow.
    When I submit that form, the name is send and email, but the
    email is blank.. ie, there is no "comments"
    here is the code:
    on submit button:
    on (release) {
    // send variables in form movieclip (the textfields)
    // to email PHP page which will send the mail
    form.loadVariables("email.php", "POST");
    sent email messege
    onClipEvent(data){
    // show welcome screen
    _root.nextFrame();
    and the php script (mailer.php)
    php form email.pho
    <?php
    * PHP 4.1.0+ version of email script. For more
    * information on the mail() function for PHP, see
    http://www.php.net/manual/en/function.mail.php
    // First, set up some variables to serve you in
    // getting an email. This includes the email this is
    // sent to (yours) and what the subject of this email
    // should be. It's a good idea to choose your own
    // subject instead of allowing the user to. This will
    // help prevent spam filters from snatching this email
    // out from under your nose when something unusual is put.
    $sendTo = "[email protected]";
    $subject = "My Flash site reply";
    // variables are sent to this PHP page through
    // the POST method. $_POST is a global associative array
    // of variables passed through this method. From that, we
    // can get the values sent to this page from Flash and
    // assign them to appropriate variables which can be used
    // in the PHP mail() function.
    // header information not including sendTo and Subject
    // these all go in one variable. First, include From:
    $headers = "From: " . $_POST["firstName"] ." ".
    $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
    // next include a replyto
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    // often email servers won't allow emails to be sent to
    // domains other than their own. The return path here will
    // often lift that restriction so, for instance, you could
    send
    // email to a hotmail account. (hosting provider settings may
    vary)
    // technically bounced email is supposed to go to the
    return-path email
    $headers .= "Return-path: " . $_POST["email"];
    // now we can add the content of the message to a body
    variable
    $message = $_POST["message"];
    // once the variables have been defined, they can be included
    // in the mail function call which will send you an email
    mail($sendTo, $subject, $message, $headers);
    ?>
    If anyone can see why the "comments" section is not being
    sent?
    Also: My original problem was how do you add more text boxes.
    I want something like this:
    Name:
    Address:
    Phone:
    Mobile:
    Email:
    Website:
    Comments:
    Ive spent days and days trying to work out how to first make
    a form that actually works, then add more text fields
    Ive looked at many basic form tutorials, but they all seem to
    only have 3 or 4 text fields.. Name, Email, Comments... etc
    I haven't a clue how to edit the script both in action script
    and php to add more fields easy.
    I really need some help with this, its turning into a
    nightmare for me.
    I can provide someone with my .fla project file if they care
    to take a look at what im doing wrong.
    Thanks
    Pan
    ps. Please note: "$sendTo = "[email protected]";" =
    this line i know i must put in my own email.

    This is all about timelines. It seems there is a movieclip
    named 'form' (or possibly an actionscript object, can't tell). Any
    variables created on that timeline are sent.
    So you could have your new textfields on another timeline.
    Or you could have textfields with no instance name in the
    form timeline.
    Those are the first two things to look at. Post the FLA and
    we can tell you more specifically.

  • Site messed up after adding Contact form.

    The site is online in its current state: http://www.wientjesvoegwerk.nl/index.html
    The site uses (X)HTML, JAVA, PHP and Spry tabbed panels with a CSS layout.
    The current state has:
    <?php include("mail.php"); ?>
    Before the Doctype, etc.
    <?php $xajax->printJavascript('xajax/'); ?>
    In the header.
    But adding:
    <?php echo '<div id="contact_result">'.$form.'</div>'; ?>
    to the div where i want to put the mailing form results in problems...
    If i add that last line my footer will go up to the header. and i dont know why...
    The new code from the form that messes up the site is marked in red.
    The HTML:
    <?php include("mail.php"); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
         <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
         <title>Wientjes Voegwerk & Renovatie - Home</title>
        <link href="CSS/Style.css" rel="stylesheet" type="text/css" />
         <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
         <link href="CSS/Style.css" rel="stylesheet" type="text/css" />
         <meta http-equiv="Content-Language" content="NL" />
         <meta http-equiv="imagetoolbar" content="no" />
         <meta name="MSSmartTagsPreventParsing" content="true" />
        <meta name="description" content="Wientjes Voegwerk en Renovatie is een voeg- en renovatiebedrijf gespecialiseerd in gevelrenovatie. Dagelijkse werkzaamheden zijn het voegen van nieuwbouwwerk, en alle voorkomende vormen van gevelrenovatie. Ik geef uw woning, garage of schoorsteen de aandacht die het verdient en ben trots op het resultaat van mijn werk!"/>
        <meta name="keywords" content="Voegwerk, Renovatie, Reinigen, Impregneren, Muur, Voegen, Steen, Woning, Garage, Schoorsteen, Bedrijf, Gevel, Wientjes, Uitslijten, Kappen, Fundering, Vorstschade, Metselen, Metselwerk, Vocht" />
        <meta name="author" content="Rob Nijlaan" />
        <?php $xajax->printJavascript('xajax/'); ?>
    </head>
    <body>
    <div id="WContainer">
      <div id="WHeader" align="center">
             <img src="Pictures/VoegenRenLos.png" width="540" height="58" /><br />
        <img src="Pictures/WientLogo.png" width="600" height="136" alt="Wientjes Voegwerk &amp; Renovatie" /></div>
         <div id="TabbedPanels1" class="VTabbedPanels">
              <ul class="TabbedPanelsTabGroup">
             <div class="TabbedPanelsTab" tabindex="0">
              <style>#Home a{display:block;color:transparent;} #Home a:hover{background-position:left bottom;}a#Home {display:none}</style>
              <table id="Home" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Home">
            <a href="javascript:TabbedPanels1.showPanel(1);" title="Home" style="background-image:url(Buttons/Home.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
              </div>
             <div class="TabbedPanelsTab" tabindex="0">
              <style>#Info a{display:block;color:transparent;} #Info a:hover{background-position:left bottom;}a#Info {display:none}</style>
              <table id="Info" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Info">
              <a href="javascript:TabbedPanels1.showPanel(2);" title="Info" style="background-image:url(Buttons/Info.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
              </div>
             <div class="TabbedPanelsTab" tabindex="0">
              <style>#Gallerij a{display:block;color:transparent;} #Gallerij a:hover{background-position:left bottom;}a#Gallerij {display:none}</style>
              <table id="Gallerij" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Gallerij">
              <a href="javascript:TabbedPanels1.showPanel(3);" title="Gallerij" style="background-image:url(Buttons/Gallerij.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
            </div>
              <div class="TabbedPanelsTab" tabindex="0">
              <style>#Contact a{display:block;color:transparent;} #Contact a:hover{background-position:left bottom;}a#Contact {display:none}</style>
              <table id="Contact" width=0 cellpadding=0 cellspacing=0 border=0><tr>
              <td style="padding-right:0px" title ="Contact">
              <a href="javascript:TabbedPanels1.showPanel(4);" title="Contact" style="background-image:url(Buttons/Contact.png);width:172px;height:75px;display:block;"><br/></a></td>
              </tr></table>
            </div>
            <br />
            <br />
            <br />
            <br />
            <br />
            <center><footer>Wientjes Voegwerk en Renovatie<br /><br />
            tel; 06 - 221 464 28<br /><br />kvk;
            </footer></center>
            </ul>
                     <div class="TabbedPanelsContentGroup">
                        <div class="TabbedPanelsContent" id="Home">
                       <h1>Welkom Bij Wientjes Voegwerk en Renovatie!</h1>
          <p>Wientjes Voegwerk en Renovatie is een voeg- en renovatiebedrijf gespecialiseerd in gevelrenovatie.<br />Dagelijkse werkzaamheden zijn het voegen van nieuwbouwwerk, en alle voorkomende vormen van gevelrenovatie.<br />Ik geef uw woning, garage of schoorsteen de aandacht die het verdient en ben trots op het resultaat van mijn werk!<br /><br />Wientjes, J </p>
          <h2>Voegen/Renovatie/Reinigen & Impregneren. </h2>
    <table border="0" align="right"><center><tr><td>
    <a href="Foto/Foto's telefoon1 075.jpg"><img src="Foto/Foto's telefoon1 075.jpg" alt="Muur met Steiger" width="379" height="354" align="right" margin-right="55px"/>
    </a></td></tr><tr><td><center>klik op de foto voor een groter voorbeeld</center></td></tr></center></table>
      <p>Vaak wordt er bij het kopen van een woning weinig aandacht besteed aan het voegwerk. Er wordt alleen gekeken naar hoe een woning is gebouwd.<br />Een voeg bepaalt echter wel het aanzicht van een woning. Van een goed aangebrachte voeg heeft u uiteraard veel langer plezier. <br />Renovatie bestaat voornamelijk uit het uitslijpen of kappen van het oude voegwerk. Waar nodig het verwijderen van scheuren die zijn ontstaan door:</p>
      <ul>
        <li>
          <p>
            Verzakking van de fundering
          </p>
        </li>
        <li>
          <p>
            Slecht voegwerk
          </p>
        </li>
        <li>
          <p>
            Vorstschade
          </p>
        </li>
        <li>
          <p>
            Doorhangen of ontbreken van ...
          </p>
        </li>
      </ul>
      <p>Bij gevelvervuiling van uw woning kunnen er problemen ontstaan die het wooncomfort negatief kunnen beïnvloeden.<br />Wanneer de voeg is aangetast of het metselwerk is door vorstschade beschadigd, kunnen er vochtproblemen in huis ontstaan.<br />Mos en alg hechten zich goed aan beschadigde stenen en voegwerk. <br /><br />Door middel van impregnering wordt een woning waterafstotend gemaakt.<br />Dit betekent dat het voeg- en metstelwerk jarenlang wordt beschermd tegen weersinvloeden. <br />Ook is impregnering beter voor de isolatie van de woning.</p>
    <p align="left"><img src="Pictures/TelnrLos.png" width="525" height="49" align="top"/></p>
                             </div>
                       <div class="TabbedPanelsContent" id="Info">
                             test2
                       </div>
                       <div class="TabbedPanelsContent" id="Gallerij">
                             test3
                       </div>
                            <div class="TabbedPanelsContent" id="Contact">
                    <?php echo '<div id="contact_result">'.$form.'</div>'; ?>
                        </div>
                     </div>
           `     </div>
        </div>
         <div id="WFooter" align="center">
             <footer>Wientjes Voegwerk & Renovatie     ,    03- '02         »        Site by ;    <b>Rob Nijlaan</b>        »        Problemen of vragen over deze site?    -    <b><a href="mailto:[email protected]">[email protected]</a></b></footer>
           </div>
    </div>
    </body>
    </html>
    </
    The CSS:
    @charset "utf-8";
    /* CSS Document */
    html,body {
         height:100%; /* needed for container min-height */
         width:100%;
         background: #FFFFFF url(../Pictures/Background.png) no-repeat center;
         color:#000;
    h1{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color: #595999;
    font-weight: bold;
    font-style:italic;
    font-size: 250%;
    h2{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color: #595999;
    font-weight: bold;
    font-size: 200%;
    p{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
    font-size: 110%;
    footer{
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
    font-size: 70%;
    #WContainer{
         position:absolute;
         margin:0 auto;
         width:80%;
         background:none;
         height:auto;
         height:100%;
         min-height:100%;
         margin-left: 10%;
         margin-right: 10%;
    #WHeader{
         height: 195px;
         width:100%;
         margin-bottom: 10px;
         margin-left: 0px;
         margin-right: 10px;
    .VTabbedPanels .TabbedPanelsTabGroup {
         float: left;
         width: 172px;
         height: 75px;
         background-color: #FFF;
         position: relative;
         border-top: solid 0px #FFF;
         border-right: solid 0px #FFF;
         border-left: solid 0px #FFF;
         border-bottom: solid 0px #FFF;
    .VTabbedPanels .TabbedPanelsTab {
         float: none;
         margin: 0px;
         border-top: none;
         border-left: none;
         border-right: none;
    .VTabbedPanels .TabbedPanelsContentGroup {
         margin-left: 220px;
         width: auto;
         height: auto;
         min-height:50%;
         max-width:83%;
         min-width:500px;
         padding: 20px 20px 20px 20px;
         border-left: solid 1px #999;
         border-bottom: solid 2px #999;
         border-top: solid 1px #999;
         border-right: solid 2px #999;
    #WFooter{
         clear:both;
         height: 30px;
         margin-top:1px;
    Also i use "SpryTabbedPanels.js", for the html.
    The Contact form: (adjusted to hide critical info from forum users)
    <?php
    require_once('phpmailer/class.phpmailer.php');
    require_once('xajax/xajax_core/xajax.inc.php');
    $form = '<form id="ContactForm">
                <div class="container">
              <label class="contactlabel">Ùw Naam<br /><input name="name" type="text" class="input" /></label>
              <label class="contactlabel">Uw Email Adres:<br /><input name="email" type="text" class="input" /></label>
              <label class="contactlabel">Uw Telefoonnummer:<br /><input name="phone" type="text" class="input" /></label>
              Typ hier uw bericht:<br />
              <textarea name="msg" cols="1" rows="1"></textarea><br />
                 <input type="button" id="subbtn" class="btn" value="Submit" onclick="xajax_myFunction(xajax.getFormValues(\'ContactForm\'));" />
              <div id="form_msg"></div> //this div will contain error messages
            </div>
         </form>';
    function myFunction($get) { 
        global $form, $error;
        $error = '';
        $objResponse = new xajaxResponse();
        $show_form = true; 
        if (!empty($get['email']) && !empty($get['phone']) && !empty($get['msg']) && !empty($get['name'])) {
            if (preg_match("/^[\w-]+(\.[\w-]+)*@([0-9a-z][0-9a-z-]*[0-9a-z]\.)+([a-z]{2,4})$/i", trim($get['email']))) {
                $email = preg_replace("/\r\n/", "", $get['email']);
                $from = preg_replace("/\r\n/", "", $get['name']);
               $name = $get['name'];
                $phone = $get['phone'];
             $msg = $get['msg'];
             $mail = new PHPMailer();
                $mail->IsSMTP();
                $mail->Host = "mail.YOURHOST.com";
                $mail->SMTPAuth = true;
                $mail->Username = "USERNAME";
                $mail->Password = "PASSWORD";
                $mail->From = $get['email'];
                $mail->FromName = $get['name'];
                $mail->AddAddress("[email protected]");
                $mail->AddReplyTo($email, $from);
                $mail->Subject = "Er is een bericht verzonden vanuit Wientjesvoegwerk.nl";
                $mail->IsHTML(true);
             $mail->Body = "Name: $name <br/> Email: $email <br/> Phone: $phone <br/> Message: $msg";
                if ($mail->Send()) {
                    $error = "Success! Dank u voor uw interesse! Er wordt zo spoedig mogelijk contact met u opgenomen.";
                    $show_form = false;
                } else {
                    $error = "Er is een probleem ontstaan tijdens het verzenden, probeert u het a.u.b. nog eens.";
                        $show_form = true;
            } else {
                $error = "Het ingevoerde email adress is onjuist. Probeert u het a.u.b. nog eens.";
                   $show_form = true;
        } else {
            $error = "Vul a.u.b. alle nodige velden in!";
              $show_form = true;
        if (!$show_form) {
              $objResponse->assign('contact_result', 'innerHTML', $error);
              } else {
              $objResponse->assign('form_msg', 'innerHTML', $error);
        return $objResponse;
    $xajax = new xajax();
    $xajax->registerFunction('myFunction');
    $xajax->processRequest();
    ?>
    Also "class.phpmailer.php" and "xajax.inc.php" are obviously needed as well as some other files from those packages.
    THE BIG PROBLEMS:
    1. Adding the form to a div (into content div of Spry tabbed panels) results in wrong apearance.
         Footer is put to top.
    2. Adding the form to a div results in broken functions.
         Buttons in the Spry tabs dont work anymore.
    3. Java is messed up.
         in top screen you read:  printJavascript('xajax/'); ?>
         in lower screen in content div:  test2 test3 (text from the 2nd and 3rd Content area of Spry, just so its filled with something) and  '.$form.'  '; ?>
    SOLUTIONS ASKED:
    1. Please help me with the contact form so it will work on my page and no error remains. Im not that good in Java...
    2. Please help me solving the problem with the footer. I dont have any clue anymore why this happens. And why no problems occur without the mail form.
    3. Can anyone tell me why the buttons also lose function? It looks like a similar problem as the footer.
    In short: HELP!

    Thank you for pointing me in the right direction. I must honestly say im a hobby programmer that has the capability to learn fast.
    A few weeks ago i only knew html, actionscript, etc. I never worked with xhtml, javascript, css, etc. untill now.
    But with some help i managed to resolve ALL problems so far, exept 2...
    My site has no errors anymore all files are validated 100%!
    The only 2 problems now are;
         1.     The use of <li> for Spry tabs. They make the buttons have a dot in front of them. I hope this can be changed into something that removes the
                 list dots/numbers.
    So from this:
    button
    to this:
    button
         2.     I like to use this email form from: http://www.webbyzone.com/2010/01/10/make-xajax-phpmailer-contact-forms-work/
    The code is embedded in my site but doesnt work at all. Please take a look at it...

  • Search Help on Adobe Interactive Form with Web Dynpro ABAP

    Hi All,
    I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
    I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
    Added Native WD UI element 'Value Help' to form to search for users and changed script
    *var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
    The problem is that when I click on the value help button, nothing happens.
    Is any more additional steps required ?
    Thanks
    Karu

    Hello
    Check this
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    Thanks
    Anirudh

  • Help with adding image onclick

    Hey everyone,
    I am making a simple game in AS3 and need help with adding an image once they have click on something.
    On the left of the screen are sentences and on the right an image of a form. When they click each sentence on the left, writing appears on the form. Its very simple. With this said, what I would like to do is once the user click one of the sentences on the left, I would like a checkmark image to appear over the sentence so they know they have already clicked on it.
    How would I go about adding this to my code?
    var fields:Array = new Array();
    one_btn.addEventListener(MouseEvent.CLICK, onClick1a);
    one_btn.buttonMode = true;
    function onClick1a(event:MouseEvent):void
        fields.push(new one_form());
        fields[fields.length-1].x = 141;
        fields[fields.length-1].y = -85;
        this.addChild(fields[fields.length-1]);   
        one_btn.removeEventListener(MouseEvent.CLICK, onClick1a);
        one_btn.buttonMode = false;
        //gotoAndStop("one")
    two_btn.addEventListener(MouseEvent.CLICK, onClick2a);
    two_btn.buttonMode = true;
    function onClick2a(event:MouseEvent):void
        fields.push(new two_form());
        fields[fields.length-1].x = 343.25;
        fields[fields.length-1].y = -85;
        this.addChild(fields[fields.length-1]);
        two_btn.removeEventListener(MouseEvent.CLICK, onClick2a);
        two_btn.buttonMode = false;
        //gotoAndStop("two")

    I don't know where you're positioning the button that should enable/disable the checkbox but for "one_btn" let's just say it's at position: x=100, y=200. Say you'd want the checkbox to be to the left of it, so the checkbox would be displayed at: x=50, y=200. Also say you have a checkbox graphic in your library, exported for actionscript with the name "CheckBoxGraphic".
    Using your code with some sprinkles:
    // I'd turn this into a sprite but we'll use the default, MovieClip
    var _checkBox:MovieClip = new CheckBoxGraphic();
    // add to display list but hide
    _checkBox.visible = false;
    // just for optimization
    _checkBox.mouseEnabled = false;
    _checkBox.cacheAsBitmap = true;
    // adding it early so make sure the forms loaded don't overlap the
    // checkbox or it will cover it, otherwise swapping of depths is needed
    addChild(_checkBox);
    // I'll use a flag (a reference for this) to know what button is currently pushed
    var _currentButton:Object;
    one_btn.addEventListener(MouseEvent.CLICK, onClick1a);
    one_btn.buttonMode = true;
    function onClick1a(event:MouseEvent):void
         // Check if this button is currently the pressed button
         if (_currentButton == one_btn)
              // disable checkbox, remove form
              _checkBox.visible = false;
              // form should be last added to fields array, remove
              removeChild(fields[fields.length - 1]);
              fields.pop();
              // clear any reference to this button
              _currentButton = null;
         else
              // enable checkbox
              _checkBox.visible = true;
              _checkBox.x = 50;
              _checkBox.y = 200;
              // add form
              fields.push(new one_form());
              fields[fields.length-1].x = 141;
              fields[fields.length-1].y = -85;
              this.addChild(fields[fields.length-1]);
              // save this button as last clicked
              _currentButton = one_btn;
         // not sure what this is
        //gotoAndStop("one")
    I'd also centralize all the click handlers into a single handler and use the buttons name to branch on what to do, but that's a different discussion. Just see if this makes sense to you.
    The jist is a graphic of a checkbox that is a MovieClip symbol in your library exported to actionscript with the class name CheckBoxGraphic() is created and added to the display list.
    I made a variable that points itself to the last clicked button, when the "on" state is desired. If I detect the last clicked button was this button, I remove the form I added and the checkbox. If the last clicked button is not this button, I enable and position the checkbox as well as add the form.
    What is left to do is handle the sitation where multiple buttons are on the screen. When a new button is pushed it should remove anything the previous button added. This code simply demonstrates clicking the same button multiple times to toggle it "on and off".

  • 10.1.3 - Problems adding existing files and projects

    I am having some very basic issues with the latest JDeveloper 10g (10.1.3) - Preview Release, all related to adding existing files and projects to JDeveloper.
    http://jdeveloper.us.oracle.com/
    http://jdeveloper.us.oracle.com/jdev_index.uix?bajaPage=menu=0%24menu_option=0%24tab=3
    http://jdeveloper.us.oracle.com/download/software/10g/1013Preview/jdevj2ee1013.zip
    Oracle JDeveloper 10g (10.1.3) - Preview Release, Nov-2004
    Version 10.1.3.0.2.223
    Build JTINTEG_MAIN_NT_041202.0854.223
    Setup JDeveloper
    ===============
    1) Unzip jdevj2ee1013.zip to c:\jdev101302_233
    2) Run c:\jdev101302_233\jdev\bin\jdev.exe
    3) Would you like to migrate from a previous version of JDeveloper? No
    Attempt to add a java file to a new Project
    ==========================================
    1) Right click on Applications and select New Application Workspace...
    2) Create Application
    Application Name: VTF_C
    3) Create Project
    Project Name: VTFclean
    4) Attempt to add a source file to the project
    a) File Open...
    Select a file.
    PROBLEM 1: File is opened, but is not automatically added to project and I am also not prompted with the 'Add Project Source Path' dialog.
    b) Attempt to drag/drop file onto VTFclean project
    Get 'Add Project Source Path' Dialog
    The project source path must be updated in order to add the selected file or files.
    Do you want to update the project source path? Yes
    PROBLEM 2: JDeveloper hangs
    Attempt to import a previous JDeveloper project
    ==============================================
    1) File Open...
    Select VTFclean.jpr and press 'Open' button.
    2) Create Application
    Application Name: VTF
    Press 'OK' button
    3) Open Warning
    You are about to migrate project C:\oracle\dss\vtf\build\VTFclean.jar to JDeveloper 10g Developer Preview release 10.1.3.0.2 file format.
    Once the project is migrated you will not be able to reopen it using an older version of JDeveloper. We will back up your project file, you may want to back up the project contents before proceeding.
    Do you want to migrate these files? Yes
    4) Migrating Progress Dialog displays
    Migrating files to JDeveloper 10g Developer Preview version 10.1.3.0.2 format....
    Problem 3: JDeveloper hangs whether initial project was based on 9.0.5.x or 10.1.2.x
    Questions:
    ==========
    1) Am I missing something obvious or are these simply bugs?
    2) Is there a particular reason why there is no reference to JDeveloper 10.1.2 on the http://jdeveloper.us.oracle.com website?
    3) Why were the 'Add to Applications...' and 'Add to Project...' buttons removed from the 'Applications - Navigator'?
    I found them very helpful and used them to add items to existing Applications and Projects.
    I have duplicated these problems on two different Windows XP systems. Neither JDeveloper 10.1.2 or 9.0.5 builds have exhibited these problems.

    Hi Shay,
    This dynamic project source feature is going to kill us! We have more than 15,000 files in our projects. Currently, part of them are managed by JDeveloper. Developers have option to load only the files they are working on. If all files in the project source will be loaded automatically, that will definitely be a nightmare to us. The JDeveloper will be frozen from time to time when it start to looking for new files...
    Think about why people pick Oracle instead of SQL Server - Oracle is good in handling large data. We, JDeveloper users, sincerely hope JDeveloper team can design/test the JDeveloper on large scaled project before formally release it.
    Thanks for your hard work though.
    Charles

  • 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);

  • Is every form on project instatiated on startup?

    Is every form on project instatiated on startup? if so, how do i prevent this from happening, as far as i understand every forms gets instatiated but im not really sure of this, i remember delphi IDE would allow you to select which forms would be loaded
    or instatiated and which ones would need to be instatiated by user, is this posible on .net? i cant find any option related to this behavior on .net IDE. Can someone point me where can i get additional information on this.
    thanks for the help.

    Hello,
    From Delphi project file you can see where forms are created.
    program UsingRegistry;
    uses
    Forms,
    MainForm in 'MainForm.pas' {frmMain},
    JEDI_Dialogs in 'JEDI_Dialogs.pas',
    Insight in 'Insight.pas' {frmInsight},
    DPRegstr in 'DPRegstr.pas',
    RunEntries in 'RunEntries.pas' {frmRunApps},
    Unit2 in 'Unit2.pas' {EnumuateRegBranch},
    MultiStrDemo in 'MultiStrDemo.pas' {frmMultiStringDemo};
    {$R *.RES}
    begin
    Application.Initialize;
    Application.CreateForm(TfrmMain, frmMain);
    Application.CreateForm(TfrmMultiStringDemo, frmMultiStringDemo);
    Application.OnHint := frmMain.AppOnHint ;
    Application.Run;
    end.
    In C#
    namespace CheckOneRow
    static class Program
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main()
    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    Application.Run(new frmMainForm());
    While in VB.NET
    Namespace My
    'NOTE: This file is auto-generated; do not modify it directly. To make changes,
    ' or if you encounter build errors in this file, go to the Project Designer
    ' (go to Project Properties or double-click the My Project node in
    ' Solution Explorer), and make changes on the Application tab.
    Partial Friend Class MyApplication
    <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
    Public Sub New()
    MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
    Me.IsSingleInstance = false
    Me.EnableVisualStyles = true
    Me.SaveMySettingsOnExit = true
    Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
    End Sub
    <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
    Protected Overrides Sub OnCreateMainForm()
    Me.MainForm = Global.MockedMasterDetailsRelationship.StoneForm
    End Sub
    End Class
    End Namespace
    So you can see C# and VB.NET only create the main form unlike Delphi
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Adding Hyperlinks to other projects (Merged)

    I am running into an issue with adding Hyperlinks to other projects.  I have several projects that I have merged into one Master project.  I have generated all the child projects into their corresponding Merged Project folders in the master file.  All I am trying to do is link one project to another.  So in "Child Project A" I have a hyperlink to "Child Project B". I am linking to a "File" which is Project B's HTML file in the Master Project (Merged Folder).  When I do this, I get a message in project A that:
    "This action will create an external link to the help system.  The link may not function when the help system is moved to other systems. Create link anyway?"
    So I create the link and generate Project A, but when I generate the Master Project, the link does not work. How do I fix this?  Links that I have to pages within a project work just fine, but not when linked externally even though all the projects linked have been merged within the Master Project.

    My link is showing in the HTML like this:
    <a href="../../../MasterMerge/mergedProjects/ChildProject2/ChildProject2.htm">test link</a>
    Where "MasterMerge" is the name of the folder that I have given to generate the master project to.  I was expecting RoboHelp to convert my absolute path to a relative path that looks like this:
    <a href="../ChildProject2/ChildProject2.htm">test link</a>
    as you suggested.  I can't figure out why it is changing my absolute path to a relative path that is so long..and still the link is not working.  The work-around for this is that I go into the HTML and just paste in my absolute path.  I don't want to continue doing this.
    Note that my actual path looks something like this:
    Q:\QA\Application Documentation\MasterMerge\mergedProjects\ChildProject2\ChildProject2.htm
    Do I have too many folders?  If so, I'm not sure what to do about this since my project needs to reside on a specific drive and folder at work that other departments don't have access to.
    Thanks for responding!  I'm just so frustrated with this because it seems the little details are causing me the most trouble.

Maybe you are looking for

  • Performing a Clean Install

    I, like many others before me, have noticed some lagginess with the core animations (expose, minimizing, dock magnification) after doing an upgrade installation of leopard. I want to perform a clean install, as people who have done this say that it r

  • Negative time evaluation and IT0007

    Hello Experts, i have this condition in a PCR, where an employee with time management "1" (positive time evaluation) gets transportation allowance on attendance type days like "business meetings out of office" and "trainings", but this is done accord

  • Can I recover a trashed email

    I need to recover an email that was trashed yesterday. It's not in my trash folder though? I haven't deleted it but it's disappeared.

  • Servlet definition outside war filr

    Hello I am having question related to packaging servlets. I have ear file, which contains war wile , which contains html files and servlet definition and all needed stuff. And it is fine for me. My question is: is it possible to have ear file with se

  • Table name where Broadcaster precalculation variables are saved

    Please help me with the table name where Broadcaster precalculation variables are saved. Thanks.