using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.MMHead { public class MMHeadWithDetailAndChargesDTO //:ReportPaginationDTO------------->DEVADMIN { private int documentid; private DateTime documentdate; private string documentnumber; private DateTime referencedate; private string referencenumber; private DateTime partyreferencedate; private string partyreferencenumber; private int partyid; private string accountcode; private string accountname; private int partybranchid; private string partybranchcode; private string partybranchname; private int storeid; private string storecode; private string storename; private int fromstoreid; private string fromstorecode; private string fromstorename; private int tostoreid; private string tostorecode; private string tostorename; private int departmentid; private string departmentcode; private string departmentname; private int allocationid; private string allocationname; private string description; private decimal totalquantity; private decimal totalpacks; private decimal totalitembasicvalue; private decimal totalitemamountplus; private decimal totalitemamountminus; private decimal totalotheramountplus; private decimal totalotheramountminus; private decimal totalnetvalue; private decimal roundoff; private decimal documentvalue; private int currencyid; private string currencycode; private string currencyname; private decimal currencyconversion; private decimal totalitembasicvaluefc; private decimal totalitemamountplusfc; private decimal totalitemamountminusfc; private decimal totalotheramountplusfc; private decimal totalotheramountminusfc; private decimal totalnetvaluefc; private decimal roundofffc; private decimal documentvaluefc; private decimal totalgrossweight; private decimal totaltareweight; private decimal totalnetweight; private Int16 nooforiginalcopy; private Int16 noofcopytaken; private int taxtransactiontypeid; private string taxtransactiontypecode; private string taxtransactiontypename; private int dutytransactiontypeid; private string dutytransactiontypecode; private string dutytransactiontypename; private DateTime lrdate; private string lrnumber; private int inchargeid; private string inchargecode; private string inchargename; private Int16 slno; private int itemid; private string itemcode; private string itemname; private int skuid; private string skucode; private string skuname; private decimal transactionquantity; private int transactionuomid; private string transactionuom; private decimal transactionactualquantity; private decimal quantityconversion; private decimal actualquantity; private int stockposttype; private decimal itempostedquantity; private decimal packquantity; private int packid; private string packcode; private string packname; private decimal transactionrate; private int transactionrateuomid; private string transactionrateUuom; private int transactioncurrencyid; private string transactioncurrencycode; private string transactioncurrencyname; private decimal transactioncurrencyconversion; private decimal rate; private decimal discountamount; private decimal itembasiccost; private decimal itemminus; private decimal itemplus; private decimal itemotherminus; private decimal itemotherplus; private decimal itemnetvalue; private decimal itemrealisationvalue; private decimal itemnetcost; private decimal itempostedcost; private decimal itemgrossweight; private decimal itembasicvalue; private Int16 gracedays; private DateTime requirededliverydate; private DateTime plandeliverydate; private decimal goodQuantity; private decimal rejectedquantity; private decimal reworkquantity; private decimal otherquantity; private decimal dutyamount; private decimal balancequantity; private decimal balanceduty; private decimal itemgrossvalue; private decimal itembasicvaluefc; private decimal itemamountplusfc; private decimal itemamountminusfc; private decimal itemotheramountplusfc; private decimal itemotheramountminusfc; private decimal itemgrossvaluefc; private decimal itemcostvalue; private decimal itemnetweight; private decimal itemtareweight; private decimal itemcostcaluefc; private decimal itemrealisationvaluefc; private decimal itemnetvaluefc; private int qualityrecordtype; private int numberofsamples; private int qualitystatus; private decimal qualitydebitrate; private decimal qualitycreditrate; private string qualityremarks; private int drcrstatus; private Int16 costcenteralloccostcategoryslno; private int costcenteralloccostcategoryid; private string costcenteralloccostcategorycode; private string costcenteralloccostcategoryname; private Int16 costcenterallocslno; private int costcenteralloccostcenterid; private string costcenteralloccostcentercode; private string costcenteralloccostcentername; private decimal costcenterallocallocatedquantity; private int predocumentid; private DateTime predocumentdate; private string predocumentnumber; private int prepredocumentid; private DateTime prepredocumentdate; private string prepredocumentnumber; private int packlotlotid; private string Packlotlotnumber; private int packlotpackid; private string packlotpackcode; private string packlotpackname; private int packlotnumberofpacks; private decimal packlotgoodquantity; private int biztransactiontypeid; private string biztransactiontypecode; private int biztransactionclassid; private string biztransactionclasscode; private int paymenttermsid; private string paymenttermcode; private string paymenttermname; private string paymenttermsremarks; private string headremarks; private int mmchargesdocumentid; private int mmchargesdocumentdetailid; private int mmchargesdocumentchargesid; private Int32 mmchargesslno; private int formulaid; private string formulacode; private string formulaname; private decimal inputvalue; private byte inputtype; private decimal calculatedon; private decimal calculatedvalue; private decimal amountplus; private decimal amountminus; private int chargedetailid; private int chargeid; private Int16 chargedetailslno; private string section; private int chargeelementId; private string chargeelementcode; private string chargeelementname; private byte operationtype; private string chargenature; private byte includeincost; private byte includeinrealisation; private byte inputvaluetype; private string inputdatafieldtype; private int chargescurrencyid; private string chargescurrencycode; private string chargescurrencyname; private decimal chargescurrencyconversion; private decimal fccalculatedvalue; private string agentcode; private string agentname; private string areacode; private string areaname; private string statecode; private string statename; private string itemcategorycode; private string itemcategoryname; private string itemsubcategorycode; private string itemsubcategoryname; //Added For Count Purpose private Int64 numberofreocrds; private decimal basicafterdisc; public int DocumentId { get { return documentid; } set { documentid = value; } } public DateTime DocumentDate { get { return documentdate; } set { documentdate = value; } } public string DocumentNumber { get { return documentnumber; } set { documentnumber = value; } } public DateTime ReferenceDate { get { return referencedate; } set { referencedate = value; } } public string ReferenceNumber { get { return referencenumber; } set { referencenumber = value; } } public DateTime PartyReferenceDate { get { return partyreferencedate; } set { partyreferencedate = value; } } public string PartyReferenceNumber { get { return partyreferencenumber; } set { partyreferencenumber = value; } } public int PartyId { get { return partyid; } set { partyid = value; } } public string AccountCode { get { return accountcode; } set { accountcode = value; } } public string AccountName { get { return accountname; } set { accountname = value; } } public int PartyBranchId { get { return partybranchid; } set { partybranchid = value; } } public string PartyBranchCode { get { return partybranchcode; } set { partybranchcode = value; } } public string PartyBranchName { get { return partybranchname; } set { partybranchname = value; } } public int StoreId { get { return storeid; } set { storeid = value; } } public string StoreCode { get { return storecode; } set { storecode = value; } } public string StoreName { get { return storename; } set { storename = value; } } public int FromStoreId { get { return fromstoreid; } set { fromstoreid = value; } } public string FromStoreCode { get { return fromstorecode; } set { fromstorecode = value; } } public string FromStoreName { get { return fromstorename; } set { fromstorename = value; } } public int ToStoreId { get { return tostoreid; } set { tostoreid = value; } } public string ToStoreCode { get { return tostorecode; } set { tostorecode = value; } } public string ToStoreName { get { return tostorename; } set { tostorename = value; } } public int DepartmentId { get { return departmentid; } set { departmentid = value; } } public string DepartmentCode { get { return departmentcode; } set { departmentcode = value; } } public string DepartmentName { get { return departmentname; } set { departmentname = value; } } public int AllocationId { get { return allocationid; } set { allocationid = value; } } public string AllocationName { get { return allocationname; } set { allocationname = value; } } public string Description { get { return description; } set { description = value; } } public decimal TotalQuantity { get { return totalquantity; } set { totalquantity = value; } } public decimal TotalPacks { get { return totalpacks; } set { totalpacks = value; } } public decimal TotalItemBasicValue { get { return totalitembasicvalue; } set { totalitembasicvalue = value; } } public decimal TotalItemAmountPlus { get { return totalitemamountplus; } set { totalitemamountplus = value; } } public decimal TotalItemAmountMinus { get { return totalitemamountminus; } set { totalitemamountminus = value; } } public decimal TotalOtherAmountPlus { get { return totalotheramountplus; } set { totalotheramountplus = value; } } public decimal TotalOtherAmountMinus { get { return totalotheramountminus; } set { totalotheramountminus = value; } } public decimal TotalNetValue { get { return totalnetvalue; } set { totalnetvalue = value; } } public decimal RoundOff { get { return roundoff; } set { roundoff = value; } } public decimal DocumentValue { get { return documentvalue; } set { documentvalue = value; } } public int CurrencyId { get { return currencyid; } set { currencyid = value; } } public string CurrencyCode { get { return currencycode; } set { currencycode = value; } } public string CurrencyName { get { return currencyname; } set { currencyname = value; } } public decimal CurrencyConversion { get { return currencyconversion; } set { currencyconversion = value; } } public decimal TotalItemBasicValueFC { get { return totalitembasicvaluefc; } set { totalitembasicvaluefc = value; } } public decimal TotalItemAmountPlusFC { get { return totalitemamountplusfc; } set { totalitemamountplusfc = value; } } public decimal TotalItemAmountMinusFC { get { return totalitemamountminusfc; } set { totalitemamountminusfc = value; } } public decimal TotalOtherAmountPlusFC { get { return totalotheramountplusfc; } set { totalotheramountplusfc = value; } } public decimal TotalOtherAmountMinusFC { get { return totalotheramountminusfc; } set { totalotheramountminusfc = value; } } public decimal TotalNetValueFC { get { return totalnetvaluefc; } set { totalnetvaluefc = value; } } public decimal RoundOffFC { get { return roundofffc; } set { roundofffc = value; } } public decimal DocumentValueFC { get { return documentvaluefc; } set { documentvaluefc = value; } } public decimal TotalGrossWeight { get { return totalgrossweight; } set { totalgrossweight = value; } } public decimal TotalTareWeight { get { return totaltareweight; } set { totaltareweight = value; } } public decimal TotalNetWeight { get { return totalnetweight; } set { totalnetweight = value; } } public Int16 NoOfOriginalCopy { get { return nooforiginalcopy; } set { nooforiginalcopy = value; } } public Int16 NoOfCopyTaken { get { return noofcopytaken; } set { noofcopytaken = value; } } public int TaxTransactionTypeId { get { return taxtransactiontypeid; } set { taxtransactiontypeid = value; } } public string TaxTransactionTypeCode { get { return taxtransactiontypecode; } set { taxtransactiontypecode = value; } } public string TaxTransactionTypeName { get { return taxtransactiontypename; } set { taxtransactiontypename = value; } } public int DutyTransactionTypeId { get { return dutytransactiontypeid; } set { dutytransactiontypeid = value; } } public string DutyTransactionTypeCode { get { return dutytransactiontypecode; } set { dutytransactiontypecode = value; } } public string DutyTransactionTypeName { get { return dutytransactiontypename; } set { dutytransactiontypename = value; } } public DateTime LRDate { get { return lrdate; } set { lrdate = value; } } public string LRNumber { get { return lrnumber; } set { lrnumber = value; } } public int InchargeId { get { return inchargeid; } set { inchargeid = value; } } public string InchargeCode { get { return inchargecode; } set { inchargecode = value; } } public string InchargeName { get { return inchargename; } set { inchargename = value; } } public Int16 SlNo { get { return slno; } set { slno = value; } } public int ItemId { get { return itemid; } set { itemid = value; } } public string ItemCode { get { return itemcode; } set { itemcode = value; } } public string ItemName { get { return itemname; } set { itemname = value; } } public int SKUId { get { return skuid; } set { skuid = value; } } public string SKUCode { get { return skucode; } set { skucode = value; } } public string SKUName { get { return skuname; } set { skuname = value; } } public decimal TransactionQuantity { get { return transactionquantity; } set { transactionquantity = value; } } public int TransactionUOMId { get { return transactionuomid; } set { transactionuomid = value; } } public string TransactionUOM { get { return transactionuom; } set { transactionuom = value; } } public decimal TransactionActualQuantity { get { return transactionactualquantity; } set { transactionactualquantity = value; } } public decimal QuantityConversion { get { return quantityconversion; } set { quantityconversion = value; } } public decimal ActualQuantity { get { return actualquantity; } set { actualquantity = value; } } public int StockPostType { get { return stockposttype; } set { stockposttype = value; } } public decimal ItemPostedQuantity { get { return itempostedquantity; } set { itempostedquantity = value; } } public decimal PackQuantity { get { return packquantity; } set { packquantity = value; } } public int PackId { get { return packid; } set { packid = value; } } public string PackCode { get { return packcode; } set { packcode = value; } } public string PackName { get { return packname; } set { packname = value; } } public decimal TransactionRate { get { return transactionrate; } set { transactionrate = value; } } public int TransactionRateUOMId { get { return transactionrateuomid; } set { transactionrateuomid = value; } } public string TransactionRateUOM { get { return transactionrateUuom; } set { transactionrateUuom = value; } } public int TransactionCurrencyId { get { return transactioncurrencyid; } set { transactioncurrencyid = value; } } public string TransactionCurrencyCode { get { return transactioncurrencycode; } set { transactioncurrencycode = value; } } public string TransactionCurrencyName { get { return transactioncurrencyname; } set { transactioncurrencyname = value; } } public decimal TransactionCurrencyConversion { get { return transactioncurrencyconversion; } set { transactioncurrencyconversion = value; } } public decimal Rate { get { return rate; } set { rate = value; } } public decimal DiscountAmount { get { return discountamount; } set { discountamount = value; } } public decimal ItemBasicCost { get { return itembasiccost; } set { itembasiccost = value; } } public decimal ItemMinus { get { return itemminus; } set { itemminus = value; } } public decimal ItemPlus { get { return itemplus; } set { itemplus = value; } } public decimal ItemOtherMinus { get { return itemotherminus; } set { itemotherminus = value; } } public decimal ItemOtherPlus { get { return itemotherplus; } set { itemotherplus = value; } } public decimal ItemNetValue { get { return itemnetvalue; } set { itemnetvalue = value; } } public decimal ItemRealisationValue { get { return itemrealisationvalue; } set { itemrealisationvalue = value; } } public decimal ItemNetCost { get { return itemnetcost; } set { itemnetcost = value; } } public decimal ItemPostedCost { get { return itempostedcost; } set { itempostedcost = value; } } public decimal ItemGrossWeight { get { return itemgrossweight; } set { itemgrossweight = value; } } public decimal ItemBasicValue { get { return itembasicvalue; } set { itembasicvalue = value; } } public Int16 GraceDays { get { return gracedays; } set { gracedays = value; } } public DateTime RequiredDeliveryDate { get { return requirededliverydate; } set { requirededliverydate = value; } } public DateTime PlanDeliveryDate { get { return plandeliverydate; } set { plandeliverydate = value; } } public decimal GoodQuantity { get { return goodQuantity; } set { goodQuantity = value; } } public decimal RejectedQuantity { get { return rejectedquantity; } set { rejectedquantity = value; } } public decimal ReworkQuantity { get { return reworkquantity; } set { reworkquantity = value; } } public decimal OtherQuantity { get { return otherquantity; } set { otherquantity = value; } } public decimal DutyAmount { get { return dutyamount; } set { dutyamount = value; } } public decimal BalanceQuantity { get { return balancequantity; } set { balancequantity = value; } } public decimal BalanceDuty { get { return balanceduty; } set { balanceduty = value; } } public decimal ItemGrossValue { get { return itemgrossvalue; } set { itemgrossvalue = value; } } public decimal ItemBasicValueFC { get { return itembasicvaluefc; } set { itembasicvaluefc = value; } } public decimal ItemAmountPlusFC { get { return itemamountplusfc; } set { itemamountplusfc = value; } } public decimal ItemAmountMinusFC { get { return itemamountminusfc; } set { itemamountminusfc = value; } } public decimal ItemOtherAmountPlusFC { get { return itemotheramountplusfc; } set { itemotheramountplusfc = value; } } public decimal ItemOtherAmountMinusFC { get { return itemotheramountminusfc; } set { itemotheramountminusfc = value; } } public decimal ItemGrossValueFC { get { return itemgrossvaluefc; } set { itemgrossvaluefc = value; } } public decimal ItemCostValue { get { return itemcostvalue; } set { itemcostvalue = value; } } public decimal ItemNetWeight { get { return itemnetweight; } set { itemnetweight = value; } } public decimal ItemTareWeight { get { return itemtareweight; } set { itemtareweight = value; } } public decimal ItemCostValueFC { get { return itemcostcaluefc; } set { itemcostcaluefc = value; } } public decimal ItemRealisationValueFC { get { return itemrealisationvaluefc; } set { itemrealisationvaluefc = value; } } public decimal ItemNetValueFC { get { return itemnetvaluefc; } set { itemnetvaluefc = value; } } public int QualityRecordType { get { return qualityrecordtype; } set { qualityrecordtype = value; } } public int NumberOfSamples { get { return numberofsamples; } set { numberofsamples = value; } } public int QualityStatus { get { return qualitystatus; } set { qualitystatus = value; } } public decimal QualityDebitRate { get { return qualitydebitrate; } set { qualitydebitrate = value; } } public decimal QualityCreditRate { get { return qualitycreditrate; } set { qualitycreditrate = value; } } public string QualityRemarks { get { return qualityremarks; } set { qualityremarks = value; } } public int DRCRStatus { get { return drcrstatus; } set { drcrstatus = value; } } public Int16 CostCenterAllocCostCategorySlNo { get { return costcenteralloccostcategoryslno; } set { costcenteralloccostcategoryslno = value; } } public int CostCenterAllocCostCategoryId { get { return costcenteralloccostcategoryid; } set { costcenteralloccostcategoryid = value; } } public string CostCenterAllocCostCategoryCode { get { return costcenteralloccostcategorycode; } set { costcenteralloccostcategorycode = value; } } public string CostCenterAllocCostCategoryName { get { return costcenteralloccostcategoryname; } set { costcenteralloccostcategoryname = value; } } public Int16 CostCenterAllocSlNo { get { return costcenterallocslno; } set { costcenterallocslno = value; } } public int CostCenterAllocCostCenterId { get { return costcenteralloccostcenterid; } set { costcenteralloccostcenterid = value; } } public string CostCenterAllocCostCenterCode { get { return costcenteralloccostcentercode; } set { costcenteralloccostcentercode = value; } } public string CostCenterAllocCostCenterName { get { return costcenteralloccostcentername; } set { costcenteralloccostcentername = value; } } public decimal CostCenterAllocAllocatedQuantity { get { return costcenterallocallocatedquantity; } set { costcenterallocallocatedquantity = value; } } public int PreDocumentId { get { return predocumentid; } set { predocumentid = value; } } public DateTime PreDocumentDate { get { return predocumentdate; } set { predocumentdate = value; } } public string PreDocumentNumber { get { return predocumentnumber; } set { predocumentnumber = value; } } public int PrePreDocumentId { get { return prepredocumentid; } set { prepredocumentid = value; } } public DateTime PrePreDocumentDate { get { return prepredocumentdate; } set { prepredocumentdate = value; } } public string PrePreDocumentNumber { get { return prepredocumentnumber; } set { prepredocumentnumber = value; } } public int PackLotLotId { get { return packlotlotid; } set { packlotlotid = value; } } public string PackLotLotNumber { get { return Packlotlotnumber; } set { Packlotlotnumber = value; } } public int PackLotPackId { get { return packlotpackid; } set { packlotpackid = value; } } public string PackLotPackCode { get { return packlotpackcode; } set { packlotpackcode = value; } } public string PackLotPackName { get { return packlotpackname; } set { packlotpackname = value; } } public int PackLotNumberOfPacks { get { return packlotnumberofpacks; } set { packlotnumberofpacks = value; } } public decimal PackLotGoodQuantity { get { return packlotgoodquantity; } set { packlotgoodquantity = value; } } public int BIZTransactionTypeId { get { return biztransactiontypeid; } set { biztransactiontypeid = value; } } public string BIZTransactionTypeCode { get { return biztransactiontypecode; } set { biztransactiontypecode = value; } } public int BIZTransactionClassId { get { return biztransactionclassid; } set { biztransactionclassid = value; } } public string BIZTransactionClassCode { get { return biztransactionclasscode; } set { biztransactionclasscode = value; } } public int PaymentTermsId { get { return paymenttermsid; } set { paymenttermsid = value; } } public string PaymentTermCode { get { return paymenttermcode; } set { paymenttermcode = value; } } public string PaymentTermName { get { return paymenttermname; } set { paymenttermname = value; } } public string PaymentTermsRemarks { get { return paymenttermsremarks; } set { paymenttermsremarks = value; } } public string HeadRemarks { get { return headremarks; } set { headremarks = value; } } public int MMChargesDocumentId { get { return mmchargesdocumentid; } set { mmchargesdocumentid = value; } } public int MMChargesDocumentDetailId { get { return mmchargesdocumentdetailid; } set { mmchargesdocumentdetailid = value; } } public int MMChargesDocumentChargesId { get { return mmchargesdocumentchargesid; } set { mmchargesdocumentchargesid = value; } } public Int32 MMChargesSlNo { get { return mmchargesslno; } set { mmchargesslno = value; } } public int FormulaId { get { return formulaid; } set { formulaid = value; } } public string FormulaCode { get { return formulacode; } set { formulacode = value; } } public string FormulaName { get { return formulaname; } set { formulaname = value; } } public decimal InputValue { get { return inputvalue; } set { inputvalue = value; } } public byte InputType { get { return inputtype; } set { inputtype = value; } } public decimal CalculatedOn { get { return calculatedon; } set { calculatedon = value; } } public decimal CalculatedValue { get { return calculatedvalue; } set { calculatedvalue = value; } } public decimal AmountPlus { get { return amountplus; } set { amountplus = value; } } public decimal AmountMinus { get { return amountminus; } set { amountminus = value; } } public int ChargeDetailId { get { return chargedetailid; } set { chargedetailid = value; } } public int ChargeId { get { return chargeid; } set { chargeid = value; } } public Int16 ChargeDetailSlNo { get { return chargedetailslno; } set { chargedetailslno = value; } } public string Section { get { return section; } set { section = value; } } public int ChargeElementId { get { return chargeelementId; } set { chargeelementId = value; } } public string ChargeElementCode { get { return chargeelementcode; } set { chargeelementcode = value; } } public string ChargeElementName { get { return chargeelementname; } set { chargeelementname = value; } } public byte OperationType { get { return operationtype; } set { operationtype = value; } } public string ChargeNature { get { return chargenature; } set { chargenature = value; } } public byte IncludeInCost { get { return includeincost; } set { includeincost = value; } } public byte IncludeInRealisation { get { return includeinrealisation; } set { includeinrealisation = value; } } public byte InputValueType { get { return inputvaluetype; } set { inputvaluetype = value; } } public string InputDataFieldType { get { return inputdatafieldtype; } set { inputdatafieldtype = value; } } public int ChargesCurrencyId { get { return chargescurrencyid; } set { chargescurrencyid = value; } } public string ChargesCurrencyCode { get { return chargescurrencycode; } set { chargescurrencycode = value; } } public string ChargesCurrencyName { get { return chargescurrencyname; } set { chargescurrencyname = value; } } public decimal ChargesCurrencyConversion { get { return chargescurrencyconversion; } set { chargescurrencyconversion = value; } } public decimal FCCalculatedValue { get { return fccalculatedvalue; } set { fccalculatedvalue = value; } } public string AgentCode { get { return agentcode; } set { agentcode = value; } } public string AgentName { get { return agentname; } set { agentname = value; } } public string AreaCode { get { return areacode; } set { areacode = value; } } public string AreaName { get { return areaname; } set { areaname = value; } } public string StateCode { get { return statecode; } set { statecode = value; } } public string StateName { get { return statename; } set { statename = value; } } public string ItemCategoryCode { get { return itemcategorycode; } set { itemcategorycode = value; } } public string ItemCategoryName { get { return itemcategoryname; } set { itemcategoryname = value; } } public string ItemSubCategoryCode { get { return itemsubcategorycode; } set { itemsubcategorycode = value; } } public string ItemSubCategoryName { get { return itemsubcategoryname; } set { itemsubcategoryname = value; } } public decimal BasicAfterDisc { get { return basicafterdisc; } set { basicafterdisc = value; } } public Int64 NumberOfReocrds { get { return numberofreocrds; } set { numberofreocrds = value; } } } }