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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

User cannot post returning items

(0) ShareShare
ReportReport
Posted on by 927

All users that have a record in syslastvalue table with the field elementname  value SalesFormLetter_PackingSlipProject and field designname value FormletterService.postSalesOrderPackingS cannot return items and get a warning. If I delete this record in the table fort the specific user they can bring back items without a warning. Also when try to bring the item back as another user without this record will go without warning. Once in  a while after deleting the class the record is recreated and the problem reoccurs.

I use a script to see which users has this specific record.

 

static void ABE_check_settingReturningItems 20171106(Args _args)
{
    SysLastValue            SysLastValue;
 
 
    while select SysLastValue where SysLastValue.elementName == 'SalesFormLetter_PackingSlipProject' && SysLastValue.designName == 'FormletterService.postSalesOrderPackingS'
    {
        info(SysLastValue.userId);
    }
 
}
 
To see the record;
1.  Open AX as the specific user and go to  FileàToolsàOptions.
2.  Select the menu Usage Data. Go tot the tab All Usage Data.
3.  Filter on field elementname for SalesFormLetter_PackingSlipProject and designname value FormletterService.postSalesOrderPackingS.
 
6825.img01.png
 
For now we leave the record to create the issue.
1. Open AX and open the project module. Find a project that is open with items on it to return.
2. On the specific project and go to Item requirements.
img02.png
 
3. Go to menu functionsàreturn items.
img03.png
 
4.  Press OK.
img04.png
The following warning appears;
img05.png
 
If we delete the record mentioned in the beginning the warning does not occur.
 
If we look in the code the warning above is label @SYS24920. This label is used in the class inventMovement. The method checkUpdatePhysical contains calling a function checkNotOverDelivery that returns a boolean. If the user is getting an error the function returns true. If not then the function returns  false. The line of code executing is:

 

    if (this.mustCheckOverDeliveryForQty(_updateNow.parmPhysical())
    && !this.checkNotOverDelivery(_updateNow.parmPhysical(), true, _updateNow.parmPdsCWPhysical()))
 

*This post is locked for comments

I have the same question (0)
  • Tungman Profile Picture
    110 on at

    please input value 100 to over delivery field in inventory management parameters

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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans