| Constructor and Description |
|---|
SrPuSrLn() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends AInv> |
getBinvCls()
Getter for invoice class.
|
org.beigesoft.rdb.IOrm |
getOrm()
Getter for orm.
|
IRvInvLn<PurInv,PuInSrLn> |
getRvInvLn()
Getter for rvInvLn.
|
void |
mkEntrs(Map<String,Object> pRvs,
Map<String,Object> pVs,
PuInSrLn pEnt)
For good it makes warehouse entry
for sales good it also makes draw item entry.
|
void |
prepLn(Map<String,Object> pRvs,
Map<String,Object> pVs,
PuInSrLn pEnt,
TxDst pTxRules)
Prepare line, e.g.
|
PuInSrLn |
retChkRv(Map<String,Object> pRvs,
Map<String,Object> pVs,
PuInSrLn pEnt)
Retrieves and checks line for reversing, makes reversing item,
e.g.
|
void |
revLns(Map<String,Object> pRvs,
Map<String,Object> pVs,
PuInSrLn pRvng,
PuInSrLn pRved)
Reverses lines.
|
void |
setOrm(org.beigesoft.rdb.IOrm pOrm)
Setter for orm.
|
void |
setRvInvLn(IRvInvLn<PurInv,PuInSrLn> pRvInvLn)
Setter for rvInvLn.
|
public final void mkEntrs(Map<String,Object> pRvs, Map<String,Object> pVs, PuInSrLn pEnt) throws Exception
For good it makes warehouse entry for sales good it also makes draw item entry.
public final void prepLn(Map<String,Object> pRvs, Map<String,Object> pVs, PuInSrLn pEnt, TxDst pTxRules) throws Exception
Prepare line, e.g. for purchase good it makes items left, it may makes totals/subtotals (depends of price inclusive), known cost.
public final PuInSrLn retChkRv(Map<String,Object> pRvs, Map<String,Object> pVs, PuInSrLn pEnt) throws Exception
Retrieves and checks line for reversing, makes reversing item, e.g. for purchase goods lines it checks for withdrawals.
public final void revLns(Map<String,Object> pRvs, Map<String,Object> pVs, PuInSrLn pRvng, PuInSrLn 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<PurInv,PuInSrLn>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 IRvInvLn<PurInv,PuInSrLn> getRvInvLn()
Getter for rvInvLn.
Copyright © 2019–2020. All rights reserved.