cancel
Showing results for 
Search instead for 
Did you mean: 

SAP B1 SDK Document Reference Information

tony_tuccia
Explorer
0 Kudos

Hello,

how can I replicate the functionality in the image below with the SDK? This is the reference with marketing document through the table INV21 (new feature in SAP Business One 9.2)

Former Member
0 Kudos

Hey! Did you find any solution to this problem?

Accepted Solutions (0)

Answers (3)

Answers (3)

rafael_ogeda
Participant
0 Kudos

Hi!

Question about ServiceLayer: we are sending the DocumentReferences/AccessKey field in an Add CreditNotes request to ServiceLayer, but despite the success of the request, it is not recording the RIN21.AccessKey field. Writes other fields including RIN21.RefAccKey, but does not write RIN21.AccessKey.

Request for Add CreditNotes:

Response for Add CreditNotes:

Does anyone know if it doesn't record due to some SAP Rule, or could it be a limitation of the ServiceLayer?

Thanks!

swapnil_shewale
Explorer
0 Kudos

you can use it as mention below

oCreditNotes.DocumentReferences.ReferencedObjectType= SAPbobsCOM.ReferencedObjectTypeEnum.rot_SalesInvoice; oCreditNotes.DocumentReferences.ReferencedDocEntry =Convert.ToInt32(oRs.Fields.Item(0).Value.ToString());

former_member185682
Active Contributor
0 Kudos

Hi Antonio,

I believe that this functionality still is not exposed on DI API.

Kind Regards,

Diego Lother

tony_tuccia
Explorer
0 Kudos

There may be a workaround to do the same things with the sdk? Maybe updating the document using the XML?

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Antonio,

If some specific properties are not exposed to DI API, you will not be able to update those properties via DI API or XML.

Kind regards,

ANKIT CHAUHAN

SAP SME Support

former_member185682
Active Contributor
0 Kudos

Hi Antonio,

As ankit.chauhan1 mentioned in your comment below, if the functionality is not exposed, you will not able to update those properties by XML.

Kind Regards,

Diego Lother

Former Member
0 Kudos

We also need to update the Reference Document via the DI API. Is this on the roadmap? If not, can I make a request ?

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jeff Held,

Definitely, you can raise a DRQ on SAP Business One Idea Place.

SAP Business One Idea Place

Kind regards,

ANKIT CHAUHAN

SAP SME Support