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

Problem with creating new BP - too slow

Hi,

I`m trying to create new BP with code:

BPnew.CardCode = "Z" + adressID

BPnew.CardName = company

BPnew.CardType = SAPbobsCOM.BoCardTypes.cCustomer

BPnew.GroupCode = 100

BPnew.Phone1 = phone

BPnew.Fax = fax

BPnew.EmailAddress = e_mail

BPnew.Address = company

BPnew.Addresses.AddressName = company

BPnew.Addresses.Street = street

BPnew.Addresses.ZipCode = zip

BPnew.Addresses.Country = "CZ"

BPnew.Addresses.City = city

BPnew.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_ShipTo

err_code = BPnew.Add()

Everything is ok, but the only problme is, that after BPnew.Add() I`m waiting for 5-10 seccond to save the record. Is any trick how to increase the speed?

Thanks

Petr

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 31, 2008 at 02:59 PM

    Hi Petr,

    did you try you code locally on your server ?

    just to be sure it is no network problem ...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 06:30 PM

    5 to 10 seconds is extreme.

    try running the add on in a different environment and see if the wait time decreases.

    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.