home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / s / sbt25sm4.zip / ZIPSMC02.EXE / SYRCON._XP (.txt) < prev    next >
MS Visual FoxPro App  |  1993-02-11  |  7KB  |  133 lines

  1. ll_prntf
  2. gc_loctf
  3. Location
  4. a_iciloc//
  5. BothFF
  6. Option Grid - Item discrepancy:
  7. Display
  8. Print
  9. Cancel
  10. Display Discrepancy report
  11. Print Discrepancy report
  12. Edit Discrepancy report options
  13. Cancel Discrepancy report printing
  14. @M Item, 
  15. , Both
  16. Report level
  17. {Item/
  18. /Both}
  19. Begin 
  20. (Portion or blank for all)
  21. Ending 
  22. (Portion or blank for all)
  23. !!!!!!!!!!!!!!!
  24. Beginning Item
  25. (Portion or blank for all)
  26. !!!!!!!!!!!!!!!
  27. Ending Item
  28. (Portion or blank for all)
  29.   Beginning Item = 
  30.   Ending Item = 
  31.   Item = 
  32.   Items 
  33. a_cursor
  34. a_icitem//
  35. a_iciqty//
  36. a_icloct//
  37. loctid
  38. a_icitem->item >= lc_bitem .AND. 
  39. a_iciloc->item >= lc_bitem .AND. 
  40. a_iciqty->item >= lc_bitem .AND. 
  41. a_icitem->item <= lc_eitem .AND. 
  42. a_iciloc->item <= lc_eitem .AND. 
  43. a_iciqty->item <= lc_eitem .AND. 
  44. a_iciloc->loctid + a_iciloc->item 
  45. >= lc_bloc .AND. 
  46. a_iciqty->loctid + a_iciqty->item 
  47. >= lc_bloc .AND. 
  48. a_iciloc->loctid + a_iciloc->item 
  49. <= lc_eloc .AND. 
  50. a_iciqty->loctid + a_iciqty->item 
  51. <= lc_eloc .AND. 
  52. .NOT. DELETED()
  53. .NOT. DELETED()
  54. .NOT. DELETED()
  55. Calculating Item discrepancies
  56. SELECT a_icitem->item,     SUM(ionhand) AS ionhand,  000000000.00000 AS lonhand,  000000000.00000 AS qohand    FROM a_icitem  WHERE &lc_itmfilt.  GROUP BY item  UNION  (SELECT a_iciloc->item,           0 AS ionhand,             SUM(lonhand) AS lonhand,  0 AS qonhand              FROM a_iciloc  WHERE &lc_locfilt.  GROUP BY item  UNION  SELECT a_iciqty->item,                    0 AS ionhand,                      0 AS lonhand,                      SUM(a_iciqty->qonhand) AS qonhand  FROM a_iciqty   WHERE &lc_qtyfilt.  GROUP BY item)  INTO DBF (gc_idrvtmp + gc_tmpf1 + gc_extdbf)
  57. a_tmpf1/e
  58. a_tmpf1
  59. a_tmpf2
  60. Item Quantity Discrepancy
  61. syrcn1
  62. a_tmpf1
  63. Beginning 
  64. Ending 
  65. Calculating Location discrepancies
  66. SELECT a_iciloc->item,  a_iciloc->loctid,  a_iciloc->lonhand,  SUM(a_iciqty->qonhand) AS qonhand  FROM a_iciloc, a_iciqty  WHERE a_iciloc->item + a_iciloc->loctid = a_iciqty->item +  a_iciqty->loctid .AND. &lc_locfilt. GROUP BY 1, 2  ORDER BY 2, 1  INTO CURSOR a_tmpf1
  67. Location Quantity Discrepancy
  68. syrcn2
  69. No discrepancies found
  70. a_tmpf1
  71. a_tmpf2
  72. a_icitem
  73. a_iciloc
  74. a_iciqty
  75. a_icloct
  76. LL_GETOPT
  77. GN_TRACE
  78. E_TRACE
  79. LN_OPNITEMLN_OPNILOCLN_OPNIQTYLC_LEVEL
  80. YLC_BITEM
  81. LC_EITEM
  82. LC_BLOC
  83. LELC_ELOC
  84. NLN_RESULT
  85. LL_CONT
  86. LC_ITMFILTLC_LOCFILTLC_QTYFILTLN_OPNLOCTLL_ONHERR
  87. LL_PRNT
  88. RFGC_LOCT
  89. RFG_OPNFL
  90. OCGF_ICILOCFA_ICILOC
  91. EITEM
  92. LOCTID
  93. ELC_HEAD1
  94. GLC_HEAD2
  95. GLC_HEAD3
  96. GLC_FRMFILELC_COND
  97. ELW_ICRCON
  98. LC_GRIDMSGLA_PAD
  99. GLA_PRMPT
  100. PG_PNTBG
  101. LN_BOT
  102. GL_LOCTS
  103. G_DSPGD
  104. G_DSPCH
  105. SGLN_LINE
  106. G_SAYOP
  107. PGC_LOCPIC
  108. G_GETCH
  109. LN_RPTCOL
  110. C_SELPR
  111. RA_CURSOR
  112. MEMFLD
  113. HFGF_ICITEMFA_ICITEM
  114. GF_ICIQTYFA_ICIQTY
  115. PGF_ICLOCTFG_DSPST
  116. TGN_MSGLINEGC_IDRVTMPGC_TMPF1
  117. A_TMPF1
  118. IONHAND
  119. LONHAND
  120. QONHAND
  121. A_TMPF2
  122. DLC_TITLE
  123. EGC_IDRVPRGG_PRNRP
  124. GC_TMPF5
  125. PGC_EXTTXT
  126. GC_EXTDBF
  127. A_ICLOCT
  128. EG_DSPRP
  129. G_DSPALT
  130. C:\SMDISK\
  131. C:\SMDISK\SYRCON.PRG
  132. SYRCON.FXP
  133.