0% found this document useful (0 votes)
67 views8 pages

Involved Huron Transactions# MLX005: SR Interface File Having UK Data: SR Interface File Having ROI Data

This document describes the data flow process for SR to ML wastage and out of stock feeds. It involves Huron transactions that load data from SR interface files into the TXML0BPL table. For wastage records, the program checks sell weight indicators to rewrite the wastage quantity and weight for the Tesco product number before loading the record into the WI interface file. Records with zero wastage are rejected and written to the TXHN4BPL rejection table. Records marked with a deletion status of "D" are deleted from TXML0BPL.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views8 pages

Involved Huron Transactions# MLX005: SR Interface File Having UK Data: SR Interface File Having ROI Data

This document describes the data flow process for SR to ML wastage and out of stock feeds. It involves Huron transactions that load data from SR interface files into the TXML0BPL table. For wastage records, the program checks sell weight indicators to rewrite the wastage quantity and weight for the Tesco product number before loading the record into the WI interface file. Records with zero wastage are rejected and written to the TXHN4BPL rejection table. Records marked with a deletion status of "D" are deleted from TXML0BPL.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

SR to ML Data Flow (out of stock feed)

Involved Huron transactions# MLX005

SR interface file having UK data: SRL.SRMLOSXA.SR466.V0

SR interface file having ROI data: SRL.SRMLOSXA.SR466.V0.ROI

Jobs Involved# ML140DN0(UK), ML640DN0(ROI)

As seen in below snippet from huron transaction# MLX005 wastage source code and wastage type code
are assigned with default values for every record from SR feed that gets added to TXML0BPL table. Also
note that wastage quantity is defaulted to zero.

Data loaded in TXML0BPL table#


Data loaded in WI interface file

Before record gets loaded in WI interface file the huron program checks below condition to rewrite the
wastage quantity and wastage weight based on sell weight indicator for the respective TPN(Tesco
product no)

If BPR_SWGT_IND = 'B' or 'P' OR 'W'


BPR_WSTGE_WGHT =
TXML0BPL.BPR_WSTGE_QY / 2.205
BPR_WSTGE_QY = 0.00
ELSE
BPR_WSTGE_WGHT = 0
BPR_WSTGE_QY = TXML0BPL.BPR_WSTGE_QY
END-IF

SR to ML Data Flow (wastage feed)

Involved Huron transactions# MLX120

SR interface file having UK data - SRL.SRMLWSXA.SR468.EARLY.V0, SRL.SRMLWSXA.SR468.V0

SR interface file having ROI data - SRL.SRMLWSXA.SR468.EARLY.V0.ROI,


SRL.SRMLWSXA.SR468.V0.ROI
Jobs Involved#

uk ROI
ML142DN0 ML642DN0
ML145DN0 ML645DN0

SR EARLY WASTAGE

Data loaded in TXML0BPL table


Data loaded in WI interface file

Before record gets loaded in WI interface file the huron program checks below condition to rewrite the
wastage quantity and wastage weight based on sell weight indicator for the respective TPN(Tesco
product no)

If BPR_SWGT_IND = 'B' or 'P' OR 'W'


BPR_WSTGE_WGHT =
TXML0BPL.BPR_WSTGE_QY / 2.205
BPR_WSTGE_QY = 0.00
ELSE
BPR_WSTGE_WGHT = 0
BPR_WSTGE_QY = TXML0BPL.BPR_WSTGE_QY
END-IF

SR wastage Rejections

SR wastage record with wastage value as zero will be pushed for rejections and will be loaded in
TXHN4BPL
Rejected Data loaded in TXHN4BPL

SR Wastage Deletions

SR wastage record with wastage status as ‘D” will be deleted from TXML0BPL and from below
snapshot it is evident that the corresponding record is not found in TXML0BPL
SR wastages

DATA LOADED IN TXML0BPL


Data interfaced in WI file

Before record gets loaded in WI interface file the huron program checks below condition to rewrite the
wastage quantity and wastage weight based on sell weight indicator for the respective TPN(Tesco
product no)

If BPR_SWGT_IND = 'B' or 'P' OR 'W'


BPR_WSTGE_WGHT =
TXML0BPL.BPR_WSTGE_QY / 2.205
BPR_WSTGE_QY = 0.00
ELSE
BPR_WSTGE_WGHT = 0
BPR_WSTGE_QY = TXML0BPL.BPR_WSTGE_QY
END-IF

SR wastage rejections
If the sr.wastage value is received as zero then such a record gets pushed for rejection and will be
written to the rejection table# TXHN4BPL

You might also like