Skip to Content
avatar image
Former Member

B1 Studio Choose from list

Hello,

I'm trying to add a choose from list to the Credit Memo. I have it bound correctly to a UDF, and have set up the CFL correctly according to 3.3.5 in this document: https://help.sap.com/http.svc/rc/011000358700000070642013e/9.0/en-US/B1_90_WorkWithStudioSuite.pdf

However, when I try and run it, I get an error that says

"System.Runtime.InteropServices.COMException (0xFFFFFC15): Data Source - Alias Not Found. Form Unique Id: 'F_102', Item Unique Id : 'MWA_CMTyp'

as SAPbouiCOM.ApplicationClass.LoadBatchActions(String&CmlStr)

at SAPbouiCOM.Framework.Application.SystemFormLoadBatchAction(String resource, SystemFormBase sysForm)"

I'm not familiar with C# at all--However, I'm very accomplished at SQL, as well as having a basic background in programming (specifically Python).

Can you please advise on how to take care of this error?

Add comment
10|10000 characters needed characters exceeded

  • Hi Dallin,

    Could you share a image of your screen and the xml of your form?

    I think that maybe there are something wrong on the Alias that you provided on the databind configuration in your edittext.

    Hope it helps.

    Kind Regards,

    Diego Lother

  • Former Member DIEGO LOTHER

    Hi Diego,

    Here's my XML: https://paste.ee/p/qS0HK

    Here's a lot of screenshots:

    Please let me know if you need any further information.

  • Get RSS Feed

1 Answer

  • Jun 20, 2017 at 05:41 PM

    Hi Dallin,

    Your problem is here:

    When you create a field inside SAP Business One, the application insert the prefix "U_" on your field. Then the correct information should be U_MWA_RR_CMInvoice.

    Hope it helps.

    Kind Regards,

    Diego Lother

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Dailin,

      Probably you have something wrong on your config.

      ChooseFromListAlias is the field name that you want catch from the choosefromList selection, for exemplo if you create a choosefromlist for Invoices, then you can provide DocEntry in this property to get the value of the DocEntry of the invoice selected by the user.

      ChooseFromListUID is the uniqueId that you provide for your ChooseFromList control.

      Hope it helps.

      Kind Regards,

      Diego Lother