partial void OnCustCustomerPostingProfileHeadRelationChanging(global::Microsoft.Dynamics.DataEntities.CustomerPostingProfile value);
public static CustomerPostingProfileLine CreateCustomerPostingProfileLine(string dataAreaId, string postingProfile, string accountOrGroupNumber, global::Microsoft.Dynamics.DataEntities.CustomerPostingProfile custCustomerPostingProfileHeadRelation) { CustomerPostingProfileLine customerPostingProfileLine = new CustomerPostingProfileLine(); customerPostingProfileLine.dataAreaId = dataAreaId; customerPostingProfileLine.PostingProfile = postingProfile; customerPostingProfileLine.AccountOrGroupNumber = accountOrGroupNumber; if ((custCustomerPostingProfileHeadRelation == null)) { throw new global::System.ArgumentNullException("custCustomerPostingProfileHeadRelation"); } customerPostingProfileLine.CustCustomerPostingProfileHeadRelation = custCustomerPostingProfileHeadRelation; return(customerPostingProfileLine); }