d-artst.w 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969
  1. &ANALYZE-SUSPEND _VERSION-NUMBER AB_v10r12 GUI ADM2
  2. &ANALYZE-RESUME
  3. /* Connected Databases
  4. anadat PROGRESS
  5. */
  6. &Scoped-define WINDOW-NAME CURRENT-WINDOW
  7. {adecomm/appserv.i}
  8. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _DEFINITIONS dTables
  9. /*------------------------------------------------------------------------
  10. File:
  11. Description: from DATA.W - Template For SmartData objects in the ADM
  12. Input Parameters:
  13. <none>
  14. Output Parameters:
  15. <none>
  16. Modified: February 24, 1999
  17. ------------------------------------------------------------------------*/
  18. /* This .W file was created with the Progress AppBuilder. */
  19. /*----------------------------------------------------------------------*/
  20. /* Create an unnamed pool to store all the widgets created
  21. by this procedure. This is a good default which assures
  22. that this procedure's triggers and internal procedures
  23. will execute in this procedure's storage, and that proper
  24. cleanup will occur on deletion of the procedure. */
  25. CREATE WIDGET-POOL.
  26. /* *************************** Definitions ************************** */
  27. /* Parameters Definitions --- */
  28. /* Local Variable Definitions --- */
  29. &SCOPED-DEFINE Tabelle Artst
  30. &SCOPED-DEFINE TabWhere /* USE-INDEX Benutzer-k1 ~
  31. WHERE {&Tabelle}.Benutzer = tRowObject.Benutzer
  32. */
  33. { incl/datdefinition.i }
  34. /* _UIB-CODE-BLOCK-END */
  35. &ANALYZE-RESUME
  36. &ANALYZE-SUSPEND _UIB-PREPROCESSOR-BLOCK
  37. /* ******************** Preprocessor Definitions ******************** */
  38. &Global-define DATA-LOGIC-PROCEDURE .p
  39. &Scoped-define PROCEDURE-TYPE SmartDataObject
  40. &Scoped-define DB-AWARE yes
  41. &Scoped-define ADM-SUPPORTED-LINKS Data-Source,Data-Target,Navigation-Target,Update-Target,Commit-Target,Filter-Target
  42. /* Db-Required definitions. */
  43. &IF DEFINED(DB-REQUIRED) = 0 &THEN
  44. &GLOBAL-DEFINE DB-REQUIRED TRUE
  45. &ENDIF
  46. &GLOBAL-DEFINE DB-REQUIRED-START &IF {&DB-REQUIRED} &THEN
  47. &GLOBAL-DEFINE DB-REQUIRED-END &ENDIF
  48. &Scoped-define QUERY-NAME Query-Main
  49. /* Internal Tables (found by Frame, Query & Browse Queries) */
  50. &Scoped-define INTERNAL-TABLES Artst
  51. /* Definitions for QUERY Query-Main */
  52. &Scoped-Define ENABLED-FIELDS Aktiv Alk_Gehalt Artnr Art_Grp Ausverk Bestand Bestellt Mind_Bestand Bez~
  53. Bonus_Grp DEP EAV_Code ErfDat ErfSB EShop Farbe Firma FremdNr Gewicht~
  54. GGeb_Cd Herk_Lkz Herst Inhalt Jahr KGeb_Cd Konto Lager Leih_Art LEP~
  55. Letzt_Ausg Letzt_Eing Listen_EP MutDat Min_Marge MutSB MutFlag MWSt Netto~
  56. Preisliste Prod_Grp Rab_Grp Reg_Grp Reserviert Res_c1 Res_c2 Res_i1 Sk_Ber~
  57. Soll_Bestand Strichcode Style Suchbe Traub_Grp VGeb_Cd Wg_Grp WHK_Code~
  58. KGebinde VGebinde GGebinde ArtikelBild EP-Intern EShop_2 Tagesbestand~
  59. lLotnr lVerfall Mind_MHD
  60. &Scoped-define ENABLED-FIELDS-IN-Artst Aktiv Alk_Gehalt Artnr Art_Grp ~
  61. Ausverk Bestand Bestellt Mind_Bestand Bez Bonus_Grp DEP EAV_Code ErfDat ~
  62. ErfSB EShop Farbe Firma FremdNr Gewicht GGeb_Cd Herk_Lkz Herst Inhalt Jahr ~
  63. KGeb_Cd Konto Lager Leih_Art LEP Letzt_Ausg Letzt_Eing Listen_EP MutDat ~
  64. Min_Marge MutSB MutFlag MWSt Netto Preisliste Prod_Grp Rab_Grp Reg_Grp ~
  65. Reserviert Res_c1 Res_c2 Res_i1 Sk_Ber Soll_Bestand Strichcode Style Suchbe ~
  66. Traub_Grp VGeb_Cd Wg_Grp WHK_Code ArtikelBild EP-Intern EShop_2 lLotnr ~
  67. lVerfall Mind_MHD
  68. &Scoped-Define DATA-FIELDS Aktiv Alk_Gehalt Artnr Art_Grp Ausverk Bestand Bestellt Mind_Bestand Bez~
  69. Bonus_Grp DEP EAV_Code ErfDat ErfSB EShop Farbe Firma FremdNr Gewicht~
  70. GGeb_Cd Herk_Lkz Herst Inhalt Jahr KGeb_Cd Konto Lager Leih_Art LEP~
  71. Letzt_Ausg Letzt_Eing Listen_EP MutDat Min_Marge MutSB MutFlag MWSt Netto~
  72. Preisliste Prod_Grp Rab_Grp Reg_Grp Reserviert Res_c1 Res_c2 Res_i1 Sk_Ber~
  73. Soll_Bestand Strichcode Style Suchbe Traub_Grp VGeb_Cd Wg_Grp WHK_Code~
  74. KGebinde VGebinde GGebinde ArtikelBild EP-Intern EShop_2 Tagesbestand~
  75. lLotnr lVerfall Mind_MHD
  76. &Scoped-define DATA-FIELDS-IN-Artst Aktiv Alk_Gehalt Artnr Art_Grp Ausverk ~
  77. Bestand Bestellt Mind_Bestand Bez Bonus_Grp DEP EAV_Code ErfDat ErfSB EShop ~
  78. Farbe Firma FremdNr Gewicht GGeb_Cd Herk_Lkz Herst Inhalt Jahr KGeb_Cd ~
  79. Konto Lager Leih_Art LEP Letzt_Ausg Letzt_Eing Listen_EP MutDat Min_Marge ~
  80. MutSB MutFlag MWSt Netto Preisliste Prod_Grp Rab_Grp Reg_Grp Reserviert ~
  81. Res_c1 Res_c2 Res_i1 Sk_Ber Soll_Bestand Strichcode Style Suchbe Traub_Grp ~
  82. VGeb_Cd Wg_Grp WHK_Code ArtikelBild EP-Intern EShop_2 lLotnr lVerfall ~
  83. Mind_MHD
  84. &Scoped-Define MANDATORY-FIELDS Firma
  85. &Scoped-Define APPLICATION-SERVICE
  86. &Scoped-Define ASSIGN-LIST rowObject.ErfDat = Artst.Edat rowObject.ErfSB = Artst.Esbkb~
  87. rowObject.MutDat = Artst.Mdat rowObject.MutSB = Artst.Msbkb
  88. &Scoped-Define DATA-FIELD-DEFS "d-artst.i"
  89. &Scoped-Define DATA-TABLE-NO-UNDO NO-UNDO
  90. &Scoped-define QUERY-STRING-Query-Main FOR EACH Artst NO-LOCK INDEXED-REPOSITION
  91. {&DB-REQUIRED-START}
  92. &Scoped-define OPEN-QUERY-Query-Main OPEN QUERY Query-Main FOR EACH Artst NO-LOCK INDEXED-REPOSITION.
  93. {&DB-REQUIRED-END}
  94. &Scoped-define TABLES-IN-QUERY-Query-Main Artst
  95. &Scoped-define FIRST-TABLE-IN-QUERY-Query-Main Artst
  96. /* Custom List Definitions */
  97. /* List-1,List-2,List-3,List-4,List-5,List-6 */
  98. /* _UIB-PREPROCESSOR-BLOCK-END */
  99. &ANALYZE-RESUME
  100. /* ************************ Function Prototypes ********************** */
  101. {&DB-REQUIRED-START}
  102. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD getCurrentRecid dTables _DB-REQUIRED
  103. FUNCTION getCurrentRecid RETURNS RECID
  104. ( /* parameter-definitions */ ) FORWARD.
  105. /* _UIB-CODE-BLOCK-END */
  106. &ANALYZE-RESUME
  107. {&DB-REQUIRED-END}
  108. {&DB-REQUIRED-START}
  109. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD getQueryBuffer dTables _DB-REQUIRED
  110. FUNCTION getQueryBuffer RETURNS HANDLE
  111. ( /* parameter-definitions */ ) FORWARD.
  112. /* _UIB-CODE-BLOCK-END */
  113. &ANALYZE-RESUME
  114. {&DB-REQUIRED-END}
  115. {&DB-REQUIRED-START}
  116. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD getTagesBestand dTables _DB-REQUIRED
  117. FUNCTION getTagesBestand RETURNS INTEGER
  118. ( /* parameter-definitions */ ) FORWARD.
  119. /* _UIB-CODE-BLOCK-END */
  120. &ANALYZE-RESUME
  121. {&DB-REQUIRED-END}
  122. {&DB-REQUIRED-START}
  123. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD openQuery dTables _DB-REQUIRED
  124. FUNCTION openQuery RETURNS LOGICAL
  125. ( /* parameter-definitions */ ) FORWARD.
  126. /* _UIB-CODE-BLOCK-END */
  127. &ANALYZE-RESUME
  128. {&DB-REQUIRED-END}
  129. {&DB-REQUIRED-START}
  130. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION-FORWARD putArtstToSuperproc dTables _DB-REQUIRED
  131. FUNCTION putArtstToSuperproc RETURNS LOGICAL
  132. ( /* parameter-definitions */ ) FORWARD.
  133. /* _UIB-CODE-BLOCK-END */
  134. &ANALYZE-RESUME
  135. {&DB-REQUIRED-END}
  136. /* *********************** Control Definitions ********************** */
  137. {&DB-REQUIRED-START}
  138. /* Query definitions */
  139. &ANALYZE-SUSPEND
  140. DEFINE QUERY Query-Main FOR
  141. Artst SCROLLING.
  142. &ANALYZE-RESUME
  143. {&DB-REQUIRED-END}
  144. /* ************************ Frame Definitions *********************** */
  145. /* *********************** Procedure Settings ************************ */
  146. &ANALYZE-SUSPEND _PROCEDURE-SETTINGS
  147. /* Settings for THIS-PROCEDURE
  148. Type: SmartDataObject
  149. Allow: Query
  150. Frames: 0
  151. Add Fields to: Neither
  152. Other Settings: PERSISTENT-ONLY COMPILE APPSERVER DB-AWARE
  153. */
  154. /* This procedure should always be RUN PERSISTENT. Report the error, */
  155. /* then cleanup and return. */
  156. IF NOT THIS-PROCEDURE:PERSISTENT THEN DO:
  157. MESSAGE "{&FILE-NAME} should only be RUN PERSISTENT.":U
  158. VIEW-AS ALERT-BOX ERROR BUTTONS OK.
  159. RETURN.
  160. END.
  161. &ANALYZE-RESUME _END-PROCEDURE-SETTINGS
  162. /* ************************* Create Window ************************** */
  163. &ANALYZE-SUSPEND _CREATE-WINDOW
  164. /* DESIGN Window definition (used by the UIB)
  165. CREATE WINDOW dTables ASSIGN
  166. HEIGHT = 3.52
  167. WIDTH = 77.2.
  168. /* END WINDOW DEFINITION */
  169. */
  170. &ANALYZE-RESUME
  171. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _INCLUDED-LIB dTables
  172. /* ************************* Included-Libraries *********************** */
  173. {src/adm2/data.i}
  174. /* _UIB-CODE-BLOCK-END */
  175. &ANALYZE-RESUME
  176. /* *********** Runtime Attributes and AppBuilder Settings *********** */
  177. &ANALYZE-SUSPEND _RUN-TIME-ATTRIBUTES
  178. /* SETTINGS FOR WINDOW dTables
  179. VISIBLE,,RUN-PERSISTENT */
  180. /* _RUN-TIME-ATTRIBUTES-END */
  181. &ANALYZE-RESUME
  182. /* Setting information for Queries and Browse Widgets fields */
  183. &ANALYZE-SUSPEND _QUERY-BLOCK QUERY Query-Main
  184. /* Query rebuild information for SmartDataObject Query-Main
  185. _TblList = "AnaDat.Artst"
  186. _Options = "NO-LOCK INDEXED-REPOSITION"
  187. _FldNameList[1] > AnaDat.Artst.Aktiv
  188. "Aktiv" "Aktiv" ? ? "logical" ? ? ? ? ? ? yes ? no 4.8 yes ?
  189. _FldNameList[2] > AnaDat.Artst.Alk_Gehalt
  190. "Alk_Gehalt" "Alk_Gehalt" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.4 yes ?
  191. _FldNameList[3] > AnaDat.Artst.Artnr
  192. "Artnr" "Artnr" ? ? "integer" ? ? ? ? ? ? yes ? no 7.2 yes ?
  193. _FldNameList[4] > AnaDat.Artst.Art_Grp
  194. "Art_Grp" "Art_Grp" ? ? "integer" ? ? ? ? ? ? yes ? no 7.2 yes ?
  195. _FldNameList[5] > AnaDat.Artst.Ausverk
  196. "Ausverk" "Ausverk" ? ? "integer" ? ? ? ? ? ? yes ? no 7.8 yes ?
  197. _FldNameList[6] > AnaDat.Artst.Bestand
  198. "Bestand" "Bestand" ? ? "integer" ? ? ? ? ? ? yes ? no 9.4 yes ?
  199. _FldNameList[7] > AnaDat.Artst.Bestellt
  200. "Bestellt" "Bestellt" ? ? "integer" ? ? ? ? ? ? yes ? no 9.4 yes ?
  201. _FldNameList[8] > AnaDat.Artst.Mind_Bestand
  202. "Mind_Bestand" "Mind_Bestand" ? ? "integer" ? ? ? ? ? ? yes ? no 11 yes ?
  203. _FldNameList[9] > AnaDat.Artst.Bez
  204. "Bez" "Bez" ? ? "character" ? ? ? ? ? ? yes ? no 30 yes ?
  205. _FldNameList[10] > AnaDat.Artst.Bonus_Grp
  206. "Bonus_Grp" "Bonus_Grp" ? ? "integer" ? ? ? ? ? ? yes ? no 10.6 yes ?
  207. _FldNameList[11] > AnaDat.Artst.DEP
  208. "DEP" "DEP" ? ? "decimal" ? ? ? ? ? ? yes ? no 12.2 yes ?
  209. _FldNameList[12] > AnaDat.Artst.EAV_Code
  210. "EAV_Code" "EAV_Code" ? ? "character" ? ? ? ? ? ? yes ? no 12 yes ?
  211. _FldNameList[13] > AnaDat.Artst.Edat
  212. "Edat" "ErfDat" "erfasst" ? "date" ? ? ? ? ? ? yes ? no 10.8 yes ?
  213. _FldNameList[14] > AnaDat.Artst.Esbkb
  214. "Esbkb" "ErfSB" "ErfSB" "x(20)" "character" ? ? ? ? ? ? yes ? no 20 yes ?
  215. _FldNameList[15] > AnaDat.Artst.EShop
  216. "EShop" "EShop" ? ? "logical" ? ? ? ? ? ? yes ? no 6.4 yes ?
  217. _FldNameList[16] > AnaDat.Artst.Farbe
  218. "Farbe" "Farbe" ? ? "integer" ? ? ? ? ? ? yes ? no 7.2 yes ?
  219. _FldNameList[17] > AnaDat.Artst.Firma
  220. "Firma" "Firma" ? ? "character" ? ? ? ? ? ? yes ? yes 8 yes ?
  221. _FldNameList[18] > AnaDat.Artst.FremdNr
  222. "FremdNr" "FremdNr" ? ? "character" ? ? ? ? ? ? yes ? no 14 yes ?
  223. _FldNameList[19] > AnaDat.Artst.Gewicht
  224. "Gewicht" "Gewicht" ? ? "decimal" ? ? ? ? ? ? yes ? no 11 yes ?
  225. _FldNameList[20] > AnaDat.Artst.GGeb_Cd
  226. "GGeb_Cd" "GGeb_Cd" ? ? "character" ? ? ? ? ? ? yes ? no 10 yes ?
  227. _FldNameList[21] > AnaDat.Artst.Herk_Lkz
  228. "Herk_Lkz" "Herk_Lkz" ? ? "character" ? ? ? ? ? ? yes ? no 9.2 yes ?
  229. _FldNameList[22] > AnaDat.Artst.Herst
  230. "Herst" "Herst" ? ? "integer" ? ? ? ? ? ? yes ? no 7.2 yes ?
  231. _FldNameList[23] > AnaDat.Artst.Inhalt
  232. "Inhalt" "Inhalt" ? ? "integer" ? ? ? ? ? ? yes ? no 5.2 yes ?
  233. _FldNameList[24] > AnaDat.Artst.Jahr
  234. "Jahr" "Jahr" ? ? "integer" ? ? ? ? ? ? yes ? no 4.8 yes ?
  235. _FldNameList[25] > AnaDat.Artst.KGeb_Cd
  236. "KGeb_Cd" "KGeb_Cd" ? ? "character" ? ? ? ? ? ? yes ? no 10 yes ?
  237. _FldNameList[26] > AnaDat.Artst.Konto
  238. "Konto" "Konto" ? ? "character" ? ? ? ? ? ? yes ? no 12 yes ?
  239. _FldNameList[27] > AnaDat.Artst.Lager
  240. "Lager" "Lager" ? ? "logical" ? ? ? ? ? ? yes ? no 5.4 yes ?
  241. _FldNameList[28] > AnaDat.Artst.Leih_Art
  242. "Leih_Art" "Leih_Art" ? ? "logical" ? ? ? ? ? ? yes ? no 7.8 yes ?
  243. _FldNameList[29] > AnaDat.Artst.LEP
  244. "LEP" "LEP" ? ? "decimal" ? ? ? ? ? ? yes ? no 12.2 yes ?
  245. _FldNameList[30] > AnaDat.Artst.Letzt_Ausg
  246. "Letzt_Ausg" "Letzt_Ausg" ? ? "date" ? ? ? ? ? ? yes ? no 10.8 yes ?
  247. _FldNameList[31] > AnaDat.Artst.Letzt_Eing
  248. "Letzt_Eing" "Letzt_Eing" ? ? "date" ? ? ? ? ? ? yes ? no 10.8 yes ?
  249. _FldNameList[32] > AnaDat.Artst.Listen_EP
  250. "Listen_EP" "Listen_EP" ? ? "decimal" ? ? ? ? ? ? yes ? no 9.6 yes ?
  251. _FldNameList[33] > AnaDat.Artst.Mdat
  252. "Mdat" "MutDat" "MutDat" ? "date" ? ? ? ? ? ? yes ? no 10.8 yes ?
  253. _FldNameList[34] > AnaDat.Artst.Min_Marge
  254. "Min_Marge" "Min_Marge" ? ? "decimal" ? ? ? ? ? ? yes ? no 10.6 yes ?
  255. _FldNameList[35] > AnaDat.Artst.Msbkb
  256. "Msbkb" "MutSB" "MutSB" "x(20)" "character" ? ? ? ? ? ? yes ? no 20 yes ?
  257. _FldNameList[36] > AnaDat.Artst.MutFlag
  258. "MutFlag" "MutFlag" ? ? "logical" ? ? ? ? ? ? yes ? no 7.6 yes ?
  259. _FldNameList[37] > AnaDat.Artst.MWSt
  260. "MWSt" "MWSt" ? ? "integer" ? ? ? ? ? ? yes ? no 6 yes ?
  261. _FldNameList[38] > AnaDat.Artst.Netto
  262. "Netto" "Netto" ? ? "logical" ? ? ? ? ? ? yes ? no 5.2 yes ?
  263. _FldNameList[39] > AnaDat.Artst.Preisliste
  264. "Preisliste" "Preisliste" ? ? "logical" ? ? ? ? ? ? yes ? no 8.2 yes ?
  265. _FldNameList[40] > AnaDat.Artst.Prod_Grp
  266. "Prod_Grp" "Prod_Grp" ? ? "integer" ? ? ? ? ? ? yes ? no 9 yes ?
  267. _FldNameList[41] > AnaDat.Artst.Rab_Grp
  268. "Rab_Grp" "Rab_Grp" ? ? "integer" ? ? ? ? ? ? yes ? no 8.6 yes ?
  269. _FldNameList[42] > AnaDat.Artst.Reg_Grp
  270. "Reg_Grp" "Reg_Grp" ? ? "integer" ? ? ? ? ? ? yes ? no 8.6 yes ?
  271. _FldNameList[43] > AnaDat.Artst.Reserviert
  272. "Reserviert" "Reserviert" ? ? "integer" ? ? ? ? ? ? yes ? no 9.6 yes ?
  273. _FldNameList[44] > AnaDat.Artst.Res_c1
  274. "Res_c1" "Res_c1" ? ? "character" ? ? ? ? ? ? yes ? no 8 yes ?
  275. _FldNameList[45] > AnaDat.Artst.Res_c2
  276. "Res_c2" "Res_c2" ? ? "character" ? ? ? ? ? ? yes ? no 8 yes ?
  277. _FldNameList[46] > AnaDat.Artst.Res_i1
  278. "Res_i1" "Res_i1" ? ? "integer" ? ? ? ? ? ? yes ? no 7.2 yes ?
  279. _FldNameList[47] > AnaDat.Artst.Sk_Ber
  280. "Sk_Ber" "Sk_Ber" ? ? "logical" ? ? ? ? ? ? yes ? no 7 yes ?
  281. _FldNameList[48] > AnaDat.Artst.Soll_Bestand
  282. "Soll_Bestand" "Soll_Bestand" ? ? "integer" ? ? ? ? ? ? yes ? no 12.4 yes ?
  283. _FldNameList[49] > AnaDat.Artst.Strichcode
  284. "Strichcode" "Strichcode" ? ? "character" ? ? ? ? ? ? yes ? no 20 yes ?
  285. _FldNameList[50] > AnaDat.Artst.Style
  286. "Style" "Style" ? ? "integer" ? ? ? ? ? ? yes ? no 7.2 yes ?
  287. _FldNameList[51] > AnaDat.Artst.Suchbe
  288. "Suchbe" "Suchbe" ? ? "character" ? ? ? ? ? ? yes ? no 15 yes ?
  289. _FldNameList[52] > AnaDat.Artst.Traub_Grp
  290. "Traub_Grp" "Traub_Grp" ? ? "integer" ? ? ? ? ? ? yes ? no 10.2 yes ?
  291. _FldNameList[53] > AnaDat.Artst.VGeb_Cd
  292. "VGeb_Cd" "VGeb_Cd" ? ? "character" ? ? ? ? ? ? yes ? no 10 yes ?
  293. _FldNameList[54] > AnaDat.Artst.Wg_Grp
  294. "Wg_Grp" "Wg_Grp" ? ? "integer" ? ? ? ? ? ? yes ? no 8 yes ?
  295. _FldNameList[55] > AnaDat.Artst.WHK_Code
  296. "WHK_Code" "WHK_Code" ? ? "character" ? ? ? ? ? ? yes ? no 12 yes ?
  297. _FldNameList[56] > "_<CALC>"
  298. "DYNAMIC-FUNCTION('getKGebindeKBez':U, RowObject.KGeb_Cd)" "KGebinde" "KGebinde" "x(12)" "character" ? ? ? ? ? ? yes ? no 12 no ?
  299. _FldNameList[57] > "_<CALC>"
  300. "DYNAMIC-FUNCTION('getVGebindeKBez':U, RowObject.VGeb_Cd)" "VGebinde" "VGebinde" "x(12)" "character" ? ? ? ? ? ? yes ? no 12 no ?
  301. _FldNameList[58] > "_<CALC>"
  302. "DYNAMIC-FUNCTION('getGGebindeKBez':U, RowObject.GGeb_Cd)" "GGebinde" "GGebinde" "x(12)" "character" ? ? ? ? ? ? yes ? no 12 no ?
  303. _FldNameList[59] > AnaDat.Artst.ArtikelBild
  304. "ArtikelBild" "ArtikelBild" ? ? "character" ? ? ? ? ? ? yes ? no 60 yes ?
  305. _FldNameList[60] > AnaDat.Artst.EP-Intern
  306. "EP-Intern" "EP-Intern" ? ? "decimal" ? ? ? ? ? ? yes ? no 11 yes ?
  307. _FldNameList[61] > AnaDat.Artst.EShop_2
  308. "EShop_2" "EShop_2" ? ? "logical" ? ? ? ? ? ? yes ? no 8.8 yes ?
  309. _FldNameList[62] > "_<CALC>"
  310. "DYNAMIC-FUNCTION('getTagesBestand':U IN THIS-PROCEDURE)" "Tagesbestand" "Tagesbestand" "zzz,zz9-" "Integer" ? ? ? ? ? ? yes ? no 7.4 no ?
  311. _FldNameList[63] > AnaDat.Artst.lLotnr
  312. "lLotnr" "lLotnr" ? ? "logical" ? ? ? ? ? ? yes ? no 10.8 yes ?
  313. _FldNameList[64] > AnaDat.Artst.lVerfall
  314. "lVerfall" "lVerfall" ? ? "logical" ? ? ? ? ? ? yes ? no 6.2 yes ?
  315. _FldNameList[65] > AnaDat.Artst.Mind_MHD
  316. "Mind_MHD" "Mind_MHD" "Mindest haltbar" ? "integer" ? ? ? ? ? ? yes ? no 14.8 yes ?
  317. _Design-Parent is WINDOW dTables @ ( 1.14 , 2.6 )
  318. */ /* QUERY Query-Main */
  319. &ANALYZE-RESUME
  320. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _CUSTOM _MAIN-BLOCK dTables
  321. /* *************************** Main Block *************************** */
  322. { incl/datmainblock.i }
  323. SUBSCRIBE TO 'NEUER_EP' ANYWHERE.
  324. fOpen = FALSE.
  325. &IF DEFINED(UIB_IS_RUNNING) <> 0 &THEN
  326. RUN initializeObject.
  327. &ENDIF
  328. /* _UIB-CODE-BLOCK-END */
  329. &ANALYZE-RESUME
  330. /* ********************** Internal Procedures *********************** */
  331. {&DB-REQUIRED-START}
  332. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE DATA.CALCULATE dTables DATA.CALCULATE _DB-REQUIRED
  333. PROCEDURE DATA.CALCULATE :
  334. /*------------------------------------------------------------------------------
  335. Purpose: Calculate all the Calculated Expressions found in the
  336. SmartDataObject.
  337. Parameters: <none>
  338. ------------------------------------------------------------------------------*/
  339. ASSIGN
  340. rowObject.GGebinde = (DYNAMIC-FUNCTION('getGGebindeKBez':U, RowObject.GGeb_Cd))
  341. rowObject.KGebinde = (DYNAMIC-FUNCTION('getKGebindeKBez':U, RowObject.KGeb_Cd))
  342. rowObject.Tagesbestand = (DYNAMIC-FUNCTION('getTagesBestand':U IN THIS-PROCEDURE))
  343. rowObject.VGebinde = (DYNAMIC-FUNCTION('getVGebindeKBez':U, RowObject.VGeb_Cd))
  344. .
  345. END PROCEDURE.
  346. /* _UIB-CODE-BLOCK-END */
  347. &ANALYZE-RESUME
  348. {&DB-REQUIRED-END}
  349. {&DB-REQUIRED-START}
  350. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE dataAvailable dTables _DB-REQUIRED
  351. PROCEDURE dataAvailable :
  352. /*------------------------------------------------------------------------------
  353. Purpose: Super Override
  354. Parameters:
  355. Notes:
  356. ------------------------------------------------------------------------------*/
  357. { incl/datdataavailable.i }
  358. END PROCEDURE.
  359. /* _UIB-CODE-BLOCK-END */
  360. &ANALYZE-RESUME
  361. {&DB-REQUIRED-END}
  362. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE disable_UI dTables _DEFAULT-DISABLE
  363. PROCEDURE disable_UI :
  364. /*------------------------------------------------------------------------------
  365. Purpose: DISABLE the User Interface
  366. Parameters: <none>
  367. Notes: Here we clean-up the user-interface by deleting
  368. dynamic widgets we have created and/or hide
  369. frames. This procedure is usually called when
  370. we are ready to "clean-up" after running.
  371. ------------------------------------------------------------------------------*/
  372. /* Hide all frames. */
  373. IF THIS-PROCEDURE:PERSISTENT THEN DELETE PROCEDURE THIS-PROCEDURE.
  374. END PROCEDURE.
  375. /* _UIB-CODE-BLOCK-END */
  376. &ANALYZE-RESUME
  377. {&DB-REQUIRED-START}
  378. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE fetchFirst dTables _DB-REQUIRED
  379. PROCEDURE fetchFirst :
  380. /*------------------------------------------------------------------------------
  381. Purpose: Super Override
  382. Parameters:
  383. Notes:
  384. ------------------------------------------------------------------------------*/
  385. /* Code placed here will execute PRIOR to standard behavior. */
  386. RUN SUPER.
  387. DYNAMIC-FUNCTION('putArtstToSuperproc':U) NO-ERROR.
  388. END PROCEDURE.
  389. /* _UIB-CODE-BLOCK-END */
  390. &ANALYZE-RESUME
  391. {&DB-REQUIRED-END}
  392. {&DB-REQUIRED-START}
  393. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE fetchLast dTables _DB-REQUIRED
  394. PROCEDURE fetchLast :
  395. /*------------------------------------------------------------------------------
  396. Purpose: Super Override
  397. Parameters:
  398. Notes:
  399. ------------------------------------------------------------------------------*/
  400. /* Code placed here will execute PRIOR to standard behavior. */
  401. RUN SUPER.
  402. DYNAMIC-FUNCTION('putArtstToSuperproc':U) NO-ERROR.
  403. END PROCEDURE.
  404. /* _UIB-CODE-BLOCK-END */
  405. &ANALYZE-RESUME
  406. {&DB-REQUIRED-END}
  407. {&DB-REQUIRED-START}
  408. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE fetchNext dTables _DB-REQUIRED
  409. PROCEDURE fetchNext :
  410. /*------------------------------------------------------------------------------
  411. Purpose: Super Override
  412. Parameters:
  413. Notes:
  414. ------------------------------------------------------------------------------*/
  415. /* Code placed here will execute PRIOR to standard behavior. */
  416. RUN SUPER.
  417. DYNAMIC-FUNCTION('putArtstToSuperproc':U) NO-ERROR.
  418. END PROCEDURE.
  419. /* _UIB-CODE-BLOCK-END */
  420. &ANALYZE-RESUME
  421. {&DB-REQUIRED-END}
  422. {&DB-REQUIRED-START}
  423. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE fetchPrev dTables _DB-REQUIRED
  424. PROCEDURE fetchPrev :
  425. /*------------------------------------------------------------------------------
  426. Purpose: Super Override
  427. Parameters:
  428. Notes:
  429. ------------------------------------------------------------------------------*/
  430. /* Code placed here will execute PRIOR to standard behavior. */
  431. RUN SUPER.
  432. DYNAMIC-FUNCTION('putArtstToSuperproc':U) NO-ERROR.
  433. END PROCEDURE.
  434. /* _UIB-CODE-BLOCK-END */
  435. &ANALYZE-RESUME
  436. {&DB-REQUIRED-END}
  437. {&DB-REQUIRED-START}
  438. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE INAKTIVIEREN dTables _DB-REQUIRED
  439. PROCEDURE INAKTIVIEREN :
  440. /*------------------------------------------------------------------------------
  441. Purpose:
  442. Parameters: <none>
  443. Notes:
  444. ------------------------------------------------------------------------------*/
  445. RETURN 'LOESCHEN'.
  446. /*
  447. { incl/datinaktivieren.i }
  448. */
  449. END PROCEDURE.
  450. /* _UIB-CODE-BLOCK-END */
  451. &ANALYZE-RESUME
  452. {&DB-REQUIRED-END}
  453. {&DB-REQUIRED-START}
  454. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE initializeObject dTables _DB-REQUIRED
  455. PROCEDURE initializeObject :
  456. /*------------------------------------------------------------------------------
  457. Purpose: Super Override
  458. Parameters:
  459. Notes:
  460. ------------------------------------------------------------------------------*/
  461. cSort = 'Artnr'.
  462. fDesc = FALSE.
  463. DYNAMIC-FUNCTION('getArtikelSort':U, INPUT-OUTPUT cSort, INPUT-OUTPUT fDesc ).
  464. { incl/datinitialize.i }
  465. END PROCEDURE.
  466. /* _UIB-CODE-BLOCK-END */
  467. &ANALYZE-RESUME
  468. {&DB-REQUIRED-END}
  469. {&DB-REQUIRED-START}
  470. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE NEUER_ARTIKEL dTables _DB-REQUIRED
  471. PROCEDURE NEUER_ARTIKEL :
  472. /*------------------------------------------------------------------------------
  473. Purpose:
  474. Parameters: <none>
  475. Notes:
  476. ------------------------------------------------------------------------------*/
  477. DEF INPUT PARAMETER ipString AS CHAR NO-UNDO.
  478. DEF VAR Artnr AS INT NO-UNDO.
  479. DEF VAR Inhalt AS INT NO-UNDO.
  480. DEF VAR Jahr AS INT NO-UNDO.
  481. DEF VAR iRecid AS RECID NO-UNDO.
  482. Artnr = INTEGER(ENTRY(1, ipString, CHR(01))).
  483. Inhalt = INTEGER(ENTRY(2, ipString, CHR(01))).
  484. Jahr = INTEGER(ENTRY(3, ipString, CHR(01))).
  485. FIND Artst USE-INDEX Artst-k1
  486. WHERE Artst.Firma = Firma
  487. AND Artst.Artnr = Artnr
  488. AND Artst.Inhalt = Inhalt
  489. AND Artst.Jahr = Jahr NO-LOCK NO-ERROR.
  490. IF NOT AVAILABLE Artst THEN RETURN.
  491. iRecid = RECID(Artst).
  492. DYNAMIC-FUNCTION('openQuery':U).
  493. RUN REPOS ( INPUT iRecid ).
  494. END PROCEDURE.
  495. /* _UIB-CODE-BLOCK-END */
  496. &ANALYZE-RESUME
  497. {&DB-REQUIRED-END}
  498. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE NEUER_EP dTables
  499. PROCEDURE NEUER_EP :
  500. /*------------------------------------------------------------------------------
  501. Purpose:
  502. Notes:
  503. ------------------------------------------------------------------------------*/
  504. DEFINE VARIABLE iRecid AS RECID NO-UNDO.
  505. iRecid = DYNAMIC-FUNCTION ('getCurrentRecid':U) NO-ERROR.
  506. DYNAMIC-FUNCTION ('openQuery':U) NO-ERROR.
  507. IF iRecid = ? OR
  508. iRecid = 0 THEN RETURN.
  509. RUN REPOS IN THIS-PROCEDURE ( iRecid ).
  510. END PROCEDURE.
  511. /* _UIB-CODE-BLOCK-END */
  512. &ANALYZE-RESUME
  513. {&DB-REQUIRED-START}
  514. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE REAKTIVIEREN dTables _DB-REQUIRED
  515. PROCEDURE REAKTIVIEREN :
  516. /*------------------------------------------------------------------------------
  517. Purpose:
  518. Parameters: <none>
  519. Notes:
  520. ------------------------------------------------------------------------------*/
  521. { incl/datreaktivieren.i }
  522. END PROCEDURE.
  523. /* _UIB-CODE-BLOCK-END */
  524. &ANALYZE-RESUME
  525. {&DB-REQUIRED-END}
  526. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE refreshrow dTables
  527. PROCEDURE refreshrow:
  528. /*------------------------------------------------------------------------------
  529. Purpose:
  530. Notes:
  531. ------------------------------------------------------------------------------*/
  532. RUN SUPER.
  533. /* Code placed here will execute AFTER standard behavior. */
  534. END PROCEDURE.
  535. /* _UIB-CODE-BLOCK-END */
  536. &ANALYZE-RESUME
  537. {&DB-REQUIRED-START}
  538. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE REPOS dTables _DB-REQUIRED
  539. PROCEDURE REPOS :
  540. /*------------------------------------------------------------------------------
  541. Purpose:
  542. Parameters: <none>
  543. Notes:
  544. ------------------------------------------------------------------------------*/
  545. DEF INPUT PARAMETER ipRecid AS RECID NO-UNDO.
  546. FIND Artst WHERE RECID(Artst) = ipRecid NO-LOCK NO-ERROR.
  547. IF NOT AVAILABLE Artst THEN RETURN.
  548. DYNAMIC-FUNCTION('fetchRowIdent':U, INPUT STRING(ROWID(Artst)), INPUT ? ).
  549. DYNAMIC-FUNCTION('putArtstToSuperproc':U) NO-ERROR.
  550. END PROCEDURE.
  551. /* _UIB-CODE-BLOCK-END */
  552. &ANALYZE-RESUME
  553. {&DB-REQUIRED-END}
  554. {&DB-REQUIRED-START}
  555. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE REPOS_TABELLE dTables _DB-REQUIRED
  556. PROCEDURE REPOS_TABELLE :
  557. /*------------------------------------------------------------------------------
  558. Purpose:
  559. Parameters: <none>
  560. Notes:
  561. ------------------------------------------------------------------------------*/
  562. { incl/datrepos.i }
  563. END PROCEDURE.
  564. /* _UIB-CODE-BLOCK-END */
  565. &ANALYZE-RESUME
  566. {&DB-REQUIRED-END}
  567. {&DB-REQUIRED-START}
  568. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE SET_FILTER dTables _DB-REQUIRED
  569. PROCEDURE SET_FILTER :
  570. /*------------------------------------------------------------------------------
  571. Purpose:
  572. Parameters: <none>
  573. Notes:
  574. ------------------------------------------------------------------------------*/
  575. { incl/datsetfilter.i }
  576. END PROCEDURE.
  577. /* _UIB-CODE-BLOCK-END */
  578. &ANALYZE-RESUME
  579. {&DB-REQUIRED-END}
  580. {&DB-REQUIRED-START}
  581. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE SET_OPENFLAG dTables _DB-REQUIRED
  582. PROCEDURE SET_OPENFLAG :
  583. /*------------------------------------------------------------------------------
  584. Purpose:
  585. Parameters: <none>
  586. Notes:
  587. ------------------------------------------------------------------------------*/
  588. { incl/datsetopenflag.i }
  589. END PROCEDURE.
  590. /* _UIB-CODE-BLOCK-END */
  591. &ANALYZE-RESUME
  592. {&DB-REQUIRED-END}
  593. {&DB-REQUIRED-START}
  594. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _PROCEDURE SET_SORT dTables _DB-REQUIRED
  595. PROCEDURE SET_SORT :
  596. /*------------------------------------------------------------------------------
  597. Purpose:
  598. Parameters: <none>
  599. Notes:
  600. ------------------------------------------------------------------------------*/
  601. { incl/datsetsort.i }
  602. DYNAMIC-FUNCTION('setArtikelSort':U, cSort, fDesc ) NO-ERROR.
  603. END PROCEDURE.
  604. /* _UIB-CODE-BLOCK-END */
  605. &ANALYZE-RESUME
  606. {&DB-REQUIRED-END}
  607. /* ************************ Function Implementations ***************** */
  608. {&DB-REQUIRED-START}
  609. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION getCurrentRecid dTables _DB-REQUIRED
  610. FUNCTION getCurrentRecid RETURNS RECID
  611. ( /* parameter-definitions */ ) :
  612. /*------------------------------------------------------------------------------
  613. Purpose:
  614. Notes:
  615. ------------------------------------------------------------------------------*/
  616. { incl/datgetcurrentrecid.i }
  617. END FUNCTION.
  618. /* _UIB-CODE-BLOCK-END */
  619. &ANALYZE-RESUME
  620. {&DB-REQUIRED-END}
  621. {&DB-REQUIRED-START}
  622. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION getQueryBuffer dTables _DB-REQUIRED
  623. FUNCTION getQueryBuffer RETURNS HANDLE
  624. ( /* parameter-definitions */ ) :
  625. /*------------------------------------------------------------------------------
  626. Purpose:
  627. Notes:
  628. ------------------------------------------------------------------------------*/
  629. RETURN BUFFER rowObject:HANDLE.
  630. END FUNCTION.
  631. /* _UIB-CODE-BLOCK-END */
  632. &ANALYZE-RESUME
  633. {&DB-REQUIRED-END}
  634. {&DB-REQUIRED-START}
  635. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION getTagesBestand dTables _DB-REQUIRED
  636. FUNCTION getTagesBestand RETURNS INTEGER
  637. ( /* parameter-definitions */ ) :
  638. /*------------------------------------------------------------------------------
  639. Purpose:
  640. Notes:
  641. ------------------------------------------------------------------------------*/
  642. DEF VAR nBestand AS INT NO-UNDO.
  643. nBestand = rowObject.Bestand.
  644. FOR EACH Artbw NO-LOCK
  645. WHERE Artbw.Firma = rowObject.Firma
  646. AND Artbw.Artnr = rowObject.Artnr
  647. AND Artbw.Inhalt = rowObject.Inhalt
  648. AND Artbw.Jahr = rowObject.Jahr
  649. AND Artbw.Tr_Art < 10
  650. AND Artbw.Datum > TODAY
  651. AND Artbw.Lag_Buch = TRUE
  652. :
  653. nBestand = nBestand + Artbw.Menge.
  654. END.
  655. RETURN nBestand.
  656. END FUNCTION.
  657. /* _UIB-CODE-BLOCK-END */
  658. &ANALYZE-RESUME
  659. {&DB-REQUIRED-END}
  660. {&DB-REQUIRED-START}
  661. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION openQuery dTables _DB-REQUIRED
  662. FUNCTION openQuery RETURNS LOGICAL
  663. ( /* parameter-definitions */ ) :
  664. /*------------------------------------------------------------------------------
  665. Purpose: Super Override
  666. Notes:
  667. ------------------------------------------------------------------------------*/
  668. DEF VAR Felder AS CHAR NO-UNDO.
  669. DEF VAR Inhalt AS CHAR NO-UNDO.
  670. DEF VAR ix AS INT NO-UNDO.
  671. DEF VAR cFeld AS CHAR NO-UNDO.
  672. DEF VAR lInaktiv AS LOG NO-UNDO.
  673. /*
  674. IF NOT fOpen THEN RETURN FALSE.
  675. */
  676. xWhere = ''.
  677. xSort = ''.
  678. xString = ''.
  679. Felder = DYNAMIC-FUNCTION('getForeignFields':U) NO-ERROR.
  680. Inhalt = DYNAMIC-FUNCTION('getForeignValues':U) NO-ERROR.
  681. /* ix = LOOKUP('Feld', Felder, ',') / 2. */
  682. /* cFeld = ENTRY (ix , Inhalt, CHR(01)). */
  683. lInaktiv = DYNAMIC-FUNCTION('getAnzeigeArtikelInaktiv':U) NO-ERROR.
  684. IF lInaktiv = ? THEN lInaktiv = TRUE.
  685. xWhere = 'Artst.Firma = ' + QUOTER(Firma) + ' '.
  686. IF NOT lInaktiv THEN xWhere = xWhere + 'AND Artst.Aktiv = TRUE '.
  687. /* xString = 'FOR EACH Debop ' + xSort + 'WHERE ' */
  688. /* + 'Debop.Firma = "' + Firma + '" AND ' */
  689. /* + 'Debop.Knr = ' + STRING(Knr) + ' ' */
  690. /* + 'NO-LOCK BY Debop.FakDat DESCENDING INDEXED-REPOSITION '. */
  691. { incl/datopenquery.i }
  692. IF xWhere <> '' THEN DYNAMIC-FUNCTION('setQueryWhere':U , INPUT xWhere ).
  693. IF xString <> '' THEN DYNAMIC-FUNCTION('setQueryString':U, INPUT xString).
  694. IF xSort <> '' THEN DYNAMIC-FUNCTION('setQuerySort':U , INPUT xSort ).
  695. RETURN SUPER( ).
  696. END FUNCTION.
  697. /* _UIB-CODE-BLOCK-END */
  698. &ANALYZE-RESUME
  699. {&DB-REQUIRED-END}
  700. {&DB-REQUIRED-START}
  701. &ANALYZE-SUSPEND _UIB-CODE-BLOCK _FUNCTION putArtstToSuperproc dTables _DB-REQUIRED
  702. FUNCTION putArtstToSuperproc RETURNS LOGICAL
  703. ( /* parameter-definitions */ ) :
  704. /*------------------------------------------------------------------------------
  705. Purpose:
  706. Notes:
  707. ------------------------------------------------------------------------------*/
  708. DEF VAR lOK AS LOG NO-UNDO.
  709. fData = TRUE.
  710. RUN dataAvailable ('SAME').
  711. FIND FIRST tRowObject NO-ERROR.
  712. lOK = DYNAMIC-FUNCTION('setArtstInSuperproc':U, TEMP-TABLE tRowObject:DEFAULT-BUFFER-HANDLE ).
  713. RETURN lOK.
  714. END FUNCTION.
  715. /* _UIB-CODE-BLOCK-END */
  716. &ANALYZE-RESUME
  717. {&DB-REQUIRED-END}