This function is used to import packing slips. This import only works in creation mode. The packing slip imports are not managed in modification and deletion modes.
The imported packing slips are of direct type or related to orders or delivery requests. They can be imported under a 'Non-validated', 'Validated' or 'Invoiced' status.
Import of a 'Non-validated' packing slip (CFMFLG field not present in the template or present but set to 'Non-validated')
Component lines are all allocated in detail or contain shortages if the product management allows it (negative stock authorized). The way the lines are allocated depends on the information contained in the import template. Actually, if the template only contains the tables of the packing slips, the detailed allocation will be automatically performed by the system while complying with the allocation and issue rules that are linked to the product. If a shortage is reported and authorized for the product, it will not specify the characteristics of the stock shortage.
In this context, it is possible to impact the allocation by importing the following fields from the table of the delivery lines:
LOT
This field is used to filter exclusively a specific lot or a group of lots (use of the ? and * wildcards) if the product is managed by lot.
STA
This field is used to filter exclusively a specific status or a group of statuses (use of the ? and * wildcards).
LOC
This field is used to consider in priority a location or a a group of locations (use of the ? and * wildcards). If no stock is found on these locations, the system will normally apply the allocation rule.
If the import template contains an additional hierarchy based on the elements of the STOJOU table, the system will exactly follow the information given to carry out the detailed allocation. In case of inconsistency between the allocation request specified in the import file and the stock, the system will reject the packing slip to be imported. At this level in the hierarchy, certain pieces of information are mandatory:
The quantity
It can be expressed in two ways. The stock unit quantity (QTYSTU field) or packing unit quantity (QTYPCU field). If the quantity is expressed in packing unit, the packing unit must always be specified (PCU field). In any case, the sum of the quantities of the allocation lines needs to be equal to the quantity delivered on the delivery line.
Stock characteristics
Based on the types of imported products, the template must contain at least all the characteristics of the imported products (lot, sub-lot, serial number, location). For instance, if one of the imported products is managed by lot, the template needs to contain the LOT field.
The status
It is not mandatory. On the other hand, if it is contained in the template, it will be strictly used. If it is not contained in the template, the system will exploit the issue rule of the product to choose a status.
If the product authorizes negative stock and the quantity to be issued is not available, a shortage will be generated on the stock characteristics mentioned in the import file.
The following fields will have to be added to the import template:
The order is updated automatically.
Importing an order delivery is not possible when the customer is locked, even when the order is not (while with interactive order deliveries, as long as the order is not locked, the delivery is authorized).
The detailed allocation will be carried out as follows, if the original order line is itself allocated in detail (if the order is globally allocated or not allocated at all, the allocation will be carried out like in direct delivery import):
The lines contained in the packing slip generate a stock movement or pending movement when the stock is not available and if negative stocks are authorized for the product. These packing slips can be invoiced later on. Like for the import of non-validated packing slips, stock transactions will be generated from the allocation and issue rules if the import template does not contain the stock transaction file. It remains possible in this context to use the exclusive and preferential filters of the delivery line file in order to determine the choice of the stock detail (same operation as for the allocation). If the import template contains the details of the issued stock, the system will exactly apply the information of the import template to perform the stock transactions. The constraints are similar to those described in the detailed allocation upon import of the non-validated packing slips.
It is also possible to import validated packing slips linked to order lines or delivery requests by specifying the link in the import template. If order lines are allocated in detail, the allocations recovery process for generating issue movements is the same than when transferring allocations to a non-validated delivery.
This is considered as an import for statistical purposes. No stock movement is carried out. For this type of import, the STOJOU file does not need to be mentioned in the template.
In any case, the imported information is considered to be accurate since the issue transaction is carried out or is about to be carried out. The kit or the BOM will not be controlled in import. If the delivery is linked to an order, the latter will be updated normally.
Use GIMP variables:
Each occurrence contains 99 characters.
To import the dimension types of a document line, it is necessary to add an additional level to enter the common table containing the analytical information on the line (CPTANALIN). See SDHFL import template.
The value entered for the invoicing elements can be imported into the different documents through the INVDTAAMT fields. (SQH, SOH, SDH).
The deliveries import template does not take into account picking notes, even though their numbers are included into the template.
Import template with | Management of the project code | |
... in header | ... on line | |
YES | NO | Header = Value of the header import file |
YES | YES | Header = Value of the header import file |
NO | YES | Header = Blank value |
Import template with | Management of the project code | |
... in header | ... on line | |
YES | NO | Header = Value of the header import file |
YES | YES | Header = Value of the header import file |
NO | YES | Header = Blank value |
Deliveries are imported but the return status of these deliveries is set to 'Not returned'. Returned quantities are not taken into account in the import.
For the import to operate properly, the data used in the import and relating to the following tables must already exist:
In this import, the mandatory fields are the following:
Caution, if the storage site and the sales site are not present in the import template, the sites will be determined by the default storage site and sales site of the session that performs the import.
If the sales unit is not mentioned, the determined unit will be first that of the customer, then that of the product.
If this table belongs to the hierarchy, the following fields are mandatory:
Or
The following fields are mandatory depending on the characteristics of the products:
In addition to the generic error messages, the following messages can appear during the entry :
Line no. X, Product Y: the stock to issue has not been determined. N1 document line quantity Processed quantity N2
This error message can appear when the stock details are imported to a delivery (STOJOU file) and this file is incomplete from the point of view of the stock characteristics that need to be mentioned or of the imported quantities compared with the delivered quantity on the line.
This template can be used in import and export modes. The data is updated in the following tables :
Table |
Table description |
---|---|
BPARTNER [BPR] |
|
BPCUSTMVT [MVC] |
Customer transactions |
BPCUSTOMER [BPC] |
|
BPDLVCUST [BPD] |
|
BPSUPPLIER [BPS] |
|
CPTANALIN [CAL] |
Analytical accounting lines |
FACILITY [FCY] |
|
ITMBPC [ITU] |
|
ITMCATEG [ITG] |
|
ITMFACILIT [ITF] |
|
ITMMASTER [ITM] |
|
ITMMVT [ITV] |
Product-site totals |
ITMSALES [ITS] |
|
ITMWRH [ITW] |
|
PRICSTRUCT [PRS] |
|
SALESREP [REP] |
|
SCOMAT [SCM] |
Order sub-contract materials |
SDELIVERY [SDH] |
|
SDELIVERYD [SDD] |
Delivery detail |
SORDER [SOH] |
|
SORDERC [SOC] |
Sales orders - early / late |
SORDERP [SOP] |
Sales orders - price |
SORDERQ [SOQ] |
Sales orders - quantities |
SPREASON [SPR] |
|
SPRICLINK [SPK] |
Sales price list search |
STOALL [STA] |
Allocations |
STOCK [STO] |
Stock |
STOJOU [STJ] |
Stock journal |
STOLOT [STL] |
Lot numbers |
STOPRED [PRE] |
Pick ticket detail |
STOPREH [PRH] |
|
STOREO [REO] |
Reorder |
STOSER [STS] |
Serial numbers |
SVCRFOOT [SVF] |
Sales document - footer el. |
SVCRVAT [SVV] |
Sales document - tax |
TABCOUNTRY [TCY] |
|
TABCUR [TCU] |
|
TABPRTMOD [TPM] |
|
TABSDHTYP [TSD] |
|
TABUNIT [TUN] |
|
WAREHOUSE [WRH] |