cancel
Showing results for 
Search instead for 
Did you mean: 

B1 Studio Choose from list

Former Member
0 Kudos

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?

former_member185682
Active Contributor
0 Kudos

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
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185682
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thank you! That certainly helps with that error. However, when I correct that, I still don't have a CFL on the field that I added it to on the Credit Memo:

I have the UDF configured in B1 Studio like this:

former_member185682
Active Contributor
0 Kudos

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