Share via


RetailTransactionServiceCustomer::updateCustomer Method [AX 2012]

Method is used for updating an existing customer.

Syntax

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])

Run On

Called

Parameters

  • custTableRecId
    Type: int64
    CustTable RecId.
  • phoneRecId
    Type: int64
    Phone recid
  • emailRecId
    Type: int64
    Email recid
  • urlRecId
    Type: int64
    Url recid
  • cellphoneRecId
    Type: int64
    Cell phone record id
  • retailCustAffiliations
    Type: str
    A XML string having the details of customer affiliation list

Return Value

Type: container
Results in container.

See Also

Reference

RetailTransactionServiceCustomer Class