I am trying to make a panel card grid that can complete/uncomplete and close/open a job. Complete status is working, but close will not update using the same setup I used for complete. Also, curious to why my rest params does not have the same behavior as a BAQ where and return every job in vBAQ_View, instead only the selected job is queried.
The only change I made to these rest-kinetic is the service operation, everything else is filled out like OnChangeJobCompletion and OnChangeJobClosed events.
I know nothing about application studio. But I made a function not too long ago for closing jobs. Here’s the code if you want to use it.
In my case for I never needed to complete a job without closing it. It was always being closed which also completes it.
The big issue I had was if the complete quantity <> prodqty then you need to set QuantityContinue = 1
you’ll need to change JobRow.Company and replace FUNCTIONINPUT with whatever you call it. The input for this would be your job number.