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