on 09-30-2008 11:53 AM
Hi
I'm trying to link a column I have within a matrix to the customer equipment card form, however don't seem to be able to find the linkedobject that is associated with the customer equipment card. Is it even possible to have a matrix linked button to the customer equipment card?
Thanks
Thanks for the quick reply
I know how to create a linked matrix column but the problem I am having is that I can't seem to be able to link to the column to the customer equipment card form because I can't find the form in the linkedobject property that relates to it. So I have oLink.LinkedObject = SAPbouiCOM.BoLinkedObject. but I can't seem to find the customer equipment card form from there.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It took me some time, but I've finally found the linkedobject that is
associated with the CustomerEquipmentCard. It's 'lf_InstallBase'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with 190 and 170 if they dont work then place a link button and on the Link button press event u need to open the customer card form and which opens in find mode and then u need to place the no on the required field and then click on the find button...
Hope it helps,
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
If the matrix is added by your addon, you can easily add link button collumn. Also your customer equipment card should be UDO.
Sample code:
'// Add a column for BP Card Code
oColumn = oColumns.Add("DSCardCode", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
oColumn.TitleObject.Caption = "Card Code"
oColumn.Width = 60
oColumn.Editable = True
'// Link the column to the BP master data system form
oLink = oColumn.ExtendedObject
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_BusinessPartner
Also you can refer to SDK sample code:
C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\06.MatrixAndDataSources
Kind Regards
-Yatsea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.