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 0000000..5356859 Binary files /dev/null and b/PXInventoryLabelReportExtPkg.zip differ 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)