From 21d33a15d525e4b9cfa8a3f0bf6d403e92ed20f2 Mon Sep 17 00:00:00 2001 From: "DHIRENCHHAPD819\\DhirenChhapgar" Date: Mon, 18 Dec 2017 21:19:28 -0500 Subject: [PATCH] Inventory Item Label to print one label per unit of each item received --- .../_project/Code_PopulateUsrNumbers.xml | 28 + .../_project/Code_UsrNumbers.xml | 18 + .../_project/ProjectMetadata.xml | 2 + .../_project/REPORT_IN619201_RPX.xml | 1059 +++++++++++++++++ ...e_306a7838_4a36_42c7_8dc1_3a500d80cb3d.xml | 32 + .../_project/Sql_UsrNumbers.xml | 8 + LICENSE.md | 25 + PXInventoryLabelReportExtPkg.zip | Bin 0 -> 5149 bytes README.md | 31 +- 9 files changed, 1202 insertions(+), 1 deletion(-) create mode 100644 CustomizationSource/_project/Code_PopulateUsrNumbers.xml create mode 100644 CustomizationSource/_project/Code_UsrNumbers.xml create mode 100644 CustomizationSource/_project/ProjectMetadata.xml create mode 100644 CustomizationSource/_project/REPORT_IN619201_RPX.xml create mode 100644 CustomizationSource/_project/SiteMapNode_306a7838_4a36_42c7_8dc1_3a500d80cb3d.xml create mode 100644 CustomizationSource/_project/Sql_UsrNumbers.xml create mode 100644 LICENSE.md create mode 100644 PXInventoryLabelReportExtPkg.zip diff --git a/CustomizationSource/_project/Code_PopulateUsrNumbers.xml b/CustomizationSource/_project/Code_PopulateUsrNumbers.xml new file mode 100644 index 0000000..cb2eb23 --- /dev/null +++ b/CustomizationSource/_project/Code_PopulateUsrNumbers.xml @@ -0,0 +1,28 @@ + + >>.Select(new PXGraph()); + + if (usrNumberMax != null) + { + for (int i = (usrNumberMax.Number.GetValueOrDefault(0) + 1); i <= iNumberOfLabels; i++) + { + PXDatabase.Insert(new PXDataFieldAssign(i)); + } + } + } + } +}]]> + \ No newline at end of file diff --git a/CustomizationSource/_project/Code_UsrNumbers.xml b/CustomizationSource/_project/Code_UsrNumbers.xml new file mode 100644 index 0000000..01377fd --- /dev/null +++ b/CustomizationSource/_project/Code_UsrNumbers.xml @@ -0,0 +1,18 @@ + + + \ No newline at end of file diff --git a/CustomizationSource/_project/ProjectMetadata.xml b/CustomizationSource/_project/ProjectMetadata.xml new file mode 100644 index 0000000..772971d --- /dev/null +++ b/CustomizationSource/_project/ProjectMetadata.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/CustomizationSource/_project/REPORT_IN619201_RPX.xml b/CustomizationSource/_project/REPORT_IN619201_RPX.xml new file mode 100644 index 0000000..158b65e --- /dev/null +++ b/CustomizationSource/_project/REPORT_IN619201_RPX.xml @@ -0,0 +1,1059 @@ + + + False + + + RowINRegister.RefNbr + @RefNbr + + + RowINRegister.DocType + @DocType + + + 4px, 4px + False + + + ='R' + DocType + False + + + RefNbr + True + Receipt Ref. Number + True + =Report.GetFieldSchema('RowINRegister.RefNbr,DocType') + + + + + RowINTran + Inner + + + DocType + DocType + + + RefNbr + RefNbr + + + RowINRegister + + + RowInventoryItem + Inner + + + InventoryID + InventoryID + + + RowINTran + + + RowINTranSplit + + + DocType + DocType + + + RefNbr + RefNbr + + + LineNbr + LineNbr + + + RowINTran + + + RowINSite + Inner + + + SiteID + SiteID + + + RowINTran + + + UsrNumbers + Inner + + + Number + GreaterOrEqual + Qty + + + RowINTranSplit + + + http://localhost/ACM2017R2H1/ + TemplateReport.rpx + + + + + Int32 + + + + + + + + + + + + + + + + + + + + + + + Boolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Int32 + + + Decimal + + + Decimal + + + DateTime + + + Decimal + + + DateTime + + + Decimal + + + Decimal + + + DateTime + + + Decimal + + + DateTime + + + Decimal + + + Decimal + + + Decimal + + + Decimal + + + + + + + + + + + + + + + + + Boolean + + + + + + + + + + + + + + + DateTime + + + + + + + DateTime + + + Byte + + + Byte + + + + + + + Boolean + + + + + + + + + + + + + Boolean + + + Boolean + + + + + DateTime + + + + + + + Int16 + + + Decimal + + + Decimal + + + Decimal + + + Decimal + + + + + + + + + DateTime + + + + + + + DateTime + + + Int64 + + + Byte + + + + + + + + + + + + + Int16 + + + DateTime + + + + + + + + + + + + + + + Int16 + + + + + + + + + + + + + + + + + + + + + DateTime + + + Int16 + + + + + + + Decimal + + + Decimal + + + Boolean + + + + + + + Decimal + + + Decimal + + + Decimal + + + Decimal + + + + + + + Decimal + + + Decimal + + + Decimal + + + Decimal + + + + + + + Int16 + + + + + + + DateTime + + + + + + + DateTime + + + Byte + + + Int16 + + + + + + + + + + + + + Int16 + + + Int16 + + + DateTime + + + + + + + Int32 + + + Int32 + + + + + + + + + + + + + DateTime + + + Int16 + + + Boolean + + + + + Decimal + + + Decimal + + + Int64 + + + + + + + DateTime + + + + + + + DateTime + + + Byte + + + + + + + Int32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Int32 + + + + + + + + + + + Int32 + + + Int32 + + + + + + + DateTime + + + + + + + DateTime + + + Byte + + + Byte + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Boolean + + + + + + + Int32 + + + PXInventoryLabelReportExtPkg.UsrNumbers + + + + + True + 8px, 8px + 1.16402cm + + + 8px, 42px + 668px, 1px + + + 8px, 0px + 76px, 14px + Report Params + Company: + + + 90px, 0px + 168px, 14px + Report Params + =Report.GetDefUI('RowCompanyBAccount.AcctName') + + + 536px, 0px + 36px, 14px + Report Params + Date: + + + 536px, 14px + 36px, 14px + Report Params + Page: + + + 8px, 14px + 76px, 14px + Report Params + User: + + + 592px, 14px + 84px, 14px + + Report Params + =[PageOf] + + + 90px, 14px + 168px, 14px + Report Params + =Report.GetDefUI('RowAccessInfo.DisplayName') + + + g + 576px, 0px + 100px, 14px + + Report Params + =Now() + + + 8px, 28px + 206px, 14px + Report Name + Inventory Item Labels + + + + + True + 8px, 8px + 1.69312cm + + + IndexRow + =$IndexRow+1 + + + =($IndexRow%2=1) + + + Dotted + 8px, 63px + 668px, 1px + + + Vertical + Dotted + 341px, 0px + 1px, 64px + + + 204px, 0px + 128px, 14px + Normal + =[RowINTran.LocationID] + + + 108px, 48px + 224px, 14px + Normal + =[RowINTranSplit.LotSerialNbr] + + + 260px, 32px + 72px, 14px + Normal + =[RowINRegister.TranDate] + + + 68px, 0px + 96px, 14px + Normal + =[RowINTran.SiteID] + + + 164px, 0px + 40px, 14px + Heading 1 + Loc.: + + + 8px, 0px + 60px, 14px + Heading 1 + Wareh.: + + + 8px, 48px + 100px, 14px + Heading 1 + Lot/Ser. Nbr.: + =[RowINTranSplit.LotSerialNbr] <> '' + + + 220px, 32px + 40px, 14px + Heading 1 + Date: + + + 8px, 32px + 128px, 14px + Heading 1 + Receipt Ref. Nbr.: + + + 8px, 16px + 60px, 14px + Heading 1 + Inv. ID: + + + 604px, 32px + 72px, 14px + Normal + =Next([RowINRegister.TranDate]) + + + 496px, 16px + 180px, 14px + Normal + =Next([RowInventoryItem.Descr]) + + + 452px, 48px + 224px, 14px + Normal + =Next([RowINTranSplit.LotSerialNbr]) + + + 480px, 32px + 84px, 14px + Normal + =Next([RowINTran.RefNbr]) + + + 412px, 16px + 84px, 14px + Normal + =Next([RowInventoryItem.InventoryCD]) + + + 548px, 0px + 128px, 14px + Normal + =Next([RowINTran.LocationID]) + + + 412px, 0px + 96px, 14px + Normal + =Next([RowINTran.SiteID]) + + + 508px, 0px + 40px, 14px + Heading 1 + Loc.: + + + 352px, 0px + 60px, 14px + Heading 1 + Wareh.: + + + 352px, 48px + 100px, 14px + Heading 1 + Lot/Ser. Nbr.: + =Next([RowINTranSplit.LotSerialNbr]) <> '' + + + 564px, 32px + 40px, 14px + Heading 1 + Date: + + + 352px, 32px + 128px, 14px + Heading 1 + Receipt Ref. Nbr.: + + + 352px, 16px + 60px, 14px + Heading 1 + Inv. ID: + + + 136px, 32px + 84px, 14px + Normal + =[RowINTran.RefNbr] + + + 68px, 16px + 84px, 14px + Normal + =[RowInventoryItem.InventoryCD] + + + 152px, 16px + 180px, 14px + Normal + =[RowInventoryItem.Descr] + + + + + True + 8px, 8px + 0.21164cm + False + + + True + 8px, 8px + 0.84656cm + False + + + 8px, 0px + 668px, 32px + + + + 220px, 16px + 108px, 14px + Heading 1 + Lot/Serial Nbr. + + + 580px, 0px + 84px, 14px + Heading 1 + Barcode + + + 112px, 0px + 100px, 14px + Heading 1 + Description + + + 0px, 0px + 104px, 14px + Heading 1 + Inventory ID + + + 16px, 16px + 92px, 14px + Heading 1 + Receipt Nbr. + + + 112px, 16px + 104px, 14px + Heading 1 + Receipt Date + + + 328px, 16px + 132px, 14px + Heading 1 + Location + + + + + + + + \ No newline at end of file diff --git a/CustomizationSource/_project/SiteMapNode_306a7838_4a36_42c7_8dc1_3a500d80cb3d.xml b/CustomizationSource/_project/SiteMapNode_306a7838_4a36_42c7_8dc1_3a500d80cb3d.xml new file mode 100644 index 0000000..d4cf920 --- /dev/null +++ b/CustomizationSource/_project/SiteMapNode_306a7838_4a36_42c7_8dc1_3a500d80cb3d.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + +
+
+
+ +
+ +
+
+ +
+ + + + + + + + \ No newline at end of file diff --git a/CustomizationSource/_project/Sql_UsrNumbers.xml b/CustomizationSource/_project/Sql_UsrNumbers.xml new file mode 100644 index 0000000..d449107 --- /dev/null +++ b/CustomizationSource/_project/Sql_UsrNumbers.xml @@ -0,0 +1,8 @@ + + + + + + +
]]> + \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..636c2d6 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,25 @@ +The MIT License (MIT) +===================== + +Copyright © `2016` `Acumatica` + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the “Software”), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/PXInventoryLabelReportExtPkg.zip b/PXInventoryLabelReportExtPkg.zip new file mode 100644 index 0000000000000000000000000000000000000000..5356859833a4cb512299a24c2b556f33dae9c349 GIT binary patch literal 5149 zcmZ{oWl$6Vw}zK4MY>bEb46Y0%IWy=0Iu#Z2Wu-&USDS? zh5`xzdp-%^|Ed!cn8$MSLP(I0O&2_^W0EJs8Gu$iLbeFbKRjP$wMJ9%DVaTFH(=}( zXyiiR98ZAqo~G$nD6rrs3_G5OF(inj3DGVO<{S^^mGNpTVvmX^lqef2X{8%w7%3-4 z{_B8PU`%QwE{3@U#A|T(l+GfHoTCOjui7y6{46g07r0?zw-#QF@BBccq5X}YpGWB< zy2XY6-4?xybSw4KZJO8sXO-=K?UKRol( zY6X!G-WMM=+i#Pt90$=~?7xwj71;=3Ey4Qe-9EO8(b%T)=w* z;>nFZ$09QZME~wd?2F&58zDEPn}tx*!O@wVC>y{yW_+Bkv|6Z*-7x|BU^`u?)w@Z| z(@2J6virCncV@z@n<&fO?$uu7oeD=%=#0UVm{ypqzOhWVeuil%`*Olh9w>$_60ODU z>Vz#oy#$~aix5~1U{|(@VzNS&8nM{`>uO(~0*Sl_ z)@z@cYfE;gZ=US%^kTE8s$#^dE9v(DQ6X>9((G538#KftTH)PsQDIhg=mshFqf;a_ zsAbRT?yo2&>s>YCP$;m=5hTKJfI8rMEArPICXd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OKLA<4xEbRtc{Gh^DK$v|y4QBO*L)9c<7kkfq~|BYiyyrMJ|CdXn{5?`$zdyR2H zi;iDljuz!kL$#9iP3nim>DFGIt_dBB$%#&xpc#VJWPR}vv@^(k_1~Z+0U!A7%QRNX znkze#tL0<%7%kavS_-8}RYm>*^-qj{EYKZ*Ej*lyK_pcx2OW^*crPDvD8!|_F}O!j zCBhr>@U81;Nb7-!m`%_56S~)0vro3;iwd4bjC}?TZcvD2e}z7QSmU3I7a9zUeq0Fi@CEvovm24U1^W{C^j7WvO(x4Cg(}R!YL0#Nv ziw<5aNYtUTcp<(L^#&)!N!w6*=9`y+%Ye`)RS(;ehgLT?qbziDirM(bG2vFU)5 zxFAmr;{zqU$6XNLBy4+>p2W`XC^J)BRc+lKmbien*=501v1O z4ZEIRS4gTprW9|eP<6RX`^J39la_d+m%_3zPeNABthsofQ>6O9Z3H7cUf-5{k%8JN zpmx3Tun3y2PgTWt5J zx|UA61<1NezhL0df&-yK;Qung>vrXU94JsVhiio9G^mbG{d+HpGz ze*X@Itna`{kp)y3b|+BqO$+T!uYSh9D%Y+fvO>eeF%}go>y^3rGSykyWTK+ynHzj4 zp&h;rusEg8fbjGFSm%5+yCZ>kJNt-+yrQ)VjB&+TUN}wrbew9%bBj(M42u4>0 znQoyoV@!!Jd#B&>8%DK%!66~qVD0>kmN?eCP40Ax}Htglu9Zzt3FOxesj+d)U{w8&=T06od-H?3?K z{0p>=-TW9tos|X#S+Wv0ytHx;M+`Tka$5q#yhuSd^^gF$gNuFdx-q0t{=MElX=}=N t(fMZry63-WT3{4Z9>D*{^Zqxw`yX^q3ygvJ-!sa;7X3FT{y{(h;6DOc)!hI9 literal 0 HcmV?d00001 diff --git a/README.md b/README.md index f36f328..a45d3d6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,31 @@ -# Acumatica-InventoryLabelReportPerQty +[![Project Status](http://opensource.box.com/badges/active.svg)](http://opensource.box.com/badges) + An Extension that allows to print number of labels based on the quantity received for each item regardless if they are serialized or not. + +### Prerequisites +* Acumatica 6.0 or higher + +Quick Start +----------- + +### Installation + +##### Install the customization deployment package +1. Download PXInventoryLabelReportExtPkg.zip from this repository +2. In your Acumatica ERP instance, navigate to System -> Customization -> Customization Projects (SM204505), import PXInventoryLabelReportExtPkg.zip as a customization project +3. Publish the customization project. + +### Usage + +Navigate to Distribution -> Inventory -> Reports -> Forms -> Inventory Item Label (Per Qty) and select the Receipt for which you need to print labels. This custom report works with Serialized and non-Serialized both type of Stock Items. + + +Known Issues +------------ +None at the moment + +## Copyright and License + +Copyright © `2017` `Acumatica` + +This component is licensed under the MIT License, a copy of which is available online [here](LICENSE.md)