Unpack Packages {FPMO4-28} 


The program allows the user to unpack packages by creating stock issues for a package item and stock returns for the package component.   



In order to unpack a packages,  the item must be a package, must be active and have enough stock to unpack the number of packages entered.


               
 
User Selection Prompt Text
* an item between square brackets [ ] is the default answer
Type
&
Length
Comments
 10 Store Code A2 Store code must be a valid store defined on the system
 20 Package Item Number N8 A item package as defined on {FPMM-24}
 30 Number of Packages N6 The number of packages in stock must be greater of equal to the  number of packages that the user wants to unpack.
40 Package Item Number or Blank and <ENTER> to Continue N8
50 Number of Packages N6
                                                                                   The above two prompts are repeated until the user enters a null item number
60 [T]rial or Update A1 The package issues, component returns and component value adjustments are  only processed in update mode. 
 

Sort Order Per Comments
  Section, Row, Rack,Shelf, Bin              

Example:

Example of {FPMO4-28}



Processing
Rules 
The program validates that  the user has access to  process store transaction in the store  entered by the user. If not the following error message will display.
User not inked to the access FP or FPS or FPSK - "ERROR: User does not have correct access restriction"
User not linked to  the store entered or store "ZZ" in the Finance User Access Control {FCSM-5} - "ERROR: User does not have correct access restriction"

The program then validates the following for the package items entered.
Store Valid - "ERROR: Item not valid for the input store"
Item Valid -:
 "ERROR: Invalid item"
 "ERROR. Item description not found."
 "ERROR: Item is inactive"
 "ERROR: Item not valid for the input store" (Item is not active in the store)
Item is not a Function Item  - "ERROR: Function item"
Item is a Package -" ERROR: Item not a package item"
Item is linked to store and section -"ERROR: Package item does not have store section"
      
The program then select the in stock quanity of the package  item and validates that the requested number of package to unpack is is less or equal to instoack package quantity.
If run in update mode the program creates stock  issues (SK -documents) for the package item  and a stock return  (TK-document ) to return the components back into stock.   
The program uses the transaction types linked to the  events SA and SQ to process the documents  and  validates if transaction types exists for these events.

A value adjustment is performed to adjust the weighted average price of the package components if the value of  the components received and package issued differs. The adjustment is calculated by apportioning the  difference between the package issued and components received  according the cost of a component received to the total cost received.







History of Changes

Date System Version By Whom Job Description
22-AUG-2011 v02.0.0.0 Marchand Hildebrand
t172898 Create manual.