⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 minout.java

📁 Java写的ERP系统
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
	public String getDeliveryViaRule ()
	{
		return (String)getValue ("DeliveryViaRule");
	}

	public void setProcessed (boolean Processed)
	{
		setValue ("Processed", new Boolean (Processed));
	}

	public boolean isProcessed ()
	{
		Boolean bb = (Boolean)getValue ("Processed");
		if (bb != null)
			return bb.booleanValue ();
		return false;
	}

	public void setProcessing (String Processing)
	{
		setValue ("Processing", Processing);
	}

	public String getProcessing ()
	{
		return (String)getValue ("Processing");
	}

	public static final String PriorityRule_High = "3";
	public static final String PriorityRule_Medium = "5";
	public static final String PriorityRule_Low = "7";

	public void setPriorityRule (String PriorityRule)
	{
		if (PriorityRule.equals ("3") || PriorityRule.equals ("5") || PriorityRule.equals ("7"))
			;
		else
			throw new IllegalArgumentException ("PriorityRule Invalid value - Reference_ID=154 - 3 - 5 - 7");
		if (PriorityRule == null)
			throw new IllegalArgumentException ("PriorityRule is mandatory");
		setValue ("PriorityRule", PriorityRule);
	}

	public String getPriorityRule ()
	{
		return (String)getValue ("PriorityRule");
	}

	public void setC_BPartner_Location_ID (int C_BPartner_Location_ID)
	{
		setValue ("C_BPartner_Location_ID", new Integer (C_BPartner_Location_ID));
	}

	public int getC_BPartner_Location_ID ()
	{
		Integer ii = (Integer)getValue ("C_BPartner_Location_ID");
		if (ii == null)
			return 0;
		return ii.intValue ();
	}

	public void setIsSOTrx (boolean IsSOTrx)
	{
		setValue ("IsSOTrx", new Boolean (IsSOTrx));
	}

	public boolean isSOTrx ()
	{
		Boolean bb = (Boolean)getValue ("IsSOTrx");
		if (bb != null)
			return bb.booleanValue ();
		return false;
	}

	public static final String DeliveryRule_AfterReceipt = "R";
	public static final String DeliveryRule_Availability = "A";
	public static final String DeliveryRule_CompleteLine = "L";
	public static final String DeliveryRule_CompleteOrder = "O";

	public void setDeliveryRule (String DeliveryRule)
	{
		if (DeliveryRule.equals ("R") || DeliveryRule.equals ("A") || DeliveryRule.equals ("L") || DeliveryRule.equals ("O"))
			;
		else
			throw new IllegalArgumentException ("DeliveryRule Invalid value - Reference_ID=151 - R - A - L - O");
		if (DeliveryRule == null)
			throw new IllegalArgumentException ("DeliveryRule is mandatory");
		setValue ("DeliveryRule", DeliveryRule);
	}

	public String getDeliveryRule ()
	{
		return (String)getValue ("DeliveryRule");
	}

	public void setC_Charge_ID (int C_Charge_ID)
	{
		setValue ("C_Charge_ID", new Integer (C_Charge_ID));
	}

	public int getC_Charge_ID ()
	{
		Integer ii = (Integer)getValue ("C_Charge_ID");
		if (ii == null)
			return 0;
		return ii.intValue ();
	}

	public void setC_Order_ID (int C_Order_ID)
	{
		setValue ("C_Order_ID", new Integer (C_Order_ID));
	}

	public int getC_Order_ID ()
	{
		Integer ii = (Integer)getValue ("C_Order_ID");
		if (ii == null)
			return 0;
		return ii.intValue ();
	}

	public void setPOReference (String POReference)
	{
		setValue ("POReference", POReference);
	}

	public String getPOReference ()
	{
		return (String)getValue ("POReference");
	}

	public void setIsPrinted (boolean IsPrinted)
	{
		setValue ("IsPrinted", new Boolean (IsPrinted));
	}

	public boolean isPrinted ()
	{
		Boolean bb = (Boolean)getValue ("IsPrinted");
		if (bb != null)
			return bb.booleanValue ();
		return false;
	}

	public void setDatePrinted (Timestamp DatePrinted)
	{
		setValue ("DatePrinted", DatePrinted);
	}

	public Timestamp getDatePrinted ()
	{
		return (Timestamp)getValue ("DatePrinted");
	}

	public void setM_Shipper_ID (int M_Shipper_ID)
	{
		setValue ("M_Shipper_ID", new Integer (M_Shipper_ID));
	}

	public int getM_Shipper_ID ()
	{
		Integer ii = (Integer)getValue ("M_Shipper_ID");
		if (ii == null)
			return 0;
		return ii.intValue ();
	}

	public static final String FreightCostRule_FreightIncluded = "I";
	public static final String FreightCostRule_FixPrice = "F";
	public static final String FreightCostRule_Calculated = "C";
	public static final String FreightCostRule_Line = "L";

	public void setFreightCostRule (String FreightCostRule)
	{
		if (FreightCostRule.equals ("I") || FreightCostRule.equals ("F") || FreightCostRule.equals ("C") || FreightCostRule.equals ("L"))
			;
		else
			throw new IllegalArgumentException ("FreightCostRule Invalid value - Reference_ID=153 - I - F - C - L");
		if (FreightCostRule == null)
			throw new IllegalArgumentException ("FreightCostRule is mandatory");
		setValue ("FreightCostRule", FreightCostRule);
	}

	public String getFreightCostRule ()
	{
		return (String)getValue ("FreightCostRule");
	}

	void setM_InOut_ID (int M_InOut_ID)
	{
		setValueNoCheck ("M_InOut_ID", new Integer (M_InOut_ID));
	}

	public int getM_InOut_ID ()
	{
		Integer ii = (Integer)getValue ("M_InOut_ID");
		if (ii == null)
			return 0;
		return ii.intValue ();
	}

	public void setC_BPartner_ID (int C_BPartner_ID)
	{
		setValue ("C_BPartner_ID", new Integer (C_BPartner_ID));
	}

	public int getC_BPartner_ID ()
	{
		Integer ii = (Integer)getValue ("C_BPartner_ID");
		if (ii == null)
			return 0;
		return ii.intValue ();
	}

	void setC_DocType_ID (int C_DocType_ID)
	{
		setValueNoCheck ("C_DocType_ID", new Integer (C_DocType_ID));
	}

	public int getC_DocType_ID ()
	{
		Integer ii = (Integer)getValue ("C_DocType_ID");
		if (ii == null)
			return 0;
		return ii.intValue ();
	}

	public void setSendEMail (boolean SendEMail)
	{
		setValue ("SendEMail", new Boolean (SendEMail));
	}

	public boolean isSendEMail ()
	{
		Boolean bb = (Boolean)getValue ("SendEMail");
		if (bb != null)
			return bb.booleanValue ();
		return false;
	}

	public static final String DocStatus_Drafted = "DR";
	public static final String DocStatus_Completed = "CO";
	public static final String DocStatus_Approved = "AP";
	public static final String DocStatus_Changed = "CH";
	public static final String DocStatus_NotApproved = "NA";
	public static final String DocStatus_TransferError = "TE";
	public static final String DocStatus_Printed = "PR";
	public static final String DocStatus_Transferred = "TR";
	public static final String DocStatus_Voided = "VO";
	public static final String DocStatus_Inactive = "IN";
	public static final String DocStatus_PostingError = "PE";
	public static final String DocStatus_Posted = "PO";
	public static final String DocStatus_Reversed = "RE";
	public static final String DocStatus_Closed = "CL";
	public static final String DocStatus_Unknown = "??";
	public static final String DocStatus_BeingProcessed = "XX";
	public static final String DocStatus_InProgress = "IP";
	public static final String DocStatus_WaitingPayment = "WP";

	void setDocStatus (String DocStatus)
	{
		if (DocStatus.equals ("DR") || DocStatus.equals ("CO") || DocStatus.equals ("AP") || DocStatus.equals ("CH") || DocStatus.equals ("NA") || DocStatus.equals ("TE") || DocStatus.equals ("PR") || DocStatus.equals ("TR") || DocStatus.equals ("VO") || DocStatus.equals ("IN") || DocStatus.equals ("PE") || DocStatus.equals ("PO")
		  || DocStatus.equals ("RE") || DocStatus.equals ("CL") || DocStatus.equals ("??") || DocStatus.equals ("XX") || DocStatus.equals ("IP") || DocStatus.equals ("WP"))
			;
		else
			throw new IllegalArgumentException ("DocStatus Invalid value - Reference_ID=131 - DR - CO - AP - CH - NA - TE - PR - TR - VO - IN - PE - PO - RE - CL - ?? - XX - IP - WP");
		if (DocStatus == null)
			throw new IllegalArgumentException ("DocStatus is mandatory");
		setValueNoCheck ("DocStatus", DocStatus);
	}

	public String getDocStatus ()
	{
		return (String)getValue ("DocStatus");
	}

	void setDocumentNo (String DocumentNo)
	{
		if (DocumentNo == null)
			throw new IllegalArgumentException ("DocumentNo is mandatory");
		setValueNoCheck ("DocumentNo", DocumentNo);
	}

	public String getDocumentNo ()
	{
		return (String)getValue ("DocumentNo");
	}

}	//	MInOut

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -