Hello All,
I am trying to build an app that it will produce delivery notes from the export of the goods from the warehouse. The procedure should be this: everytime someone needs to get something from the warehouse, the app user should scan the good(s), then note down the quantity and then sign the delivery note. The app should return the remaining stock of each good, once the quantity is noted down. Then, the app should generate a PDF, which it will be either saved in a folder in OneDrive or in Sharepoint.
At the moment, in the app, I have created a connection of a Sharepoint file which contains the record of all the registred items. The name of this record is, Item List and it has 3 columns, Barcodes, Description and Stock and contains the item's code, the description and the current stock respectively.
I have inserted a Barcode Reader, where the OnScan property is Collect(colScannedItems; ScannedItem:First(BarcodeReader1_1.Barcodes).Value;ScannedTime:Now()}) and a gallery that returns the ScannedItems.
Currently, what I struggle to do is, I cannot import the description from the sharepoint file for each scanned item. I have tried to do it through Lookup function. Where is it better to apply this, in a form or in a gallery? How will the app return the remaining stock according to the given quantity?
The main part of the app should be like this:
| No. | Item's Code | Item's Description | Given Quantity | Remaining Stock |
| | | | | |
| | | | | |
Thank you for your time reading this. I look forward for your answers on this.