Browse Source

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@391 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d

administrator 11 years ago
parent
commit
b4154cadcd
1 changed files with 10 additions and 0 deletions
  1. 10 0
      src/main/java/com/uas/platform/b2b/erp/model/SaleDownDetail.java

+ 10 - 0
src/main/java/com/uas/platform/b2b/erp/model/SaleDownDetail.java

@@ -6,6 +6,7 @@ import com.uas.platform.b2b.model.PurchaseOrderAllItem;
 
 public class SaleDownDetail {
 
+	private long b2b_pd_id;
 	private String sd_code;
 	private int sd_detno;
 	private String sd_custprodcode;
@@ -23,6 +24,14 @@ public class SaleDownDetail {
 	private Float sd_taxrate;
 	private Double sd_taxtotal;
 
+	public long getB2b_pd_id() {
+		return b2b_pd_id;
+	}
+
+	public void setB2b_pd_id(long b2b_pd_id) {
+		this.b2b_pd_id = b2b_pd_id;
+	}
+
 	public String getSd_code() {
 		return sd_code;
 	}
@@ -161,6 +170,7 @@ public class SaleDownDetail {
 	 * @param orderItem
 	 */
 	public SaleDownDetail(PurchaseOrderAllItem orderItem) {
+		this.b2b_pd_id = orderItem.getId();
 		this.sd_code = orderItem.getOrder().getCode();
 		this.sd_customprice = orderItem.getPrice();
 		this.sd_custprodcode = orderItem.getProduct().getCode();