Example #1
0
        protected override void WfBindMaster()
        {
            List <KeyValuePair <string, string> > sourceList;

            try
            {
                //票據寄領方式
                sourceList = BoPur.OfGetPca20KVPList();
                WfSetUcomboxDataSource(ucb_pca20, sourceList);

                //課稅別
                sourceList = BoPur.OfGetTaxTypeKVPList();
                WfSetUcomboxDataSource(ucb_pca22, sourceList);

                //發票聯數
                sourceList = BoPur.OfGetInvoWayKVPList();
                WfSetUcomboxDataSource(ucb_pca23, sourceList);

                //採購單發送方式
                sourceList = BoPur.OfGetPca28KVPList();
                WfSetUcomboxDataSource(ucb_pca28, sourceList);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #2
0
        protected override void WfIniDetailComboSource(int pTabIndex)
        {
            UltraGrid       uGrid;
            UltraGridColumn ugc;

            try
            {
                switch (pTabIndex)
                {
                case 0:
                    uGrid = TabDetailList[pTabIndex].UGrid;
                    ugc   = uGrid.DisplayLayout.Bands[0].Columns["pdd06"];  //稅別
                    WfSetGridValueList(ugc, BoPur.OfGetTaxTypeKVPList());
                    break;
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }