69
Views
10
Comments
Solved
[QR Code Scanner] Inventory Tracking System
qr-code-scanner
Mobile icon
Forge asset by Vitor Teixeira
Application Type
Mobile
Service Studio Version
11.54.4 (Build 62290)

I am currently in the midst of creating an mobile application to track inventory in a warehouse. The home page has an example list of items in the warehouse with two buttons that says "Loan" and "Return", and has an icon that has a QR Code scanner to locate an item based on the Image link. The application works by the user locating the item they intend to loan out by either scrolling through the list or using the QR Code Scanner on the top right hand corner of the screen, they tend tap on the loan button and fill out a form. Once done, the expression for the quantity in the list on the home page will be updated according to the item that is being loaned out.

The main problem that I am facing is that the update only happens to the first item on the list despite me choosing the 2nd or 3rd item.

InventoryTrackerDemo.oml
2022-03-19 07-12-06
Alec Manabat
Solution


Hi Yap,
I've attached an oml as I have edited some of your actions inside your application.
Please see attached oml and try it for yourself.

Hope this will help you.

Regards,

Alec

InventoryTrackerDemo modified.oml
2022-03-19 07-12-06
Alec Manabat

Hi Yap,

When you redirect to your Return screen, you have mandatory inputs for quantity and id, but you do not require those parameters on the Loan screen, maybe you need to input also the id for the item on the Loan screen?


Cheers,

Alec

2023-06-07 04-33-10
Shen

Hi Alec,


Could you further elaborate what you have done as I'm not able to solve it.


Regards,

Shen.

2022-03-19 07-12-06
Alec Manabat

Hi Yap,


You need to put something in the input parameters of your Loan screen (the ones I highlighted in green in my previous comment) so that you can make updates on a specific item.


Regards,

Alec

2023-06-07 04-33-10
Shen

Hi Alec, 


I have put in something under the loan screen portion, but it still does not work. It only updates for the first item despite me tapping on the loan button for the second item. Is there any other way to make it work?


Regards,

Shen

2022-03-19 07-12-06
Alec Manabat
Solution


Hi Yap,
I've attached an oml as I have edited some of your actions inside your application.
Please see attached oml and try it for yourself.

Hope this will help you.

Regards,

Alec

InventoryTrackerDemo modified.oml
2023-06-07 04-33-10
Shen

Hi Alec,


I understand OML file, thank you for your help! I appreciate it.


Regards,

Shen

2024-09-27 19-05-42
Ravi Kumar Tasubilli

Hi Yep,

First you have to change the input parameter (InventoryInformationId) madatory property to "Yes" in Loan Screen, after that pass the Aggregate current value(GetInventoryInformations.List.Current.InventoryInformation.Id)  in the Button on-click property. 

if mandatory field not required. you can also do the same.

Thanks,

Ravi


Screenshot 2023-05-30 100306.png
Screenshot 2023-05-30 100406.png
2023-06-07 04-33-10
Shen

Hi Ravi,


I have changed the input parameter (InventoryInformationId) mandatory portion to "Yes" in the loan screen and have input the (GetInventoryInformations.List.Current.InventoryInformation.Id) in the button on-click. However, it still does not update the item that I want to update. Example, I tapped on the loan button for the second item, but the update happens on the first item. Is there any other way to make it work?


Regards,

Shen

2024-09-27 19-05-42
Ravi Kumar Tasubilli

i review the oml, problem in server action(Loan_QuantityOfInventory). Filter not applied in Aggregate.

Screenshot 2023-05-30 140935.png
2023-06-07 04-33-10
Shen

Hi Ravi,


Thank you for your help! I appreciate it.


Regards,

Shen

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.