Edit

LoadPicture (windowRef, itemID, pictureSpec)

Loads a picture into a picture object. PictureSpec can be one of "product:<code>", "file:<path>", "transaction:<seq>", "key:<key>", or "builtin:<name>".

Example: 

    on Before:My_Wind(w)
        LoadPicture(w, "P_MYPICITEM", "product:BA100")
    end

In MoneyWorks 9 and later you can specify "no_pic" to display a placeholder indicating that an image can be dropped/pasted. The picture object will adopt behaviour similar to the Product entry window picture object.

Availability:  available within MWScript handlers.