...
Er ermöglicht die Definition von Kriterien, nach denen die Daten gefiltert werden sollen.
Beispiel
Codeblock | ||
---|---|---|
| ||
const repo = ccFactory.CreateRepositoryRemoteQuery("90qvOJ5K1kqYsIL0FbR57w",`(City eq 'Berlin')`); repo.ExecAsync().pipe(mergeMap(success=>{ if(success){ repo.Reset(); repo.SourceId = "L1SCCmEC8ky-Gno5NiD6bA"; repo.Query = `(Customer eq '${repo.Response.Rows[0]["Id"]}')`; return repo.ExecAsync(); } return of(false); })).subscribe(success=>{ if(success) { const rowcount = repo.Response.Rows.length; console.log(repo.Response.Columns); if(rowcount > 0) ccFields.SetState("h_inventory", "ccFS_Okay"); else ccFields.SetState("h_inventory", "ccFS_Error", "No inventory found"); } }) |
...