Business Central, VAT amount line on sales invoice - invoice

I would like to put VAT amount line on a sales invoice report. I created a custom report layout and added all the fields I want show on the sales invoice.
Somehow, the VatAmount_VatAmountLine works only for the first row of the booked sales invoice. This is with an iterative Line in the sales invoice.
Whenever I create a custom report layout with only the VatAmount_VatAmountLine, with an iterative VATAmountLine, it works perfectly fine.
But I need to combine those two into one table. Can somebody please explain how this works? It is hard to believe this is impossible.
Thanks in advance!

You can create new dataitem on the report dataset, combining sales invoice lines and vat lines.
You can also try to place closely two repeater rows on the first-row print sales invoice lines on the second-row print vat lines
Why do you want to print it on the same table?

Related

Google Datastudio show empty row combinations

I am creating a Google Data Studio report for a car dealership and I have a problem.
I have made these 3 screenshots to illustrate:
If you see on the first screenshot, the datasource is pretty simple, used/new indicates weather the car being sold is new or used and if it is a sportscar or family car, and exchange/clean deal indicates weather the dealership takes/buys the customers old car in for a trade off in price. The rest should be self explanatory.
On screenshot2-3 you see my report, I have one table for each salesperson and it shows the amount of sales for each combination that has sales.
The problem is this, I want the tables to show each combination even if it does not have any sales at all, it should just show 0 then in record count. Like Mike on the left has more combinations than john, I still want Johns table to show those combinations just with a 0 then, and it should be sorted the same on each table so they look the same, just different data in the cells.
Is this possible to do?
To solve this problem, you need to make a combination of data, from the database with itself. Your main analysis dimension, which will generate your combinations, is used/new and Exchange/Clean deal. So your combination should be:
The filter defined in the second database (right base) must contain a filter telling which person the table will be destined for. So, for each table, you must make a new combination that contains the person-specific filter.
I just took a sample from your original database (10 first lines) and the result is:

subtotal with product condition after applying date filter on google sheet

I am struggling to find the right formula for my table. I have a database that I want to filter per date and get the total of each product on a different page.
As I need to prepare these products per day I would like to avoid counting every product by hand.
I have this formula =SUMIF(E40:E52,"Reese - box of 4*",D40:D52)that work without filter.
How can I do this function with filter?
image
My second question is about when an order as more than one product.Like here, we have a box of 4 that contains the product behind.
image
How can I get a count of the total number of each product, applying the filter option as well?
Thanks a lot for your help!

"Relationship may be needed" although relationship is set

I have two simple table in Excel 2010 - Products and Sales:
I then linked them into PowerPivot - and here created the relationship from Sales.ProductId to Products.Id - like this:
Now I'm trying to build a Pivot that for each productId in the Sales table also shows me the Category and the PurchasePrice from the ProductTable. However, here I'm stuck - because the relationship is somehow faulty. When configuring the Pivot, I get a message Relationship may be needed even if the relationship already exists. The resulting - wrong - pivot table looks like this:
though I'm actually trying to achieve this:
I know that I could create calculated columns in the Sales table of PowerPivot and pull all required data using the RELATED DAX function - but as the real world project requires a lot of joins and fields I'm hoping that there's a better solution than this workaround...
I uploaded the example file here.
Peter,
Your question was a bit more tricky than I first though and I spent quite some time digging around, but I think I found the solution after reading this article about making distinct count in related tables.
I have updated your source file (so that Sales table contains more than 1 sales per product) and uploaded it to my public Dropbox folder.
You can see that I created 4 new calculated measures to illustrate my solution and to make it a bit easier to understand (Excel 2010 terminology, in 2013 it's Calculated Field):
Sales Price Total
=SUM(Sales[SalesPrice])
Products Sold
=COUNT(Sales[ProductId])
Purchase Price per Item
=CALCULATE(SUM(Products[PurchasePrice]),Sales)
Purchase Price Total
=[Purchase Price per Item] * [Product Sold]
The key difference here is the formula for calculating purchase price per item. The reason why you should SUM the product purchase price within CALCULATE function is explained in great detail in the linked article (even though in a bit different context):
In this way, any filter active on Sales (the related table) propagates
to the lookup table.
There might be some other parts I missed, but I have tried this in couple other examples and it simply works as it should:

Is there a way to import aggregated sales into quickbooks

Is there a way to import aggregated sales into quickbooks using the webconnector.
For example. I have 500 dollars in sales, 300 dollars in liquer sales, and 200 dollars in discounts.
How do I import this data. Do i need to import all the line items and have quickbooks sum it up (which is terrible i feel).
Or can i just import the rolled up data?
If i can do the rolled up data, how would i do that? If not how do i have quickbooks magically sum up the line items?
If you create an invoice with a bunch of line items, it's always going to automatically sum up all of the line items to show the total invoice amount/balance.
With that said, if you simply don't want the actual line item detail to go into QuickBooks, there's a number of ways you can do that, but you should probably talk to your accountant first or actually find out how the accountant wants the data entered into QuickBooks first.
e.g. your question doesn't really sound programming related, it's more of a "how do I use QuickBooks question".
The most common ways of not sending line item detail are to either:
Just send an invoice with a single line item, for the sum of all of the stuff
OR
Send a Journal Entry, which is a base-level transaction that only allows a single amount

How to put the value of multiple cells in another sheet from a reference code

this is the problem: I have two worksheets, one that records and discriminates revenues and expenses:
And other that contains a table with the price, revenue and taxes for each product:
Now, I need function that receives the code (or the description name) of a product on the first worksheet and put the values ​​(income, taxes, price) available in the second worksheet, this way:
I thought of such a solution, but it gives me a parsing error:
So if you can share a little of your intelligence and mental power with me, I'll be grateful until the nex aeon.
Have you tried =VLOOKUP(B4,tax_table!A:F,2,FALSE) ?

Resources