Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

BML Script to be able to get the duplicate product in the data table

Is there a way for me to be able to get the duplicate product in the data table and update the data in the row like its price using a BML script?

Currently I have this script:

results = bmql("SELECT item FROM Costs GROUP BY item HAVING COUNT(*) > 1; ");
for result in results {
update_count_integer = get(result, "records_updated");
}
return ""

// Retrieve items that need to be updated (where more than one product exists) but this script is not working when I try to check it in the BML Editor.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!