本文整理汇总了C#中Receipt.GetNewRcvDtl方法的典型用法代码示例。如果您正苦于以下问题:C# Receipt.GetNewRcvDtl方法的具体用法?C# Receipt.GetNewRcvDtl怎么用?C# Receipt.GetNewRcvDtl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Receipt
的用法示例。
在下文中一共展示了Receipt.GetNewRcvDtl方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetNewRcvDtl
public void GetNewRcvDtl(Epicor.Mfg.Core.Session epiSession, ReceiptDataSet dsReceipt)
{
try
{
Receipt myReceipt = new Receipt(epiSession.ConnectionPool);
//ReceiptDataSet dsReceipt = new ReceiptDataSet();
//myReceipt.GetNewRcvDtl(dsReceipt, model.VendorNum, "", model.StoreInNum);
myReceipt.GetNewRcvDtl(dsReceipt, 5, "", "IN00002-3");
DataRow drReceipt = dsReceipt.Tables[0].Rows[0];
drReceipt.BeginEdit();
drReceipt["VendorNum"] = 5; // model.VendorNum;
drReceipt["PackSlip"] = "IN00002-3";//model.StoreInNum + "-2";
//drReceipt["PackLine"] = 1;
//drReceipt["PartNum"] = DateTime.Now;
drReceipt["WareHouseCode"] = "600";
drReceipt["OurQty"] = 10; // model.Quantity;
drReceipt["PONum"] = 272; // model.PONum;
drReceipt["POLine"] = 1; // model.POLine;
drReceipt["PORelNum"] = 1; // model.POLine;
drReceipt.EndEdit();
myReceipt.Update(dsReceipt);
//IsSucces = true;
//msgError = "";
}
catch (Exception ex)
{
//IsSucces = false;
//msgError = ex.Message;
}
}