biuan SAP® BUSINESS ONE SDK
API Document Lines / Batch Numbers

Description

Returns the BatchNumbers object.

Property type

Read-only property

Syntax

Visual Basic
Public Property BatchNumbers() As BatchNumbers

See Also

API Document Lines / Batch Numbers

Description

BatchNumbers is a business object that represents the batch numbers of an item in the Inventory and Production module.

This object enables you to add batch numbers for a selected item row (one record per item).

Source table: OBTN, OBTW, OITL, ITL1.

Object Model

Remarks

Mandatory field in SAP Business One: BatchNumber.

To display the form in the application:

  1. Select Inventory --> Item Management --> Batches --> Define and Update Batch Numbers.
  2. In the Batch No. for Receipt - Selection Criteria window, set your selection criteria and then click OK.

Deallocate Batches

To deallocate batches without actually remove them from the stock (based on a delivery document) is to update the Sales Order so that it has no batches defined. Note that batches allocated by Reserve Invoice cannot be deallocated. Batches allocated by Reserve Invoice can only be drawn to a Delivery or Invoice document.

See Also

SAP® B1 DI-API C# definition

public class BatchNumbersClass : IBatchNumbers, BatchNumbers { public virtual DateTime AddmisionDate { get; set; } public virtual int BaseLineNumber { get; set; } public virtual string BatchNumber { get; set; } public virtual int Count { get; } public virtual DateTime ExpiryDate { get; set; } public virtual string InternalSerialNumber { get; set; } public virtual string Location { get; set; } public virtual string ManufacturerSerialNumber { get; set; } public virtual DateTime ManufacturingDate { get; set; } public virtual string Notes { get; set; } public virtual double Quantity { get; set; } public virtual int TrackingNote { get; set; } public virtual int TrackingNoteLine { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public extern BatchNumbersClass(); public virtual extern void Add(); public virtual extern void SetCurrentLine(int LineNum); }


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Icons by Icons8 Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates