: Public クラス
作成日: 2013/09/07 7:57:38
更新日: 2014/02/17 15:28:37
プロジェクト:
追加情報:
Match PO Model. = Created when processing Shipment or Order - Updates Order (delivered, invoiced) - Creates PPV acct <br /></p><p>@see http://sourceforge.net/tracker2/?func=detail&atid=879335&aid=2520591&group_id=176962<br /></p>
属性
Private static const long
  serialVersionUID
D詳細:
 
Private MMatchInv
  m_matchInv
D詳細:
 
Private static CLogger
  s_log
D詳細:
ノート: Static Logger
Private boolean
  m_isInvoiceLineChange
D詳細:
ノート: Invoice Changed
Private boolean
  m_isInOutLineChange
D詳細:
ノート: InOut Changed
Private MOrderLine
  m_oLine
D詳細:
ノート: Order Line
Private MInvoiceLine
  m_iLine
D詳細:
ノート: Invoice Line
操作
Public static
get( ctx: Properties,
C_OrderLine_ID: int,
C_InvoiceLine_ID: int,
trxName: String,
):MMatchPO
詳細:
Sequential
ノート: Get PO Match with order/invoice<br /></p><p>@return array of matches<br /></p>
Public static
get( ctx: Properties,
M_InOutLine_ID: int,
trxName: String,
):MMatchPO
詳細:
Sequential
ノート: Get PO Match of Receipt Line<br /></p><p>@return array of matches<br /></p>
Public static
getInOut( ctx: Properties,
M_InOut_ID: int,
trxName: String,
):MMatchPO
詳細:
Sequential
ノート: Get PO Matches of receipt<br /></p><p>@return array of matches<br /></p>
Public static
getInvoice( ctx: Properties,
C_Invoice_ID: int,
trxName: String,
):MMatchPO
詳細:
Sequential
ノート: Get PO Matches of Invoice<br /></p><p>@return array of matches<br /></p>
Public static
getOrderLine( ctx: Properties,
C_OrderLine_ID: int,
trxName: String,
):MMatchPO
詳細:
Sequential
ノート: Get PO Matches for OrderLine<br /></p><p>@return array of matches<br /></p>
Public static
create( iLine: MInvoiceLine,
sLine: MInOutLine,
dateTrx: Timestamp,
qty: BigDecimal,
):MMatchPO
詳細:
Sequential
ノート: Find/Create PO(Inv) Match<br /></p><p>@return Match Record<br /></p>
Private static
create( ctx: Properties,
iLine: MInvoiceLine,
sLine: MInOutLine,
C_OrderLine_ID: int,
dateTrx: Timestamp,
qty: BigDecimal,
trxName: String,
):MMatchPO
詳細:
Sequential
Private
setMatchInvCreated( matchInv: MMatchInv,
):void
詳細:
Sequential
ノート: Register the match inv created for immediate accounting purposes
Public
getMatchInvCreated():MMatchInv
詳細:
Sequential
ノート: Get the match inv created for immediate accounting purposes Is cleared after read, so if you read twice second time it returns null<br /></p><p>@param matchInv<br /></p>
Public
MMatchPO( ctx: Properties,
M_MatchPO_ID: int,
trxName: String,
):
詳細:
Sequential
ノート: Standard Constructor
Public
MMatchPO( ctx: Properties,
rs: ResultSet,
trxName: String,
):
詳細:
Sequential
ノート: Load Construor
Public
MMatchPO( sLine: MInOutLine,
dateTrx: Timestamp,
qty: BigDecimal,
):
詳細:
Sequential
ノート: Shipment Line Constructor
Public
MMatchPO( iLine: MInvoiceLine,
dateTrx: Timestamp,
qty: BigDecimal,
):
詳細:
Sequential
ノート: Invoice Line Constructor
Public
setC_InvoiceLine_ID( line: MInvoiceLine,
):void
詳細:
Sequential
ノート: Set C_InvoiceLine_ID
Public
setC_InvoiceLine_ID( C_InvoiceLine_ID: int,
):void
詳細:
Sequential
ノート: Set C_InvoiceLine_ID
Public
getInvoiceLine():MInvoiceLine
詳細:
Sequential
ノート: Get Invoice Line<br /></p><p>@return invoice line or null<br /></p>
Public
setM_InOutLine_ID( M_InOutLine_ID: int,
):void
詳細:
Sequential
ノート: Set M_InOutLine_ID
Public
setC_OrderLine_ID( line: MOrderLine,
):void
詳細:
Sequential
ノート: Set C_OrderLine_ID
Public
getOrderLine():MOrderLine
詳細:
Sequential
ノート: Get Order Line<br /></p><p>@return order line or null<br /></p>
Public
getInvoicePriceActual():BigDecimal
詳細:
Sequential
ノート: Get PriceActual from Invoice and convert it to Order Currency<br /></p><p>@return Price Actual in Order Currency<br /></p>
Protected
beforeSave( newRecord: boolean,
):boolean
詳細:
Sequential
タグ: annotations=@Override
Protected
afterSave( newRecord: boolean,
success: boolean,
):boolean
詳細:
Sequential
タグ: annotations=@Override
ノート: After Save. Set Order Qty Delivered/Invoiced<br /></p><p>@return success<br /></p>
Public
getNewerDateAcct():Timestamp
詳細:
Sequential
ノート: Get the later Date Acct from invoice or shipment<br /></p><p>@return date or null<br /></p>
Protected
beforeDelete():boolean
詳細:
Sequential
タグ: annotations=@Override
ノート: Before Delete<br /></p><p>@return true if acct was deleted<br /></p>
Protected
afterDelete( success: boolean,
):boolean
詳細:
Sequential
タグ: annotations=@Override
ノート: After Delete. Set Order Qty Delivered/Invoiced<br /></p><p>@return success<br /></p>
Public
toString():String
詳細:
Sequential
ノート: String Representation<br /></p><p>@return info<br /></p>
Public static
consolidate( ctx: Properties,
):void
詳細:
Sequential
ノート: Consolidate MPO entries. (data conversion issue)
Private
deleteMatchPOCostDetail():String
詳細:
Sequential
ノート: AZ Goodwill
Public
reverse( reversalDate: Timestamp,
):boolean
詳細:
Sequential
ノート: Reverse MatchPO.<br /></p><p>@return boolean<br /></p>
要素 ソースの役割 ターゲットの役割
MMatchInv
クラス  
名前:  
 
名前: m_matchInv
 
詳細:
 
CLogger
クラス  
名前:  
 
名前: s_log
 
詳細:
 
MOrderLine
クラス  
名前:  
 
名前: m_oLine
 
詳細:
 
MInvoiceLine
クラス  
名前:  
 
名前: m_iLine
 
詳細:
 
要素 種類 接続 方向 ノート
X_M_MatchPO Class 汎化 To  
MInOutLine Class 依存 To