cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Danny Ng,

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

Best Regards

Jane Jing

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Danny Ng,

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

Best Regards

Jane Jing

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Jane Jing,

I would like to update [DebPayAcct] field inside from [OCRD] table.

where SDK is refer to oBPMasterData.AccountRecivablePayables.AccountCode right?

Cheers,

danny

Former Member
0 Kudos

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

Former Member
0 Kudos

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