AX 2012 R3 Retail POS customisation RRS feed

  • Question

  • Hi guys,

    Would like to ask for your expertise in customizing Retail POS for AX 2012 R3.

    Scenario: I wanted to display customer information in a new user control with custom fields in AX(ex. Expiration date of Card) using load layout method.

    As I don't have huge knowledge in C#, I'm not sure how to output the custom field and what's the correct assembly to use.

    Here's a draft method with errors: Use of unassigned local variable

            public void LoadLayout(string layoutId)


        LSRetailPosis.Transaction.Customer customer;

        LSRetailPosis.Transaction.RetailTransaction loyalty;

                lblname.Text = customer.Name;

                lblloyaltycard.Text = loyalty.LoyaltyCardNumber;

               // lblcardexpiry.Text = loyalty.CardExpiry; -->custom field in AX

                lblemail.Text = customer.Email;

                lbladdress.Text = customer.Address;


    Thanks in advance!

    Tuesday, November 25, 2014 7:52 AM