| Constructor and Description |
|---|
SrSaSrLn() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends AInv> |
getBinvCls()
Getter for invoice class.
|
org.beigesoft.rdb.IOrm |
getOrm()
Getter for orm.
|
IRvInvLn<SalInv,SaInSrLn> |
getRvInvLn()
Getter for rvInvLn.
|
void |
mkEntrs(Map<String,Object> pRvs,
Map<String,Object> pVs,
SaInSrLn 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,
SaInSrLn pEnt,
TxDst pTxRules)
Prepare line, e.g.
|
SaInSrLn |
retChkRv(Map<String,Object> pRvs,
Map<String,Object> pVs,
SaInSrLn pEnt)
Retrieves and checks line for reversing, makes reversing item,
e.g.
|
void |
revLns(Map<String,Object> pRvs,
Map<String,Object> pVs,
SaInSrLn pRvng,
SaInSrLn pRved)
Reverses lines.
|
void |
setOrm(org.beigesoft.rdb.IOrm pOrm)
Setter for orm.
|
void |
setRvInvLn(IRvInvLn<SalInv,SaInSrLn> pRvInvLn)
Setter for rvInvLn.
|
public final void mkEntrs(Map<String,Object> pRvs, Map<String,Object> pVs, SaInSrLn 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, SaInSrLn 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 SaInSrLn retChkRv(Map<String,Object> pRvs, Map<String,Object> pVs, SaInSrLn 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, SaInSrLn pRvng, SaInSrLn 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<SalInv,SaInSrLn>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<SalInv,SaInSrLn> getRvInvLn()
Getter for rvInvLn.
Copyright © 2019. All rights reserved.