Examples


Display all invoices

const token =  const report = {
id: 1, depth: 3, start: "2017-01-01", end: "2017-12-31", filter: 100}Promise.resolve().then(() => {
console.log("Logging in") CloudCheckr FinanceManager.navigate.home() CloudCheckr FinanceManager.session.refreshToken(token)}).then(CloudCheckr FinanceManager.wait.networkIdle)CloudCheckr FinanceManager.then(.wait.syncComplete).then(() => {
console.log("Selecting parameters for summary")CloudCheckr FinanceManager .report.byId(report.id)CloudCheckr FinanceManager .report.depth(report.depth)CloudCheckr FinanceManager .report.daterangeStart(report.start)CloudCheckr FinanceManager .report.daterangeEnd(report.end)CloudCheckr FinanceManager .report.filterAccount(report.filter)CloudCheckr FinanceManager .navigate.to("reports/summary")}
)CloudCheckr FinanceManager.then(.wait.networkIdle).then(() => {
console.log("Show all summaries")CloudCheckr FinanceManager .report.showAllSummaries()}
)CloudCheckr FinanceManager.then(() => .wait.ms(1000)).then(() => "Ready")

How did we do?