When new prtnum is created prtmst.rcvuom must be set otherwise untqty is set to zero and the system is unable to create new inventory as illustrated in example below:
6660 T-SQL 11:12:53:743 XLATE: select prefix, prelen, prlflg, seqlen, LTRIM( CONVERT( VARCHAR,lstseq)) lstseq, suffix, suflen, btsflg, seqflg, LTRIM( CONVERT( VARCHAR,lstseq+:i0)) seqval from sysctl where numcod = :q1
6660 T-SQL 11:12:53:743 Found passed-in bind list
6660 T-SQL 11:12:53:743 Executing statement with bound parameters
6660 T-SQL 11:12:53:759 Query completed
6660 T-SQL 11:12:53:759 Query returned 1 row(s)
6660 T-SQL 11:12:53:774 *** SQL Status: 0
6660 T-SQL 11:12:53:774 ==> T_PERF = 0.031
6660 T-SQL 11:12:53:774 Generating Sequence for [dtlnum]
6660 T-SQL 11:12:53:774 ==> T_PERF = 0.000