Skip to Content

Insert value

Hi

I Want to insert values in OBTN,OBTN,OBTQ TABLE WHAT IS THE PROCESS OF INSERTING VALUE PLEASE GIVE ANY EXAMPLE

I AM USING THAT CODE BUT I CULD NOT FIND ALL FIELDS OF OBTN TABLE.....

SAPbobsCOM.BatchNumbers GRPo = null;

*GRPo = (SAPbobsCOM.BatchNumbers )SBO_Company.GetBusinessObject(BoObjectTypes. -


);

BUT I COULD NOT FIND FIELDS OF TABLE.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 29, 2011 at 07:12 AM

    Hi,

    Try this :

    Dim orec As SAPbobsCOM.Recordset
    orec = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
    
                orec.DoQuery("INSERT INTO OBTN (column, column) VALUES('" & oEditText.Value & "', '" & oEditText2.Value & "')")

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 30, 2011 at 05:02 AM

    HI

    Hikaru

    I also used that code inserting all values but when i go to add new good receipt item it generate a problem (entry is already exist ) abseentry fields in obtn table is unique good receipt also hit obtn table both goes same unique id(absentry) it create a problem.

    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.