| Constructor and Description |
|---|
SrPuRtLn() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends AInv> |
getBinvCls()
Getter for invoice class.
|
org.beigesoft.rdb.IOrm |
getOrm()
Getter for orm.
|
IRvInvLn<PurRet,PuRtLn> |
getRvInvLn()
Getter for rvInvLn.
|
ISrDrItEnr |
getSrDrItEnr()
Getter for srDrItEnr.
|
void |
mkEntrs(Map<String,Object> pRvs,
Map<String,Object> pVs,
PuRtLn pEnt)
It makes warehouse entry and draw item entry.
|
void |
prepLn(Map<String,Object> pRvs,
Map<String,Object> pVs,
PuRtLn pEnt,
TxDst pTxRules)
Prepare line, e.g.
|
PuRtLn |
retChkRv(Map<String,Object> pRvs,
Map<String,Object> pVs,
PuRtLn pEnt)
Retrieves and checks line for reversing, makes reversing item,
e.g.
|
void |
revLns(Map<String,Object> pRvs,
Map<String,Object> pVs,
PuRtLn pRvng,
PuRtLn pRved)
Reverses lines.
|
void |
setOrm(org.beigesoft.rdb.IOrm pOrm)
Setter for orm.
|
void |
setRvInvLn(IRvInvLn<PurRet,PuRtLn> pRvInvLn)
Setter for rvInvLn.
|
void |
setSrDrItEnr(ISrDrItEnr pSrDrItEnr)
Setter for srDrItEnr.
|
public final void mkEntrs(Map<String,Object> pRvs, Map<String,Object> pVs, PuRtLn pEnt) throws Exception
It makes warehouse entry and draw item entry.
public final void prepLn(Map<String,Object> pRvs, Map<String,Object> pVs, PuRtLn pEnt, TxDst pTxRules) throws Exception
Prepare line, e.g. for sales good it makes items left, it may makes totals/subtotals (depends of price inclusive), known cost.
public final PuRtLn retChkRv(Map<String,Object> pRvs, Map<String,Object> pVs, PuRtLn pEnt) throws Exception
Retrieves and checks line for reversing, makes reversing item, e.g. for sales goods lines it checks for withdrawals.
public final void revLns(Map<String,Object> pRvs, Map<String,Object> pVs, PuRtLn pRvng, PuRtLn pRved) throws Exception
Reverses lines. it also inserts reversing and updates reversed for good it also makes warehouse reversing for sales good it also makes draw item reversing. It removes line tax lines.
public final Class<? extends AInv> getBinvCls()
Getter for invoice class.
getBinvCls in interface ISrInItLn<PurRet,PuRtLn>public final org.beigesoft.rdb.IOrm getOrm()
Getter for orm.
public final void setOrm(org.beigesoft.rdb.IOrm pOrm)
Setter for orm.
pOrm - referencepublic final void setRvInvLn(IRvInvLn<PurRet,PuRtLn> pRvInvLn)
Setter for rvInvLn.
pRvInvLn - referencepublic final ISrDrItEnr getSrDrItEnr()
Getter for srDrItEnr.
public final void setSrDrItEnr(ISrDrItEnr pSrDrItEnr)
Setter for srDrItEnr.
pSrDrItEnr - referenceCopyright © 2019. All rights reserved.