public void setRMALine(MRMALine rmaLine)
{
// Check if this invoice is CreditMemo - teo_sarca [ 2804142 ]
if (!getParent().isCreditMemo())
{
throw new AdempiereException("InvoiceNotCreditMemo");
}
setAD_Org_ID(rmaLine.getAD_Org_ID());
setM_RMALine_ID(rmaLine.getM_RMALine_ID());
setDescription(rmaLine.getDescription());
setLine(rmaLine.getLine());