NJP ~ Night Job Parameters

Sections in this article

Night Job Parameters

This table code is responsible for the following night job parameters. This group tells K3S_NITECL if certain tools should be run.

ALT_SYSTEM

Description:

This table code checks to see if the alternate source system process should be ran in the night job. All alternate source orders are saved if this is not the night for creating new alternate source orders. They are copied back into the order files at the end of the night job. If this is not an alternate source processing night, then all alternate source orders are restored back to the regular order files.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: ALT_SYSTEM Table Code Description 1: Alter Source System installed? Table Flag 1: 1

Programs Used in

  • K3S_9998
  • K3S_PROTO

AUTO_PO

Description:

This table code will check to see if the auto PO approval process should be ran in the night job.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: AUTO_PO Table Code Description 1: Auto PO approval installed? Table Flag 1: 1

Programs Used in

  • K3S_9998
  • K3S_1050AU
  • K3S_1100
  • K3S_PROTO

FIRST_TIME

Description:

If this flag is on, then this customer wants any products going into K3S that have a status of ‘D’ or discontinued for the first time, to automatically be changed to user status ‘M’ or manual. This would cause a log type 8 to happen.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: FIRST_TIME Table Code Description 1: First time to ‘D’ make ‘M’? Table Code Description 2: Product status logic Table Flag 1: 0

Programs Used in

  • K3S_0010
  • K3S_9010
  • K3S_9045
  • K3S_9048
  • K3S_9998
  • K3S_9260
  • K3S_PROTO

LOG_REPORT

Description:

This table code will check to see if the Log Report for Product Transactions should be processed.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: LOG_REPORT Table Code Description 1: Log Report processing? Table Flag 1: 0

Programs Used in

  • K3S_9998
  • K3S_PROTO

LOG_TYPE_5

Description:

This table code will check to see if a Log type ‘5’ (Supplier passed does not exist) should be processed.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: LOG_TYPE_5 Table Code Description 1: Log type ‘5’ exit? Table Flag 1: 0

Programs Used in

  • K3S_9998
  • K3S_PROTO

OVERSTOCK

Description:

This table code, if turned on, will find overstocked products for the company. If there are overstock information, the night job will update the product. Flag 1 must be 1 to get overstock checks and OVR batch.

Enable:

If Flag 1 = 1, then control the population of file K_PRODOVP

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: OVERSTOCK Table Code Description 1: Overstock process to run? Table Code Description 2: Multi-location environment Table Flag 1: 1

Programs Used in

  • K3S_9998
  • AR_FBOPROR
  • AR_INVLOG
  • AR_OVSTK
  • AR_OVSTCK_H
  • BK_OVSTK
  • BK_OVSTK_H
  • K3S_PROTO

PER_FILTER

Description:

This table code will check to see if the Period End Filter shold be processed.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: PER_FILTER Table Code Description 1: Period End Filter installed? Table Flag 1: 1

Programs Used in

  • K3S_9998
  • K3S_PROTO

Description:

This product code is for the Product Linkage function and will be checked to see if it should be processed to combine values.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: PROD_LINK Table Code Description 1: Product linkage processing? Table Flag 1: 1

Programs Used in

  • K3S_9998
  • K3S_PROTO

RMV_HISTRY

Description:

Once the NJP Night Job Parameter flag 1 has been set to 1 for RMV_HISTRY, program K3S_3045 will remove all product history records from that product in both K_PRODHIS and K_PRODH2 files. All occurances that match will be deleted.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: RMV_HISTRY Table Code Description 1: Remove history LG_LOGTYPE=4? Table Flag 1: 1

Programs Used in

  • K3S_3045
  • K3S_9998
  • K3S_PROTO

TRANSFER

Description:

This table code, if turned on, will check to see if the Transfer Supplier been installed. If so, the K_INTPROD file will be updated with the transfer supplier ID’s and copy forecast. This table code will also include the history for new products established in the transfer system.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: TRANSFER Table Code Description 1: Transfer Supplier installed? Table Flag 1: 1

Programs Used in

  • K3S_9998
  • K3S_PROTO

VALID_PROC

Description:

For the patch program K3S_FX500, this table code would be used for updating the length of the mask. The Supplier Validation will be checked to see if it has been processed by checking the supplier ID’s in K_INTPROD.

Enable:

If Flag 1 = 1, then this feature is turned on for night job processing

If Flag 1 = 0, then the night job will not run this process

Structure:

Table Code Value: VALID_PROC Table Code Description 1: Supplier validation process? Table Code Description 2: XXXXXXXXXX XXXXXXXXXX <— mask only Table Code Description 3: <— use Desc 3 Table Flag 1: 0

Programs Used in

  • K3S_FX500F
  • K3S_9998
  • K3S_PROTO