|
IM-ERP Real Connect | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.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.PurchaseOrderPostChangeController
public class PurchaseOrderPostChangeController
伝票登録変更コントローラクラス
機能は以下の通り
| フィールドの概要 |
|---|
| クラス jp.co.intra_mart.foundation.sap.module.UpdateController から継承されたフィールド |
|---|
connectionManager |
| クラス jp.co.intra_mart.foundation.sap.module.AbstractController から継承されたフィールド |
|---|
bapiReturnErrMessage, bapiReturnMessage, sapClient |
| コンストラクタの概要 | |
|---|---|
PurchaseOrderPostChangeController()
PurchaseOrderPostChangeControllerのコンストラクタを生成します。 |
|
PurchaseOrderPostChangeController(ConnectionManager connectionManager)
PurchaseOrderPostChangeControllerのコンストラクタを生成します。 |
|
PurchaseOrderPostChangeController(SapClient sapClient)
PurchaseOrderPostChangeControllerのコンストラクタを生成します。 |
|
| メソッドの概要 | |
|---|---|
void |
executeBapi()
PurchaseOrderPayPostのexecuteBapi()を呼び出し購買伝票を変更します。 |
void |
setExportParam(BapiController bapiController)
伝票に登録された情報をセットします。 |
void |
setImportParam(BapiController bapiController)
伝票に登録する値をセットします。 |
void |
setTblParam(String paramTable,
String paramName,
String value,
int index)
テーブル型の項目に値をセットします。 |
| クラス 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 |
| コンストラクタの詳細 |
|---|
public PurchaseOrderPostChangeController()
public PurchaseOrderPostChangeController(ConnectionManager connectionManager)
ConnectionManagerを使用することで、
ConnectionManagerからトランザクションを制御でき、
たとえば同一トランザクション内で複数の更新処理を実行することができます。executeBapi()実行後に必ずConnectionManager.commit()
またはConnectionManager.rollback()を
実行してください。
connectionManager - コネクションマネージャーpublic PurchaseOrderPostChangeController(SapClient sapClient)
SapClientを使用することで、SapClientにて指定した
SAPアプリケーションサーバへデータを登録することが可能です。
sapClient - SAPへの接続情報が格納されたオブジェクト| メソッドの詳細 |
|---|
public void executeBapi()
throws SAPAuthAppException,
SAPAuthSystemException,
SAPGeneralAppException,
SAPGeneralSystemException,
SAPPurchaseAppException,
SAPPurchaseSystemException
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPPurchaseAppException - 購買発注業務アプリケーション例外
SAPPurchaseSystemException - 購買発注業務システム例外
public void setImportParam(BapiController bapiController)
throws SAPGeneralSystemException,
SAPGeneralAppException
PurchaseOrderPayPost 内の setImportParambapiController - BapiController
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
public void setExportParam(BapiController bapiController)
throws SAPGeneralSystemException
PurchaseOrderPayPost 内の setExportParambapiController - BapiController
SAPGeneralSystemException - 汎用システム例外
public void setTblParam(String paramTable,
String paramName,
String value,
int index)
throws SAPPurchaseSystemException
PurchaseOrderPayPost 内の setTblParamparamTable - テーブル名paramName - 項目名value - セットする値index - レコード番号
SAPPurchaseSystemException - 購買発注業務システム例外
|
IM-ERP Real Connect | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||