Show TOC

Process documentationChanging Sales Orders Locate this document in the navigation structure

 

You control how the system reacts to changes in the allocated sales order by making settings in Customizing under   Logistics - General   SAP Fashion Management   Order Allocation Run (ARun)   Cross-Applications   Sales Document Handling  .

Allocation and deallocation processes are the same for all types of stock, including future receipts. Therefore, if the confirmed quantity is decreased, the system adjusts the corresponding assignments.

When you deallocate a sales order, the system locks the corresponding allocated stock (physical or future stock). If the stock cannot be locked, the system generates an error message. The sales order can only be processed after the stock is unlocked.

Process

Deallocation Rule

You can use the deallocation rule to specify exactly how the system reacts when the sales order is modified. You can define a deallocation rule to deallocate or remove the previously allocated quantities.

A deallocation rule contains the following fields:

  • Requirement Date of a Sales Order: You can specify a requirement date of a sales order. For example, if you choose Requested Delivery Date (VDATU) as a requirement date, the system uses the Item level requested delivery date of a sales order.

  • Goods Receipt Date: This date is the reference date of the future receipt that is to be considered for deallocation. You can select Schedule Line Date (EINDT) as a reference date.

  • Physical Stock Reference Dates: The Batch Horizon and Storage Location Horizon fields specify the number of days after which the deallocation can occur for an order.

    When you edit an existing allocated order and if the difference between the old requirement date and the new requirement date is less than the number of days specified in the reference fields, then the deallocation does not occur. However, if this difference is more than the number of days specified in the reference fields, system behavior is based on the values specified in the Date Reaction check field.

  • Future Stock Reference Dates: The From and To fields specify the range of days during which the deallocation should not occur.

    When you change an existing allocated order and if the difference between the requirement date of a sales order and the goods receipt date for a purchase order or confirmation is within the From and To field ranges, then the deallocation does not occur. If this difference does not fall within these field ranges, then the system behaves based on the values specified in the Date Reaction check field.

  • Field Checks: The system decides how and when the deallocation process should be triggered based on the following values specified in the field checks:

    • D Deallocation Without Warnings: Order is deallocated completely without a warning.

    • W Warnings Before Deallocation: A warning message is displayed and the order is deallocated completely.

    • E Change Not Permitted: You cannot modify an order and deallocation is not possible.

Sort Rule

In ARun Customizing for sales documents, you can define the sequence in which the assigned stock is deallocated. In this way, you can specify which stock has to be deallocated first. For example, if you want to sort first by stock type, then by batch number, then by purchase order number, you would make the following entries:

Sort Field

Priority

Sort Descending

FSH_BSKZ

1

FSH_BSNR

2

EBELN

3

×

By selecting the Sort Descending indicator, you can reverse the sort order for a given field. For example, if select the Sort Descending indicator for purchase orders (EBELN), the system deallocates the most recent purchase orders first.

Log Rule
  • Log Rule

    During the deallocation of sales orders, you can use this rule to determine which of the following exceptions should be included in the log.

    • All messages

    • Only error messages

    • Only warning messages

    • Errors and warnings

    You can define the log file rule in Customizing under   Logistics - General   SAP Fashion Management   Order Allocation Run (ARun)   Online ARun   Log   Maintain Log Rules  .

The logs are saved in a database table.

Immediate Allocation of Sales Orders

You can also assign various ARun-specific functions to the sales documents. If you assign an immediate allocation type to the sales document, the system tries to allocate a requirement immediately when a sales document is created or modified. A requirement can only be successfully allocated if there is sufficient stock (for example, physical stock or stock against future receipts). Note that the document must contain all delivery-related data when it is saved. If it does not, the allocation is cancelled and the requirement cannot be delivered immediately.

You can assign an immediate allocation type to a sales document in Customizing under    Logistics - General   SAP Fashion Management   Order Allocation Run (ARun)   Cross Applications   Sales Document Handling   Maintain ARun Types for Immediate Allocation  .

Assign Rules to Order Types

You can also assign an allocation type, deallocation, stock sorting, and logging rules to the SD document type and the sales area (sales organization, distribution channel, and division). You can do this in Customizing under    Logistics - General   SAP Fashion Management   Order Allocation Run (ARun)   Cross Applications   Sales Document Handling   Assign Rules to Order Types  .