IM-ERP Real Connect

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

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.PurchaseRelease
すべての実装されたインタフェース:
Serializable
直系の既知のサブクラス:
PurchaseReleaseController, PurchaseResetReleaseController

public class PurchaseRelease
extends UpdateController
implements Serializable

承認情報スーパークラス
機能は以下の通り

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

フィールドの概要
 
クラス jp.co.intra_mart.foundation.sap.module.UpdateController から継承されたフィールド
connectionManager
 
クラス jp.co.intra_mart.foundation.sap.module.AbstractController から継承されたフィールド
bapiReturnErrMessage, bapiReturnMessage, sapClient
 
コンストラクタの概要
PurchaseRelease()
          伝票承認を作成します。
PurchaseRelease(String purchaseorder, String poRelCode, String useExceptions)
          コンストラクタ生成。
PurchaseRelease(String purchaseorder, String poRelCode, String useExceptions, ConnectionManager connectionManager)
          コンストラクタ生成。
PurchaseRelease(String purchaseorder, String poRelCode, String useExceptions, SapClient sapClient)
          コンストラクタ生成。
PurchaseRelease(String purchaseorder, String poRelCode, String useExceptions, String noCommit)
          コンストラクタ生成。
PurchaseRelease(String purchaseorder, String poRelCode, String useExceptions, String noCommit, ConnectionManager connectionManager)
          コンストラクタ生成。
PurchaseRelease(String purchaseorder, String poRelCode, String useExceptions, String noCommit, SapClient sapClient)
          コンストラクタ生成。
 
メソッドの概要
 void executeBapi(BapiController bapiController)
          伝票承認取消処理を実行します。
 String getNoCommit()
          コミットワーク はい/いいえを取得します。
 String getPoRelCode()
          承認コードを取得します。
 String getPurchaseorder()
          購買発注番号を取得します。
 String getRelIndicatorNew()
          返却規承認区分を取得します。
 String getRelStatusNew()
          返却承認状況を取得します。
 String getUseExceptions()
          例外メッセージ設定とエラーメッセージ出力を取得します。
 void setExportParam(BapiController bapiController)
          実行結果を取得します。
 void setNoCommit(String strNoCommit)
          コミットワーク はい/いいえを取得します。
 void setPoRelCode(String strPoRelCode)
          承認コードを設定します。
 void setPurchaseorder(String strPurchaseorder)
          購買発注番号を設定します。
 void setRelIndicatorNew(String strRelIndicatorNew)
          返却承認区分を設定します。
 void setRelStatusNew(String strRelStatusNew)
          返却承認状況を設定します。
 void setUseExceptions(String strUseExceptions)
          例外メッセージ設定とエラーメッセージ出力を設定します。
 String 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
 

コンストラクタの詳細

PurchaseRelease

public PurchaseRelease()
伝票承認を作成します。


PurchaseRelease

public PurchaseRelease(String purchaseorder,
                       String poRelCode,
                       String useExceptions)
コンストラクタ生成。

パラメータ:
purchaseorder - 購買発注番号
poRelCode - 承認コード
useExceptions - 例外メッセージ出力区分

PurchaseRelease

public PurchaseRelease(String purchaseorder,
                       String poRelCode,
                       String useExceptions,
                       ConnectionManager connectionManager)
コンストラクタ生成。

パラメータ:
purchaseorder - 購買発注番号
poRelCode - 承認コード
useExceptions - 例外メッセージ出力区分
connectionManager - コネクションマネージャー

PurchaseRelease

public PurchaseRelease(String purchaseorder,
                       String poRelCode,
                       String useExceptions,
                       SapClient sapClient)
コンストラクタ生成。

パラメータ:
purchaseorder - 購買発注番号
poRelCode - 承認コード
useExceptions - 例外メッセージ出力区分
sapClient - SAPへの接続情報が格納されたオブジェクト

PurchaseRelease

public PurchaseRelease(String purchaseorder,
                       String poRelCode,
                       String useExceptions,
                       String noCommit)
コンストラクタ生成。

パラメータ:
purchaseorder - 購買発注番号
poRelCode - 承認コード
useExceptions - 例外メッセージ出力区分
noCommit - コミットワーク はい/いいえ

PurchaseRelease

public PurchaseRelease(String purchaseorder,
                       String poRelCode,
                       String useExceptions,
                       String noCommit,
                       ConnectionManager connectionManager)
コンストラクタ生成。

パラメータ:
purchaseorder - 購買発注番号
poRelCode - 承認コード
useExceptions - 例外メッセージ出力区分
noCommit - コミットワーク はい/いいえ
connectionManager - コネクションマネージャー

PurchaseRelease

public PurchaseRelease(String purchaseorder,
                       String poRelCode,
                       String useExceptions,
                       String noCommit,
                       SapClient sapClient)
コンストラクタ生成。

パラメータ:
purchaseorder - 購買発注番号
poRelCode - 承認コード
useExceptions - 例外メッセージ出力区分
noCommit - コミットワーク はい/いいえ
sapClient - SAPへの接続情報が格納されたオブジェクト
メソッドの詳細

executeBapi

public void executeBapi(BapiController bapiController)
                 throws SAPAuthAppException,
                        SAPAuthSystemException,
                        SAPGeneralAppException,
                        SAPGeneralSystemException,
                        SAPBapiReturnErrMessageExistException
伝票承認取消処理を実行します。

オーバーライド:
クラス AbstractController 内の executeBapi
パラメータ:
bapiController - BapiControllerインスタンス
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPBapiReturnErrMessageExistException - BAPI実行結果例外

setExportParam

public void setExportParam(BapiController bapiController)
                    throws SAPGeneralSystemException,
                           SAPGeneralAppException
実行結果を取得します。

パラメータ:
bapiController - BAPIコントローラー
例外:
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外

getPurchaseorder

public String getPurchaseorder()
購買発注番号を取得します。

戻り値:
srtPurchaseorder

getPoRelCode

public String getPoRelCode()
承認コードを取得します。

戻り値:
srtPoRelCode

getUseExceptions

public String getUseExceptions()
例外メッセージ設定とエラーメッセージ出力を取得します。

戻り値:
srtUseExceptions

getNoCommit

public String getNoCommit()
コミットワーク はい/いいえを取得します。

戻り値:
strNoCommit

getRelStatusNew

public String getRelStatusNew()
返却承認状況を取得します。

戻り値:
srtRelStatusNew

getRelIndicatorNew

public String getRelIndicatorNew()
返却規承認区分を取得します。

戻り値:
srtRelIndicatorNew

setPurchaseorder

public void setPurchaseorder(String strPurchaseorder)
購買発注番号を設定します。

パラメータ:
strPurchaseorder - 購買発注番号

setPoRelCode

public void setPoRelCode(String strPoRelCode)
承認コードを設定します。

パラメータ:
strPoRelCode - 承認コード

setUseExceptions

public void setUseExceptions(String strUseExceptions)
例外メッセージ設定とエラーメッセージ出力を設定します。

パラメータ:
strUseExceptions - 例外メッセージ設定とエラーメッセージ出力

setNoCommit

public void setNoCommit(String strNoCommit)
コミットワーク はい/いいえを取得します。を設定します。

パラメータ:
strNoCommit - コミットワーク はい/いいえを取得します。

setRelStatusNew

public void setRelStatusNew(String strRelStatusNew)
返却承認状況を設定します。

パラメータ:
strRelStatusNew - 返却承認状況

setRelIndicatorNew

public void setRelIndicatorNew(String strRelIndicatorNew)
返却承認区分を設定します。

パラメータ:
strRelIndicatorNew - 返却規承認区分

toString

public String toString()
デバッグ用のメソッドです。

オーバーライド:
クラス Object 内の toString
戻り値:
value すべての属性の値

IM-ERP Real Connect

Copyright (c) 2013 NTT DATA INTRAMART CORPORATION.