IM-ERP Real Connect

jp.co.intra_mart.foundation.sap.module.purchase
クラス PurchaseOrderPayPostController

java.lang.Object
  上位を拡張 jp.co.intra_mart.foundation.sap.module.AbstractController
      上位を拡張 jp.co.intra_mart.foundation.sap.module.UpdateController
          上位を拡張 jp.co.intra_mart.foundation.sap.module.purchase.PurchaseOrderPayPost
              上位を拡張 jp.co.intra_mart.foundation.sap.module.purchase.PurchaseOrderPayPostController
すべての実装されたインタフェース:
Serializable

public class PurchaseOrderPayPostController
extends PurchaseOrderPayPost
implements Serializable

伝票登録コントローラクラス
機能は以下の通り

バージョン:
8.0
関連項目:
直列化された形式

フィールドの概要
 
クラス jp.co.intra_mart.foundation.sap.module.UpdateController から継承されたフィールド
connectionManager
 
クラス jp.co.intra_mart.foundation.sap.module.AbstractController から継承されたフィールド
bapiReturnErrMessage, bapiReturnMessage, sapClient
 
コンストラクタの概要
PurchaseOrderPayPostController()
          PurchaseOrderPayPostControllerのコンストラクタを生成します。
PurchaseOrderPayPostController(ConnectionManager connectionManager)
          PurchaseOrderPayPostControllerのコンストラクタを生成します。
PurchaseOrderPayPostController(SapClient sapClient)
          PurchaseOrderPayPostControllerのコンストラクタを生成します。
 
メソッドの概要
 void executeBapi()
          PurchaseOrderPayPostのexecuteBapi()を呼び出し購買伝票を登録します。
 
クラス jp.co.intra_mart.foundation.sap.module.purchase.PurchaseOrderPayPost から継承されたメソッド
executeBapi, getAllVersionsList, getCondHeaderList, getCondItemList, getContractLimitsList, getContractServiceAccountList, getContractServiceList, getContractServiceTextList, getDeliverryAddressList, getDocumentHeader, getExportHeader, getExportItemList, getExtensionList, getHeaderTextList, getItemTextList, getLimitsList, getMemoryComplete, getMemoryUnComplete, getNoAuthority, getNoMessageReq, getNoMessaging, getNoPriceFromPo, getPartnerList, getPoNumber, getProfitSegmentList, getPurchaseAccountList, getPurchaseComponentsList, getPurchaseConfirmationList, getPurchaseHistoryList, getPurchaseHistoryTotalsList, getPurchaseItemPostList, getPurchaseScheduleList, getPurchaseShippingExpList, getPurchaseShippingList, getSupplierInfo, getTestRun, getVersions, setAllVersionsList, setCondHeaderList, setCondItemList, setContractLimitsList, setContractServiceAccountList, setContractServiceList, setContractServiceTextList, setDeliveryAddressList, setDocumentHeader, setExportHeader, setExportItemList, setExportParam, setExtensionList, setHeaderTextList, setImportParam, setItemTextList, setLimitsList, setMemoryComplete, setMemoryUnComplete, setNoAuthority, setNoMessage, setNoMessageReq, setNoPriceFromPo, setPartnerList, setPoNumber, setProfitSegmentList, setPurchaseAccountList, setPurchaseComponentsList, setPurchaseConfirmationList, setPurchaseHistory, setPurchaseHistorysTotal, setPurchaseItemPostList, setPurchaseScheduleList, setPurchaseShippingExpList, setPurchaseShippingList, setStrParam, setSupplierInfo, setTblParam, setTestRun, setVersions, toString
 
クラス jp.co.intra_mart.foundation.sap.module.UpdateController から継承されたメソッド
createBapiController
 
クラス jp.co.intra_mart.foundation.sap.module.AbstractController から継承されたメソッド
getBapiReturnErrMessage, getBapiReturnMessage
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

PurchaseOrderPayPostController

public PurchaseOrderPayPostController()
PurchaseOrderPayPostControllerのコンストラクタを生成します。


PurchaseOrderPayPostController

public PurchaseOrderPayPostController(ConnectionManager connectionManager)
PurchaseOrderPayPostControllerのコンストラクタを生成します。

ConnectionManagerを使用することで、 ConnectionManagerからトランザクションを制御でき、 たとえば同一トランザクション内で複数の登録処理を実行することができます。
なお、executeBapi()実行後に必ずConnectionManager.commit() またはConnectionManager.rollback()を 実行してください。
上記2メソッド内でSAPへのコネクションの開放も実行されるので確実にどちらかの メソッドを呼ぶようにコーディングする必要があります。

パラメータ:
connectionManager - コネクションマネージャー

PurchaseOrderPayPostController

public PurchaseOrderPayPostController(SapClient sapClient)
PurchaseOrderPayPostControllerのコンストラクタを生成します。

SapClientを使用することで、SapClientにて指定した SAPアプリケーションサーバへデータを登録することが可能です。

パラメータ:
sapClient - SAPへの接続情報が格納されたオブジェクト
メソッドの詳細

executeBapi

public void executeBapi()
                 throws SAPAuthAppException,
                        SAPAuthSystemException,
                        SAPGeneralAppException,
                        SAPGeneralSystemException,
                        SAPPurchaseAppException,
                        SAPPurchaseSystemException
PurchaseOrderPayPostのexecuteBapi()を呼び出し購買伝票を登録します。

例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPPurchaseAppException - 購買発注業務アプリケーション例外
SAPPurchaseSystemException - 購買発注業務システム例外

IM-ERP Real Connect

Copyright (c) 2013 NTT DATA INTRAMART CORPORATION.