Handheld Transactions Fail with Posting Period Error After a New Period Is Created. Posting period locked; specify n alternative date.
Bin Transfers, Counts by Bin, and Pack to Pallet fail on the handheld but post from desktop. Recycle the agilityapi IIS application pool so the Agility API picks up the new posting period.
Applies To
WiSys Agility 360 handheld devices (Agility API hosted on IIS) — SAP Business One environments.
Symptoms
- Handheld transactions such as Bin Transfer, Inventory Count by Bin, and Pack to Pallet fail with a posting period error.
- The same transaction posts successfully from the WiSys desktop application.
- The issue typically begins right after a new posting period is created or opened in the ERP.
Cause
The Agility API caches posting period data when its IIS application pool starts. Posting periods created after the app pool started may not recognized until the application pool is recycled, so the handheld treats the current period as blocked.
Resolution
- Log in to the server hosting the Agility API.
- Open IIS Manager and expand the server node.
- Select Application Pools and locate the agilityapi application pool.
- In the right-hand Actions panel, click Recycle…
- If the error persists, restart IIS (run
iisresetfrom an elevated command prompt, or select the server node and click Restart). - On each handheld, log out of A360, close the app, log back in, and retry the transaction.
Prevention
Recycle the agilityapi application pool whenever a new posting period is created or opened in the ERP — ideally as part of your month-end or period-close checklist. If a hosting or IT partner manages the server, add this step to their period-close procedure.
Notes
- Recycling the app pool briefly interrupts active handheld sessions — notify warehouse users before recycling.
- A full IIS restart is only needed if recycling the app pool alone does not resolve the issue.