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)

How to Change "Batch transfer rules setup" Rule type ?

(0) ShareShare
ReportReport
Posted on by

Hi Everyone,

I am not able to change the Rule type from "Document"  to "Company" manually. I have referred earlier posts and it was suggested that we use the below code to change the rule type to "Company" which is working fine.

static void AST_SubledgerJournalTransferRuleCreate(Args _args)

{

SubledgerJournalTransferRule::createDefaultRule();

info( "Created" );

}

Just wanted to know the reason why we are not able to change manually? Also do we have any hotfix to solve the same ?

Thank you.

Vikram Konchada

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Khaled Alloud Profile Picture
    3,658 on at

    Hello,

    You cannot change the Rule type from AX, 1 line should be Company related which is the default one. However, you can create other rules for different documents you want to add.

    Thank you,

  • vikram2060 Profile Picture
    on at

    Hi Kaled,

    But right, the default line is set to "Document" which is the only line that was setup. I am not able to select "Company" as rule type even for the second line (any new line) it is automatically picking document again

  • Khaled Alloud Profile Picture
    3,658 on at

    Can you save and delete the existing line, then try to create new line. What do you see?

    Thank you,

  • vikram2060 Profile Picture
    on at

    It still defaults "Document" as rule type for the new line

  • Suggested answer
    Khaled Alloud Profile Picture
    3,658 on at

    Hello,

    Try the following and it should work:

    - Right click on the field -> Personalize -> Information tab -> then click Edit

    - this will take you to the form design in AOT

    - Navigate to Design -> Design -> Tab -> 'SubledgerJournalTransfer' -> 'SubledgerJournalTransferBody' Group -> 'SubledgerJournalTransferRules' Grid -> 'ComboBox:RuleType' right click properties -> make 'Enabled' filed = Yes.

    - Save the form and compile.

    - Close AX and open it again

    - Go to GL parameters form

    - Create new batch transfer rule

    - edit the Rule type and save the line

    - then return the Enabled to No , save and compile

    Regards,

  • Paul Crabb Profile Picture
    105 on at

    Hello all,

    I'm having the same issue and can't seem to adjust by trying to personalize the form.  Any other suggestions?

    Thanks,

    Paul

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 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans