# DocType, Stock Entry
[

	# These values are common in all dictionaries
	{
		'creation': '2010-08-08 17:09:25',
		'docstatus': 0,
		'modified': '2012-01-24 19:47:47',
		'modified_by': 'Administrator',
		'owner': 'Administrator'
	},

	# These values are common for all DocType
	{
		'_last_update': '1325570647',
		'allow_attach': 0,
		'allow_copy': 0,
		'allow_email': 0,
		'allow_print': 0,
		'allow_rename': 0,
		'allow_trash': 0,
		'colour': 'White:FFF',
		'default_print_format': 'Standard',
		'doctype': 'DocType',
		'hide_heading': 0,
		'hide_toolbar': 0,
		'in_create': 0,
		'in_dialog': 0,
		'is_transaction_doc': 0,
		'issingle': 0,
		'max_attachments': 0,
		'module': 'Stock',
		'name': '__common__',
		'print_outline': 'No',
		'read_only': 0,
		'read_only_onload': 0,
		'search_fields': 'transfer_date, from_warehouse, to_warehouse, purpose, remarks',
		'section_style': 'Tabbed',
		'server_code_error': ' ',
		'show_in_menu': 0,
		'subject': '%(remarks)s',
		'tag_fields': 'purpose',
		'use_template': 0,
		'version': 248
	},

	# These values are common for all DocField
	{
		'doctype': 'DocField',
		'name': '__common__',
		'parent': 'Stock Entry',
		'parentfield': 'fields',
		'parenttype': 'DocType'
	},

	# These values are common for all DocPerm
	{
		'doctype': 'DocPerm',
		'name': '__common__',
		'parent': 'Stock Entry',
		'parentfield': 'permissions',
		'parenttype': 'DocType',
		'read': 1
	},

	# DocType, Stock Entry
	{
		'doctype': 'DocType',
		'name': 'Stock Entry'
	},

	# DocPerm
	{
		'amend': 0,
		'cancel': 0,
		'create': 0,
		'doctype': 'DocPerm',
		'permlevel': 1,
		'role': 'Material Manager',
		'submit': 0,
		'write': 0
	},

	# DocPerm
	{
		'amend': 0,
		'cancel': 0,
		'create': 0,
		'doctype': 'DocPerm',
		'permlevel': 1,
		'role': 'Material User',
		'submit': 0,
		'write': 0
	},

	# DocPerm
	{
		'amend': 1,
		'cancel': 1,
		'create': 1,
		'doctype': 'DocPerm',
		'permlevel': 0,
		'role': 'Production User',
		'submit': 1,
		'write': 1
	},

	# DocPerm
	{
		'amend': 0,
		'cancel': 0,
		'create': 0,
		'doctype': 'DocPerm',
		'permlevel': 1,
		'role': 'Production User',
		'submit': 0,
		'write': 0
	},

	# DocPerm
	{
		'amend': 0,
		'cancel': 0,
		'create': 0,
		'doctype': 'DocPerm',
		'permlevel': 2,
		'role': 'Production User',
		'submit': 0,
		'write': 1
	},

	# DocPerm
	{
		'amend': 1,
		'cancel': 1,
		'create': 1,
		'doctype': 'DocPerm',
		'permlevel': 0,
		'role': 'Production Manager',
		'submit': 1,
		'write': 1
	},

	# DocPerm
	{
		'amend': 0,
		'cancel': 0,
		'create': 0,
		'doctype': 'DocPerm',
		'permlevel': 1,
		'role': 'Production Manager',
		'submit': 0,
		'write': 0
	},

	# DocPerm
	{
		'amend': 0,
		'cancel': 0,
		'create': 0,
		'doctype': 'DocPerm',
		'permlevel': 2,
		'role': 'Production Manager',
		'submit': 0,
		'write': 1
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldtype': 'Section Break',
		'label': 'Warehouse',
		'oldfieldtype': 'Section Break',
		'permlevel': 0
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldtype': 'Column Break',
		'oldfieldtype': 'Column Break',
		'permlevel': 0,
		'width': '50%'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'description': 'To manage multiple series please go to Setup > Manage Series',
		'doctype': 'DocField',
		'fieldname': 'naming_series',
		'fieldtype': 'Select',
		'in_filter': 0,
		'label': 'Series',
		'no_copy': 1,
		'oldfieldname': 'naming_series',
		'oldfieldtype': 'Select',
		'options': 'STE',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 1,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'description': 'The date at which current entry is corrected in the system.',
		'doctype': 'DocField',
		'fieldname': 'amendment_date',
		'fieldtype': 'Date',
		'in_filter': 0,
		'label': 'Amendment Date',
		'no_copy': 1,
		'oldfieldname': 'amendment_date',
		'oldfieldtype': 'Date',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'purpose',
		'fieldtype': 'Select',
		'in_filter': 1,
		'label': 'Purpose',
		'no_copy': 0,
		'oldfieldname': 'purpose',
		'oldfieldtype': 'Select',
		'options': 'Material Issue\nMaterial Receipt\nMaterial Transfer\nSales Return\nPurchase Return\nSubcontracting\nProduction Order',
		'permlevel': 0,
		'report_hide': 0,
		'reqd': 1,
		'search_index': 0,
		'trigger': 'Client'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'delivery_note_no',
		'fieldtype': 'Link',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Delivery Note No',
		'no_copy': 0,
		'oldfieldname': 'delivery_note_no',
		'oldfieldtype': 'Link',
		'options': 'Delivery Note',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 1,
		'trigger': 'Client'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'purchase_receipt_no',
		'fieldtype': 'Link',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Purchase Receipt No',
		'no_copy': 0,
		'oldfieldname': 'purchase_receipt_no',
		'oldfieldtype': 'Link',
		'options': 'Purchase Receipt',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 1,
		'trigger': 'Client'
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldname': 'sales_invoice_no',
		'fieldtype': 'Link',
		'hidden': 1,
		'label': 'Sales Invoice No',
		'options': 'Receivable Voucher',
		'permlevel': 0,
		'print_hide': 1
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'supplier',
		'fieldtype': 'Link',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Supplier',
		'no_copy': 0,
		'oldfieldname': 'supplier',
		'oldfieldtype': 'Link',
		'options': 'Supplier',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0,
		'trigger': 'Client'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'supplier_name',
		'fieldtype': 'Data',
		'in_filter': 0,
		'label': 'Supplier Name',
		'no_copy': 0,
		'oldfieldname': 'supplier_name',
		'oldfieldtype': 'Data',
		'permlevel': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'supplier_address',
		'fieldtype': 'Small Text',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Supplier Address',
		'no_copy': 0,
		'oldfieldname': 'supplier_address',
		'oldfieldtype': 'Small Text',
		'permlevel': 0,
		'report_hide': 0,
		'search_index': 0,
		'trigger': 'Client'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'customer',
		'fieldtype': 'Link',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Customer',
		'no_copy': 0,
		'oldfieldname': 'customer',
		'oldfieldtype': 'Link',
		'options': 'Customer',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0,
		'trigger': 'Client'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'customer_name',
		'fieldtype': 'Data',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Customer Name',
		'no_copy': 0,
		'oldfieldname': 'customer_name',
		'oldfieldtype': 'Data',
		'permlevel': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'customer_address',
		'fieldtype': 'Small Text',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Customer Address',
		'no_copy': 0,
		'oldfieldname': 'customer_address',
		'oldfieldtype': 'Small Text',
		'permlevel': 0,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'process',
		'fieldtype': 'Select',
		'hidden': 1,
		'in_filter': 1,
		'label': 'Process',
		'no_copy': 0,
		'oldfieldname': 'process',
		'oldfieldtype': 'Select',
		'options': '\nMaterial Transfer\nBackflush',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0,
		'trigger': 'Client'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'production_order',
		'fieldtype': 'Link',
		'hidden': 1,
		'in_filter': 1,
		'label': 'Production Order',
		'no_copy': 0,
		'oldfieldname': 'production_order',
		'oldfieldtype': 'Link',
		'options': 'Production Order',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 1,
		'trigger': 'Client'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'fg_completed_qty',
		'fieldtype': 'Currency',
		'in_filter': 0,
		'label': 'FG Completed Qty',
		'no_copy': 0,
		'oldfieldname': 'fg_completed_qty',
		'oldfieldtype': 'Currency',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0,
		'trigger': 'Client'
	},

	# DocField
	{
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldtype': 'HTML',
		'label': 'Warehouse HTML',
		'no_copy': 0,
		'oldfieldtype': 'HTML',
		'options': "<div class='columnHeading'>Warehouse</div>",
		'permlevel': 0,
		'print_hide': 1
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'from_warehouse',
		'fieldtype': 'Link',
		'in_filter': 0,
		'label': 'Source Warehouse',
		'no_copy': 0,
		'oldfieldname': 'from_warehouse',
		'oldfieldtype': 'Link',
		'options': 'Warehouse',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 0,
		'search_index': 0,
		'trigger': 'Client'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'description': '<b>Notes:</b> Either Source or Target is Mandatory',
		'doctype': 'DocField',
		'fieldname': 'to_warehouse',
		'fieldtype': 'Link',
		'in_filter': 0,
		'label': 'Target Warehouse',
		'no_copy': 0,
		'oldfieldname': 'to_warehouse',
		'oldfieldtype': 'Link',
		'options': 'Warehouse',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 0,
		'search_index': 0,
		'trigger': 'Client'
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldname': 'project_name',
		'fieldtype': 'Link',
		'in_filter': 1,
		'label': 'Project Name',
		'oldfieldname': 'project_name',
		'oldfieldtype': 'Link',
		'options': 'Project',
		'permlevel': 0
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldtype': 'Column Break',
		'oldfieldtype': 'Column Break',
		'permlevel': 0,
		'width': '50%'
	},

	# DocField
	{
		'allow_on_submit': 0,
		'default': 'Today',
		'doctype': 'DocField',
		'fieldname': 'transfer_date',
		'fieldtype': 'Date',
		'in_filter': 1,
		'label': 'Transfer Date',
		'no_copy': 1,
		'oldfieldname': 'transfer_date',
		'oldfieldtype': 'Date',
		'permlevel': 0,
		'print_hide': 0,
		'report_hide': 0,
		'reqd': 1,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'description': 'The date at which current entry will get or has actually executed.',
		'doctype': 'DocField',
		'fieldname': 'posting_date',
		'fieldtype': 'Date',
		'in_filter': 1,
		'label': 'Posting Date',
		'no_copy': 1,
		'oldfieldname': 'posting_date',
		'oldfieldtype': 'Date',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 1,
		'search_index': 1
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'posting_time',
		'fieldtype': 'Time',
		'in_filter': 0,
		'label': 'Posting Time',
		'no_copy': 1,
		'oldfieldname': 'posting_time',
		'oldfieldtype': 'Time',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 1,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'amended_from',
		'fieldtype': 'Link',
		'in_filter': 0,
		'label': 'Amended From',
		'no_copy': 1,
		'oldfieldname': 'amended_from',
		'oldfieldtype': 'Link',
		'options': 'Stock Entry',
		'permlevel': 1,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'transporter',
		'fieldtype': 'Data',
		'in_filter': 0,
		'label': 'Transporter',
		'no_copy': 0,
		'oldfieldname': 'transporter',
		'oldfieldtype': 'Data',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'is_excisable_goods',
		'fieldtype': 'Select',
		'in_filter': 0,
		'label': 'Is Excisable Goods',
		'no_copy': 0,
		'oldfieldname': 'is_excisable_goods',
		'oldfieldtype': 'Select',
		'options': '\nYes\nNo',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'excisable_goods',
		'fieldtype': 'Select',
		'in_filter': 0,
		'label': 'Excisable Goods',
		'no_copy': 0,
		'oldfieldname': 'excisable_goods',
		'oldfieldtype': 'Select',
		'options': '\nReturnable\nNon-Returnable',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'under_rule',
		'fieldtype': 'Select',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Under Rule',
		'no_copy': 0,
		'oldfieldname': 'under_rule',
		'oldfieldtype': 'Select',
		'options': '\nOrdinary\n57 AC (5) a\n57 F (2) Non-Exc.',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'remarks',
		'fieldtype': 'Text',
		'in_filter': 0,
		'label': 'Remarks',
		'no_copy': 1,
		'oldfieldname': 'remarks',
		'oldfieldtype': 'Text',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 1,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'cancel_reason',
		'fieldtype': 'Data',
		'hidden': 1,
		'in_filter': 0,
		'label': 'Cancel Reason',
		'no_copy': 1,
		'oldfieldname': 'cancel_reason',
		'oldfieldtype': 'Data',
		'permlevel': 1,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 0,
		'search_index': 0
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldtype': 'Section Break',
		'label': 'Items',
		'oldfieldtype': 'Section Break',
		'permlevel': 0
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldtype': 'Button',
		'label': 'Get Stock and Rate',
		'oldfieldtype': 'Button',
		'options': 'get_stock_and_rate',
		'permlevel': 0,
		'print_hide': 1
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldtype': 'Column Break',
		'oldfieldtype': 'Column Break',
		'permlevel': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldtype': 'Button',
		'hidden': 0,
		'in_filter': 0,
		'label': 'Get Items',
		'no_copy': 0,
		'oldfieldtype': 'Button',
		'options': 'get_items',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldtype': 'Section Break',
		'oldfieldtype': 'Section Break',
		'options': 'Simple',
		'permlevel': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'mtn_details',
		'fieldtype': 'Table',
		'in_filter': 0,
		'label': 'MTN Details',
		'no_copy': 0,
		'oldfieldname': 'mtn_details',
		'oldfieldtype': 'Table',
		'options': 'Stock Entry Detail',
		'permlevel': 0,
		'print_hide': 0,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'total_amount',
		'fieldtype': 'Currency',
		'in_filter': 0,
		'label': 'Total Amount',
		'no_copy': 0,
		'oldfieldname': 'total_amount',
		'oldfieldtype': 'Currency',
		'permlevel': 1,
		'print_hide': 1,
		'report_hide': 0,
		'search_index': 0
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldtype': 'Section Break',
		'label': 'Other Details',
		'oldfieldtype': 'Section Break',
		'permlevel': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'company',
		'fieldtype': 'Link',
		'in_filter': 1,
		'label': 'Company',
		'no_copy': 0,
		'oldfieldname': 'company',
		'oldfieldtype': 'Link',
		'options': 'Company',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 1,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'fiscal_year',
		'fieldtype': 'Select',
		'in_filter': 0,
		'label': 'Fiscal Year',
		'no_copy': 0,
		'oldfieldname': 'fiscal_year',
		'oldfieldtype': 'Select',
		'options': 'link:Fiscal Year',
		'permlevel': 0,
		'print_hide': 1,
		'report_hide': 0,
		'reqd': 1,
		'search_index': 0
	},

	# DocField
	{
		'allow_on_submit': 0,
		'doctype': 'DocField',
		'fieldname': 'select_print_heading',
		'fieldtype': 'Link',
		'in_filter': 0,
		'label': 'Select Print Heading',
		'no_copy': 0,
		'oldfieldname': 'select_print_heading',
		'oldfieldtype': 'Link',
		'options': 'Print Heading',
		'permlevel': 0,
		'report_hide': 0,
		'search_index': 0
	}
]