RDLC Layout showing the correct number of lines but no data - rdlc

As title, I have created a dataset in NAV2015. I have put a RDLC layout over the top and for some reason the data in the columns will not show. Although the correct number of lines are coming through. So the report is looking at the right place.
The expression used is:
=Fields!CustomerName.Value
and CustomerName maps to a field in my database.
Please could someone offer some insight as to why this is? I am using NAV2015 and SQL report Builder.
Thanks
EDIT:
Data Type Data Source Name Include Caption
DataItem Service Item Line <Service Item Line> No
Column "Service Item Line"."Customer Name" CustomerName Yes
Column "Serial No." SerialNo_ Yes
DataItem Service Line <Service Line> No
DataItem Service Invoice Header <Service Invoice Header> No
Column "Service Invoice Header"."Ship-to Name" CustomerName_inv No
Column "Service Invoice Line"."Service Item Serial No." SerialNo_inv No
DataItem Service Invoice Line <Service Invoice Line> No
The XML can be found here:
https://dl.dropboxusercontent.com/u/32233444/Reports/50100.rdl

The quickest workaround may be to delete your layout and use the "layout suggestion" which will create a working RDLC layout (though not pretty!).
If that report still returns blank, then it's a filtering issue on your report and no lines are coming through from Service Item Line, etc.

Related

How do I get a field in odoo 15 from res.partner module shown in account.move?

In odoo 15 I have created a PDF report for invoices using a custom layout via an external module. The address of the customer is specified at the top left of the first page of the PDF report. The content comes from the record that was created via "Customer" (res.partner) and selected via the field "partner_id". After the selection, the street and postal code as well as city are loaded in the edit view of an invoice and thus transferred to the PDF document.
How can I extend or overwrite the address field in my custom report layout to create an own address field that comes from the customer data (model res.partner)? I have created an additional field there via a module (address_suffix) that can store an address addition. I would like to be able to include this custom field of res.partner in the address field at account.move and in the end into the PDF report.
To illustrate it:
I want this field (address_suffix in res.partner)
can be seen here (account.move):
You can check the OCA partner_address_street3 module. It is similar to yours, it adds a third street field (street3) to store additional address information.
The module extends the address format, so it should automatically show on reports
On your report xm, I think you can try using t-field and using widget contact inside the t-options tag.
Example:
<span t-field="partner_id" t-options='{"widget": "contact", "fields": ["address"]}'/>

Adding Field in Qweb table of odoo 8

There is field account.analytic.line and I want it to be displayed in qweb report.
* Move Line in qweb report
enter image description here
Any code sharing?
I think you have to add new field to your xml file like the others debit, credit, balance for example. If they belong to base addon you should look at related base addon how they did it. But first check py file is value exists?
and look at https://www.odoo.com/documentation/8.0/reference/qweb.html

SMSS: text qualifier in the Tasks > Data Import?

I am trying to import a file, source here and selections here (select all fields and select "Pilkkueroteltu (otsikollinen)" and then click Jatka to download), with two header rows, " as text qualifier, comma as a field separator and with UTF-8 format. I am unable to do this in Micsosoft Server SQL Management Studio. I will focus now only on the text qualifier where " does not work (only reading the first quote as text qualifier).
where I am unable to specify the column separator, no idea why this is occurring.
Update 1
Refresh/Reset buttons fixed the initial preview but I am getting the following preview error in the step Select Source Tables and Views later.
Update 2
I get the LocaleID error The LocaleID 11 is not installed on this system.
(SQL Server Import and Export Wizard). I am getting the same error despite Locale/Code page settings, what is causing this?
How to specify the text qualifier in the MSMM?
I tried to replicate your scene. Very first, I had to delete first heading entry eg : "Kuntien avainluvut 1987-2016"
Please see : sample image
Column delimited is: ,
Might not be accurate answer or different from something which you expect, but by applying above settings, I could import data through SSMS2012
edit : based on comments.
Here is the detailed steps :
next,
next, you need to change column width of first column as it gave me data truncate error
next,
I have also got a dtsx package for the same, but I don't know how can I share it with you here.

Magento API Rest filters

So I have this piece of code below which will sucessfully pull a product and give the XML data for my magento store...
http://mywebsite.com/api/rest/products?type=rest&filter[1][attribute]=name&filter[1][in]=test%20product%20name
However, it will ONLY pull up the product info if I make the product name perfect. If I try to just put in
http://mywebsite.com/api/rest/products?type=rest&filter[1][attribute]=name&filter[1][in]=test
It will not bring ANY products. It was my understanding that if I used the "[in]" filter that it should bring up all products containing the "test" word but it doesnt...
in - "equals any of" - returns items that are equal to the item(s) with the specified attribute(s)
Try to use 'like' ...
http://mywebsite.com/api/rest/products?type=rest&filter[1][attribute]=name&filter[1][like]=%test%

Field Size using SSIS

I'm immporting a csv file with column headers:
ID ProductNumber ProductName
1234 A298384 Whatchamacallit
3949 A293939 Whatchamacallit_Extra
I only need the ID and ProductNumber, when I map the file, I set ProductName to 'ignore'
When the package runs, it errors with the mesage that ProductName will truncate. I don't
understand why its erroring if I set the mapping to 'ignor'
I've also tried to import and have included ProductName, setting the field to Nvarchar (4000), it still errors. I've checked the file, there is no product name more than 54 characters.
I'm using SQL 2005.
Any insight would be helpful
Thanks.
I assume you have some kind of "Flat File Source" as the source connection for your data flow. If so, when you click into it and view columns; is the Productname unchecked?
If you don't want to import the third column, go to advanced tab in your connection manager and delete the last row.
Another way would be to ignore the errors occuring in the error output tab in your flat file task (ingore truncation and failure), but i advice you to use what i wrote above.
Another way to fix this is to go into the Advanced section of the flat file connection manager and set the field length for the last field to something higher than the default 50 that is set for string values if you don't override. Since you say that 54 is your longest data width for that last column use at least that value.
To find where to change this, open the connection manager editor by double clicking the flat file connection. In the box on the left there are four choices "General", "Columns", "Advanced", and "Preview". You will want to click Advanced, then highlight your "ProductName" column, then in the box on the right find "OutputColumnWidth" and set it to at least 54.