| Modifier and Type | Method and Description |
|---|---|
Class<? extends AInv> |
getBinvCls()
Getter base for invoice class.
|
void |
mkEntrs(Map<String,Object> pRvs,
Map<String,Object> pVs,
L 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,
L pEnt,
TxDst pTxRules)
Prepare line, e.g.
|
L |
retChkRv(Map<String,Object> pRvs,
Map<String,Object> pVs,
L pEnt)
Retrieves and checks line for reversing, makes reversing item,
e.g.
|
void |
revLns(Map<String,Object> pRvs,
Map<String,Object> pVs,
L pRvng,
L pRved)
Reverses lines.
|
void mkEntrs(Map<String,Object> pRvs, Map<String,Object> pVs, L pEnt) throws Exception
For good it makes warehouse entry for sales good it also makes draw item entry.
pRvs - Request scoped variables, not nullpVs - Invoker scoped variables, not nullpEnt - line, not nullException - - an exceptionvoid prepLn(Map<String,Object> pRvs, Map<String,Object> pVs, L 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.
pRvs - Request scoped variables, not nullpVs - Invoker scoped variables, not nullpEnt - line, not nullpTxRules - maybe nullException - - an exceptionL retChkRv(Map<String,Object> pRvs, Map<String,Object> pVs, L pEnt) throws Exception
Retrieves and checks line for reversing, makes reversing item, e.g. for purchase goods lines it checks for withdrawals.
pRvs - Request scoped variables, not nullpVs - Invoker scoped variables, not nullpEnt - reversing, not nullException - - an exceptionvoid revLns(Map<String,Object> pRvs, Map<String,Object> pVs, L pRvng, L 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.
pRvs - Request scoped variables, not nullpVs - Invoker scoped variables, not nullpRvng - reversing line, not nullpRved - reversed line, not nullException - - an exceptionCopyright © 2019–2020. All rights reserved.