Export Receipts and Payment Details from Tally using Python - odbc

I am trying to export payment details in a below report format:
Date Agst Ref Party Name Amount
11/25/2019 19-20/1256 ABC 4,145
Extracting Day Books / Transaction Data from Tally using ODBC
The answer in the above link solved 75% of my problem. I was able to extract Date, Party's Ledger Name and Amount. But I am struggling to export the 4th data point "Agst Ref" for both payment and receipt.
I am fine with sending XML export request if exporting it via ODBC route is not possible. In which case I need XML code.
Please assist me because I am stuck on this for a while.

Agst Ref is just $Reference. What do you get when you run the queries?

Related

Different data time zones between R and powerBi Deskop using the same source code in R

I work with gmailR and powerBi and I observe that my email data have different message "time" in Rstudio (correct time UTC+1, same that in gmail account) and PowerBi (wrong time, UTC+0) when I using same query code in both tools.
Screen:
[sorry I don't know how to insert image properly ]
link:
https://ibb.co/TM12Bk1
My query code is based on gmailR, i get specific data in list's from gmail and transform to table (tibble object in R). Then I run code in PowerBi as data source.
I get time from message list, not fuction gm_data (because of cases when this function get null values). Below sample code:
gmail_DK<- msgs_meta_DK %>% {
tibble(
date = map_chr(., "internalDate")
)
and then I change timestamp to normal data time. Sample code:
mutate(date = as.POSIXct(as.numeric(date) /1000, origin="1970-01-01"))
I checked regional settings in PowerBi Deskop and it is correct - UTC+1.
I'm in UTC+1 time zone, gmail account is for UTC+1 (this is customer service email, but as I know all customer agent's are too in UTC+1 time zone) and most of message are from and to UTC+1 users.
I can change this difference using PowerQuery or just add hour in my query code in R, but I'm curious why is this difference happen?

Grafana maps with rockset and dynamodb

Hy all, i am using grafana with rockset to collect real time series form our dynamodb database, but we have the next problem in the plugin maps.
My data with the next query:
select country,real,_event_time from commons.Players
is
'US' '0.5' '2020-05-27T08:40:51.548000Z',
'UK' '0.2' '2020-05-27T08:40:50.548000Z'
I read that i must pase the country code in the group by:
select
country,sum(real) as total ,_event_time
from commons.Players
group by _event_time,country
but this doesn't work, I select the correct type of location data (countries) but impossible to see anything.
I don't have problem with any kind of graph but in the map is impossible to my to see the information. I have read documentation and really I don't understand the query that i must use in this part to see the data.
Thanks for everything.
You didn't post your panel configuration so it is blind guess. Use query:
SELECT
_event_time AS "time",
country AS "code",
real
FROM commons.Players
and configure Map Data Options->Location Data: countries to "translate" 2 letter country code to map coordinates.

How to extract Bills receivable data to excel from tally by ODBC?

I am new to extracting data with ODBC Tally ERP 9.0. I researched and got some help with Exracting Day Books / Transaction Data from Tally using ODBC
Although this solution helps in some way it doesn't fully solves the problem. I want to get data in this format
Date
Party's Ledger Name
Voucher No
Amount
This data should be filtered on only Outstanding Invoices (Invoices which are not paid by Sundry Debtors). The data should also include invoices of previous years (if the bill is outstanding it should be included irrespective of how many years in the past we have to go).
The above solution do addresses the issue getting those 4 columns. However, it does not solve the issue mentioned in the above paragraph. Meaning I getting all the invoices pad or unpaid for the current year and I am getting the data for only the current year.Any help in this is appreciated.
Thanks in advance...
You need to create a collection as below to get receivable bills of company.
[Collection: CMPRecevables]
Type : Bills
Is ODBC Table : YEs
Filter : IsReceivable
Fetch : Name, BillDate, Parent, ClosingBalance
connect this table using odbc and use below query
select $Name, $BillDate, $Parent, $ClosingBalance from CMPRecevables

Exporting Specific Order Details in WooCommerce TXT format

i've been struggling what im going to start to make this function
im looking some plugins that can customize the Export Orders Data, and im using WooCommerce Customer/Order XML Export Suite Extension, And my Company they want to generate it in TXT file not XML file because they need to import the orders data from online woocommerce to local on FoxPro System to update the Stocks in their warehouse inventory.
the format of export should be like this
Example 1
Date Quantity Customer Name Cost Assigned Employee
07/12/17 5 John Doe 5000 MIRIAM
No. Location Product Name
000001 USA iPhone S9 Plus
Example 2
Varation Price Quantity
PC 110 10
PC 200 5
BX 500 3
Thank you.
I know nothing about WooCommerce, but a little web searching tells me that it can Export its data in either XML or CSV (one version of TXT) format.
See: DRAG & DROP WOOCOMMERCE XML & CSV EXPORTS
Perhaps the CSV exported data will be enough to meet your needs.
But if not, I don't know if you have the ability to modify your Foxpro/Visual Foxpro application. If so, you can easily create a utility within your FP/VFP application to either read & import the XML data or to import CSV data.
Once you better understand what options you have, let us know and we can most likely advise you better.
Good Luck

ODBC Microsoft Query BMC Remedy SLM Status Table

I want to use Microsoft Query to pull out stats on incident SLA status that can normally be seen in the SLM Status window. See the pictures below for reference.
However, I am struggling with finding the proper table to get the data from. What table is available to use as a ODBC data source for getting this information?
[
The data you are looking for is stored in the SLM:Measurement form. You'll want the following fields:
SVTTitle (SVT Title) (300411500)
GoalCategoryChar (Incident Response Time) (300426800)
GoalTimeHr (Hours) (300396000)
GoalTimeMin (Min) (300451200)
GoalSchedCost (Cost Per Min) (301489500)
SVTDueDate (Due Date/Time) (300364900)
MeasurementStatus (Progress) (300365100)
ApplicationUserFriendlyID (Incident ID) (301238500)
From what I can tell, the "Next Target Date:" is calculated by Remedy when the SLM dialog is opened using the active links:
SLM:IntegrationDialog:OnLoadSelectTimeBasedTab_SetNextDueDate-Incident
SLM:IntegrationDialog:OnLoadSelectTimeBasedTab_SetNextDueDate-Change
SLM:IntegrationDialog:OnLoadSelectTimeBasedTab_SetNextDueDate-Request
It isn't stored in the table.
Hope this helps!

Resources