I tried creating check-in/check-out buttons using "confiforms view control (entryviewer) and then creating a "confiform (formview) registrations control" macro inside of it. Both of these macros for each button are inside a "confiform registration control" (to add new items). This is supposed to populate for every line of a table, but once I populate the table with the buttons I only get one of the buttons show up. Does that mean I can only have 1 button per line of the table? or is there another way I can create the buttons inside the original/parent macro? I need to have formulas or rules into the buttons so that they change the available quantity of the parts when they get checked out or checked in.
Example:
I'm creating a table that keeps track of some equipment. The table includes the part number, the part name, the total quantity we have in stock, the quantity available (after check-out) and the location where the equipment is being stored at. I need the buttons to allow the team to check out the equipment and then check-in when they bring it back. If we have total of qty10 for a part and someone needs to check out qty5 then I need the checkout button to change my available quantity to 5, but leave my total qty to 10 since we should always have qty10 on inventory. Also, if someone else decides to check out qty2 of the 5 available, I need the qty available to change by substracting every amount taken. Another formula is needed to put a limit on the qty of check-out parts. If I have qty10 in total, no one should be able to check-out more than what we have. So not only I need to create the buttons, but I also need to put some kind of formulas for these buttons to update my table.
I'm attaching a screenshot of the table with both buttons showing up with the same name/same functionality.
this is how I have it structured so far:
1)Confiforms tableview
1.a) all the confiform fields [macro]
1.b) confiform form definition [macro]
1.b.1) definitions (for all the fields mentioned above in 1.a)
1.b.2) confiforms IFTTT integration rules (on created) [macro]
1.b.3) confiforms IFTTT integration rules (on modified) [macro]
1.b.4) confiforms IFTTT integration rules (on deleted) [macro]
1.b.5) edit controls for confiforms [macro]
1.c) confiforms view control (entryviewer) for check in button [macro]
1.c.1) confiforms (formview) registrations control [macro]
1.d) confiforms view control (entryviewer) for check out button [macro]
1.d.1) confiforms (formview) registrations control [macro]
Can someone please assist?
Hi
You have Registrations Control and Form Definition macros in the wrong place - see https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+app+detailed+view+over+the+plugin+macros
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.