on 10-15-2007 3:00 PM
Hi,
I'm trying to find out how do I have to press the Copy To button in a Sales Quotation so it copies to a Sales Order.
But I don't know what type of control it is and I don't know how to select Sales Order
the item is 10000329. I can click on it but it doesn't copie a Sales Order
since there's a combox that appear when you click it and there are 3 items in this combo and the sales order is the last one
Also is there any way to know the type of control is a certain control ?
I'm often faced with this kind of problem when coding. Sometimes its obvious like an EditText but sometimes I declare a ComboBox for which seems to be one in a Matrix but it isn't
Here's how I did it :
// Don't use the psk_Description in case the language changes
((SAPbouiCOM.ComboBox)SQ_Form.Items.Item("10000329").Specific).Select(2, BoSearchKey.psk_Index);
SQ_Form.Items.Item("10000329").Click(BoCellClickType.ct_Regular);
Would have been nice to be able to do all this but without seeing the Sales Quotation at all...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
It's a Combobox, as far as I remember.
Try to use Item.Type property for determining types.
"Returns or sets a value specifying the item type."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
9 | |
8 | |
6 | |
3 | |
3 | |
3 | |
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.