Skip to Content

UDF + Service Layer

Hola,

Cree un UDF asociado a "Documentos de Marketing -> Titulo" por el cliente de SAP B1 y luego puedo operar perfectamente sobre Orders con ese UDF (Por Ejemplo: https://hanab1:50000/b1s/v1/Orders(3)?$select=U_VKM_SND_LOG).

Sin embargo cuando hago lo mismo sobre "Datos Maestros -> Almacenes", me da error.

Porque?

Gracias,

Estanislao

orders.png (33.6 kB)
ordersselect.png (18.4 kB)
warehouse.png (43.6 kB)
orders.png (34.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 28, 2017 at 02:06 PM

    Hi,

    It appears the same issue as in SAP Note 2509751.

    Service Layer doesn't include user-defined fields (UDFs) in the Warehouse metadata. This issue has been fixed in SAP Business One 9.2 PL09, version for SAP HANA.

    Kind regards,

    ANKIT CHAUHAN

    SAP SME Support

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Jose Amaya,

      You should use the entity "ProfitCenters" for "Cost Centers". Below request is working for me in DEMO Database on SAP Business One 9.3 PL03, Version for SAP HANA:

      GET https://b1s/v1/ProfitCenters

      Hope it helps!

      Kind regards,

      ANKIT CHAUHAN

      SAP SME Support