Skip to Content
0

B1 Studio Choose from list

Jun 19, 2017 at 09:50 PM

129

avatar image

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?

10 |10000 characters needed characters left 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

0

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.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

DIEGO LOTHER Jun 20, 2017 at 05:41 PM
0

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


img1.png (18.7 kB)
Show 2 Share
10 |10000 characters needed characters left characters exceeded

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:

0

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

0