Currencies Object Id for Choose From List

I would like to know the id of the Currencies Object so i can use it in a CFL . I have looked in the BoLinkedObject Enumeration , but i couldn't find it.
Does anyone know it ?

Hi Tibi
Please use this For your Dobts
Member Description Value
oChartOfAccounts  ChartOfAccounts object.  1 
oBusinessPartners  BusinessPartners object.  2 
oBanks  Banks Object.  3 
oItems  Items object.  4 
oVatGroups  VatGroups Object.  5 
oPriceLists  PriceLists object.  6 
oSpecialPrices  SpecialPrices object.  7 
oItemProperties  ItemProperties  8 
oUsers  Users object.  12 
oInvoices  Documents object that represents a draft of sales invoice document.  13 
oCreditNotes  Documents object that represents a draft of sales credit note document.  14 
oDeliveryNotes  Documents object that represents a draft of sales delivery note document.  15 
oReturns  Documents object that represents a draft of sales return document.  16 
oOrders  Documents object that represents a draft of sales order document.  17 
oPurchaseInvoices  Documents object that represents a draft of purchase invoice document.  18 
oPurchaseCreditNotes  Documents object that represents a draft of purchase credit note document.  19 
oPurchaseDeliveryNotes  Documents object that represents a draft of purchase delivery note document.  20 
oPurchaseReturns  Documents object that represents a draft of a purchase return document.  21 
oPurchaseOrders  Documents object that represents a draft of purchase order document.  22 
oQuotations  Documents object that represents a draft of sales quotation document.  23 
oIncomingPayments  Payments object.  24 
oJournalVouchers  JournalVouchers object.  28 
oJournalEntries  JournalEntries object that represents a normal journal entry.  30 
oStockTakings  StockTaking object.  31 
oContacts  Contacts object.  33 
oCreditCards  CreditCards Object  36 
oCurrencyCodes  Currencies object.  37 
oPaymentTermsTypes  PaymentTermsTypes object.  40 
oBankPages  BankPages object.  42 
oManufacturers  Manufacturers  43 
oVendorPayments  Payments object that represents payments to vendors.  46 
oLandedCostsCodes  LandedCostsCodes  48 
oShippingTypes  ShippingTypes  49 
oLengthMeasures  LengthMeasures  50 
oWeightMeasures  WeightMeasures  51 
oItemGroups  ItemGroups object.  52 
oSalesPersons  SalesPersons  53 
oCustomsGroups  CustomsGroups  56 
oChecksforPayment  ChecksforPayment object.  57 
oInventoryGenEntry  Documents object that is used to enter general items to the inventory.  59 
oInventoryGenExit  Documents object that is used to exit general items from inventory.  60 
oWarehouses  Warehouses object.  64 
oCommissionGroups  CommissionGroups  65 
oProductTrees  ProductTrees object.  66 
oStockTransfer  StockTransfer object.  67 
oWorkOrders  WorkOrders object.  68 
oCreditPaymentMethods  CreditPaymentMethods  70 
oCreditCardPayments  CreditCardPayments  71 
oAlternateCatNum  AlternateCatNum object.  73 
oBudget  Budget object.  77 
oBudgetDistribution  BudgetDistribution object.  78 
oMessages  Messages object.  81 
oBudgetScenarios  BudgetScenarios object.  91 
oSalesOpportunities  SalesOpportunities object.  97 
oUserDefaultGroups  UserDefaultGroups  93 
oSalesStages  SalesStages  101 
oActivityTypes  ActivityTypes object.  103 
oActivityLocations  ActivityLocations object.  104 
oDrafts  Documents object that represents a draft document (see Creating a draft document sample).  112 
oDeductionTaxHierarchies  DeductionTaxHierarchies object.  116 
oDeductionTaxGroups  DeductionTaxGroups object.  117 
oAdditionalExpenses  AdditionalExpenses object.  125 
oSalesTaxAuthorities  SalesTaxAuthorities object.  126 
oSalesTaxAuthoritiesTypes  SalesTaxAuthoritiesTypes object.  127 
oSalesTaxCodes  SalesTaxCodes object.  128 
oQueryCategories  QueryCategories object.  134 
oFactoringIndicators  object. FactoringIndicators  138 
oPaymentsDrafts  Payments object.  140 
oAccountSegmentations  AccountSegmentations object.  142 
oAccountSegmentationCategories  AccountSegmentationCategories object.  143 
oWarehouseLocations  WarehouseLocations object.  144 
oForms1099  Forms1099 object.  145 
oInventoryCycles  InventoryCycles object.  146 
oWizardPaymentMethods  WizardPaymentMethods object.  147 
oBPPriorities  BPPriorities object.  150 
oDunningLetters  DunningLetters object.  151 
oUserFields  UserFieldsMD object.  152 
oUserTables  UserTablesMD object.  153 
oPickLists  PickLists object.  156 
oPaymentRunExport  PaymentRunExport object.  158 
oUserQueries  UserQueries object.  160 
oMaterialRevaluation  MaterialRevaluation object.  162 
oCorrectionPurchaseInvoice  Documents object that represents a draft of purchase invoice correction document.  163 
oCorrectionPurchaseInvoiceReversal  Documents object that represents a draft of reverse purchase invoice correction document.  164 
oCorrectionInvoice  Documents object that represents a draft of correction invoice document.  165 
oCorrectionInvoiceReversal  Documents object that represents a draft of reverse invoice correction document.  166 
oContractTemplates  ContractTemplates object.  170 
oEmployeesInfo  EmployeesInfo object.  171 
oCustomerEquipmentCards  CustomerEquipmentCards object.  176 
oWithholdingTaxCodes  WithholdingTaxCodes object.  178 
oBillOfExchangeTransactions  BillOfExchangeTransaction object.  182 
oKnowledgeBaseSolutions  KnowledgeBaseSolutions object.  189 
oServiceContracts  ServiceContracts object.  190 
oServiceCalls  ServiceCalls object.  191 
oUserKeys  UserKeysMD object.  193 
oQueue  Queue object.  194 
oSalesForecast  SalesForecast object.  198 
oTerritories  Territories object.  200 
oIndustries  Industries object.  201 
oProductionOrders  ProductionOrders object.  202 
oPackagesTypes  PackagesTypes object.  205 
oUserObjectsMD  UserObjectsMD object.  206 
oTeams  Teams object.  211 
oRelationships  Relationships object.  212 
oUserPermissionTree  UserPermissionTree object.  214 
oActivityStatus  ActivityStatus object.  217 
oChooseFromList  ChooseFromList object.  218 
oFormattedSearches  FormattedSearches object.  219 
oAttachments2  Attachments2 object.  221 
oUserLanguages  UserLanguages object.  223 
oMultiLanguageTranslations  MultiLanguageTranslations object.  224 
oDynamicSystemStrings  DynamicSystemStrings object.  229 
oHouseBankAccounts  HouseBankAccounts object.  231 
oBusinessPlaces  BusinessPlaces object.  247 
oLocalEra  LocalEra object.  250 
oSalesTaxInvoice  Sales tax invoice. See TaxInvoices object and DocType property with the valid value botit_Invoice.  280 
oPurchaseTaxInvoice  Purchase tax invoice. See TaxInvoices object and DocType property with the valid value botit_Payment.  281 
BoRecordset  Recordset object.  300 
BoBridge  SBObob object.  305 
oNotaFiscalUsage  NotaFiscalUsage object.  260 
oNotaFiscalCFOP  NotaFiscalCFOP object.  258 
oNotaFiscalCST  NotaFiscalCST object.  259 
oClosingDateProcedure  ClosingDateProcedure object.  261 
oBusinessPartnerGroups  object.  10 
oBPFiscalRegistryID  BPFiscalRegistryID object. 
The Currency Object
oCurrencyCodes  Currencies object.  37 
Pls give Feedback
N.Mohamed Zubair

Similar Messages

  • Choose from List for UDT

    I have made a UDT
    and I want to create a choose From List  of that table
    I know how to create choose frm list  for system tables
    like making Business partner  choose from list
    but I'm not able to make choose frm list for UDT
    please someone answer my question

    HI Riya,
    You can link a CFL to a User Defined Object but not a plain User Defined Table. A full list of options can be found in the UI help under BoLinkedObject Enumeration.
    Thanks,
    Lisa
    SAP Business One Forums

  • How to filter Choose from list object rows?

    Hi everyone,
    I'd like to show Choose from list window using SBO 2005 PL07, Actually I want to show the Active Account of G/L Account, I set the CFL object to one column as following:
    oCFLCreationParams.ObjectType = SAPbouiCOM.BoLinkedObject.lf_GLAccounts
    oCFLCreationParams.UniqueID = "CFL"
    oCFL = oCFLs.Add(oCFLCreationParams)
    Who knows how to set Choose From list object only show Active Account and do not show Title Account.
    Thanks for your help!
    Kathy

    Hi kathy
    I have not tried it on the gl accounts. But basicaly you need to add conditions to filter it. The following is an example that you would of used for business partners but only customers.
      Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
                Dim oCons As SAPbouiCOM.Conditions
                Dim oCon As SAPbouiCOM.Condition
                oCFLs = oForm.ChooseFromLists
                Dim oCFL As SAPbouiCOM.ChooseFromList
                Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
                oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
                ' Adding 2 CFL, one for the button and one for the edit text.
                oCFLCreationParams.MultiSelection = False
                oCFLCreationParams.ObjectType = "2"
                oCFLCreationParams.UniqueID = "CFL1"
                oCFL = oCFLs.Add(oCFLCreationParams)
                ' Adding Conditions to CFL1
                oCons = oCFL.GetConditions()
                oCon = oCons.Add()
                oCon.Alias = "CardType"
                oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = "C"
                oCFL.SetConditions(oCons)
                oCFLCreationParams.UniqueID = "CFL2"
                oCFL = oCFLs.Add(oCFLCreationParams)
    The above also compensates for the tab.
    Hope it helps

  • Multiple Values For one Condition in Choose From List

    I have used one Business Partner Choose From List in my form but i want to give condition in that choose from list on GroupCode .But the condition will have multiple values like 100,102,104 then how i will write the code to incorporate multiple values for one single condition.

    Hi,
    Check this thread
    How to set a Multiple condition in a single CFL
    Hope that helps,
    Vasu Natari.

  • Choose from list for purchase  Item

    Dear Experts,
    i have created Choose from list in matrix using Screen Painter. its working properly but i want to display only Purchase Items in CFL.
    For Customer we are using
    oCons = oCFL.GetConditions()
                oCon = oCons.Add()
                oCon.Alias = "CardType"
                oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
                oCon.CondVal = "C"
                oCFL.SetConditions(oCons)
    Like this, How to set condition for Purchase items thru coding or Screen painter
    Mathi

    Hi Mathi,
    Try this and tell me if it worked.
    oCons = oCFL.GetConditions()
    oCon = oCons.Add()
    oCon.Alias = "PrchseItem"
    oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
    oCon.CondVal = "Y"
    oCFL.SetConditions(oCons)
    If this works dont forget to reward points..
    Regards,
    Vasu Natari.
    Edited by: vasu natari on Jul 29, 2008 12:37 PM

  • Choose from List in A matrix for choosing two or more rows at same time

    Hi Friends,
    Actually I m using choose from list to select Items in a row, i can select Two or more rows from the List but while clicking choose it is taking only one value.
    The no of rows are not activated tat i m choosing from list.
    Thanks in advance
    Vivek

    Hi.
    Here is a [link|https://forums.sdn.sap.com/click.jspa?searchID=12829558&messageID=5584893] where are you can find on of my example on CFL on matrix column.
    I think, you need to made some changes in code from these lines...
        Dim oDataTable As SAPbouiCOM.DataTable
        oDataTable = oCFLEvento.SelectedObjects
        for ...
        end for
    Reply if this guideline was usefull for you.
    Bye

  • FMS for Instock for a particular Warhouse in Item Choose From List

    Dear Experts,
    I have an requirement as such that there are e.g 5 warehouses in Item Master Data as A,B,C,D,E. Now while doing any marketing document when the user press tab in the Item No in the choose from list the Instock Column shows the Total Stock in all the warehouses. Means if Item No 123 has stock in Warehouse A - 2, Warehouse B - 3, Warehouse C - 0 so in the Instock Column it would show as the total of all the Warehouse which is 5 but if I want to show only for a particular Warehouse e.g A which is 2 how can I show it in the choose from list.
    I have tried to create a UDF also in the Item Master Data and applied a formatted search as :
    SELECT T0.OnHand FROM [dbo].[OITW] T0 WHERE T0.WhsCode = 'A' AND T0.ItemCode = $[$5.0.0]
    and the udf seems to be working only in the Item Master Window and showing the A warehouse Stock as 2.
    I also brought the Udf column in the choose from List of Items but here its not showing any value for the items as desired.
    Can anyone please help and let me know what can be done to sort this issue.
    Awaiting for a positive response.
    Regards,
    Depika

    Hello ..
    Depending on the desired goal, another alternative would be to create a user field in marketing documents to detail.
    Later in this field formatted user applies a search that brings the stock in the warehouse of the line detail.
    This in Toerien argues that if the document you selected Store A, and in that store there is a stock of 10 units, this amount is what brings the document.
    This considering that you can not see it in the select list of items
    I hope it will help
    Best regards,

  • Choose From List and Golden arrow link in System Matrix UDF column

    I'm wondering if there is a way through the SDK to create a 'Choose From List' and Golden arrow linked button in a System Matrix UDF column? 
    For example the Item Code in a sales order matrix does both.

    Hi,
    Try this code for adding CFL.             
                   SAPbouiCOM.ChooseFromListCollection oCFLs = null;
                    SAPbouiCOM.Conditions oCons = null;
                    SAPbouiCOM.Condition oCon = null;
                    oCFLs = oForm.ChooseFromLists;
                    SAPbouiCOM.ChooseFromList oCFL = null;
                    SAPbouiCOM.ChooseFromListCreationParams oCFLCreationParams = null;
                    oCFLCreationParams = ( ( SAPbouiCOM.ChooseFromListCreationParams )( SBO_Application.CreateObject( SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams ) ) );
                    oCFLCreationParams.MultiSelection = false;
                    oCFLCreationParams.ObjectType = "object id ";
                    oCFLCreationParams.UniqueID = "CFL1";
                    oCFL = oCFLs.Add( oCFLCreationParams );
                   oColumn.ChooseFromListUID = "CFL1";
                  //where oColumn is the instance of that column.
    Hope u will get help....
    Thanks and Regards,
    Lalit

  • Choose From list in Matrix UDF

    i create a UDF in Sales Order Row, I want to assign choose From list in the Matrix for the UDF once user click on tab button.
    How can i assign the Choose from list for the UDF column?

    Hi,
    Try this code for adding CFL.             
                   SAPbouiCOM.ChooseFromListCollection oCFLs = null;
                    SAPbouiCOM.Conditions oCons = null;
                    SAPbouiCOM.Condition oCon = null;
                    oCFLs = oForm.ChooseFromLists;
                    SAPbouiCOM.ChooseFromList oCFL = null;
                    SAPbouiCOM.ChooseFromListCreationParams oCFLCreationParams = null;
                    oCFLCreationParams = ( ( SAPbouiCOM.ChooseFromListCreationParams )( SBO_Application.CreateObject( SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams ) ) );
                    oCFLCreationParams.MultiSelection = false;
                    oCFLCreationParams.ObjectType = "object id ";
                    oCFLCreationParams.UniqueID = "CFL1";
                    oCFL = oCFLs.Add( oCFLCreationParams );
                   oColumn.ChooseFromListUID = "CFL1";
                  //where oColumn is the instance of that column.
    Hope u will get help....
    Thanks and Regards,
    Lalit

  • Change data in existing "Choose from list" matrix

    Hi,
      in UI GUI->order form . When add a new order, hit "TAB" to select BP from existing list. I want to use my own sql to populate the BP list (currently the GUI defaults to return all customers).
    Is there a way? I mean if I just want to change data in the matrix and let B1 continue to make the "Choose from list" form (form "10001") with my own new customer list.  Set BubbleEvent = true will just re-read all cards after I query my result.
      any help is appriciated!

    Hello,
    I came across the same issue with the Items Choose from List on the Sales Order screen. It is possible to load your own Choose from List form and populate the matrix using recordset objects and userdatasources. The same logic could be applied to the BP Choose from List form. The following code displays the user form and matrix items - separate code is needed to handle the selection process on this form. There maybe a faster way of acheiving this using UDTs etc but it seems to work ok.
    'When user presses Tab key in Item No. column.
    If pVal.EventType = et_KEY_DOWN Then
    If pVal.ItemUID = "38" And pVal.ColUID = "1" And _
    pVal.Before_Action = True And pVal.CharPressed = vbKeyTab Then
    'Load new Choose from List form.
    'This is actually an exported and edited version of the SBO form.
    LoadFromXML sIIS_ITEMLIST_XML
    'Populate matrix with items returned from SQL query.
    'Use recordset, arrays, userdatasources.
    Set oRecordSet = oCmp.GetBusinessObject(BoRecordset)
    sSql = "Select OITM.ItemCode, OITM.ItemName, OITM.OnHand FROM OITM " & _
        "Where Upper(Left(OITM.ItemCode,2)) = 'B1'"
    oRecordSet.DoQuery sSql
    nRows = oRecordSet.RecordCount
    If nRows <> 0 Then
    'Array declarations.
    Dim ItemCode(), ItemName(), OnHand()
    ReDim ItemCode(nRows - 1)
    ReDim ItemName(nRows - 1)
    ReDim OnHand(nRows - 1)
    'Add userdatasources to form.
    oForm.DataSources.UserDataSources.Add "ItemCode", dt_LONG_TEXT, 20
    oForm.DataSources.UserDataSources.Add "ItemName", dt_LONG_TEXT, 100
    oForm.DataSources.UserDataSources.Add "OnHand", dt_LONG_NUMBER
    i = 0
    'Populate arrays from recordset.
    Do While oRecordSet.EOF <> True
        ItemCode(i) = oRecordSet.Fields.Item(0).Value
        ItemName(i) = oRecordSet.Fields.Item(1).Value
        OnHand(i) = oRecordSet.Fields.Item(2).Value
        oRecordSet.MoveNext
        i = i + 1
    Loop
    'Bind data fields to form items.
    Set oMatrix = oForm.Items.Item("7").Specific
    Set oColumn = oMatrix.Columns.Item("ItemCode")
    oColumn.DataBind.SetBound True, "", "ItemCode"
    Set oMatrix = oForm.Items.Item("7").Specific
    Set oColumn = oMatrix.Columns.Item("ItemName")
    oColumn.DataBind.SetBound True, "", "ItemName"
    Set oMatrix = oForm.Items.Item("7").Specific
    Set oColumn = oMatrix.Columns.Item("OnHand")
    oColumn.DataBind.SetBound True, "", "OnHand"
    'Get data from datasources.
    Dim oUItemCode As SAPbouiCOM.UserDataSource
    Dim oUItemName As SAPbouiCOM.UserDataSource
    Dim oUOnHand As SAPbouiCOM.UserDataSource
    Set oUItemCode = oForm.DataSources.UserDataSources.Item("ItemCode")
    Set oUItemName = oForm.DataSources.UserDataSources.Item("ItemName")
    Set oUOnHand = oForm.DataSources.UserDataSources.Item("OnHand")
    oMatrix.Clear
    'For each returned record in recordset then
    'add row to matrix and populate it from
    'userdatasource.
    For i = 1 To nRows
        oMatrix.AddRow
        oUItemCode.Value = ItemCode(i - 1)
        oUItemName.Value = ItemName(i - 1)
        oUOnHand.Value = OnHand(i - 1)
        oMatrix.SetLineData
    Next i
    End If
    'Show form. This also sets focus to edittext field.
    oForm.Visible = True
    'Don't display standard SBO item list form.
    BubbleEvent = False
    End If
    End If
    Regards,
    Andrew.

  • Add Choose From List to a Matrix

    Hi,
    Need help on how to add a choose from list to a matrix column?
    Thanks!

    Hi,
    Step1 :First step is to create the CFL as below
    Private Sub AddChooseFromListToWorkOrder()
            'Choose From List Collection object to store the collection
            Dim oCFLs As SAPbouiCOM.ChooseFromListCollection
            'Conditions object to set the conditons
            Dim oCons As SAPbouiCOM.Conditions
            'Condition object to set the conditons
            Dim oCon As SAPbouiCOM.Condition
            'Getting the Form Choose From Lists
            oCFLs = oForm.ChooseFromLists
            'Choose From List object to store the ChooseFromList
            Dim oCFL As SAPbouiCOM.ChooseFromList
            'ChooseFromListCreationParams to create the parameters for the CFL
            Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams
            oCFLCreationParams = oSBOApplication.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)
            oCFLCreationParams.MultiSelection = False
            oCFLCreationParams.ObjectType = "4"
            oCFLCreationParams.UniqueID = "UDCFL1"
            oCFL = oCFLs.Add(oCFLCreationParams)
            ' Adding Conditions to CFL
            oCons = oCFL.GetConditions()
            oCon = oCons.Add()
            oCon.Alias = "U_HasPSC"
            oCon.Operation = SAPbouiCOM.BoConditionOperation.co_EQUAL
            oCon.CondVal = "Y"
            oCFL.SetConditions(oCons)
        End Sub
    Step2: Then add this cfl in form load
    AddChooseFromListToWorkOrder()
    oMatrix = oForm.Items.Item("matItems").Specific
    oColumns = oMatrix.Columns
    oColumn = oColumns.Item("colItem")
    oColumn.ChooseFromListUID = "UDCFL1"
    oColumn.ChooseFromListAlias = "ItemCode"
    Step 3: catch the CFL Event in Item events of the form
    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
                            oForm = oSBOApplication.Forms.Item("IS_WKORDER")
                            Dim oCFLEvento As SAPbouiCOM.IChooseFromListEvent
                            oCFLEvento = pVal
                            Dim sCFL_ID As String
                            sCFL_ID = oCFLEvento.ChooseFromListUID
                            Dim oCFL As SAPbouiCOM.ChooseFromList
                            oCFL = oForm.ChooseFromLists.Item(sCFL_ID)
                            If oCFLEvento.BeforeAction = False Then
                                Dim oDataTable As SAPbouiCOM.DataTable = oCFLEvento.SelectedObjects
                                'oForm.DataSources.DBDataSources.Add("@IS_WKO_ROWS")
                                Try
                                    If pVal.ItemUID = "matItems" And pVal.ColUID = "colItem" And oCFL.UniqueID = "UDCFL1" Then
                                        oMatrix = oForm.Items.Item("matItems").Specific
                                        oEdit = oMatrix.Columns.Item(2).Cells.Item(pVal.Row).Specific
                                        oEdit.Value = oDataTable.GetValue(1, 0).ToString()
                                        oEdit = oMatrix.Columns.Item(4).Cells.Item(pVal.Row).Specific
                                        oEdit.Value = strUOM
                                        oEdit = oMatrix.Columns.Item(5).Cells.Item(pVal.Row).Specific
                                        oEdit.Value = strPSCode
                                        oEdit = oMatrix.Columns.Item(1).Cells.Item(pVal.Row).Specific
                                        oEdit.Value = oDataTable.GetValue(0, 0).ToString()
                                    End If
                                Catch ex As Exception
                                End Try
                            End If
                        End If
    Hope This helps
    Regards,
    Noor
    Edited by: noor_023 on Mar 31, 2010 10:55 AM

  • [SBO 2005] Choose from list on User Table

    Hi all,
    I need an information from the developper that already tried the SDK of BO 2005.
    Is it possible to create Choose from List on user tables ?
    I looked at the WebEx, there is no restriction about it, but when I tried in the demo, I can't figure out how to do it.
    Thanks for your help
    Sébastien

    Thank for your input Edward:
    I do have the sample, but it uses a system table (OCRD, Object Type=2)
    It seems that it works for system object or UDO, but not for simple user table. Am I right ?
    Sebastien

  • Custom Choose From List

    Hi all,
    I am trying to develop a custom choose from list functionality for my addon. I have created two forms first.srf and second.srf .In the key down event of an edittext in my first form i wrote the code for opening the second form
    LoadFromXML(&quot;Second.srf&quot;)
        Private Sub LoadFromXML(ByRef FileName As String)
                Dim oXmlDoc As Xml.XmlDocument
                oXmlDoc = New Xml.XmlDocument
                       Dim sPath As String
                sPath = System.Windows.Forms.Application.StartupPath()
                sPath = sPath.Remove(sPath.Length - 3, 3)
                oXmlDoc.Load(sPath &#38; &quot;&quot; &#38; FileName)
                B1Connections.theAppl.LoadBatchActions(oXmlDoc.InnerXml)
         End Sub
    second form is loading very well but my problem is that in the form load event of the second form when i try to access the grid i will get an error message
    Item - Invalid Item [66000-3]. Form unique Id &quot;Second&quot;, Item Unique Id : &quot;grdItem&quot;
    I am using SAP B1 8.8 PL 10, visual Studio 2008 and B1DE 2.1.
    Any help
    Regards
    Arun

    Hi Sebastian,
    Thanks for your reply. i used
    Dim oForm As SAPbouiCOM.Form = B1Connections.theAppl.Forms.GetForm("FrmSecond", 0)
    to get the form also tried
    Dim oForm As SAPbouiCOM.Form
    oForm = B1Connections.theAppl.Forms.ActiveForm
    but not working . second forms unique id and type are set correctly but the object type is not set because this form is not binded to any UDT.
    The OForm objects item count is always 0
    Thanks in advance
    Regards
    Arun

  • UDO-Choose From List

    Hi;
    I would appreciate if someone could tell me how to associate an UDO to a choose from list.
    I have looked over the SDK example, but this is for standar SAP objects and I need to associate the choose from list to a customer object. 
    Best regards

    The choose from list (CFL) can be triggered from your edittext - there is some sample code in the DI API help file that shows this.  Have a look for 'Adding a choose from list object' in the help file.  Remember that where they set ObjectType="2", you should use the name of your UDO.
    As can also be seen in the help file, CFL objects allow you to add conditions to determine what rows are displayed.  In the example it shows selecting only where CardType = 'C'.  The columns displayed can be tailored by the user at runtime, where they can select from any columns that are on your main UDO table.
    There are a few limitations.  At present CFL's do not allow you to directly specify a SQL query.  Only data from the single table related to the 'ObjectType' is displayed.  If you want a more complex query that displays data from multiple tables when you press tab, a formatted search may be more powerful.  If you search the forums you should find one of my previous posts (probably about a year ago) where I showed how to link a formatted search to the tab keypress and have it behave in a very similar manner to a CFL.
    John.

  • Is it possible to populate a Choose From List manually?

    Hi
    I've got a requirement in a SDK screen that needs to be written to have a Choose From List contained on a Matrix column that should allow the selection of Item Masters as well as the selection of specific data contained within a User Defined Table. Whenever using ChooseFromLists I've always only ever used them to link to a object such as Items, Sales Order etc. and not a combination, or even to a User Defined Table. Is this even possible.
    If not I guess the only way around it would be to create a form mimicking the ChooseFromList which I could populate with what ever I like?
    Thanks
    Steve

    Hi Steven,
    Yes, Its possible which behaves as system CFL.
    Design the form like cfl having grid, choose button, cancel button and edittext of find. When you tab on edittext on form open the CFL form and after load form fill the grid by Datatable using sql query. Write code for select grid line on click of grid. Write the code on choose button which retrive value from grid.
    Thanks,
    Mahesh

Maybe you are looking for

  • Can i use my AE as a network with no internet??

    So basically i would like to be able to have films on my iphone & wen i travel i can take my iphone, Express & Apple tv2. so then i can watch films over airplay on a tv round a friends or on holiday! can this be done? i have tryed setting it up but i

  • Receiver File Adapter -- EndSeparator not 0d0a but 0a

    Hi everybody, I've got a problem sending a file from XI. When the file is created, the character written each end of line is, in hex code, 0d0a. But it seems that, the machine receiving the file, does not accept that code as a carriage return. How co

  • Email address on Portal page incorrectly copied into email form

    I have a 'staff directory' on a Portal page that contains email addresses. Upon clicking on an email address an email form pops up. However, the email address in the TO: line sometimes reflects the email address correctly, and sometimes it repeats ch

  • How to add a counting number?

    I just recently recorded gameplay of myself on a kill streak in a video game. I want to add a number in the corner of the screen for every time i get a kill, so it keeps counting up for every kill i get in the footage... how can i do this? (if i need

  • Creating Two forms

    I created two forms in Screen painter and I'm stock with the code behind in VB.NET. I don't how to call the 2nd form. My 1st form is for my Main and in this form it has a button save. I want that when I press Save the 2nd form will show. How can I do