Skip to Content
0

UDF + Service Layer

Nov 28, 2017 at 01:45 PM

174

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
ANKIT CHAUHAN
Nov 28, 2017 at 02:06 PM
0

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

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Thanks for the reply.

I am currently using SAP Business One 9.3 PL00 and it is not solved either.

Estanislao.

0

Hi Enrique Palacios,

I think this bug fix will be merged with some other patch level of SAP Business One 9.3, version for SAP HANA.

Meanwhile, have you tried to check it on 9.2 PL09?

Kind regards,

ANKIT CHAUHAN

SAP SME Support

0

Dear Ankit Chauhan @ANKIT CHAUHAN

I hope you can help me with something, I'm trying to retrieve the information of the "Cost Centers" I had created within B1 and to do so I'm using the entity DistributionRules, so far so good, but that Entity does not provide the UDF and I need them, ¿is there any way to get them?

Hope you can give me a better orientation on this

Best Regards

Jose

0

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

0