Quantcast
Channel: Microsoft Dynamics SL
Viewing all articles
Browse latest Browse all 14486

Forum Post: RE: Code to add lines to PO screen

$
0
0

In that way I suggest you that populate all the rows that you need.

You can use part of this code to do that:

 

sDataEntity = sivMyApp.Controls("cInvtID").Properties("Level")
sivMyApp.first sDataEntity
For Row = 1 To 5
Call SetObjectValue("cInvtID", "TESTITEM")
Call SetObjectValue("cQty", 2)
....
sivMyApp.Next sDataEntity ' Or sivMyApp.New or Call Edit_New
Next Row
sivMyApp.first sDataEntity

sivMyApp.Save

Juan Carlos Navarro Ramírez |  Apps Mexico


Viewing all articles
Browse latest Browse all 14486

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>