Adding validation before exporting PXGrid to excel - acumatica

I have a grid containing employee timecard information which will be exported to excel. I have to find a way to validate that all the employees have timecards approved for the period before allowing the export. Is there any way to manually trigger an excel export? I would then be able to create my own button and validate there.

There is 2 way to do this
1. U must validate the data first on the screen, before u export to xls.
Maybe u can create button process for validate the data, after validate is finish, on the screen just show the clean data what u want, after that u can export to XLS with existing button.
2. U can create button export. On Acumatica u can call the function export to file. I Have tried to generate to CSV. On the button export u can add logic, so when process export u can filter the data first.

Related

How can I write back to source excel files when I get Excel data from data tab?

So, I want to create one Excel file each for every manager with only one single sheet and place it on OneDrive.
In order to get the data in one place, I am creating another excel file called combined.xlsx.
Now, I can export each workbook to a tab using Data -> Get Data -> From File -> From Workbook .
This is great so far. So, I can read data of 10 excelfiles on 10 sheets in combined.xlsx.
Now, I want to modify contents of one of the tabs and make sure it is reflected to the original file. How can I do this?
To elaborate on why it is not possible, you need to understand how Power Query deals with data:
You load your data into Power Query via the "Data" tab. The source can be anything Microsoft allows.
You then manipulate the data any which way in Power Query.
As a last step, you decide if and where to load the results. If you only want to create a connection to the query, you select "Close and Load to", which appears after you click on the arrow next to "Close and Load", and you pick that. Otherwise, the only other options are loading the query results to a table, PivotTable report, PivotChart.
Because the output sheets you have are connected to the query that produced them, any time you refresh the query, whatever manual changes you have made in the table that the query created originally will be wiped out and overwritten with the refreshed data.
If you were able to write back to the source here, you'd in effect
create a circular reference.
Check out this article about having Power Query output your data after manipulating it, maybe it helps.

How I export my Firebase data in Excel Sheet

I want my Firebase database in Excel sheets. I have all these children: Names, Branch, Batch, College as attributes of all users. I want to export these in Excel Sheets.
Here's an example of items in the database:
And this is how I want the Excel Sheet to look:
Export your firebase to JSON. Just click the settings on the right of your database.
Then, convert the JSON to CSV. There are a lot of csv converter online. You can try https://json-csv.com/. Save the csv and open with Excel.
I would like to explain more Since its unclear to some people.
Step 1. Select Realtime Database (You won't find any download button in Cloud Firestore). for that, Select Database > Realtime Database
Step 2. In there, you'll find a three-dotted button in the right top corner. Select your option (Import/ Export)
In the firebase database, you can see export to JSON file, When you export it download it and then use an online converter to change to excel file.
All the answers here are mentioning online converter tools. You can also use Excel's built-in data importer. I found it useful when I have to export it in a excel table.
Say I have the following data:
Similar like other answers, click the triple dot > Export JSON..
Then, open Excel. Go to Data > Get Data > From File... > From JSON
Then, click on Into Table
Click, Close and Load
Result:

Export data from PDF forms to Excel

I have a .pdf form I have created in Adobe Acrobat XI Pro. The form will be distributed and individuals will complete the form and email me a copy at various times.
I need to get the information from the form into an Excel spreadsheet as I receive the forms back.
Is that possible?
Direct answer: "Yes"
A bit more verbose answer: There are several possibilities.
a) Use the "Merge Data Files into Spreadsheet" function, which can be found in the Forms pane in the Tools panel of Acrobat XI (and in the Moreā€¦ dropdown in the Prepare Forms Tool in Acrobat DC). There you specify from which files you want to extract the data, and Acrobat creates an according table.
This is quick and easy, and can process a whole batch of files, but it has the issue that you have no control over the fields you want to export and their order.
b) Use the doc.exportAsText() method on the forms; this will create a tab-delimited file, which you then can merge into your spreadsheet. This would be file per file, but you could create an Action which does run on a whole folder.
c) Use some logic to assemble a tab-delimited text, and create and then export a Data Object (which would be a tab-delimited file, as in case b). This gives you maximum control, and you can even export "calculated" data, which does not exist as such in the form, and/or have full control over the format of an exported field contents. This too is file per file, and could be turned into an Action.

Jira is not recognising my upload from CSV

I'm creating a CSV template for some analysts, they would need to fill it and I then do a bulk upload to Jira.
I want to upload them as defects. The issue I'm facing is:
I have a label when filling out a defect and I want to select one of the options, so for example I have a label called 'Label A' and it has 3 options in a list.
In the excel file I put the top row as 'Label A' and under it for one of the entries I put the full name of one of the options (Displayed on JIRA) for example 'Option A'. But I write this in the excel file as : Option A
But after uploading it does not recognise this and returns a validation error.
This is the same for a tick box label, for e.g. 'Label B'
However any text that I put up, (Something that requires free text and is not a multiple option) like for example 'Summary', I would put any random text e.g. 'abcd', and this will validate fine.
So my question is, what am I doing wrong with the way I'm formatting my CSV for when I upload answers to multiple choice parts of a defect?
I think if you can create a sample issue (like you need to be upload) in jira then you can export(Export all fields) that created issue and analyse the output excel file. then you can understand the input format that jira required form your CSV file.
UPDATED
the other thing you can do is read the JIRA log file it will tell you the actual error occurred some times.
are you export your created issue with this option?..see screenshot below..
The approach will depend on the field types you are using.
For example, if you were loading a simple text field then the text in the CSV file will just be inserted in to the text field.
If, however, you are populating a custom field that is represented by a radio button or a drop-down listbox then you will need to use the field mapping option that is offered during the CSV import.
Say you had a radio button that said either 'true' or 'false'. You would tick the mapping option for this field during the CSV import and configure it to map true -> true and false -> false. You can also do this mapping in the CSV file itself.
You can see more details on this link:
Atlassian - Importing Data from CSV
The approach you can follow is as below:
Count the number of labels in the Issue you are trying to import.
Every label should go into its own separate column for it to be imported properly.
Eg:- If there are 5 labels for an issue, create 5 Labels_CSV(or what suits you) column in the CSV header row and put the 5 labels in the data row.
Once the CSV is created, try to upload it with your existing config file which has mapping for Labels_CSV --> Labels.
Voila, the multiple labels will be imported properly.
Let me know if you have any queries.

Can I create a non-pie chart using Excelwriter and SSRS Integration?

I'm using SoftArtisans ExcelWriter for SSRS (ver 8.6), and am wondering if it is possible to create a (non-pie) chart, e.g. a Stacked Bar chart, that has multiple series?
I can create pie charts easily enough, and that is what the help docs show, but there is no samples for other types of charts for SSRS integration.
The excel template is embedded in the .rdl file, and the spreadsheet is created when the user exports the generated report using OfficeWriter's Excel rendering extension. However the report is run manually by users, so I don't have the ability to execute any code to modify the Excel object before the user sees it.
Can anyone either confirm that only pie charts are possible for SSRS Integration, or provide some insight into how other chart types are possible?
You can create any type of chart that Excel can create, since you are creating your chart in your template file with Excel.
Here is an example of how I setup my template to build a scatter chart (Please ignore the title of the chart, I forgot to rename it from Pie Chart).
I insert a chart into my template, set the type to be scatter, and I placed 4 data markers under my chart, from two data sources.
Next I edit the Chart's series and point them to the data markers in my file. When the template is populated from ExcelWriters SSRS integration, it will replace all the datamarkers with your data, and update the chart's series.
After redeploying the template file to my report server, I can now export the file to Excel for OfficeWriter, and my output is shown below.
Disclaimer: I am a developer on OfficeWriter and work for SoftArtisans the makers of OfficeWriter.
Please let me know if this helps.
You should be able to create any type of chart.
The way that OfficeWriter SSRS integration works (and just the plain Template object for that matter), is that it takes all of your data and inserts it into your data markers. Then it finds references in your workbook that pointed to your data markers, and expands them to point to all of the new inserted data.
So really you can add any type of chart. You just have to make sure that the chart you create points to the data markers as the source data.
A data marker will correspond to a single series or to horizontal axis data. Then as the data is populated, the values in the series are populated.
On our reporting demo page there's a link at the bottom that says "View Report Template" that you can click on to download and Excel file that shows a variety of different charts pointing to data markers.

Resources