getStockChange Returns stock and information about stock changes for a given article. Object: /net/dsb/vhs3/StockInfo Method: getStockChange Version: 1.0.0 Parameter Name Type / Length Opt. / Mandat. Description stock-article-number AN / 18 (M) Stock article number. One of the…article-number fields is required stock-article-number-external AN / 18 (M) External stock article number. One of the … article -number fields is required distribution-article-number-external AN / 13 (M) one of n distribution article numbers of an article. One of the … article number fields is required. If this number refer to a set, there exists no unique stockarticle number and therefore the response will be empty. distribution-article-number-externalAN / 20 (M) one of n distribution article numbers of an article. One of the … article number fields is required timestamp DT / 19 M Date which marks the first stock-change returned. Ordinarily the timestamp, that was returned by the last esponse is set in this field. The timestamp is parsed in the time zone of the WSI server. stock-plant AN / 2 O 0 .. n plants. filter-for-type AN O Regular expression in order to filter the result. filter-for-receipt-reference AN O Regular expression in order to filter the result. first-stock-change-only AN / 1 O Y / N if set to Y ,returns the first storage date or ‘N’ returns all stock changes.) Response Element XML fragment stock-info see below. Result Request <?xml version="1.0" encoding="UTF-8"?> <message version="1.0" system="vhs/3" > <header> <client>4711</client> <service-provider>999</service-provider> </header> <body> <stock-article-number>3AKLOPF</stock-article-number> </body> </message> Result Response <?xml version="1.0" encoding="UTF-8"?> <message version="1.0" system="vhs/3"> <header> <client>4711</client> <service-provider>999</service-provider> </header> <body> <stock-info> <stock-change> ... </stock-change> </stock-info> <timestamp>2005-08-11 18:16:31</timestamp> </body> </message> Response Structure Structure <stock-info> <stock-info> <stock-article-number>3AKLOPF</stock-article-number> <stock-article-number-external>123</stock-article-number-external> <stock-article-description>BAMBI PLUESCH KLOPFER</stock-article-description> <stock-client></stock-client> <!—- 0 to n (stocks for all queried plants) --> <stock-available stock-plant="">47</stock-available> <stock-available-free stock-plant="">40</stock-available-free> <stock-blocked stock-plant=""></stock-blocked> <stock-returned stock-plant=""></stock-returned> <stock-damaged stock-plant=""></stock-damaged> <stock-reserved stock-plant=""></stock-reserved> <stock-available-sum>128</stock-available-sum> <stock-available-free-sum>120</stock-available-free-sum> <stock-blocked-sum></stock-blocked-sum> <stock-returned-sum></stock-returned-sum> <stock-damaged-sum></stock-damaged-sum> <stock-reserved-sum></stock-reserved-sum> <!—- 0 to n (all stock-changes for all queried plants) --> <stock-change> <stock-plant></stock-plant> <stock-id></stock-id> <quantity></quantity> <type></type> <code /> <date-of-update> </date-of-update> <date-of-receipt></date-of-receipt> <receipt-reference></receipt-reference> </stock-change> <timestamp></timestamp> </stock-info> Element Definitions Field KeyLength TypeRemark, field supply or encoding stock-article-number 18 AN Stock article number stock-article-number-external 18 AN Stock article number external stock-article-description 30 AN Stock article description stock-client 4 AN Stock client stock-available 7 N Stock available (of the specified plant) This value is the physically available stock stock-available → attribute: stock-plant 2 AN Name or number of the queried plant or the default plant stock-available-free 7 N Free available Stock (of the specified plant) This is a virtual value that is determined by subtracting reserved from available stock-available-free → attribute: stock-plant 2 AN Name or number of the queried plant or the default plant stock-blocked 7 N Stock blocked (of the specified plant) stock-blocked → attribute: stock-plant 2 AN Name or number of the queried plant or the default plant stock-returned 7 N Stock returned (of the specified plant) stock-returned → attribute: stock-plant 2 AN Name or number of the queried plant or the default plant stock-damaged 7 N Stock damaged (of the specified plant) stock-damaged → attribute: stock-plant 2 AN Name or number of the queried plant or the default plant stock-reserved 7 N Stock reserved (of the specified plant) because of reservations or backlogs stock-reserved → attribute: stock-plant 2 AN Name or number of the queried plant or the default plant stock-available-sum 7 N Stock available (sum of all queried plants) stock-available-free-sum 7 N Free available Stock (sum of all queried plants) stock-blocked-sum 7 N Stock blocked (sum of all queried plants) stock-returned-sum 7 N Stock returned (sum of all queried plants) stock-damaged-sum 7 N Stock damaged (sum of all queried plants) stock-reserved-sum 7 N Stock reserved (sum of all queried plants) stock-change * stock-plant 2 AN Plant * stock-id 10 AN Stock ID * quantity 7 N Quantity * type 2 AN Type * code 1 AN Code * date-of-update 8 N Date of update (YYYYMMDD) * date-of-receipt 8 N Date of receipt (YYYYMMDD) * receipt-reference 10 AN Reference of receipt timestamp 19 DT Timestamp for next request YYYY-MM-DD HH:MM:SS Field mapping in VIS XML-Element Table and Field in VIS stock-article-number M_LAR.LAR_ARTNR stock-article-number-externaln. a. stock-article-description M_LAR.LAR_BEZ stock-client M_LAR.LAR_CLUSTER stock-available M_LAR.LAR_BEST_LAG1 stock-available-free n. a. stock-blocked M_LAR.LAR_BEST_LAG2 stock-returned M_LAR.LAR_BEST_LAG3 stock-damaged M_LAR.LAR_BEST_LAG4 stock-reserved M_LAR.LAR_RES_RUECK stock-available-sum n. a. stock-available-free-sum n. a. stock-blocked-sum n. a. stock-returned-sum n. a. stock-damaged-sum n. a. stock-reserved-sum n. a. stock-change stock-plant M_LBW.LBW_WERK stock-id M_LBW.LBW_LAGER quantity M_LBW.LBW_MENGE type M_LBW.LBW_ART code M_LBW.LBW_CODE date-of-update M_LBW.LBW_BUCH_DATUM date-of-receipt M_LBW.LBW_BELEG_DATUM receipt-referenceM_LBW.LBW_BELEG_REF This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.OKMore information