RetailTransactionService::updateCustomer Method [AX 2012]

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server public static container updateCustomer(
            int64 custTableRecId, 
            DirPartyName custName, 
            CustGroupId custGroup, 
            CustCurrencyCode currency, 
            CustLanguageId languageId, 
            Phone phone, 
            int64 phoneRecId, 
            PhoneMobile cellularPhone, 
            LogisticsElectronicAddressLocator email, 
            int64 emailRecId, 
            URL url, 
            int64 urlRecId, 
            CustMultiLineDiscCode multiLineDisc, 
            CustEndDiscCode endDisc, 
            CustLineDiscCode lineDisc, 
            CustPriceGroup priceGroup, 
            TaxGroup taxGroup, 
            CustCreditMaxMST creditMax, 
            CustBlocked blocked, 
            OrgId orgId, 
            RetailUsePurchRequest usePurchRequest, 
            VATNum vatNum, 
            CustInvoiceAccount invoiceAccount, 
            MandatoryCreditLimit mandatoryCreditLimit, 
            ContactPersonId contactPersonId, 
            RetailUseOrderNumberReference useOrderNumberReference, 
            RetailReceiptOption receiptOption, 
            RetailReceiptEmail receiptEmail, 
            CustIdentificationNumber identificationNumber, 
           [FirstName firstName, 
            MiddleName middleName, 
            LastName lastName, 
            PhoneLocal phoneExtension, 
            int64 cellphoneRecId, 
            str retailCustAffiliations])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static container updateCustomer(
            int64 custTableRecId, 
            DirPartyName custName, 
            CustGroupId custGroup, 
            CustCurrencyCode currency, 
            CustLanguageId languageId, 
            Phone phone, 
            PhoneMobile cellularPhone, 
            Email email, 
            URL url, 
            CustMultiLineDiscCode multiLineDisc, 
            CustEndDiscCode endDisc, 
            CustLineDiscCode lineDisc, 
            CustPriceGroup priceGroup, 
            TaxGroup taxGroup, 
            CustCreditMaxMST creditMax, 
            CustBlocked blocked, 
            OrgId orgId, 
            RetailUsePurchRequest usePurchRequest, 
            VATNum vatNum, 
            CustInvoiceAccount invoiceAccount, 
            MandatoryCreditLimit mandatoryCreditLimit, 
            ContactPersonId contactPersonId, 
            RetailUseOrderNumberReference useOrderNumberReference, 
            RetailReceiptOption receiptOption, 
            RetailReceiptEmail receiptEmail, 
            CustIdentificationNumber identificationNumber, 
            int64 storeRecId)

Run On

Called

Parameters

custTableRecId
Type: int64

custName
Type: DirPartyName Extended Data Type

custGroup
Type: CustGroupId Extended Data Type

currency
Type: CustCurrencyCode Extended Data Type

languageId
Type: CustLanguageId Extended Data Type

phone
Type: Phone Extended Data Type

phoneRecId
Type: int64
cellularPhone
Type: PhoneMobile Extended Data Type

email
Type: LogisticsElectronicAddressLocator Extended Data Type

emailRecId
Type: int64
url
Type: URL Extended Data Type

urlRecId
Type: int64
multiLineDisc
Type: CustMultiLineDiscCode Extended Data Type
endDisc
Type: CustEndDiscCode Extended Data Type
lineDisc
Type: CustLineDiscCode Extended Data Type
priceGroup
Type: CustPriceGroup Extended Data Type
taxGroup
Type: TaxGroup Extended Data Type
creditMax
Type: CustCreditMaxMST Extended Data Type
blocked
Type: CustBlocked Extended Data Type
orgId
Type: OrgId Extended Data Type
usePurchRequest
Type: RetailUsePurchRequest Extended Data Type
vatNum
Type: VATNum Extended Data Type
invoiceAccount
Type: CustInvoiceAccount Extended Data Type
mandatoryCreditLimit
Type: MandatoryCreditLimit Extended Data Type
contactPersonId
Type: ContactPersonId Extended Data Type
useOrderNumberReference
Type: RetailUseOrderNumberReference Extended Data Type

receiptOption
Type: RetailReceiptOption Extended Data Type

receiptEmail
Type: RetailReceiptEmail Extended Data Type

identificationNumber
Type: CustIdentificationNumber Extended Data Type
firstName
Type: FirstName Extended Data Type
middleName
Type: MiddleName Extended Data Type
lastName
Type: LastName Extended Data Type
phoneExtension
Type: PhoneLocal Extended Data Type
cellphoneRecId
Type: int64
retailCustAffiliations
Type: str
Show: