web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

close shift and print z report

(0) ShareShare
ReportReport
Posted on by

dear  ,,

in pos when close shift and printing z report coming this error and z report not printing

4101.Untitled.jpg

and this is event viewer :

Log Name:     Application

Source:       Microsoft Dynamics AX Retail : Retail POS

Date:         2/1/2018 11:52:03 AM

Event ID:     1

Task Category: None

Level:         Error

Keywords:     Classic

User:         N/A

Computer:     ADMIN

Description:

Non-negative number required.

Parameter name: totalWidth: System.ArgumentOutOfRangeException: Non-negative number required.

Parameter name: totalWidth

   at LSRetailPosis.POSControls.POSFormsManager.<>c__DisplayClass13.<ShowPOSMessageWithBackgroundWorker>b__d(Object s, RunWorkerCompletedEventArgs e)

   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)

   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg).

Event Xml:

<Event xmlns="schemas.microsoft.com/.../event">

<System>

   <Provider Name="Microsoft Dynamics AX Retail : Retail POS" />

   <EventID Qualifiers="0">1</EventID>

   <Level>2</Level>

   <Task>0</Task>

   <Keywords>0x80000000000000</Keywords>

   <TimeCreated SystemTime="2018-02-01T08:52:03.026056300Z" />

   <EventRecordID>158256</EventRecordID>

   <Channel>Application</Channel>

   <Computer>ADMIN</Computer>

   <Security />

</System>

<EventData>

   <Data>Non-negative number required.

Parameter name: totalWidth: System.ArgumentOutOfRangeException: Non-negative number required.

Parameter name: totalWidth

   at LSRetailPosis.POSControls.POSFormsManager.&lt;&gt;c__DisplayClass13.&lt;ShowPOSMessageWithBackgroundWorker&gt;b__d(Object s, RunWorkerCompletedEventArgs e)

   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)

   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg).</Data>

</EventData>

</Event>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RAVINDER RANA Profile Picture
    685 on at

    Hi Mohamed,

    According to the error , i think there is some customization in z report and the parameter total width is not getting proper value...

    Please asked your POS developer to check by debugging the source code.

    If your problem solved , please marked this answer as verified answer...

    Thanks

    Ravinder Rana

    AX Retail Functonal

  • Community Member Profile Picture
    on at

    dear ,,

    There are no modifications or customization in z report and same time it print with out issue

    thanks

  • nitish.dikshit Profile Picture
    on at

    hi Mohamed,

    I faced same issue in one of my implementation. then I debugged EOD project in  retail SDK and found out that while printing tender name(payment method name in z report), some tender name  would have exceeded total width of report. so you identify which tender name is causing problem and reduce word length of those payment method in AX HQ .try pushing changes to store and print z report..i think that should work..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#2
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#3
Nakul Profile Picture

Nakul 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans