cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make a Linked button to open a reserve invoice

Former Member
0 Kudos

The regular A/R Invoice document type is 13 a reserve invoice shares the same OITM table.

The thing is that I cannot find the document number for reserve invoice so I cannot configure a grid to show the reserve invoice

            oGrid.Columns.Item("Invoice").Type = BoGridColumnType.gct_EditText

            Dim oEditColIn As SAPbouiCOM.EditTextColumn = DirectCast(oGrid.Columns.Item("Invoice"), EditTextColumn)

            oEditColIn.LinkedObjectType = "13"

this one opens an AR Invoice my question is which number points to a reserve invoice

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vasili

Reserve Invoice is also ObjectType 13. The only difference in OINV is the IsIns = 'Y' when it is a reserve invoice. What I do with strange link buttons is to catch the event (click or item_pressed=link button) and redirect to the relevant menu item, in this case 2056. A quick Record Set read to the OINV will reveal the IsIns status.

Hope this helps

Kind regards

Peter Juby