2011-07-01 10:17:42 +00:00
|
|
|
# Search Criteria, purchase_in_transit
|
2011-06-08 09:07:15 +00:00
|
|
|
[
|
2011-07-01 10:17:42 +00:00
|
|
|
|
|
|
|
# These values are common in all dictionaries
|
|
|
|
{
|
2012-04-13 06:48:06 +00:00
|
|
|
'creation': '2012-04-11 13:16:55',
|
2011-07-01 10:17:42 +00:00
|
|
|
'docstatus': 0,
|
2012-04-13 06:48:06 +00:00
|
|
|
'modified': '2012-04-13 12:06:15',
|
2012-03-30 12:48:36 +00:00
|
|
|
'modified_by': u'Administrator',
|
|
|
|
'owner': u'Administrator'
|
2011-07-01 10:17:42 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
# These values are common for all Search Criteria
|
2011-06-08 09:07:15 +00:00
|
|
|
{
|
2012-03-30 12:48:36 +00:00
|
|
|
'add_col': u"`tabPurchase Receipt`.`posting_date` AS 'PR Posting Date'",
|
|
|
|
'add_cond': u"`tabPurchase Invoice Item`.`purchase_receipt` = `tabPurchase Receipt`.`name`\n`tabPurchase Receipt`.`posting_date` >= '%(pr_posting_date)s'\n`tabPurchase Receipt`.`posting_date` <= '%(pr_posting_date1)s'\n`tabPurchase Receipt`.`posting_date` > `tabPurchase Invoice`.`posting_date`",
|
|
|
|
'add_tab': u'`tabPurchase Receipt`',
|
2012-04-13 06:48:06 +00:00
|
|
|
'columns': u'Purchase Invoice\x01ID,Purchase Invoice\x01Posting Date,Purchase Invoice\x01Credit To,Purchase Invoice Item\x01Qty,Purchase Invoice Item\x01Amount,Purchase Invoice Item\x01Pur Order,Purchase Invoice Item\x01Pur Receipt',
|
2012-03-30 12:48:36 +00:00
|
|
|
'criteria_name': u'Purchase in Transit',
|
|
|
|
'description': u'List of PR whose posting date is after PV posting date',
|
|
|
|
'dis_filters': u'`tabPurchase Receipt`.`pr_posting_date`',
|
|
|
|
'doc_type': u'Purchase Invoice Item',
|
2011-06-08 09:07:15 +00:00
|
|
|
'doctype': 'Search Criteria',
|
2012-04-13 06:48:06 +00:00
|
|
|
'filters': u'{"Purchase Invoice\\u0001Submitted":1,"Purchase Invoice\\u0001Is Opening":[""],"Purchase Invoice\\u0001Fiscal Year":[""]}',
|
2012-03-30 12:48:36 +00:00
|
|
|
'module': u'Buying',
|
2011-07-01 10:17:42 +00:00
|
|
|
'name': '__common__',
|
2011-06-08 09:07:15 +00:00
|
|
|
'page_len': 50,
|
2012-03-30 12:48:36 +00:00
|
|
|
'parent_doc_type': u'Purchase Invoice',
|
|
|
|
'sort_by': u'`tabPurchase Invoice`.`name`',
|
|
|
|
'sort_order': u'DESC',
|
|
|
|
'standard': u'Yes'
|
2011-07-01 10:17:42 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
# Search Criteria, purchase_in_transit
|
|
|
|
{
|
|
|
|
'doctype': 'Search Criteria',
|
2012-03-30 12:48:36 +00:00
|
|
|
'name': u'purchase_in_transit'
|
2011-06-08 09:07:15 +00:00
|
|
|
}
|
|
|
|
]
|