cancel
Showing results for 
Search instead for 
Did you mean: 

Add Choose from list to edittext for account type data

Former Member
0 Kudos

Add Choose from list to edittext for account type data

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member201110
Active Contributor
0 Kudos

Hi Hassan,

If your GL account structure is a single segment (ie the natural account only) then you can just link the ChooseFromList using the AcctCode field. If you have a multi-segmented account then you can bind the ChooseFromList using the FormatCode field instead. During the ChooseFromList event, you can retrieve the account code and use this to calculate the correctly formatted account number (there's a function in the SBObob object called GetAccountSegmentsByCode that can do this) and pass this to the datasource that is bound to the control.

If you want to write an addon that will cater for single and multi segmented accounts then the second approach will work for both.

Kind Regards,

Owen