Skip to Content

Service Layer BusinessPartner DocEntry field not exposed

In one of our projects we require to access the DocEntry field of the BusinessPartners (OCRD) entity.

The problem is that this field is not exposed in ServiceLayer only the CardCode as "key field". This was possible using DI API...


Is there any way to recover the field or will it be exposed in future versions?

Thanks beforehand,

Vangelis Sanchoyerto

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 05 at 10:48 AM

    Hi Vangelis Sanchoyerto,

    Yes. Using DoQuery() method you can access any column in the table however that does not mean that you can use that in DI API or Service Layer too.

    DocEntry column related property is not exposed in DI API. Therefore, you will not be able to use it in Service Layer too.

    Kind regards,

    ANKIT CHAUHAN

    SAP Business One Support

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 03 at 01:14 PM

    We saw the posibility of using Custom Views but were expecting baseline support for this field so there is not the necessity to create a custom view only to expose one field...

    https://blogs.sap.com/2018/02/01/new-sap-business-one-semantic-layer-view-exposure/

    Add a comment
    10|10000 characters needed characters exceeded