on 07-05-2015 4:10 PM
Add Choose from list to edittext for account type data
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.