Does anyone know if there is a way to add customer Jobs through QuickBooks desktop SDK? I see that I can add Customer and as part of that I can specify the Job info but that endpoint doesn't have other job info that goes with Job creation.
Jobs in QuickBooks are just Customers with a parent customer. e.g. Customers and Jobs are the same thing except that Jobs belong to a Customer.
So, create a Job exactly how you'd create a Customer, except make sure you set these fields:
ParentRef/ListID
Or
ParentRef/FullName
Which attach the job to a specific customer.
Related
I am using postgres with a project coded on rails.
Its a standard online store, when the customer clicks on "pay" an instance of the "transaction" model is created and the stock for that particular product or products is updated.
If this instance is not modified within 15 minutes (from a post request sent by the payment provider) i want an automated job to correct the stock inmediately, since we assume the transaction has been canceled for whatever reason.
I was looking into pg_cron but it is not compatible with heroku, pgagent seems to be a viable option but i have struggled to get ir running.
Since the job is not done at a specific time of the day, but only when the user creates a transaction, is it necessary to do this with a cron job?
What are your suggestions in this case?
Have you looked at Active Job?
https://edgeguides.rubyonrails.org/active_job_basics.html#enqueue-the-job
e.g.
StockCleanupJob.set(wait: 20 minutes).perform_later(transaction)
We have 'try' build jobs that developers can initiate with parameterized variables to point to a particular branch for pulling the code and trial running the build in jenkins. Is there a way I can customize a custom personal view showing only the builds that I have started?
The custom way
I think there's a way to customize a personal view by coding / modifying your Jenkins installation, jan-molak worked on that feature here.
You can check the commits and maybe implement something by your own, especially this and this.
The plugin
Take a look on View Job Filter If you configure it, there are options which seems to acomplish what you want:
Logged-in User Relevance Filter: This adds/removes jobs based on their
relevance to the logged in user. For example: matching jobs that were
started by the user, or where the user committed changes to the source
code of the job; matching jobs with a name that contains the user’s
name or login id.
I am using the Jenkins Job DSL Plugin to create template jobs.
There is a problem when two or more users are modifying the same template job (or any other job) simultaneously. The configuration of the last user to save or apply the modifications are registered and the modifications of the other user are removed because the two users were working on the same configuration version.
For example: Recently, I had to add a user to the global authorization matrix in a template job. I did that and i saved and build it. However, another user was modifying the same template job all day and he saved it at the end of the day and my changes were removed.
Is there a way to avoid this simultaneous job modifications by locking the configuration of a job for other users when that user is currently updating it?
Not currently available in core.
Full Answer
I have a C# application and I want to add jobs to a customer using QBFC 12.0.
To explain further, say I have an object Customer with a nested object Jobs (here jobs are 5 lets say), first the customer syncs on QuickBooks Desktop and then its corresponding Jobs.
To add a job to a customer using QBFC you need to use a CustomerAdd object of QBFC. For entering job you need to add the listID of parent or ParentFullName of the job. QBFC will take care of generating the sublevel for the job you need to enter.
ICustomerAdd CustQ = default(ICustomerAdd);
CustQ = requestSet.AppendCustomerAddRq();
CustQ.Name.SetValue(jobName);
CustQ.ParentRef.FullName.SetValue(parentFullName);
IMsgSetResponse responseSet = sessionManager.DoRequests(requestSet);
Just started on Asana and liking it. A couple of queries -
Is there a way to check history (log) on Asana Tasks and Projects. Say i want to check if a task has been accidently removed by another person.
Can I assign a person just the view rights on a project and not edit rights.
You can check the activity feed of a task via stories: https://asana.com/developers/api-reference/stories
We don't currently have read-only rights.