From 17be6e963cf73acadc9a77790e740d481ed2d079 Mon Sep 17 00:00:00 2001 From: Giancarlo Rottoli Date: Thu, 22 Jun 2023 16:13:39 +0200 Subject: [PATCH] Modifica per immagine _SP in SpecialCart --- NKC_WF/Reports/Bin.rdlc | 18 +- NKC_WF/Reports/SpecialParts.rdlc | 14 +- ReportProject/Sauder/Bin per Test Image.rdl | 592 +++++++++ ReportProject/Sauder/Bin.rdl | 18 +- ReportProject/Sauder/Bin_ver_1.4.1.rdl | 503 ++++++++ ReportProject/Sauder/Sauder.rptproj | 32 +- ReportProject/Sauder/SpecialParts.rdl | 14 +- .../Sauder/SpecialParts_Test_Code.rdl | 1085 +++++++++++++++++ ReportProject/Sauder/SpecialParts_v_1.3.1.rdl | 964 +++++++++++++++ 9 files changed, 3218 insertions(+), 22 deletions(-) create mode 100644 ReportProject/Sauder/Bin per Test Image.rdl create mode 100644 ReportProject/Sauder/Bin_ver_1.4.1.rdl create mode 100644 ReportProject/Sauder/SpecialParts_Test_Code.rdl create mode 100644 ReportProject/Sauder/SpecialParts_v_1.3.1.rdl diff --git a/NKC_WF/Reports/Bin.rdlc b/NKC_WF/Reports/Bin.rdlc index 864331a..eeffb00 100644 --- a/NKC_WF/Reports/Bin.rdlc +++ b/NKC_WF/Reports/Bin.rdlc @@ -367,7 +367,7 @@ 0.5in + + + + + + + true + true + + + + + =First(Fields!BinIndexChar.Value) + + + + + + + BinIndexChar + 0.45297cm + 1.7086in + 2.27083in + + + Top + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + =First(Fields!BinDtmxRich.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemExtCode.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!TotItem.Value) + + + + + + + BinDtmxProc + 0.8187in + 0.25in + 2.97049in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemDesc.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + 0.17833in + 2.40278in + 1.7086in + 2.97049in + 1 + + + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!BinDtmxRich.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + +' 2022 https locale +'https://iis01.egalware.com/zcode/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + FitProportional + 0.41131cm + 5.44271in + 1.725in + 1.93333in + 2 + + + + + + true + 0.29167in + 0.00001cm + 2.08333in + 7.37604in + 1 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + true + + + + + =First(Fields!DueDate.Value) + + + + + + + DueDate + 2.52161in + 0.97917in + 7.3622in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Fields!PathImageFull.Value & Parameters!BinImage.Value & ".png" + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + CREATO PARAMETRO CON IL NOME DEL FILE IMMAGINE DA TESTARE + + + + + + + Textbox4 + 0.2175in + 0.25in + 6.52083in + 4 + + + 2pt + 2pt + 2pt + 2pt + + + + true + + + + + + + + + + + + + + + + + + + + + =Fields!ItemExtCode.Value + + + Output + true + + + + stp_prt_Bin + + End + + 0.1343in + 0.00001cm + 9.26503in + 7.37604in + + + + 9.5in + + + + + + + + true + true + + + + + =First(Fields!BinIndexChar.Value) + + + + + + + BinIndexChar + 0.45297cm + 1.7086in + 2.27083in + + + Top + 2pt + 2pt + 2pt + 2pt + + + + + + true + true + + + + + =First(Fields!BinDtmxRich.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemExtCode.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!TotItem.Value) + + + + + + + BinDtmxProc + 0.8187in + 0.25in + 2.97049in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =First(Fields!ItemDesc.Value) + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + 0.17833in + 2.40278in + 1.7086in + 2.97049in + 1 + + + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!BinDtmxRich.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + +' 2022 https locale +'https://iis01.egalware.com/zcode/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + FitProportional + 0.41131cm + 5.44271in + 1.725in + 1.93333in + 2 + + + + + + true + 0.26993in + 0.00001cm + 2.08333in + 7.37604in + 1 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + true + + + + + =First(Fields!DueDate.Value) + + + + + + + DueDate + 2.49987in + 0.97917in + 7.3622in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + + + + + + + + + + + + + + + + + + + + + =Fields!ItemExtCode.Value + + + Output + true + + + + stp_prt_Bin + + End + + 0.1343in + 0.00001cm + 8.86829in + 7.37604in + + + + 9.5in + + + + + + + + + + + + + 2.03125in + + + 1.56925in + + + + + 0.25in + + + + + true + true + + + + + MPR FRAMING KIT REQUIRED DATE + + + + + + + Textbox21 + + + 2pt + 2pt + 2pt + 2pt + + + 2 + + + + + + + 0.55048in + + + + + true + true + + + + + =Fields!ReqDate.Value + + + + + + + ReqDate + + + + Black + + 1pt + + + Black + + 1pt + + Middle + 2pt + 2pt + 2pt + 2pt + + + 2 + + + + + + + 0.25in + + + + + true + true + + + + + Model + + + + + + + Textbox28 + + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Kit Qty + + + + + + + Textbox34 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.53125in + + + + + true + true + + + + + =Fields!ModelCod.Value + + + + + + + ModelCod + + + + Black + + 1pt + + + Black + + 1pt + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + =First(Fields!TotItem.Value) + + + + + + + TotItem + + + + Black + + 1pt + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + After + + + + + + Before + + + Before + + + + stp_prt_SpecialPart + 0.12687in + 0.17161in + 1.58173in + 3.6005in + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + 0.1638in + 3.28643in + 1.7086in + 3.92161in + + + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!DocDtmx.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.0938cm + 0.25691in + 2.6in + 2.6in + 1 + + + + + + true + true + + + + + =First(Fields!CartDtmx.Value) + + + + + + + CartDtmx + 2.66471in + 0.65256cm + 0.25in + 2.6in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Fields!PathImageFull.Value + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Code.ImageWith2("AAA") + +' System.Drawing.Image.FromStream(new System.IO.MemoryStream("http://iis01/NKC/PartsImg/128659-b.png")).Width + +'Fields!PathImageFull.Value & First(Fields!ItemExtCode.Value, "list1_Index") & "_SP.png" + +' viene creata un'immagine apposita da DXF file validation per gli special part con dimensioni diverse + +'System.Drawing.Image.FromStream(new System.IO.MemoryStream(File.ReadAllBytes("C:\\PROGETTI\\REPORTING_2008_SSTD_2010\\Sauder\\Sauder\\143174.png"))).Width + +' =Fields!PathImageFull.Value & First(Fields!ItemExtCode.Value, "list1_Index") & ".png" + + + + + + + Textbox11 + 6.46658cm + 7.95066cm + 0.55562cm + 10.35776cm + 4 + + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + true + 0.01993in + 0.00445cm + 2.91471in + 7.37604in + 1 + + + + + + true + + + + + + =First(Fields!DocID.Value) + + + + + + + DueDate + 3in + 0.02203cm + 2.96896in + 7.3622in + 2 + + + Top + 2pt + 2pt + 2pt + 2pt + + + + + + + 2.80208in + + + 2.90366in + + + + + 0.21875in + + + + + true + true + + + + + =Code.ImageWith("AAA") + +' System.Drawing.Image.FromStream(new System.IO.MemoryStream("http://iis01/NKC/PartsImg/128659-b.png")).Width + +'Fields!PathImageFull.Value & First(Fields!ItemExtCode.Value, "list1_Index") & "_SP.png" + +' viene creata un'immagine apposita da DXF file validation per gli special part con dimensioni diverse + +'System.Drawing.Image.FromStream(new System.IO.MemoryStream(File.ReadAllBytes("C:\\PROGETTI\\REPORTING_2008_SSTD_2010\\Sauder\\Sauder\\143174.png"))).Width + +' =Fields!PathImageFull.Value & First(Fields!ItemExtCode.Value, "list1_Index") & ".png" + + + + + + + Textbox11 + + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Plant destination + + + + + + + Textbox12 + + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.58681in + + + + + true + true + + + + + =Fields!ItemExtCode.Value + + + + + + + ItemExtCode + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!DestPlant.Value + + + + + + + DestPlant + + + + Black + + 1pt + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + After + + + + + + + stp_prt_SpecialPart + 9.15in + 0.82in + 0.80556in + 5.70574in + 3 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + + + + + + + + + + + + + + + + + + =Fields!ItemExtCode.Value + + + Output + true + + + + stp_prt_SpecialPart + + End + + 0.0093in + 0.00001cm + 9.9907in + 7.37954in + + + + 10in + + + + + + + + + + + + + 2.03125in + + + 1.56925in + + + + + 0.25in + + + + + true + true + + + + + MPR FRAMING KIT REQUIRED DATE + + + + + + + Textbox21 + + + 2pt + 2pt + 2pt + 2pt + + + 2 + + + + + + + 0.55048in + + + + + true + true + + + + + =Fields!ReqDate.Value + + + + + + + ReqDate + + + + Black + + 1pt + + + Black + + 1pt + + Middle + 2pt + 2pt + 2pt + 2pt + + + 2 + + + + + + + 0.25in + + + + + true + true + + + + + Model + + + + + + + Textbox28 + + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Kit Qty + + + + + + + Textbox34 + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.53125in + + + + + true + true + + + + + =Fields!ModelCod.Value + + + + + + + ModelCod + + + + Black + + 1pt + + + Black + + 1pt + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + =First(Fields!TotItem.Value) + + + + + + + TotItem + + + + Black + + 1pt + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + After + + + + + + Before + + + Before + + + + stp_prt_SpecialPart + 0.12687in + 0.17161in + 1.58173in + 3.6005in + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + 0.1638in + 3.28643in + 1.7086in + 3.92161in + + + + + + External + =Replace(Fields!QRCodeBaseUrl.Value.ToString(),"QRCODEVALUE",Fields!DocDtmx.Value.ToString()) + +' la stringa nel Campo è https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':\['QRCODEVALUE'\]} +' dove la \ prima della [ serve perchè è una stringa quindi si trasforma poi in +' https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'{0}','parameters':['QRCODEVALUE']} + + +'https://qrcode.steamware.net/HOME/QR_site/JSON?val={'baseUrl':'http://10.74.82.219/StockMan/STEA/Items/Details/{0}?StockItemID={0}','parameters':['VARIABILE']} + FitProportional + 0.0938cm + 0.25691in + 2.6in + 2.6in + 1 + + + + + + true + true + + + + + =First(Fields!CartDtmx.Value) + + + + + + + CartDtmx + 2.66471in + 0.65256cm + 0.25in + 2.6in + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Fields!PathImageFull.Value + + + 2pt + 2pt + 2pt + 2pt + + + + true + 0.01993in + 0.00445cm + 2.91471in + 7.37604in + 1 + + + + + + true + + + + + + =First(Fields!DocID.Value) + + + + + + + DueDate + 3in + 0.02203cm + 2.96896in + 7.3622in + 2 + + + Top + 2pt + 2pt + 2pt + 2pt + + + + + + + 2.80208in + + + 2.90366in + + + + + 0.21875in + + + + + true + true + + + + + Part number + + + + + + + Textbox11 + + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Plant destination + + + + + + + Textbox12 + + + + Black + + 1pt + + + Black + + 1pt + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.58681in + + + + + true + true + + + + + =Fields!ItemExtCode.Value + + + + + + + ItemExtCode + + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!DestPlant.Value + + + + + + + DestPlant + + + + Black + + 1pt + + Middle + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + After + + + + + + + stp_prt_SpecialPart + 9.15in + 0.82in + 0.80556in + 5.70574in + 3 + + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + Black + + 1pt + + + + + true + + + + + + + + + + + + + + + + + + + + + =Fields!ItemExtCode.Value + + + Output + true + + + + stp_prt_SpecialPart + + End + + 0.0093in + 0.00001cm + 9.9907in + 7.37954in + + + + 10in +