public override MaterialDistributionNote GetNewData() { UnitViewModel fp = UnitDataUtil.GetFinishingUnit(client); MaterialDistributionNote TestData = new MaterialDistributionNote { UnitId = fp._id, UnitCode = fp.code, UnitName = fp.name, Type = "PRODUKSI", IsApproved = false, IsDisposition = false, MaterialDistributionNoteItems = new List <MaterialDistributionNoteItem> { materialDistributionNoteItemDataUtil.GetNewData() } }; return(TestData); }
public override MaterialsRequestNote GetNewData() { UnitViewModel fp = UnitDataUtil.GetFinishingUnit(client); MaterialsRequestNote TestData = new MaterialsRequestNote { UnitId = fp._id, UnitCode = fp.code, UnitName = fp.name, Remark = "", RequestType = "AWAL", IsDistributed = false, IsCompleted = false, MaterialsRequestNote_Items = new List <MaterialsRequestNote_Item> { materialRequestNoteItemDataUtil.GetNewData() } }; return(TestData); }