Beispiel #1
0
 public FormVIEWAGENT(DELIVERYORDER.FormDATAENTRY _frm, MASTER.SUBMASTER.FormPRICELIST _frmPRICELIST, string _field, int _type, RMS.COMMON.MASTER.RMS_PRICELISTAGENT obj)
 {
     InitializeComponent();
     type = _type;
     if (type == 1)
     {
         this.frm = _frm;
         cc       = obj;
     }
     else
     {
         this.frmPRICELIST = _frmPRICELIST;
     }
     field = _field;
     if (field == "SMU")
     {
         cc.JNSCOST = "FREIGHT";
     }
     else if (field == "SHIPPING")
     {
         cc.JNSCOST = "SHIPPING";
     }
     else if (field == "DELIVERY")
     {
         cc.JNSCOST = "DELIVERY";
     }
     else if (field == "WAREHOUSE")
     {
         cc.JNSCOST = "WAREHOUSING";
     }
     else if (field == "RA")
     {
         cc.JNSCOST = "RA";
     }
     else if (field == "TRUCKING")
     {
         cc.JNSCOST = "TRUCKING";
     }
     else
     {
         cc.JNSCOST = "GRDH";
     }
     cc.ISAKTIF = true;
     LOAD_DATA();
     this.txtCARI.Focus();
 }
 public FormVIEWAGENT(DELIVERYORDER.FormDATAENTRY _frm, MASTER.SUBMASTER.FormPRICELIST _frmPRICELIST, string _field, int _type,RMS.COMMON.MASTER.RMS_PRICELISTAGENT obj)
 {
     InitializeComponent();
     type = _type;
     if (type == 1)
     {
         this.frm = _frm;
         cc = obj;
     }
     else
     {
         this.frmPRICELIST = _frmPRICELIST;
     }
     field = _field;
     if (field == "SMU")
     {
         cc.JNSCOST = "FREIGHT";
     }
     else if (field == "SHIPPING")
     {
         cc.JNSCOST = "SHIPPING";
     }
     else if (field == "DELIVERY")
     {
         cc.JNSCOST = "DELIVERY";
     }
     else if (field == "WAREHOUSE")
     {
         cc.JNSCOST = "WAREHOUSING";
     }
     else if (field == "RA")
     {
         cc.JNSCOST = "RA";
     }
     else if (field == "TRUCKING")
     {
         cc.JNSCOST = "TRUCKING";
     }
     else
     {
         cc.JNSCOST = "GRDH";
     }
     cc.ISAKTIF = true;
     LOAD_DATA();
     this.txtCARI.Focus();
 }