Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2016 at 11:27 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.