Mark Gimpaya Posted June 4, 2024 Posted June 4, 2024 I want to create a script that finds a category "Tuition Fee" in a portal and then when i add a subject the summary amount of added subjects will divide into two (2) and then set to the two "Tuition Fee" fields. What i mean is the divided amount will set to the two fields also named "Tuition Fee"
Søren Dyhr Posted June 4, 2024 Posted June 4, 2024 (edited) Well, the description here is somewhat exhausted, to a bare minimum. Because what if the student suddenly changes his/her mind ... and then leave. How will you keep track with what initially was entered? However something in the vicinity of this? --sd FEE.fmp12 Edited June 4, 2024 by Søren Dyhr
Mark Gimpaya Posted June 5, 2024 Author Posted June 5, 2024 (edited) Here are my script, but i cant set an amount in second (2) sem. Maybe i am wrong for finding the field for 2nd sem in Else If step that is why it did'nt work Here Edited June 5, 2024 by Mark Gimpaya
Søren Dyhr Posted June 5, 2024 Posted June 5, 2024 Could I get an Image of the Table occurrences involved, where the relational structure is shown? It seems like you kind of avoid using multi-predicate relational key? Is it because everything is tied together, meaning that you not are utilising breaking up in smaller TOGS? Then ....I have noticed a seemingly error? Where is the $uuidYearLevel variable initiated? --sd
Søren Dyhr Posted June 6, 2024 Posted June 6, 2024 What is confusing me here, is why you have both: Dev Setup Fee Chart of Account:: ...as well as: Dev Setup Fee:: I would say that if only one semester record is found, then set the split in halves value in the first found ... and then duplicate the record, the other case being there is already two records found - then make a scripted replace in just the field where the fee is in? --sd
Recommended Posts
This topic is 439 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