on 07-26-2018 11:11 AM
Hi,
I created a UDO and a new form which includes a number of custom fields that will be filled manually and I couple which I would like to be selected from system tables.
Specifically, I would like one of the fields to be a business partner's CardCode.
I tried doing a ChooseFromList referencing the OCRD table which correctly gives me a list of Business Partners to select from. From what I understand, however, if I do it this way, data will not be saved in my UDO.
Could I get some pointers on how to achieve this? Thanks.
For some reason the edit function does not seem to be working so I'm posting the edit as a comment.
I believe I have figured it out. If someone could verify this is how it works I'd be grateful.
Table Setup:
UDO: @Test_Table
UDF: U_CardCode
Form Setup
Field:
Alias = U_CardCode
DataSource = @Test_Table
ChooseFromListAlias = CardCode
ChooseFromListAutoFill = True
ChooseFromListUID = CFL_0
CFL_0:
ObjectType = 2
Add OCRD Table
I tested it and it seems to be working. I just want to make sure that this does not have any effects I'm not seeing. Thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Konstantinos,
would you please explain a bit more specific how you created this CFL(via UI API)? Also would you please clarify what you mean in this statement: "From what I understand, however, if I do it this way, data will not be saved in my UDO."?
If you want to let a user choose data from a list you can save your query in the query manager and assign it using FMS (formatted search).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.