====== GetArticleDetailsByEAN ====== The GetArticleDetailsByEAN function returns a node set with the article details as an Attibute to the transferred EAN. These can be evaluated using XPath (see example). The function should always be used with the XSLT path /Detail and can be supplemented with attributes if only certain ArticleDetails are to be returned. The items details loaded within a mapping are cached internally by the function, so that when you call GetArticleDetailsByEAN again with the same EAN, there is no further request to the data layer. ==== Syntax: ==== GetArticleDetailsByEAN('EAN', 'LocationGLN', 'scope', 'property') * EAN: The ean to search for. * LocationGLN: optional parameter of the location gln. * scope: optional parameter to reduce the amount of data: - 'small': load only article details data (one Select) - 'customobject': The item detail data is loaded together with the CustomObjects (two selects). - 'medium': load also ArticleDetailAdditionalInfo, ArticleEAN and ArticleDetailCustomItems (4 selects) - **'full'**: default value. Load also article texts and price lines (8 selects) * property: optional parameter to directly acdess a property of the article detail. GetArticleDetailsByEAN('EAN')/Detail GetArticleDetailsByEAN('EAN')/Detail/@Size Or faster with: GetArticleDetailsByEAN('EAN', '', 'small', 'Size') ^Weitere ArticleDetail Attribute^ |@Color| |@Size| |@Size2| |@ProductGroup| |@ArticleDescription| |@AricleNumber| |@BrandName| |@SubBrandName| |@CustomsItemNumber| |@OriginCountry| |@Season| |@ArticleClass| |@MinimumOrderQuantity| |@PackagingQuantity| |@EffectivePurchasePrice| |@ListPurchasePrice| |@PurchasePriceCurrency| |@SuggestedRetailPrice| |@ValidFrom| |@ValidTo| |@CreationTime| |@ModificationTime| |@LastTouched| |@BackendReference| |@BackendAccepted| |@BackedAcceptedTime| |@Ean| |@DTPProductGroup| |@PosAction| |@Node| |@StandardProductGroup| |@StandardColor| |@StandardSize| \\ \\ ==== Sample==== \\ \\ This function should best be called using the ruleset structure as shown in the following diagram, so that all Ean's of the article in question are taken into account by integrated caching.{{images:getarticledetailbyean.jpg?651x139}}