RS - platform dependent record set typepublic class PrcPurchaseReturnSave<RS> extends APrcAccDocUseMaterialSave<RS,PurchaseReturn>
Process that save purchase return.
| Constructor and Description |
|---|
PrcPurchaseReturnSave() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCheckIsReadyToAccount(Map<String,Object> pAddParam,
PurchaseReturn pEntity,
org.beigesoft.model.IRequestData pRequestData)
Additional check document for ready to account (make acc.entries).
|
void |
checkOtherFraudUpdate(Map<String,Object> pAddParam,
PurchaseReturn pEntity,
org.beigesoft.model.IRequestData pRequestData,
PurchaseReturn pOldEntity)
Check other fraud update e.g.
|
void |
makeFirstPrepareForSave(Map<String,Object> pAddParam,
PurchaseReturn pEntity,
org.beigesoft.model.IRequestData pRequestData)
Make save preparations before insert/update block if it's need.
|
void |
makeOtherEntries(Map<String,Object> pAddParam,
PurchaseReturn pEntity,
org.beigesoft.model.IRequestData pRequestData,
boolean pIsNew)
Make other entries include reversing if it's need when save.
|
getSrvUseMaterialEntry, getSrvWarehouseEntry, setSrvUseMaterialEntry, setSrvWarehouseEntrygetSrvAccEntry, getSrvAccSettings, getSrvI18n, getSrvOrm, process, setSrvAccEntry, setSrvAccSettings, setSrvI18n, setSrvOrmpublic final void makeFirstPrepareForSave(Map<String,Object> pAddParam, PurchaseReturn pEntity, org.beigesoft.model.IRequestData pRequestData) throws Exception
Make save preparations before insert/update block if it's need.
makeFirstPrepareForSave in class APrcAccDocSave<RS,PurchaseReturn>pAddParam - additional parampEntity - entitypRequestData - Request DataException - - an exceptionpublic final void makeOtherEntries(Map<String,Object> pAddParam, PurchaseReturn pEntity, org.beigesoft.model.IRequestData pRequestData, boolean pIsNew) throws Exception
Make other entries include reversing if it's need when save.
makeOtherEntries in class APrcAccDocSave<RS,PurchaseReturn>pAddParam - additional parampEntity - entitypRequestData - Request DatapIsNew - if entity was newException - - an exceptionpublic final void checkOtherFraudUpdate(Map<String,Object> pAddParam, PurchaseReturn pEntity, org.beigesoft.model.IRequestData pRequestData, PurchaseReturn pOldEntity) throws Exception
Check other fraud update e.g. prevent change completed unaccounted manufacturing process.
checkOtherFraudUpdate in class APrcAccDocSave<RS,PurchaseReturn>pAddParam - additional parampEntity - entitypRequestData - Request DatapOldEntity - old saved entityException - - an exceptionpublic final void addCheckIsReadyToAccount(Map<String,Object> pAddParam, PurchaseReturn pEntity, org.beigesoft.model.IRequestData pRequestData) throws Exception
Additional check document for ready to account (make acc.entries).
addCheckIsReadyToAccount in class APrcAccDocSave<RS,PurchaseReturn>pAddParam - additional parampEntity - entitypRequestData - Request DataException - - an exception if don'tCopyright © 2016–2018. All rights reserved.