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)

Edit position value in container

(0) ShareShare
ReportReport
Posted on by 916

Hello,

I had to edit the format of numberSequence of the type scopTypeDataareaFiscalCalendar , we have this format by default  companyYearConst######### (DAT2016-#######). so we want to edit it to companyConstYear#########(DAT2016-#######).

In the form  NumberSequenceDetail  i have a container that have the format of numseq in this method  updateForNEwscope.

Is there a way to edit the position value of the some container?

this is what i'm trying :

NewContainer = conIns(NewContainer ,1,conPeek(scopeSegment,1));
NewContainer = conIns(NewContainer ,2,conPeek(scopeSegment,3));
NewContainer = conIns(NewContainer ,3,conPeek(scopeSegment,3));
NewContainer = conIns(NewContainer ,4,conPeek(scopeSegment,4));

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,647 Most Valuable Professional on at

    I didn't get the problem. It seems that the only difference between your two formats is the change in static text from companyYearConst to companyConstYear, so what position editing are you talking about? And why did you start writing code?

    Why don't you simply modify the segment in GUI (in number sequence configuration)?

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans