mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
moved directory structure
This commit is contained in:
13
accounts/search_criteria/general_ledger/general_ledger.sql
Normal file
13
accounts/search_criteria/general_ledger/general_ledger.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
SELECT `tabGL Entry`.`posting_date`, CONCAT(`tabGL Entry`.`account`, "~~~", ifnull(`tabGL Entry`.`remarks`, ''), "~~~", ifnull(`tabGL Entry`.`against`,''), "~~~", ifnull(`tabGL Entry`.`voucher_type`, ''), "~~~", ifnull(`tabGL Entry`.`voucher_no`, '')), sum(`tabGL Entry`.`debit`), sum(`tabGL Entry`.`credit`)
|
||||
FROM `tabGL Entry`
|
||||
WHERE `tabGL Entry`.`is_cancelled` LIKE '%(is_cancelled)s%%'
|
||||
AND `tabGL Entry`.`posting_date`>='%(posting_date)s'
|
||||
AND `tabGL Entry`.`posting_date`<='%(posting_date1)s'
|
||||
AND `tabGL Entry`.`company` LIKE '%(company)s%%'
|
||||
AND `tabGL Entry`.`account` LIKE '%(account)s%%'
|
||||
AND `tabGL Entry`.`remarks` LIKE '%(remarks)s%%'
|
||||
AND `tabGL Entry`.`is_opening` LIKE '%(is_opening)s%%'
|
||||
AND `tabGL Entry`.`voucher_no` LIKE '%(voucher_no)s%%'
|
||||
AND `tabGL Entry`.`voucher_type` LIKE '%(voucher_type)s%%'
|
||||
GROUP BY `tabGL Entry`.`voucher_no`,`tabGL Entry`.`account`
|
||||
ORDER BY `tabGL Entry`.`posting_date` DESC
|
||||
Reference in New Issue
Block a user