Click or drag to resize

FulfillmentTOrderItem, TFulfillmentItem Class

Represents a single fulfillment process.
Inheritance Hierarchy

Namespace:  Aloe.EnterpriseOne.Model.Core.Transformations
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public abstract class Fulfillment<TOrderItem, TFulfillmentItem>
where TFulfillmentItem : EnterpriseOneEntityObject

Type Parameters

TOrderItem
The type of the order item.
TFulfillmentItem
The type of the fulfillment item.

The FulfillmentTOrderItem, TFulfillmentItem type exposes the following members.

Properties
  NameDescription
Public propertyExecuteForZeroOrderItems
Gets a value indicating whether the fulfillment will execute even for order items with zero remaining values.
Public propertyItem
Public propertyMeasures
Gets all measures.
Public propertyName
Gets the name.
Public propertyOrphanHandling
Specifies orphan handling strategy.
Public propertyTransaction
Gets the transaction.
Top
Methods
  NameDescription
Public methodCreateFulfillmentItems(TOrderItem)
Creates fulfillment items for the specified order item for all remaining quantities.
Public methodCreateFulfillmentItems(TOrderItem, FulfillmentAdviceTOrderItem, TFulfillmentItem)
Creates fulfillment items for the specified order item.
Public methodCreateReverseFulfillmentItems
Creates reverse fulfillment items. Primarily used for reversing orphaned items.
Public methodExecuteFulfillment
Executes the fulfillment for the specified order items.
Public methodGetFulfillments
Gets the fulfillments of an order item.
Public methodGetOrphans
Gets the orphaned fulfillment items.
Top
Remarks

Fulfillment usually is the process in which one document is fulfilled by creating another. For example, a Store Order can be fulfilled by issuing a Store Transaction.

Actually the document lines of the source (order) document are fulfilled with the lines of the target (fulfillment) document. E.g. the Store Order Lines are fulfilled with the Store Transaction Lines.

Sometimes, a document can have multiple different sets of lines. For example, a Service Activity document can have Materials and Services lines. Each set of lines defines a different fulfillment.

For example, the Service Activity to Sales Order generation can define two different fulfillments:

  • ServiceActivityMaterials To SalesOrderLines
  • ServiceActivityServices To SalesOrderLines
In this setup, when generating a Sales Order, each distinct set of lines can be fulfilled separately. And then the resulting lines from each fulfillment can easily be grouped into one Sales Order.

The base class is very generic and can represent fulfillment for which the order item can be any class, not just an entity class. For example, if we want to display a form, which is not bound, but contains values, which should later be fulfilled with a real entities. In this case, it is useful to define fulfillment, which is bound to that class as order item. Example of such process could be the Stock Holds To Store Order Lines fulfillment process. In this process, the UI allows the user to select products and enter quantities to sell directly from a stock holds report.

See Also