@@ -66,6 +66,8 @@ public class workorder extends PaoCust {
PaoRemote templatepao = workordertemplate.getPao(0);
PaoSetRemote templatenode = templatepao.getPaoSet("TEMPLATENODE");
+ templatenode.setOrderBy("FROWNUM asc");
+ templatenode.reset();
if (!templatenode.isEmpty()) {
int index = 0;