biuan SAP® BUSINESS ONE SDK
API Layer
Layer Object

Description

Represents a FIFO layer for a specific item and location.

After retrieving a FIFO layer, you may want to revaluate it. To specify a FIFO layer to be revaluated, pass its layer ID and sequence number to the corresponding properties of the FIFOLayers object in the MaterialRevaluation object.

Remarks

Each FIFO layer contains the following properties:

  • TransactionSequenceNum: A sequence number that identifies each transaction that affects the stock of a FIFO item.
  • LayerID Property: A sequence number (within each transaction) that identifies the FIFO layers within a single transaction. A transaction may involve more than one FIFO layer, for example, when a customer buys 2 of an item but the cost of one item is $100 and the cost of the other is $200.

These two properties, together, uniquely identify a FIFO layer.

See Also

SAP® B1 DI-API C# definition

public class LayerClass : ILayer, Layer { public virtual double CurrentCost { get; } public virtual string DocNumber { get; } public virtual TransTypesEnum DocType { get; } public virtual DateTime EntryDate { get; } public virtual int LayerID { get; set; } public virtual double OpenQty { get; } public virtual int TransactionSequenceNum { get; set; } public extern LayerClass(); public virtual extern void FromXMLFile( string bstrFileName); public virtual extern void FromXMLString( string bstrXML); public virtual extern string GetXMLSchema(); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

Related information


Trans Types Enum TransTypesEnum Enumeration
Document types.
   Parent: Layer Layer Object

FIFO Layers FIFOLayers Object· Table: MRV2
Specifies the FIFO layers to be updated, and the new values for the quantity and price. Source table: MRV2
   Parent: Material Revaluation lines MaterialRevaluation_lines Object· Table: MRV1

Material Revaluation FIFO Service MaterialRevaluationFIFOService Service
The MaterialRevaluationFIFOService service enables you to retrieve the FIFO layers for a specific item and location. You can then use information about the FIFO layers to specify specific layers to revalue (FIFOLayers) and provide these to...



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