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

Business Partner - Account Receivable Payable cannot add and update !!!

Hi all,

I have add and update other Account Receivable Payable code from default code inside Administration> Setup> Financials> G/L Account Determination thought SDK.

My VB.net code as below:

oBPMasterData.AccountRecivablePayables.AccountCode = CStr(oRecordSet.Fields.Item(0).Value)

oBPMasterData.AccountRecivablePayables.Add()

oBPMasterData.add()

Unfortunately still cannot work!!!

Thank you.

Cheers,

danny

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 09:06 AM

    Dear Danny Ng,

    Please try to use property DebitorAccount of BusinessPartners Object for update DebPayAcct field.

    Best Regards

    Jane Jing

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2008 at 07:02 AM

    Dear Danny Ng,

    The object BPAccountReceivablePayble is used for set Control Accounts of BP but not Account Receivable Payable.

    The Account Receivable / Payable can not update by DI API currently.

    Best Regards

    Jane Jing

    SAP Business One Forums team

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Jane,

      But DTW allow end user to enter Accounts Receivable from Accounting Tab in Business Partner Master Data.

      If DTW allow meaning to said that DI API also allow in logically sense.

      Thank you.

      Cheers,

      danny

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2008 at 03:11 AM

    Dear Danny Ng,

    To avoid the misunderstanding If you want to update

    Business Partner Master Data > Accounting > Control Accounts (click button ...)> Control Accounts - Accounts Receivable / Payable

    then you can use AccountRecivablePayables object (CRD3).

    If you want to update

    Business Partner Master Data > Accounting > Accouts Receivable / Payable, it can not done by SDK.

    Which one do you want?

    Thanks,

    Best Regards

    Jane Jing

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 06:23 AM

    Dear Danny Ng,

    The Source table of BPAccountReceivablePayble Object is CRD3 but not OCRD by SDK help.

    Best Regards

    Jane Jing

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Jane Jing,

      After i search from SAP Business One SDK - Help Center

      AccountRecivablePayables:

      Returns the BPAccountReceivablePayble object.

      Field name: DebPayAcct.

      Length: 15 characters.

      But i still cannot update this field inside my SDK.

      Cheers,

      danny

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.