product api

This commit is contained in:
2023-12-29 17:09:58 +00:00
parent cab75818b7
commit 1b34fdabb0
4 changed files with 36 additions and 5 deletions
+1 -1
View File
@@ -325,7 +325,7 @@
<dependency>
<groupId>com.unicenta</groupId>
<artifactId>unicenta-plugins</artifactId>
<version>1.2.4</version>
<version>1.2.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.gluonhq</groupId>
@@ -487,7 +487,7 @@ public final class ProductsEditor extends javax.swing.JPanel implements EditorRe
myprod[28] = m_UomModel.getSelectedKey();
myprod[29] = Formats.TIMESTAMP.parseValue(m_jdate.getText());
myprod[30] = m_jInCatalog.isSelected();
myprod [30] = m_jInCatalog.isSelected();
myprod[31] = Formats.INT.parseValue(m_jCatalogOrder.getText());
if (m_jName.getText().contains("&")) {
@@ -378,7 +378,38 @@ public class ProductInfoExt {
}
@Override
public final String toString() {
return m_sRef + " - " + m_sName;
public String toString() {
return "ProductInfoExt{" +
"m_ID='" + m_ID + '\'' +
", m_sRef='" + m_sRef + '\'' +
", m_sCode='" + m_sCode + '\'' +
", m_sCodetype='" + m_sCodetype + '\'' +
", m_sName='" + m_sName + '\'' +
", m_dPriceBuy=" + m_dPriceBuy +
", m_dPriceSell=" + m_dPriceSell +
", categoryid='" + categoryid + '\'' +
", taxcategoryid='" + taxcategoryid + '\'' +
", attributesetid='" + attributesetid + '\'' +
", m_stockCost=" + m_stockCost +
", m_stockVolume=" + m_stockVolume +
", m_Image=" + m_Image +
", m_bCom=" + m_bCom +
", m_bScale=" + m_bScale +
", m_bConstant=" + m_bConstant +
", m_bPrintKB=" + m_bPrintKB +
", m_bSendStatus=" + m_bSendStatus +
", m_bService=" + m_bService +
", attributes=" + attributes +
", m_sDisplay='" + m_sDisplay + '\'' +
", m_bVprice=" + m_bVprice +
", m_bVerpatrib=" + m_bVerpatrib +
", m_sTextTip='" + m_sTextTip + '\'' +
", m_bWarranty=" + m_bWarranty +
", m_dStockUnits=" + m_dStockUnits +
", m_sPrinter='" + m_sPrinter + '\'' +
", supplierid='" + supplierid + '\'' +
", uomid='" + uomid + '\'' +
", memodate='" + memodate + '\'' +
'}';
}
}