none
急需~~在商品实体建立新的资料(C#) RRS feed

  • 问题

  • 如题我一在写一个C#程式

    一直出现标示缺失错误讯息,意思说必填栏位没有值

    可是我都有给他值,但是还是不行

    有谁写成功的程式可以借参考(注:有2个栏位是搜寻栏位,值是抓预设值)

    感谢~~还蛮急需的
    2011年7月13日 9:59

全部回复

  •                     // Create a new opportunity with user specified estimated revenue
                        Opportunity newOpportunity = new Opportunity
                        {
                            Name = "Example Opportunity",
                            CustomerId = new EntityReference(Account.EntityLogicalName,
                                _accountId),
                            PriceLevelId = new EntityReference(PriceLevel.EntityLogicalName,
                                _priceListId),
                            IsRevenueSystemCalculated = false,
                            EstimatedValue = new Money(400.00m),
                            FreightAmount = new Money(10.00m),
                            DiscountAmount = new Money(0.10m),
                            DiscountPercentage = 0.20m
                        };

                        _opportunityId = _serviceProxy.Create(newOpportunity);

    微软CRM
    2011年7月15日 0:47
    版主