Last active
December 2, 2019 10:38
-
-
Save zuzannamj/2fb4aecc9d28b0ad74f8da1fea286570 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script runat="server"> | |
Platform.Load("core","1"); | |
var custId = "0031t000005D98UAAS" | |
var OrdersDE = DataExtension.Init("Orders"); | |
var rows = OrdersDE.Rows.Lookup(["CustomerId"], [custId]); | |
if(rows.length >= 1) { | |
for (i = 0; i < rows.length; i++) { | |
OrderItem = rows[i]["OrderItem"]; | |
Write("• OrderItem " + i + ":" + OrderItem + "<br>"); | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment