Class MovementAdminAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.bgerp.action.base.BaseAction
org.bgerp.plugin.inventoru.action.MovementAdminAction
Admin view + admin-only mutating operations (receipt, inventory-count adjustment) for stock
movements. Unlike
MovementAction (user-facing, gated by StoreAccess/ownership/edit
group), this action is unrestricted by store access — it's the "unrestricted" admin path
that MovementAction.unspecified() already refers to in its own comment.
Mapped at /admin/plugin/inventoru/movement.do-
Field Summary
Fields inherited from class BaseAction
l, log, MAPPER, PATH_JSP_ADMIN, PATH_JSP_OPEN, PATH_JSP_USER, PATH_JSP_USERMOB, setupFields inherited from class org.apache.struts.actions.DispatchAction
clazz, methods, typesFields inherited from class org.apache.struts.actions.BaseAction
messagesFields inherited from class org.apache.struts.action.Action
servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForwardadjust(DynActionForm form, ConnectionSet conSet) Corrects the recorded quantity to match an actual physical count (инвентаризация).org.apache.struts.action.ActionForwardreceipt(DynActionForm form, ConnectionSet conSet) Manual stock-in, independent of the 1C import — closes the gap where the only way to add quantity to the ERP was via 1C sync (nothing to do if 1C is down, or the material never had a 1C nomenclature entry to begin with).org.apache.struts.action.ActionForwardunspecified(DynActionForm form, ConnectionSet conSet) Default action method if no parameter 'action' passed.Methods inherited from class BaseAction
checkModified, dispatchMethod, getParameter, html, html, json, json, permissionCheck, restoreRequestParams, unspecified, updatePersonalizationMethods inherited from class org.apache.struts.actions.DispatchAction
cancelled, execute, getMethod, getMethodName, unspecifiedMethods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
MovementAdminAction
public MovementAdminAction()
-
-
Method Details
-
unspecified
public org.apache.struts.action.ActionForward unspecified(DynActionForm form, ConnectionSet conSet) throws Exception Description copied from class:BaseActionDefault action method if no parameter 'action' passed. Overwrite and implement.- Overrides:
unspecifiedin classBaseAction- Parameters:
form-conSet-- Returns:
- the action forward
- Throws:
Exception
-
receipt
public org.apache.struts.action.ActionForward receipt(DynActionForm form, ConnectionSet conSet) throws Exception Manual stock-in, independent of the 1C import — closes the gap where the only way to add quantity to the ERP was via 1C sync (nothing to do if 1C is down, or the material never had a 1C nomenclature entry to begin with).- Throws:
Exception
-
adjust
public org.apache.struts.action.ActionForward adjust(DynActionForm form, ConnectionSet conSet) throws Exception Corrects the recorded quantity to match an actual physical count (инвентаризация). The admin enters the counted (actual) quantity, not a delta — recording the delta as an 'adjustment' movement is an implementation detail the operator shouldn't have to compute by hand. A reason is mandatory: this silently changes what the system believes is true, so an unexplained correction is not acceptable audit trail.- Throws:
Exception
-