eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


Sidebar

en:transformation:mappings:funktionen:abfragefunktionen:get:getframevariable

GetFrameVariable



This function returns the name of a frame variable (see Frame Variables) as an argument and returns the structure or the value stored in the frame variable.

Syntax:

GetFrameVariable('FrameVariablenName')

Sample:

GetFrameVariable('eBiss.DocumentVars.FileName')

returns the file name in which the document is located.

Another new addition is the OriginDocObject. With its help it is now possible to access the source of the currently processed SupplierArticleDocument with ArticleSelector.

further example:

  1. A DESADV is mapped to RetailMW and then held against the ArticleSelector.
  2. Now a mapping of SupplierArticleDocument to IndustryTradeItemDocument is coming.
  3. Here you can now access the output desadv (in middleware format).

For the current case, for example, you can determine the quantity specifications at item level from DESADV using the following statements at item level::

GetFrameVariable('eBiss.DocumentVars.OriginDocObject')/DespatchAdvice/Items[@Ean=XVar('CurEan')]/@Quantity

For example, this quantity could be assigned to the field @quantity of the target object in a mapping rule.

en/transformation/mappings/funktionen/abfragefunktionen/get/getframevariable.txt · Last modified: 2024/02/20 08:15 by 127.0.0.1