Lola Posted August 2, 2018 Posted August 2, 2018 (edited) Hello All, I have two tables, Material table and Material Transaction table In my material table I have the Quantity on Hand a Calculation Field (Sum ( Material Transactions::Units In | Out )) and on my Material Transaction I have the following Fields Quantity Dispensed ; Quantity Returned ; Type (Auto Enter Data "In") ; Units In | Out which is a calculation field(If ( Type = "Out" ; 0 - Quantity Returned ; Quantity Returned ) In my portal from Material Transaction I have a button bar (In | Out) which there is a single step script that set the type into In or Out which is not working and my Quantity on Hand and my Quantity Returned is not matching which is my problem. I want also that my Initial value for Quantity returned is my Quantity Received from my parent table. Attached is the file that I'm working. Thank you so much in advance. Material Transaction.fmp12 Edited August 2, 2018 by Lola
Lee Smith Posted August 2, 2018 Posted August 2, 2018 These old threads might be helpful. https://fmforums.com/topic/98149-simple-inventory-database/?tab=comments#comment-446272 https://fmforums.com/topic/98078-decrease-stock-quantity-from-item-sold-when-sales-completed/?tab=comments#comment-445950 Lee
Lee Smith Posted August 15, 2018 Posted August 15, 2018 Hi Lola, I move your question to the calculation topic Calculation topic
Recommended Posts
This topic is 2661 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now