CopyTo: Copy SalesOrder to UDO Form

Hi All,
In my scenario, I have a button in the Sales Order form, and I want to copy some Sales Order's values to my User Defined Form.
So, BaseForm = SalesOrder and TargetForm = MyUDOForm
The problem I'm faced with, is that when I copy a value from the BaseForm to it's equivalent field in the TargetForm (Field which has a CFL associated), the ChooseFromList event of the TargetForm is being fired if I set the value directly in the form and throws an exception... If I set the values in the DBDataSource, a HRESULT exception is thrown...
Public Function GenerateNP(ByRef oCompany As SAPbobsCOM.Company, ByRef oApplication As SAPbouiCOM.Application, _
        ByRef oFormOV As SAPbouiCOM.Form) As Boolean
        GenerateNP = False
        Dim oFormNP As SAPbouiCOM.Form = LoadForm(oCompany, oApplication, "frmNP_" & GetLanguageCode(oApplication) & ".srf")
        oFormNP.Freeze(True)
        Try
            If FormNPLoadDefaultValues(oCompany, oApplication, oFormNP) = False Then
                oApplication.StatusBar.SetText(TranslateStr(oApplication, GenNPFailed), BoMessageTime.bmt_Short)
            End If
            With oFormNP.DataSources.DBDataSources.Item("@ADAT_ONP")
                .SetValue("U_CardCode", .Offset, oFormOV.Items.Item("4").Specific.Value)
                .SetValue("CardName", .Offset, oFormOV.Items.Item("54").Specific.Value)
                .SetValue("ContPrsn", .Offset, oFormOV.Items.Item("85").Specific.Selected.Description)
                .SetValue("RefNum", .Offset, oFormOV.Items.Item("14").Specific.Value)
            End With
            oFormNP.Visible = True
            Return True
            'oFormNP.Items.Item("CardCode").Specific.String = oFormOV.Items.Item("4").Specific.Value
            'oFormNP.Items.Item("CardName").Specific.String = oFormOV.Items.Item("54").Specific.Value
            'oFormNP.Items.Item("ContPrsn").Specific.String = oFormOV.Items.Item("85").Specific.Selected.Description
            'oFormNP.Items.Item("RefNum").Specific.String = oFormOV.Items.Item("14").Specific.Value
            Dim oMatrixOV As SAPbouiCOM.Matrix = oFormOV.Items.Item("38").Specific
            Dim oMatrixNP As SAPbouiCOM.Matrix = oFormNP.Items.Item("mtx_NP").Specific
            Dim MatrixNPRowCount As Integer = 0
            For i As Integer = 1 To oMatrixOV.RowCount - 1
                For j As Integer = 1 To oMatrixOV.Columns.Item("QtdPlt").Cells.Item(i).Specific.Value
                    oMatrixNP.AddRow()
                    MatrixNPRowCount += 1
                    oMatrixNP.Columns.Item("LineId").Cells.Item(MatrixNPRowCount).Specific.Value = MatrixNPRowCount
                    oMatrixNP.Columns.Item("BaseDoc").Cells.Item(MatrixNPRowCount).Specific.Value = oFormOV.Items.Item("8").Specific.Value
                    oMatrixNP.Columns.Item("PltCode").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("PltCode").Cells.Item(i).Specific.Value
                    oMatrixNP.Columns.Item("PltName").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("PltName").Cells.Item(i).Specific.Value
                    oMatrixNP.Columns.Item("QtdCaixa").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("QtdCaixa").Cells.Item(i).Specific.Value
                    oMatrixNP.Columns.Item("CaixaCod").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("CaixaCod").Cells.Item(i).Specific.Value
                    oMatrixNP.Columns.Item("CaixaNam").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("CaixaNam").Cells.Item(i).Specific.Value
                    oMatrixNP.Columns.Item("QtdEmbal").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("EmbalCod").Cells.Item(i).Specific.Value
                    oMatrixNP.Columns.Item("EmbalCod").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("EmbalCod").Cells.Item(i).Specific.Value
                    oMatrixNP.Columns.Item("EmbalNam").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("EmbalNam").Cells.Item(i).Specific.Value
                    'oMatrixNP.Columns.Item("QtdEmbal").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("QtdEmbal").Cells.Item(i).Specific.Value
                    'oMatrixNP.Columns.Item("QtdEmbal").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("QtdEmbal").Cells.Item(i).Specific.Value
                    'oMatrixNP.Columns.Item("QtdEmbal").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("QtdEmbal").Cells.Item(i).Specific.Value
                    'oMatrixNP.Columns.Item("QtdEmbal").Cells.Item(MatrixNPRowCount).Specific.Value = oMatrixOV.Columns.Item("QtdEmbal").Cells.Item(i).Specific.Value
                Next
            Next
            oFormNP.Visible = True
        Catch ex As Exception
            oApplication.MessageBox("GenerateNP(): " & oCompany.GetLastErrorCode.ToString & ", " & ex.Message)
        Finally
            oFormNP.Freeze(False)
        End Try
    End Function
Can someone tell me what I'm doing wrong (or not taking into account)?
Or can someone provide me with some code that can help?
Thanks in advanced,
Vítor Vieira

Janos,
I get the error
-2028, Excepção de HRESULT: 0xFFFFE4A8
in the following code line
            With oFormNP.DataSources.DBDataSources.Item("@ADAT_ONP")
                .SetValue("U_CardCode", .Offset, oFormOV.Items.Item("4").Specific.Value)
                .SetValue("CardName", .Offset, oFormOV.Items.Item("54").Specific.Value)   '// <---- THIS LINE THROWS THE EXCEPTION
                .SetValue("ContPrsn", .Offset, oFormOV.Items.Item("85").Specific.Selected.Description)
                .SetValue("RefNum", .Offset, oFormOV.Items.Item("14").Specific.Value)
            End With
Regards,
Vítor Vieira

Similar Messages

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

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

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

  • 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

  • Error when open UDO form generator

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

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

  • Copy & Paste images to forms from the clipboard

    hello,
    Java Plug-in 1.6.0_33
    Using JRE version 1.6.0_33-b05 Java HotSpot(TM) Client VM
    Forms Applet version is 11.1.2.0
    Windows 7 64bitForms has successfully done the drag&drop,save image file images to javabeans then save & retrieve it from database.
    Laf project has an example of table-block copy/paste from/to the clipboard feature. You can populate a table-block with the content of the clipboard (Excel, Word,...) and also send to the clipboard with the content of a table-block.
    But a how about the copy & paste images to forms?
    It is posible?Any one tried this one?
    Charles
    Edited by: ck on Aug 12, 2012 3:09 AM

    bump...

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

  • How so you save a pdf copy of an online form?

    Is it possible for someone who is filling out an online form to save it as a PDF?
    Thanks!

    Hi erinmacleod,
    It is not possible to save a PDF copy of the online form i.e. if we distribute it as a Web form.

  • How to use default UDO form from new menu

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

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

  • Problem Connecting B1DE UDO Form Generator in SAP 8.8

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

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

  • UDO forms doesn't display after export

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

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

  • Copy Paste On Tabular Form

    I have a great need to produce an APEX (version 2.2.1) tabular form in
    which users would be able to do Excel-like copy/paste of tabular form
    fields from one part of the form to another.
    For example, a user would want to somehow (ideally highlight with the mouse - not sure if this is possible) select the first 2 rows of the form and then
    copy/paste these to, say, rows 7 and 8, overwriting any values in
    those form fields. Or, select field 2 (this would be on row 2) under column A and then copy/paste this field to, say, fields 3 through 10 under the same column A.
    I am currently trying to do this using javascript, but am not sure how to go
    about it and would appreciate any help or advice.
    Thank you very much.
    Elie

    Hello Vikas.
    Thank you very much for creating your sample page. I liked the way you're
    duplicating entire rows in the form.
    I'm sorry for not responding sooner. I have been under the gun, sort-to-speak
    at my work place. I've been playing with another tool (explained below) to see
    if it could help me out with my application.
    The issue before me is that users need the flexibility of an Excel like interface
    in which they are able to do any sort of copy/paste/fill operations as desired
    prior to submitting their changes to Oracle. This kind of functionality is what
    I've been trying to, if not duplicate, at least get part way there in Apex. And
    this is what spurred me on to post my question to you and to this Forum.
    I went ahead and dabbled my way through all sorts of javascript (learned an awful lot, I might add) and have come up with a sample tabular form in which I'm able
    to copy a single form field to any selected row / column combination in the form.
    I've copied my app ( App 19379, Page 12 ) up to the Apex forum.
    Here's the link:
    http://apex.oracle.com/pls/otn
    Workspace = play
    Login username = [email protected]
    Login password = playtoo
    Originally, this app brought up a second page (Paste Page) as a popup in which
    users could select which columns and rows they wanted to copy a form field to.
    They would then click a "Go" button on this Paste popup page. This "Go" button
    would then run a javascript function "do_paste()" in the calling page. This function
    would copy the form field to the designated columns and rows. This worked fine.
    However, I wanted a solution in which everything is entirely on a single page
    rather than having a popup page appear.
    And so, I modified my page 12 so that the user could designate the target
    columns and rows entirely on the same page (page 12), and so, eliminate
    the popup page.
    This works to a point.
    The user first clicks "Copy". This displays (via a javascript function) the
    contents of the selected form field in a text box. This also displays the
    target fields "From Column", "To Column", "From Row", "To Row".
    The Copy button is replaced with a "Go" button. The user then designates
    target columns and rows and clicks "Go". This causes the selected form
    field to be copied to the designated targets.
    Unfortunately, clicking the "Go" button also causes the page to be submitted.
    This submit operation causes the form to be refreshed which then completely
    erases the copy action and the form ends up with the original data. The user
    does not see that anything has happened. However, under the wraps, my
    javascript do_paste() function was invoked but then it's result was reversed
    by the submit action.
    I do not know how to get around this submit action (which refreshes the form,
    thereby reversing my do_paste() function). I could, of course, bring back the
    popup page. The paste does work with that. I was just hoping I could do the
    copy/paste all on one page.
    In any case, this represents my current state with respect to an Apex solution
    to my need.
    I did in the meantime find another interesting solution to my problem.
    Years ago in another job I had worked with a tool called Oraxcel (now
    called SQLXL - www.oraxcel.com). This tool is an add-in into Excel and provides an API between Excel and Oracle (as well as various other dbms systems: mysql, sql server, db2, etc.).
    Well, I downloaded a free trial copy and have been playing with it.
    In a nutshell, I can now allow users to continue using Excel to do
    copy/paste/fill operations and provide [ via VBA buttons and macros
    that interface with Oracle - actually it is using Oracle's product "Oracle
    Objects For OLE (OO4O) ] them the ability to upload the excel data (new and
    modified and deleted rows) to Oracle tables, download from Oracle tables (from a package/ref cursor or a table), create Excel LOVs that are dynamically populated from Oracle, and provide validations run from a package and display error
    messages to the Excel page.
    In effect, Excel becomes the "front end" to my Oracle schema.
    As it turns out, in my particular application, Apex pages still play a critical role
    as users need to interface with these as well. However, the SQLXL product
    appears to be a neat solution allowing users Excel like flexibility to copy,
    paste, fill, and other operations that Excel does so well while still interfacing
    with Oracle.
    Am still playing with this tool and built a small "proof of concept".
    In any case, thank you again so much for your help and your sample page.
    I would like to incorporate the neat way you're duplicating rows in the form
    as I believe this will come in handy in naother APEX app I'm currently
    working on in another project at my work place.
    Elie

  • Copying smartforms and sapcript-forms

    Hello!
    How can I copy smartforms and sapcript-forms  from one system to the other ?
    Ragards
    sas

    Hi,
    A smartform is transported no differently than any other object. if it is assigned to a development class that is atteched to a transport layer, it will be transported. 
    The definition is transported, and when called, the function module is regenerated. 
    This leads to an interetsing situation. On the new machine, it is very likely the function module name will be different than the name on the source system. Make sure, before you call the function module, you resolve the external name to the internal name using the 'SSF_FUNCTION_MODULE_NAME' function module. 
    Typically, generate the SF, then use the pattern to being in the interface. Then change the call function to use the name you get back from the above function module. 
    Regards,
    Bhaskar

  • Error on copy of SAP standard form F110_IN_AVIS

    Hi Gurus,
    I have copied a SAP standard form F110_IN_AVIS and only added the Logo,but now when I run it through transaction f110 it only shows the logo and the adress at the top ..It gives a error message "window DATACV , the element 505 (Data Control Voucher) is missing" and therefore the outpu is defective.
    Does anybody know what may cause this error??
    Edited by: Alvaro Tejada Galindo on Feb 27, 2008 5:24 PM

    HI dethee
    I am also using the F110_IN_AVIS for printing wire transfer transactions.
    It is giving the spools for the wire transfer and Payment summary also an error log.
    The error log displays that 
    *1) In F110_IN_AVIS, / WINDOW MAIN, the element 500 ( line items ) is missing.***
    **2) In F110_IN_AVIS, / WINDOW SUMMARY, the element 515 ( transfer form closing ) is missing.**
    **Then out put of relevant forms is defective.**Please let me know if you find solution for your query. Also let me know which T code is to see the SAP script Text and its contents.
    Thanks
    Nxm.nxm
    Edited by: nxm nxm on Apr 14, 2008 4:45 PM
    Edited by: nxm nxm on Apr 14, 2008 4:46 PM

  • Copy text restriction and Form Distribution

    Hello,
    I am doing a project using the trial version of Adobe LiveCycle ES4 designer suite. I want a situation where users can enter data in the form and save it and at the same time they should not be able to copy text from the form.
    If I put copy text restriction on the form, then I am unable to distribute the form and vice versa. By form distribution, I am saving a copy on my machine to test it.
    Can you please suggest me what should I do to have both copy text restriction & form distribution possible?
    A quick response would really be appreciated.
    Regards,
    Mohit

    Hi,
    I don't really know if the text field can be selected using Ctl+a, but if that is possible how about adding extra text field that is linked to pulldown menu?
    If the usage of the PDF is only for copying, then I would make a formcalc or javascript to combine all the text into one text field so that user only need to copy paste one field.

  • 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

Maybe you are looking for

  • Purchase Order Open quantity calculation.

    Hi All.. I would like your help in finding out the logic behind calculating the open quantity for a given line item of a purchase order. Iam aware that i should go to the EKBE table to see purchase order history. Can someone tell me what are all the

  • Sort in Report not working correctly

    I have a report with many sorts selected as an option within the reports attributes. However, some of the columns does not seem to be sorting at all when Selected (Others do as expected) For example one column is a VARCHAR2 examples of values within

  • SMTP Mail Service is not functioning

    Using Breeze 5.1 with service pack 2, I cannot send e-mail from the server. I know the SMTP server is working since it is hosting other applications. Is there anyway of troubleshooting SMTP e-mail issues?

  • Publishing PDF Forms on Intranet

    I have these interactive PDFs that i created using designer. They work fine as pdfs, you can enter information and close out and when you reopen the information is gone and you are back to your original blank form. However, when i publish the pdf on

  • Which course is better for consolidation apects of BPC and other EPM tools

    Hi All, I am having the technical understanding of BPC as a tool, but I am not able to understand the consolidation part of it. I would like to gain an insight of the financial part of the BPC consolidation. Not only this, there are few other tools i