For Any issues please email to Ram@ramajayam.in
More SQL queries here
https://github.com/ramajayam-CA/TallyCo ... Accountant
Daybook
For Calculator Panel
Code: Select all
SELECT $Key, $MasterId, $AlterID, $VoucherNumber, $Date, $VoucherTypeName, $Led_Lineno, $Type, $LedgerName, $Amount, $Led_Parent, $Led_Group, $Party_LedName, $Vch_GSTIN, $Led_GSTIN, $Party_GST_Type, $GST_Classification, $Narration, $EnteredBy, $LastEventinVoucher, $UpdatedDate, $UpdatedTime, $Nature_Led, $Led_MID, $CompanyName, $Year_from, $Year_to, $Company_number, $Path FROM A__DayBookCode: Select all
let
Source = Odbc.Query("dsn=TallyODBC64_9000", "SELECT $Key, $MasterId, $AlterID, $VoucherNumber, $Date, $VoucherTypeName, $Led_Lineno, $Type, $LedgerName, $Amount, $Led_Parent, $Led_Group, $Party_LedName, $Vch_GSTIN, $Led_GSTIN, $Party_GST_Type, $GST_Classification, $Narration, $EnteredBy, $LastEventinVoucher, $UpdatedDate, $UpdatedTime, $Nature_Led, $Led_MID, $CompanyName, $Year_from, $Year_to, $Company_number, $Path FROM A__DayBook")
in
Source
For Calculator Panel
Code: Select all
Select $Name, $Createdby, $CreatedDate, $Masterid, $Alterid, $Alteredon, $Alteredby, $Updateddatetime, $LastVoucherDate, $Parent, $$AscrAmt:$openingBalance, $$AscrAmt:$_ClosingBalance from ledger order by $Alterid descCode: Select all
let
Source = Odbc.Query("dsn=TallyODBC64_9000", "Select $Name, $Createdby, $CreatedDate, $Masterid, $Alterid, $Alteredon, $Alteredby, $Updateddatetime, $LastVoucherDate, $Parent, $$AscrAmt:$openingBalance, $$AscrAmt:$_ClosingBalance from ledger order by $Alterid desc")
in
Source
Code: Select all
SELECT $MKey, $Date, $Vch_Type_Parent, $Vendor_Invoice_Number, $Vendor_Invoice_Date, $MVoucher_Number, $TTV_Revenue, $TTV_BalanceSheet, $CgTax, $SgTax, $IgTax, $CessTax, $Vendor_CustomerName, $Vch_GSTIN, $Led_GSTIN, $PlaceOfSupply, $COMPANY_GSTIN FROM AA_T__GSTSheetFor Power Query (Advanced Editor)
Code: Select all
let
Source = Odbc.Query("dsn=TallyODBC64_9000", "SELECT $MKey, $Date, $Vch_Type_Parent, $Vendor_Invoice_Number, $Vendor_Invoice_Date, $MVoucher_Number, $TTV_Revenue, $TTV_BalanceSheet, $CgTax, $SgTax, $IgTax, $CessTax, $Vendor_CustomerName, $Vch_GSTIN, $Led_GSTIN, $PlaceOfSupply, $COMPANY_GSTIN FROM AA_T__GSTSheet")
in
Source
Cost Center
Code: Select all
SELECT $Key, $MasterId, $AlterID, $VoucherNumber, $Date, $VoucherTypeName, $VchTypeParent, $Lineno, $Type, $Particulars, $CC_Name, $CC_Amt, $Led_Group, $Vendor_Inv_Number, $Vendor_Inv_Date, $UpdatedDate, $UpdatedTime, $Nature_Led, $CompanyName, $Year_from, $Year_to, $Company_number, $Path
FROM A_CostCenter