I'm trying to set up some JavaScript on the Contract Line form where I will be able to enter payments made on the Contract Line, then calculate the balance due for both the contract line and the overall contract. I have three queries to do this started from a function triggered by the form's onsave event and they all work individually, but when I run one, then try to run the next one, it just stops. It gets to the $.ajax or SDK.REST.functionName (I tried both ways), then nothing, nothing runs as a failure or success, the page just finishes saving. It doesn't matter what order I try to run them in, only the first one will run. Oddly I have some JavaScript on the Account Entity that uses two queries and runs fine. Any ideas? Thanks!
↧