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

Grid with BOLinkedObject will NOT open Invoices from 2nd Doc Sequence

I have a simple form with a grid. It displays either invoices/deliveries/orders which are open.

One of the columns is a LinkedObject to open the document.

The system has multiple document number sequences assign to different users based on the store location. That is Store A is range 10000000 to 1999999 and store 2 is 2000000 to 2999999 etc.

On the form the queries run correctly and the data is all bound etc

If on the list there are 2 documents

e.g. doc number 2 (which was created on the SAP original primary sequence)

and doc number 1000001 (created on Store A range)

The link will open the document 2 but provide an error message when doc number 1000001 is opened

"You are not permitted to preform this action [200-30]"

The addon is UI only not DI components.

This occurs running the addon through both visual studio and when installed.

userObj_SalesForFitting_Grid.Columns.Item("DocNum").Type = SAPbouiCOM.BoGridColumnType.gct_EditText

oEditCol = userObj_SalesForFitting_Grid.Columns.Item("DocNum")

oEditCol.LinkedObjectType = SAPbouiCOM.BoLinkedObject.lf_Invoice

oEditCol.Editable = False

oEditCol.TitleObject.Caption = "Invoice"

What do I need to ammed/change to enable the opening of documents with a non-primary number range.

The other number ranges are in the same group and are functioning on the production system for a year now.

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2009 at 11:16 AM

    The SQL Statement was quering DocNum with DocEntry it works now

    SBO SDK 2007 - Matrix you are not permitted to perform this action 200-30

    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.