Package org.jallinone.sales.documents.java

Examples of org.jallinone.sales.documents.java.SaleDocRowPK


    this.headerParentVO = headerParentVO;
    this.parentVO = parentVO;
    if (parentVO!=null) {
      discountDataLocator.getLookupFrameParams().put(ApplicationConsts.SALE_DOC_ROW_VO,parentVO);
      discountDataLocator.getLookupValidationParameters().put(ApplicationConsts.SALE_DOC_ROW_VO,parentVO);
      grid.getOtherGridParams().put(ApplicationConsts.SALE_DOC_ROW_PK,new SaleDocRowPK(
          parentVO.getCompanyCodeSys01DOC02(),
          parentVO.getDocTypeDOC02(),
          parentVO.getDocYearDOC02(),
          parentVO.getDocNumberDOC02(),
          parentVO.getItemCodeItm01DOC02(),
View Full Code Here


    }

    //Response res = ClientUtils.getData("insertSaleDocRow",newPersistentObject);
    if (!res.isError()) {
      DetailSaleDocRowVO vo = (DetailSaleDocRowVO)((VOResponse)res).getVo();
      pk = new SaleDocRowPK(
          vo.getCompanyCodeSys01DOC02(),
          vo.getDocTypeDOC02(),
          vo.getDocYearDOC02(),
          vo.getDocNumberDOC02(),
          vo.getItemCodeItm01DOC02(),
View Full Code Here

   * @param rowNumber selected row index
   * @param persistentObject v.o. related to the selected row
   */
  public void doubleClick(int rowNumber,ValueObject persistentObject) {
    GridSaleDocRowVO vo = (GridSaleDocRowVO)persistentObject;
    SaleDocRowPK pk = new SaleDocRowPK(
        vo.getCompanyCodeSys01DOC02(),
        vo.getDocTypeDOC02(),
        vo.getDocYearDOC02(),
        vo.getDocNumberDOC02(),
        vo.getItemCodeItm01DOC02(),
View Full Code Here

   * @param persistentObjects value objects to delete (related to the currently selected rows)
   * @return an ErrorResponse value object in case of errors, VOResponse if the operation is successfully completed
   */
  public Response deleteRecords(ArrayList persistentObjects) throws Exception {
    ArrayList pks = new ArrayList();
    SaleDocRowPK pk = null;
    GridSaleDocRowVO vo = null;
    for(int i=0;i<persistentObjects.size();i++) {
      vo = (GridSaleDocRowVO)persistentObjects.get(i);
      pk = new SaleDocRowPK(
          vo.getCompanyCodeSys01DOC02(),
          vo.getDocTypeDOC02(),
          vo.getDocYearDOC02(),
          vo.getDocNumberDOC02(),
          vo.getItemCodeItm01DOC02(),
View Full Code Here

   * @param rowNumber selected row index
   * @param persistentObject v.o. related to the selected row
   */
  public void doubleClick(int rowNumber,ValueObject persistentObject) {
    GridSaleDocRowVO vo = (GridSaleDocRowVO)persistentObject;
    SaleDocRowPK pk = new SaleDocRowPK(
        vo.getCompanyCodeSys01DOC02(),
        vo.getDocTypeDOC02(),
        vo.getDocYearDOC02(),
        vo.getDocNumberDOC02(),
        vo.getItemCodeItm01DOC02(),
View Full Code Here

   * @param persistentObjects value objects to delete (related to the currently selected rows)
   * @return an ErrorResponse value object in case of errors, VOResponse if the operation is successfully completed
   */
  public Response deleteRecords(ArrayList persistentObjects) throws Exception {
    ArrayList pks = new ArrayList();
    SaleDocRowPK pk = null;
    GridSaleDocRowVO vo = null;
    for(int i=0;i<persistentObjects.size();i++) {
      vo = (GridSaleDocRowVO)persistentObjects.get(i);
      pk = new SaleDocRowPK(
          vo.getCompanyCodeSys01DOC02(),
          vo.getDocTypeDOC02(),
          vo.getDocYearDOC02(),
          vo.getDocNumberDOC02(),
          vo.getItemCodeItm01DOC02(),
View Full Code Here

   * @param rowNumber selected row index
   * @param persistentObject v.o. related to the selected row
   */
  public void doubleClick(int rowNumber,ValueObject persistentObject) {
    GridSaleDocRowVO vo = (GridSaleDocRowVO)persistentObject;
    SaleDocRowPK pk = new SaleDocRowPK(
        vo.getCompanyCodeSys01DOC02(),
        vo.getDocTypeDOC02(),
        vo.getDocYearDOC02(),
        vo.getDocNumberDOC02(),
        vo.getItemCodeItm01DOC02(),
View Full Code Here

   * @param persistentObjects value objects to delete (related to the currently selected rows)
   * @return an ErrorResponse value object in case of errors, VOResponse if the operation is successfully completed
   */
  public Response deleteRecords(ArrayList persistentObjects) throws Exception {
    ArrayList pks = new ArrayList();
    SaleDocRowPK pk = null;
    GridSaleDocRowVO vo = null;
    for(int i=0;i<persistentObjects.size();i++) {
      vo = (GridSaleDocRowVO)persistentObjects.get(i);
      pk = new SaleDocRowPK(
          vo.getCompanyCodeSys01DOC02(),
          vo.getDocTypeDOC02(),
          vo.getDocYearDOC02(),
          vo.getDocNumberDOC02(),
          vo.getItemCodeItm01DOC02(),
View Full Code Here

      for(int i=0;i<itemRows.size();i++) {
        itemVO = (GridSaleDocRowVO)itemRows.get(i);
        // retrieve item detail...
        rowResponse = bean.loadSaleDocRow(
          variant1Descriptions,variant2Descriptions,variant3Descriptions,variant4Descriptions,variant5Descriptions,
          new SaleDocRowPK(
            pk.getCompanyCodeSys01DOC01(),
            pk.getDocTypeDOC01(),
            pk.getDocYearDOC01(),
            pk.getDocNumberDOC01(),
            itemVO.getItemCodeItm01DOC02(),
View Full Code Here

    }

    //Response res = ClientUtils.getData("insertSaleDocRow",newPersistentObject);
    if (!res.isError()) {
      DetailSaleDocRowVO vo = (DetailSaleDocRowVO)((VOResponse)res).getVo();
      pk = new SaleDocRowPK(
          vo.getCompanyCodeSys01DOC02(),
          vo.getDocTypeDOC02(),
          vo.getDocYearDOC02(),
          vo.getDocNumberDOC02(),
          vo.getItemCodeItm01DOC02(),
View Full Code Here

TOP

Related Classes of org.jallinone.sales.documents.java.SaleDocRowPK

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.