Change the standard choice processing of catalogref field

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Feb 13, 2012
Company: C.K. Elektronic Vertriebs GmbH

on a inputfield wich has field type "Catalogref" i can input a value an the framework gives a list of found values in the format "description (code)".

Now i want to add more information in the choicelist (eg. complete adressline and not only description).

Where can i do this?

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 5, 2012
Company: 1C Company

For searching the reference in predictive input different fields of catalog can be used. By default the predictive input is used by searching the description.

You can add additional fields for searching by predictive input using those steps:
1. In Designer mode, open Catalogs tree and select your Catalog.
2. Use Double-Click or F2 to open the Catalog properties.
3. Select Forms tab.
4. Locate Input by String field. Edit and select additional fields of catalog to use in predictive input.

Warning: using of many additional fields in predictive input will produce a larger index of a table. So use this feature with caution.

 
#3
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Feb 13, 2012
Company: C.K. Elektronic Vertriebs GmbH

Thank you, but that is not what i need!

I found in the managed module the procedure ChoiceDataGetProcessing. I change the result of this procedure an now i can set my own choiceData to select a item.

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.