SLFW - Sales Entry Management

APIs For This Group

ADBSLFW - Add Sales Entry Batch

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            SBLOCN            'Location ID'                    5A
BOTH            SBDESC            'Description'                   40A
BOTH            SBCHAIN           'Chain'                         10A
BOTH            SBBEGIN           'Product Hold Out Begin'        10A
BOTH            SBEND             'Product Hold Out End'          10A
BOTH            SBBCHTYP          'Batch Type'                     3A
BOTH            SBPRETYPE         'Prebook type'                   1A
BOTH            SBPRENUM          'Prebook number'                10A
BOTH            SBPRIC            'Sales price'                   11 4
BOTH            SBRMVDATE         'Removal date'                  10A
BOTH            SBSPCINT1         'Special instructions 1'        50A
BOTH            SBSPCINT2         'Special instructions 2'        50A
BOTH            SBCUSTPO          'Customer PO'                   15A
BOTH            SBSPECINV         'Special invoice flag'           1A
BOTH            SBSELECD          'Selection type'                 1A
BOTH            SBINVRESD         'Inventory reserve date'        10A
BOTH            SBPROFILE         'Profile flag'                   1A
BOTH            SBPREBOOK         'Prebook flag'                   1A
BOTH            SBLEADTME         'Lead time adjustment'           3 0
BOTH            SBDAILY           'Daily replenishment flag'       1A
BOTH            SBUSRNAME         'User profile name'             10A
BOTH            SBCHGDATE         'Change date'                   10A
BOTH            SBEXTDAYS         'Extended days override'         3 0
BOTH            SBALLWPRE         'Allow prebook flag'             1A
BOTH            SBCODFLAG         'COD flag'                       1A
BOTH            SBSUPDATE         'Supplier date'                 10A
BOTH            SBSUPL            'Supplier ID'                   10A
BOTH            SBBILLDAY         'Billing day of the week'        1A
BOTH            SBTRADSHW         'Trade show flag'                1A
BOTH            SBPOFLG           'PO Flag'                        1A

UPBSLFW - Update Sales Entry Batch

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            IDBATCH           'Batch ID'                       8  0
BOTH            SBLOCN            'Location ID'                    5A
BOTH            SBDESC            'Description'                   40A
BOTH            SBCHAIN           'Chain'                         10A
BOTH            SBBEGIN           'Product Hold Out Begin'        10A
BOTH            SBEND             'Product Hold Out End'          10A
BOTH            SBPRETYPE         'Prebook type'                   1A
BOTH            SBPRENUM          'Prebook number'                10A
BOTH            SBPRIC            'Sales price'                   11 4
BOTH            SBRMVDATE         'Removal date'                  10A
BOTH            SBSPCINT1         'Special instructions 1'        50A
BOTH            SBSPCINT2         'Special instructions 2'        50A
BOTH            SBCUSTPO          'Customer PO'                   15A
BOTH            SBSPECINV         'Special invoice flag'           1A
BOTH            SBSELECD          'Selection type'                 1A
BOTH            SBINVRESD         'Inventory reserve date'        10A
BOTH            SBPROFILE         'Profile flag'                   1A
BOTH            SBPREBOOK         'Prebook flag'                   1A
BOTH            SBLEADTME         'Lead time adjustment'           3 0
BOTH            SBDAILY           'Daily replenishment flag'       1A
BOTH            SBEXTDAYS         'Extended days override'         3 0
BOTH            SBALLWPRE         'Allow prebook flag'             1A
BOTH            SBCODFLAG         'COD flag'                       1A
BOTH            SBSUPDATE         'Supplier date'                 10A
BOTH            SBSUPL            'Supplier ID'                   10A
BOTH            SBBILLDAY         'Billing day of the week'        1A
BOTH            SBTRADSHW         'Trade show flag'                1A
BOTH            SBENTRY           'Update Entries Flag'            1A
BOTH            SBPOFLG           'PO Flag'                        1A

DEBSLFW - Delete Sales Entry Batch

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            IDBATCH           'Batch ID'                       8  0

ADDSLFW - Add Sales Entry

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            SBLOCN            'Location ID'                    5A
BOTH            SBCHAIN           'Chain'                         10A
BOTH            SBSTORE           'Store ID'                      10A
BOTH            SBCUSTOMR         'Customer ID'                   10A
BOTH            SBPROD            'Selected Product ID'           25A
BOTH            SBHLDCAP          'Product Hold Out Divisor'       7 0
BOTH            SBHLDQTY          'Hold Out Quantity'              7 0
BOTH            SBHLDREAS         'Hold Out Reason'               40A
BOTH            SBREQNUM          'Request Number'                25A
BOTH            SBMEMO            'Memo'                         500A
BOTH            SBBATCH           'Batch ID'                       8 0
BOTH            SBCNTFLG          'Recount after add 1=Y 0=N'      1A
BOTH            SBSPECPO          'Special Order Flag'             1A
BOTH            SBPRODTYP         'Product Type'                   1A
BOTH            SBBUYMULT         'Buy Multiple'                   7 0
BOTH            SBCOUNT           'Count'                          7 0
BOTH            SBPRETYPE         'Pretype'                        1A
BOTH            SBPRENUM          'Prenum'                       10A
BOTH            SBSALEPRI         'Sale Price'                    11 4
BOTH            SBRETPRI          'Return Price'                  11 4
BOTH            SBSALEFLG         'Sale flag'                      1A
BOTH            SBRETFLAG         'Return flag'                    1A
BOTH            SBEDIFLAG         'EDI flag'                       1A
BOTH            SBTRKFLAG         'Track flag'                     1A
BOTH            SBBROKFLG         'Broker flag'                    1A
BOTH            SBDESC1           'Description 1'                 40A
BOTH            SBDESC2           'Description 2'                 40A
BOTH            SBPBPROD          'Parent product'                25A
BOTH            SBCHKFLG          'Check flag'                     1A
BOTH            SBLWDEV           'Low deviation'                  5 0
BOTH            RVSFID            'Generated sales flow ID'        8 0

UPDSLFW - Update Sales Entry

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBPROD            'Selected Product ID'           25A
BOTH            SBHLDCAP          'Hold out Cap'                   7 0
BOTH            SBHLDQTY          'Hold Out Quantity'              7 0
BOTH            SBHLDREAS         'Hold Out Reason'               40A
BOTH            SBBEGIN           'Product Hold Out Begin'        10A
BOTH            SBEND             'Product Hold Out End'          10A
BOTH            SBREQNUM          'Request Number'                25A
BOTH            SBMEMO            'Memo'                         500A
BOTH            SBCHAIN           'Chain ID'                      10A
BOTH            SBSTORE           'Store ID'                      10A
BOTH            SBCUSTOMR         'Customer ID'                   10A
BOTH            SBCNTFLG          'Recount after add 1=Y 0=N'      1A
BOTH            SBBUYMULT         'Buy Multiple'                   7 0
BOTH            SBCOUNT           'Count'                          7 0
BOTH            SBPRETYPE         'Pretype'                        1A
BOTH            SBPRENUM          'Prenum'                       10A
BOTH            SBSALEPRI         'Sale Price'                    11 4
BOTH            SBRETPRI          'Return Price'                  11 4
BOTH            SBSALEFLG         'Sale flag'                      1A
BOTH            SBRETFLAG         'Return flag'                    1A
BOTH            SBEDIFLAG         'EDI flag'                       1A
BOTH            SBTRKFLAG         'Track flag'                     1A
BOTH            SBBROKFLG         'Broker flag'                    1A
BOTH            SBDESC1           'Description 1'                 40A
BOTH            SBDESC2           'Description 2'                 40A
BOTH            SBPBPROD          'Parent product'                25A
BOTH            SBCHKFLG          'Check flag'                     1A
BOTH            SBLWDEV           'Low deviation'                  5 0
BOTH            SBUSRCALL         'User: 1; Pgm: 0'                1A

DELSLFW - Delete Sales Entry

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBCOUNT           'Recount after delete 1=Y 0=N'   1A

CNTSLFW - Count Sales Entries

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            IDBATCH           'Batch ID'                       8 0

CNLSLFW - Cancel Sales Entry

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBCOUNT           'Count after cancel'             1A
BOTH            SBUSRCALL         'User: 1; Pgm: 0'                1A

APRSLFW - Approve Sales Entry Request

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBCNTFLG          'Recount flag'                   1A

CHKSLFW - Check if Customer/Store/Product/Chain Exist

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            IDSFID            'Sales Entry ID'                  8 0

RSNSLFW - Check if Request is Reasonable

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            IDSFID            'Sales Entry ID'                  8 0

RLSSLFW - Release Sales Entry

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBRELEASE         'Release value'                  1A
BOTH            SBCOUNT           'Count after release'            1A

INVSLFW - Update Sales Entry Invoice Number

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBINVNUM          'Invoice number'                10A

POTSLFW - Update Sales Entry Pre Order Type

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBBCHTYP          'Batch Type'                      3A

DNYSLFW - Update Sales Entry Deny Reason

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            IDSFID            'Sales ID'                       8 0
BOTH            SBDNYRSN          'Deny Reason'                   100A
BOTH            SBDNYTYP          'Deny Type'                       1A
BOTH            SBCOUNT           'Count after deny'                1A
BOTH            SBUSRCALL         'User: 1; Pgm: 0'                 1A

TOTSLFW - Sales Entry Totals for Agent

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            SBUSER            'Filter by USERREQ'             10A
BOTH            SBBATCH           'Filter by Batch Number'         8 0
BOTH            RVTOTAL           'Total Entries For User'         7 0
BOTH            RVRELEASE         'Total Released Entries'        7 0
BOTH            RVPROCESS         'Total Processed Entries'       7 0
BOTH            RVCANCEL          'Total Cancelled Entries'       7 0
BOTH            RVAPPROVE         'Total Approved Entries'        7 0
BOTH            RVNEEDREAP        'Total Need Reapproval Entries' 7 0
BOTH            RVREAPPROVE       'Total Reapproved Entries'      7 0
BOTH            RVDENIED          'Total Denied Entries'          7 0
BOTH            RVREASON          'Total Unreasonable Entries'    7 0
BOTH            RVPRODDNE         'Total Product DNE Entries'     7 0
BOTH            RVCHAINDNE        'Total Chain DNE Entries'       7 0
BOTH            RVCUSTDNE         'Total Customer DNE Entries'    7 0
BOTH            RVSTOREDNE        'Total Store DNE Entries'       7 0
BOTH            RVPENDING         'Total Pending Entries'         7 0
BOTH            RVBLOCKED         'Total Blocked Entries'         7 0
BOTH            RVUNCLAIMD        'Total Unclaimed Entries'       7 0

IMPSLFW - Import Sales Entries

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            IDBATCH           'Batch ID'                       8A
BOTH            SBJOBTYPE         '1:batch 0:interactive'          1A
BOTH            RVSUCCESS         'Number of successful imports'   8A
BOTH            RVERROR           'Number of errors'               8A
BOTH            NOTIFYID          'Notification ID'               11A

PROSLFW - Process Sales Entry

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBVALUE           'Process value'                  1A
BOTH            SBERROR           'Deny reason'                  100A
BOTH            SBCOUNT           'Count after process'            1A

DRSSLFW - Display Reasonability

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            SBSFID            'Sales Flow ID'                  8 0
BOTH            RVLOCN            'Location From Entry'            5A
BOTH            RVPROD            'Product From Entry'            25A
BOTH            RVREASON          'Reasonable? 0:Y 1:No'           1A
BOTH            RVBEGIN           'Begin Date'                    10A
BOTH            RVHLDDATE         'Reasonability start date'      10A
BOTH            RVCURDATE         'Current date'                  10A
BOTH            RVORDDATE         'Next projected order date'     10A
BOTH            RVSUPTYPE         'Supplier Type F:Fixed O:OrdCyc' 1A
BOTH            RVPRODLTM         'Product Lead Time'              3 0
BOTH            RVLEADTMV         'Product Lead Time Variance'     3 0
BOTH            RVORDDAYS         'Days before next likely order'  3 0
BOTH            RVSUGORDT         'Suggested order date'          10A
BOTH            RVTOTRSN          'Total days until reasonability' 5 0
BOTH            RVACTPROD         'Active products'                5 0

QTYSLFW - Update Sales Entry Quantities

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            IDSFID            'Sales Flow ID'                  8 0
BOTH            SBQTYOORD         'Quantity on order'              7 0
BOTH            SBQTYRECD         'Quantity received'              7 0
BOTH            SBQTYSHIP         'Quantity shipped'               7 0

REQSLFW - Update Sales Entry Request Number

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            IDSFID            'Sales Flow ID'                  8 0
BOTH            SBREQNUM          'Request number'                10A

LGISLFW - Log Processing Of Entry Import From INTSLFW

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            SBCHGTYPE         'Process Type'                   1A
BOTH            SBWORKSTN         'Workstation'                   10A
BOTH            SBPROGRAM         'Program'                       10A
BOTH            SBUSRBATCH        'User Batch'                     8 0
BOTH            SBSFID            'Sales Flow ID'                  8 0
BOTH            SBK3SUSER         'K3S User'                      10A
BOTH            SBLOCN            'Location'                       5A
BOTH            SBSTOREID         'Store ID'                      10A
BOTH            SBCHAINID         'Chain ID'                      10A
BOTH            SBCUSTID          'Customer ID'                   10A
BOTH            SBPRODID          'Product ID'                    25A
BOTH            SBQTY             'Quantity'                       7 0
BOTH            SBK3SMSG          'K3S Message'                  100A
BOTH            SBSPECPO          'Special PO'                     1A
BOTH            SBHLDCAP          'Hold Cap'                       7 0
BOTH            SBBGNDT           'Begin Date'                    10A
BOTH            SBENDDT           'End Date'                      10A
BOTH            SBBCHDESC         'Batch Description'             40A
BOTH            SBBATCH           'Batch ID'                       8 0
BOTH            SBINVOICE         'Invoice'                       10A
BOTH            SBPOTYPE          'PO Type'                        3A
BOTH            SBPROCESS         'Process'                        1A
BOTH            SBPRODTYP         'Product Type'                   1A
BOTH            SBUSERA1          'User Area 1'                    1A
BOTH            SBUSERA2          'User Area 2'                    3A
BOTH            SBUSERA3          'User Area 3'                   10A
BOTH            SBUSERA4          'User Area 4'                   50A
BOTH            SBUSERN1          'User Number 1'                  5 0
BOTH            SBUSERN2          'User Number 2'                  7 2
BOTH            SBUSERN3          'User Number 3'                 11 4
BOTH            SBUSERN4          'User Number 4'                 11 4
BOTH            SBBCHTYP          'Batch Type'                      3A
BOTH            SBBUYMULT         'Buy Multiple'                   7 0
BOTH            SBPRETYPE         'Pre Order Type'                 1A
BOTH            SBPRENUM          'Pre Order Number'              10A
BOTH            SBSALEPRI         'Sales Price'                   11 4
BOTH            SBRETPRI          'Retail Price'                  11 4
BOTH            SBSALEFLG         'Sales Flag'                     1A
BOTH            SBRETFLAG         'Retail Flag'                    1A
BOTH            SBEDIFLAG         'EDI Flag'                       1A
BOTH            SBTRKFLAG         'Tracking Flag'                  1A
BOTH            SBBROKFLG         'Broken Flag'                    1A
BOTH            SBDESC1           'Description 1'                 40A
BOTH            SBDESC2           'Description 2'                 40A
BOTH            SBPBPROD          'Prebook Product'               25A
BOTH            SBCHKFLG          'Checkin Flag'                   1A
BOTH            SBLWDEV           'Lowest Deliverable'             5 0

CLMSLFW - Claim Sales Entry

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            IDSFID            'Sales entry ID'                 8 0
BOTH            SBCNTFLG          'Count after claim'              1A

CLBSLFW - Claim Sales Flow Batch Entries

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            IDBATCH           'Sales Flow Batch ID'            8 0
BOTH            SBUSRFLG          'User claim permission req.'     1A

PRESLFW - Label Product Exists for Sales Entry

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            IDSFID            'Sales Flow ID'                  8 0

SPCSLFW - Update Special Order Flag for Sales Entry

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            IDSFID            'Sales Flow ID'                  8 0
BOTH            SBSPECPO          'Special Order Flag'             1A

UPPSLFW - Update Processed Entry Quantities

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            IDSFID            'Sales Entry ID'                 8 0
BOTH            SBHLDQTY          'Hold Out Quantity'              7 0
BOTH            SDENYRSN          'Deny Reason'                  100A
BOTH            SBUSRCALL         'User: 1; Pgm: 0'                1A

PRTSLFW - Update Parent Sales Entry ID for Entry

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            IDSFID            'Sales Entry ID'                 8 0
BOTH            SBSFID            'Parent Sales Entry ID'          8 0

CHDSLFW - Update Child Sales Entry ID for Entry

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            IDSFID            'Sales Entry ID'                 8 0
BOTH            SBSFID            'Child Sales Entry ID'           8 0

AUTSLFW - Automatically Approve Sales Entry

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBCNTFLG          'Recount flag'                   1A

DNGSLFW - Deny Group of Sales Entries

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            IDBATCH           'Batch ID'                       8 0
BOTH            IDLOCN            'Location ID'                    5A
BOTH            IDPROD            'Product ID'                    25A
BOTH            SBDNYRSN          'Deny Reason'                  100A
BOTH            SBDNYTYP          'Deny Type'                      1A
BOTH            SBENTTYP          '1=PND; 2=APR; 3=DNY'            1A

APGSLFW - Approve Group of Sales Entries

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            IDBATCH           'Batch ID'                       8 0
BOTH            IDLOCN            'Location ID'                    5A
BOTH            IDPROD            'Product ID'                    25A
BOTH            SBENTTYP          '1=PND; 2=APR; 3=DNY'            1A

ULGSLFW - User Log of Sales Entries

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            IDSFID            'Sales Entry ID'                  8 0
BOTH            SBCHGTYP          'Change Type'                     1A
BOTH            SBDENYRSN         'Deny Reason'                  100A