Fetch Price List

These function can be used to get the price list along with its other corresponding field values i.e. below listed column/output values.

Either of parameter PRICELIST_​ID or DESCR is mandatory inputs for this function.

Function:

FETCH(PRICE_LIST[COLUMN_NAME,PRICELIST_ID,PL_TYPE,PL_STATUS_FLG,DESCR,
LANGUAGE_CD,SET_OPERATION])

Expected list of input field/column values:

Input Parameter Description Table Description
COLUMN_​NAME Column name to be mapped from the returned RESULTSET. i.e. OUTPUT field name
PRICELIST_​ID Price List ID Price List
PL_​TYPE Price List Type Price List
PL_​STATUS_​FLG Status Price List
DESCR Description (This can have the wild card ‘%’ to pass the partial description) Price List
LANGUAGE_​CD Primary ID switch Price List Language
SET_​OPERATION

This is a BOOLEAN value.

If TRUE - Reset operation configured at service level.

If FALSE - Validate the fetch function output i.e. Throws error if returns NULL or multiple records.

If NULL – Will do nothing but only throw an error if function return multiple records.

List of output field/column values:

Output Parameter Description Table Description
PRICELIST_​ID Price List ID Price List
PL_​TYPE Price List Type Price List
PL_​STATUS_​FLG Status Price List
DESCR Description Price List Language
PL_​START_​DT Effective Start Date Price List
PL_​END_​DT Effective End Date Price List
PL_​GLOBAL_​SW Global Price List Switch Price List