# DocType, Advance Allocation Detail
[

	# These values are common in all dictionaries
	{
		'creation': '2010-08-08 17:08:51',
		'docstatus': 0,
		'modified': '2010-09-20 14:06:57',
		'modified_by': 'umair@iwebnotes.com',
		'owner': 'Administrator'
	},

	# These values are common for all DocType
	{
		'colour': 'White:FFF',
		'doctype': 'DocType',
		'istable': 1,
		'module': 'Accounts',
		'name': '__common__',
		'section_style': 'Tray',
		'server_code_error': ' ',
		'show_in_menu': 0,
		'version': 20
	},

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

	# DocType, Advance Allocation Detail
	{
		'doctype': 'DocType',
		'name': 'Advance Allocation Detail'
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldname': 'journal_voucher',
		'fieldtype': 'Link',
		'idx': 1,
		'label': 'Journal Voucher',
		'no_copy': 1,
		'oldfieldname': 'journal_voucher',
		'oldfieldtype': 'Link',
		'options': 'Journal Voucher',
		'permlevel': 1,
		'width': '180px'
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldname': 'jv_detail_no',
		'fieldtype': 'Date',
		'hidden': 1,
		'idx': 2,
		'label': 'Journal Voucher Detail No',
		'no_copy': 1,
		'oldfieldname': 'jv_detail_no',
		'oldfieldtype': 'Date',
		'permlevel': 1,
		'print_hide': 1,
		'width': '80px'
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldname': 'advance_amount',
		'fieldtype': 'Currency',
		'idx': 3,
		'label': 'Advance Amount',
		'no_copy': 1,
		'oldfieldname': 'advance_amount',
		'oldfieldtype': 'Currency',
		'permlevel': 1,
		'width': '100px'
	},

	# DocField
	{
		'colour': 'White:FFF',
		'doctype': 'DocField',
		'fieldname': 'allocated_amount',
		'fieldtype': 'Currency',
		'idx': 4,
		'label': 'Allocated Amount',
		'no_copy': 1,
		'oldfieldname': 'allocated_amount',
		'oldfieldtype': 'Currency',
		'permlevel': 0,
		'trigger': 'Client',
		'width': '100px'
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldname': 'tds_amount',
		'fieldtype': 'Currency',
		'idx': 5,
		'label': 'TDS Amount',
		'oldfieldname': 'tds_amount',
		'oldfieldtype': 'Currency',
		'permlevel': 1,
		'width': '80px'
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldname': 'tds_allocated',
		'fieldtype': 'Currency',
		'idx': 6,
		'label': 'TDS Allocated',
		'oldfieldname': 'tds_allocated',
		'oldfieldtype': 'Currency',
		'permlevel': 1,
		'width': '80px'
	},

	# DocField
	{
		'doctype': 'DocField',
		'fieldname': 'remarks',
		'fieldtype': 'Small Text',
		'idx': 7,
		'label': 'Remarks',
		'no_copy': 1,
		'oldfieldname': 'remarks',
		'oldfieldtype': 'Small Text',
		'permlevel': 1,
		'width': '150px'
	}
]