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.
GetFrameVariable('FrameVariablenName')
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.
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.