예제 #1
0
        public IEnumerable subcontractLines()
        {
            var extension = PXCache <POOrderFilter> .GetExtension <PoOrderFilterExt>(Base2.orderfilter.Current);

            return(Base2.pOOrderLinesList().Cast <POLineRS>()
                   .Where(line => line.OrderType == POOrderType.RegularSubcontract &&
                          extension.SubcontractNumber.IsIn(null, line.OrderNbr)));
        }
예제 #2
0
 public IEnumerable poOrderLinesList()
 {
     return(Base2.pOOrderLinesList().Cast <POLineRS>()
            .Where(line => line.OrderType != POOrderType.RegularSubcontract));
 }