cancel
Showing results for 
Search instead for 
Did you mean: 

Create Serial Number with sap B1 service layer?

0 Kudos

Hi folks! First of all, congrats for this great community!!

I'm trying to investigate how to create serial numbers with the service layer API but I just find GET and PATCH methods, is there any way to create a new one with the service layer API??

I see the SerialNumberDetails

Thank you so much!

Accepted Solutions (0)

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert

Dear sergiocasero,

SerialNumberDetailsService Object contains only Get() and Update() methods.

Therefore, you will not be able to create new Batch or Serial Numbers using DI API or Service Layer. You will have to create Serial Numbers or Batches using a document like Good Receipt etc.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

0 Kudos

Thanks for the response!!

Is there any documentation about this?? The other solution I'm thinking about is to try to insert directly on the HANA database, what do you think about that? I'm trying to avoid it but... I don't know how to achieve this...

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear sergiocasero,

Direct Insert/Updates are not allowed for the system tables. Refer to the Guidelines for Modifying SAP Business One Data.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

0 Kudos

I'll take a look to that,

So... is there any way to do this without SAP B1 client??

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear sergiocasero,

Currently, it appears to be possible via SAP Business One Client only.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support