YTDP - Year To Date Purchases

APIs For This Group

ADDYTDP - Add Year To Date Purchase History

BOTH            K3SOBJ            'K3S Object library'            10A
BOTH            COMP              'Company'                        1A
BOTH            COMPCOD           'Company code'                   3A
BOTH            USER              'User calling the program'      10A
BOTH            ERRORS            'Error indicator'                1A
BOTH            ERRMSG            'Error message'                100A
BOTH            ERRFIELD          'Field in error'                20A
BOTH            IDBUYR            'Buyer ID'                       5A 
BOTH            IDLOCN            'Location ID'                    5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            SBYEAR            'Purchase Year'                  5 0
BOTH            SBDOLR01          'Purchasing Dollars Period 01'  11 3
BOTH            SBVOLU01          'Purchasing Volume Period 01'   11 3
BOTH            SBWGHT01          'Purchasing Weight Period 01'   11 3
BOTH            SBPURC01          'Purchasing PO's Period 01'      5 0
BOTH            SBPURI01          'Purchase Increment Period 01'   7 0
BOTH            SBCASE01          'Purchasing Cases Period 01'     9 4
BOTH            SBDOLR02          'Purchasing Dollars Period 02'  11 3
BOTH            SBVOLU02          'Purchasing Volume Period 02'   11 3
BOTH            SBWGHT02          'Purchasing Weight Period 02'   11 3 
BOTH            SBPURC02          'Purchasing PO's Period 02'      5 0
BOTH            SBPURI02          'Purchase Increment Period 02'   7 0
BOTH            SBCASE02          'Purchasing Cases Period 02'     9 4
BOTH            SBDOLR03          'Purchasing Dollars Period 03'  11 3
BOTH            SBVOLU03          'Purchasing Volume Period 03'   11 3
BOTH            SBWGHT03          'Purchasing Weight Period 03'   11 3
BOTH            SBPURC03          'Purchasing PO's Period 03'      5 0
BOTH            SBPURI03          'Purchase Increment Period 03'   7 0
BOTH            SBCASE03          'Purchasing Cases Period 03'     9 4
BOTH            SBDOLR04          'Purchasing Dollars Period 04'  11 3
BOTH            SBVOLU04          'Purchasing Volume Period 04'   11 3
BOTH            SBWGHT04          'Purchasing Weight Period 04'   11 3
BOTH            SBPURC04          'Purchasing PO's Period 04'      5 0
BOTH            SBPURI04          'Purchase Increment Period 04'   7 0
BOTH            SBCASE04          'Purchasing Cases Period 04'     9 4
BOTH            SBDOLR05          'Purchasing Dollars Period 05'  11 3
BOTH            SBVOLU05          'Purchasing Volume Period 05'   11 3
BOTH            SBWGHT05          'Purchasing Weight Period 05'   11 3
BOTH            SBPURC05          'Purchasing PO's Period 05'      5 0
BOTH            SBPURI05          'Purchase Increment Period 05'   7 0
BOTH            SBCASE05          'Purchasing Cases Period 05'     9 4
BOTH            SBDOLR06          'Purchasing Dollars Period 06'  11 3
BOTH            SBVOLU06          'Purchasing Volume Period 06'   11 3
BOTH            SBWGHT06          'Purchasing Weight Period 06'   11 3
BOTH            SBPURC06          'Purchasing PO's Period 06'      5 0
BOTH            SBPURI06          'Purchase Increment Period 06'   7 0
BOTH            SBCASE06          'Purchasing Cases Period 06'     9 4
BOTH            SBDOLR07          'Purchasing Dollars Period 07'  11 3
BOTH            SBVOLU07          'Purchasing Volume Period 07'   11 3
BOTH            SBWGHT07          'Purchasing Weight Period 07'   11 3
BOTH            SBPURC07          'Purchasing PO's Period 07'      5 0
BOTH            SBPURI07          'Purchase Increment Period 07'   7 0
BOTH            SBCASE07          'Purchasing Cases Period 07'     9 4
BOTH            SBDOLR08          'Purchasing Dollars Period 08'  11 3
BOTH            SBVOLU08          'Purchasing Volume Period 08'   11 3
BOTH            SBWGHT08          'Purchasing Weight Period 08'   11 3
BOTH            SBPURC08          'Purchasing PO's Period 08'      5 0
BOTH            SBPURI08          'Purchase Increment Period 08'   7 0
BOTH            SBCASE08          'Purchasing Cases Period 08'     9 4
BOTH            SBDOLR09          'Purchasing Dollars Period 09'  11 3
BOTH            SBVOLU09          'Purchasing Volume Period 09'   11 3
BOTH            SBWGHT09          'Purchasing Weight Period 09'   11 3
BOTH            SBPURC09          'Purchasing PO's Period 09'      5 0
BOTH            SBPURI09          'Purchase Increment Period 09'   7 0
BOTH            SBCASE09          'Purchasing Cases Period 09'     9 4
BOTH            SBDOLR10          'Purchasing Dollars Period 10'  11 3
BOTH            SBVOLU10          'Purchasing Volume Period 10'   11 3
BOTH            SBWGHT10          'Purchasing Weight Period 10'   11 3
BOTH            SBPURC10          'Purchasing PO's Period 10'      5 0
BOTH            SBPURI10          'Purchase Increment Period 10'   7 0
BOTH            SBCASE10          'Purchasing Cases Period 10'     9 4
BOTH            SBDOLR11          'Purchasing Dollars Period 11'  11 3
BOTH            SBVOLU11          'Purchasing Volume Period 11'   11 3
BOTH            SBWGHT11          'Purchasing Weight Period 11'   11 3
BOTH            SBPURC11          'Purchasing PO's Period 11'      5 0
BOTH            SBPURI11          'Purchase Increment Period 11'   7 0
BOTH            SBCASE11          'Purchasing Cases Period 11'     9 4
BOTH            SBDOLR12          'Purchasing Dollars Period 12'  11 3
BOTH            SBVOLU12          'Purchasing Volume Period 12'   11 3
BOTH            SBWGHT12          'Purchasing Weight Period 12'   11 3
BOTH            SBPURC12          'Purchasing PO's Period 12'      5 0
BOTH            SBPURI12          'Purchase Increment Period 12'   7 0
BOTH            SBCASE12          'Purchasing Cases Period 12'     9 4

UPDYTDP - Update Year To Date Purchase History

BOTH            K3SOBJ            'K3S Object library'            10A
BOTH            COMP              'Company'                        1A
BOTH            COMPCOD           'Company code'                   3A
BOTH            USER              'User calling the program'      10A
BOTH            ERRORS            'Error indicator'                1A
BOTH            ERRMSG            'Error message'                100A
BOTH            ERRFIELD          'Field in error'                20A
BOTH            IDBUYR            'Buyer ID'                       5A 
BOTH            IDLOCN            'Location ID'                    5A
BOTH            IDSUPL            'Supplier ID          '         10A
BOTH            IDSUPLSUB         'Sub supplier ID      '         10A
BOTH            SBYEAR            'Purchase Year'                  5 0
BOTH            SBDOLR01          'Purchasing Dollars Period 01'  11 3
BOTH            SBVOLU01          'Purchasing Volume Period 01'   11 3
BOTH            SBWGHT01          'Purchasing Weight Period 01'   11 3
BOTH            SBPURC01          'Purchasing PO's Period 01'      5 0
BOTH            SBPURI01          'Purchase Increment Period 01'   7 0
BOTH            SBCASE01          'Purchasing Cases Period 01'     9 4
BOTH            SBDOLR02          'Purchasing Dollars Period 02'  11 3
BOTH            SBVOLU02          'Purchasing Volume Period 02'   11 3
BOTH            SBWGHT02          'Purchasing Weight Period 02'   11 3 
BOTH            SBPURC02          'Purchasing PO's Period 02'      5 0
BOTH            SBPURI02          'Purchase Increment Period 02'   7 0
BOTH            SBCASE02          'Purchasing Cases Period 02'     9 4
BOTH            SBDOLR03          'Purchasing Dollars Period 03'  11 3
BOTH            SBVOLU03          'Purchasing Volume Period 03'   11 3
BOTH            SBWGHT03          'Purchasing Weight Period 03'   11 3
BOTH            SBPURC03          'Purchasing PO's Period 03'      5 0
BOTH            SBPURI03          'Purchase Increment Period 03'   7 0
BOTH            SBCASE03          'Purchasing Cases Period 03'     9 4
BOTH            SBDOLR04          'Purchasing Dollars Period 04'  11 3
BOTH            SBVOLU04          'Purchasing Volume Period 04'   11 3
BOTH            SBWGHT04          'Purchasing Weight Period 04'   11 3
BOTH            SBPURC04          'Purchasing PO's Period 04'      5 0
BOTH            SBPURI04          'Purchase Increment Period 04'   7 0
BOTH            SBCASE04          'Purchasing Cases Period 04'     9 4
BOTH            SBDOLR05          'Purchasing Dollars Period 05'  11 3
BOTH            SBVOLU05          'Purchasing Volume Period 05'   11 3
BOTH            SBWGHT05          'Purchasing Weight Period 05'   11 3
BOTH            SBPURC05          'Purchasing PO's Period 05'      5 0
BOTH            SBPURI05          'Purchase Increment Period 05'   7 0
BOTH            SBCASE05          'Purchasing Cases Period 05'     9 4
BOTH            SBDOLR06          'Purchasing Dollars Period 06'  11 3
BOTH            SBVOLU06          'Purchasing Volume Period 06'   11 3
BOTH            SBWGHT06          'Purchasing Weight Period 06'   11 3
BOTH            SBPURC06          'Purchasing PO's Period 06'      5 0
BOTH            SBPURI06          'Purchase Increment Period 06'   7 0
BOTH            SBCASE06          'Purchasing Cases Period 06'     9 4
BOTH            SBDOLR07          'Purchasing Dollars Period 07'  11 3
BOTH            SBVOLU07          'Purchasing Volume Period 07'   11 3
BOTH            SBWGHT07          'Purchasing Weight Period 07'   11 3
BOTH            SBPURC07          'Purchasing PO's Period 07'      5 0
BOTH            SBPURI07          'Purchase Increment Period 07'   7 0
BOTH            SBCASE07          'Purchasing Cases Period 07'     9 4
BOTH            SBDOLR08          'Purchasing Dollars Period 08'  11 3
BOTH            SBVOLU08          'Purchasing Volume Period 08'   11 3
BOTH            SBWGHT08          'Purchasing Weight Period 08'   11 3
BOTH            SBPURC08          'Purchasing PO's Period 08'      5 0
BOTH            SBPURI08          'Purchase Increment Period 08'   7 0
BOTH            SBCASE08          'Purchasing Cases Period 08'     9 4
BOTH            SBDOLR09          'Purchasing Dollars Period 09'  11 3
BOTH            SBVOLU09          'Purchasing Volume Period 09'   11 3
BOTH            SBWGHT09          'Purchasing Weight Period 09'   11 3
BOTH            SBPURC09          'Purchasing PO's Period 09'      5 0
BOTH            SBPURI09          'Purchase Increment Period 09'   7 0
BOTH            SBCASE09          'Purchasing Cases Period 09'     9 4
BOTH            SBDOLR10          'Purchasing Dollars Period 10'  11 3
BOTH            SBVOLU10          'Purchasing Volume Period 10'   11 3
BOTH            SBWGHT10          'Purchasing Weight Period 10'   11 3
BOTH            SBPURC10          'Purchasing PO's Period 10'      5 0
BOTH            SBPURI10          'Purchase Increment Period 10'   7 0
BOTH            SBCASE10          'Purchasing Cases Period 10'     9 4
BOTH            SBDOLR11          'Purchasing Dollars Period 11'  11 3
BOTH            SBVOLU11          'Purchasing Volume Period 11'   11 3
BOTH            SBWGHT11          'Purchasing Weight Period 11'   11 3
BOTH            SBPURC11          'Purchasing PO's Period 11'      5 0
BOTH            SBPURI11          'Purchase Increment Period 11'   7 0
BOTH            SBCASE11          'Purchasing Cases Period 11'     9 4
BOTH            SBDOLR12          'Purchasing Dollars Period 12'  11 3
BOTH            SBVOLU12          'Purchasing Volume Period 12'   11 3
BOTH            SBWGHT12          'Purchasing Weight Period 12'   11 3
BOTH            SBPURC12          'Purchasing PO's Period 12'      5 0
BOTH            SBPURI12          'Purchase Increment Period 12'   7 0
BOTH            SBCASE12          'Purchasing Cases Period 12'     9 4