4.3 ww.dll API Reference : API descriptions : Functions with database access : getitemtree
 
getitemtree
 
Description
getitemtree takes the head node, the <date_time> of interest and a list of fields to be returned (optional) and gets the next level of the item tree.
 
Note: This function does not promote from lower levels (like the salespoint does when the .INI setting is activated).
 
Part of the item pricing calculation logic has been optimized so that Dynamic Pricing Rules are only obtained once from the database during a getitemexpanded or getitemtree call. In addition, a rule containing SUB() rules in it will only get the SUB() rules once during the call.