Butchering record specifications

Butchering record specifications

tp_DecomposeDocumentItems - tp_DecomposeDocumentItems

Object: Butchering record

Field

Name

Description

ddit_ID

ID for: Butchering record specifications

ddit_ddoc_ID

Document

Document. Link to tp_DecomposeDocuments (Butchering records)

ddit_ddit_ID_Parent

Parent

Parent element If the field has the value "NULL", this is a stock item that must be butchered to be used. If the field is not "NULL", this is an ingredient resulting from butchering the stock item.

ddit_pitm_ID

Stock item

Stock item. Link to tp_ProductItems (Stock items)

ddit_meit_ID

Unit of measurement for butchering record specification

Unit of measurement for stock item quantity. Link to tp_MeasureItems (Stock item units of measurement)

ddit_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.

ddit_SumRate

Cost, %

The cost price of the stock item that was created as a result of the butchering will be calculated based on the percentage, which is specified here.

ddit_Comment

Comment

Comment

ddit_Order

Index

Index. This is an info field. It is used to sort out items in the list

ddit_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)

ddit_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.)