/**************************************************************** * Ċ Ġ* ĠGrid n ine ĠAB Ġhttp :// www . grid n ine . com Ċ Ġ* ĠProject : Ġcor al ina - docs - flow Ċ Ġ***************************************************************** / Ċ package Ġcom . fl int y . docs flow . web . core . way bill Ċ Ċ import Ġcom . fl int y . docs flow . common . core . model . rest . Download Order Request JS Ċ import Ġcom . fl int y . docs flow . common . core . model . rest . Generate Store Report Request JS Ċ import Ġcom . fl int y . docs flow . common . core . model . ui . Order Editor Ċ import Ġcom . fl int y . docs flow . common . core . model . ui . Way bill Editor Ċ import Ġcom . fl int y . docs flow . web . core . Docs flow RestClient Ċ import Ġcom . grid n ine . jasmine . web . core . utils . ContentType JS Ċ import Ġcom . grid n ine . jasmine . web . core . utils . Misc Utils JS Ċ import Ġcom . grid n ine . jasmine . web . standard . editor . Object Editor Ċ import Ġcom . grid n ine . jasmine . web . standard . editor . Object Editor Tool Ċ Ċ class ĠStore Report Way bill Editor Object Button Handler : ĠObject Editor Tool < Way bill Editor > Ġ{ ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġinvoke ( editor : ĠObject Editor < Way bill Editor >) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġresult Ġ= ĠDocs flow RestClient . docs flow _ way bill _ generate Store Report ( Generate Store Report Request JS (). also Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġit . way bill Uid Ġ= Ġeditor . object Uid ĊĠĠĠĠĠĠĠ Ġ}) ĊĠĠĠĠĠĠĠ ĠMisc Utils JS . download File ( result . result . fileName , ĠContentType JS . EX CEL , Ġresult . result . encoded Content ) ĊĠĠĠ Ġ} Ċ }