© Tillypad, 2008-2015
- tp_WriteOffDocumentItems
Object: Stock adjustment record
Field |
Name |
Description |
---|---|---|
wdit_ID |
ID for: Stock adjustment record specifications | |
wdit_wdit_ID_Parent |
Parent |
Parent If the field's value equals NULL, this is a composed dish. If the field's value is not NULL, this is an ingredient of the recipe. |
wdit_wdoc_ID |
Document |
Document. Link to tp_WriteOffDocuments (Stock adjustment records) |
wdit_pitm_ID |
Stock item |
Stock item. Link to tp_ProductItems (Stock items) |
wdit_meit_ID |
Unit of measurement for stock adjustment record specification |
Unit of measurement for stock item quantity. Link to tp_MeasureItems (Stock item units of measurement) |
wdit_part_ID_Alco |
Manufacturer | |
wdit_patp_ID |
Alcoholic beverage sort | |
wdit_cmmd_ID |
Recipe mode. The Recipe mode field determines whether the recipe will be unfolded when the stock item is added to the store document specification or when it is recalculated. The recipe mode is specified for stock item recipe ingredients and for store document specification items (except for Stock-in and Butchering records). There are three recipe modes: 1. By stock item concurrence – the stock item concurrence determines whether the recipe needs to be unfolded 2. Always without recipe – the stock item is always added without recipe 3. Always with recipe – the recipe of the stock item is always unfolded irrespective of the concurrence. Link to tp_CompoundModes (Recipe modes) | |
wdit_Volume |
Quantity |
Quantity Stored in baseline units of measurement for a given stock item taking into account the ratio in its unit of measurement group. For example, the document might display "Potato" - 200 g The unit of measurement (g) has the ratio 0.001. Therefore, in the base it would be stored as 0.2. |
wdit_Netto |
Net |
Net. Stored in baseline units of measurement for a given stock item taking into account the ratio in its unit of measurement group. For example, the document might display "Potato" - 200 g The unit of measurement (g) has the ratio 0.001. Therefore, in the base it would be stored as 0.2. |
wdit_VolumeOut |
Yield |
Yield of the stock item (preparation wastages are taken into account) Stored in baseline units of measurement for a given stock item taking into account the ratio in its unit of measurement group. For example, the document might display "Potato" - 200 g The unit of measurement (g) has the ratio 0.001. Therefore, in the base it would be stored as 0.2. |
wdit_Price |
Price |
Price |
wdit_Sum |
Total |
Total |
wdit_EditIndex |
Reference field It is used in the interface of editor windows for automatic recalculation of prices, amounts, etc. | |
wdit_Done |
Calculated |
Used for calculation. If a stock item is calculated, the stock on hand has been checked and confirmed. This stock item will not be used in processing during the next calculation. |
wdit_GTD |
Customs declaration number | |
wdit_Comment |
Comment |
Comment |
wdit_Order |
Index |
Index. This is an info field. It is used to sort out items in the list |
wdit_serc_ID |
Store processing result. You need to check the status of the document processing progress. If its status indicates 'Running', the document has not yet been processed. Link to tp_StoreEngineResultCodes (Store document processing errors) | |
wdit_IsDeleted |
When the user deletes a stock item from the specification, the stock item is not immediately deleted from the document. Instead, it is just marked to be deleted. Deletion will take place after the document will have been processed by the storekeeping system if there are no reasons, which prevent this operation (closed period, this item has been deducted, etc.) |