Repack Template
Fields and Field Order:
item_code
: A Link field referencing the "Item" DocType, representing the item code associated with the repack template. It is required.item_name
: A Data field fetched from the "Item" DocType, representing the item name associated with the repack template. It is read-only.item_uom
: A Data field fetched from the "Item" DocType, representing the item's unit of measure. It is read-only.qty
: A Float field representing the quantity associated with the repack template. It is required.repack_template_details
: A Table field representing details or line items related to the repack template. It links to the "Repack Template Detail" DocType and is required.amended_from
: A Link field referencing the "Repack Template" DocType, indicating any amendments made. It is read-only and hidden from printing and copying.default_warehouse
: A Link field referencing the "Warehouse" DocType, representing the default warehouse associated with the repack template. It is required.
Column Breaks and Section Breaks:
column_break_3
: A column break for better layout.section_break_5
,section_break_8
: Section breaks for organizing fields.
Table Configuration:
repack_template_details
Table field links to "Repack Template Detail" DocType, indicating that multiple details can be associated with a single repack template.
Permissions:
The DocType has permissions defined for roles like "System Manager" (create, delete, email, export, print, read, report, share, write).
Search Fields and Sorting:
search_fields
: "item_code, default_warehouse" - Fields used for searching.sort_field
: "modified" - Sorting is based on the modification timestamp.sort_order
: "DESC" - Sorting order is descending.
Title Field:
title_field
: "item_name" - Indicates that "item_name" is used as the title field for the DocType.
Track Changes:
track_changes
: 1 - Indicates that changes to this DocType are tracked.
Purpose:
The "Repack Template" DocType appears to be designed for managing repackaging templates, where items can be associated with specific quantities, details, and default warehouses.
It captures information such as the item code, item name, item UOM, quantity, details related to the repack template in a table, any amendments made, and the default warehouse.
The tracking of changes indicates that the system keeps a record of modifications to repack templates over time.
In summary, "Repack Template" is a document type designed for managing and tracking repackaging templates associated with specific items and quantities in a warehouse management system.