on 05-10-2017 9:51 PM
Hi, I have a matrix with, A/R inovices, A/P invoices, Credit memos, etc, etc. I´m maintain the DocEntry and the DocNum. I need to navigate to the corresponding SBO form for each specific object type.
Do you know how can I do that with a LinkedButton, RigthClick or any?
Best regards!
If I've understood correctly, you have one column (Linked object) which may point to different system forms, right?
In this case you can use the matrix's LinkPressedAfter event like:
private void Matrix0_LinkPressedAfter(object sboObject, SAPbouiCOM.SBOItemEventArg pVal)
{
if(pVal.ColUID == "YOUR_COLUMN_ID")
{
//Do your stuff here
}
}
And you can use OpenForm method to open the desired form
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rudá, do you know how to set the column to show the row arrow? I doing this:
oColumn = oColumns.Add("DocEntry", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON);
...
oLink = ((SAPbouiCOM.LinkedButton)(oColumn.ExtendedObject));
oLink.LinkedObject = ????
if I assign a BoLinkedObject, its execute both forms, the setted in the oLink and the executed in the OpenForm method
Best Regards!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
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.