{"action":"created","issue":{"url":"https://api.github.com/repos/demianrasko/Dynamics-365-Workflow-Tools/issues/21","repository_url":"https://api.github.com/repos/demianrasko/Dynamics-365-Workflow-Tools","labels_url":"https://api.github.com/repos/demianrasko/Dynamics-365-Workflow-Tools/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/demianrasko/Dynamics-365-Workflow-Tools/issues/21/comments","events_url":"https://api.github.com/repos/demianrasko/Dynamics-365-Workflow-Tools/issues/21/events","html_url":"https://github.com/demianrasko/Dynamics-365-Workflow-Tools/issues/21","id":267400346,"number":21,"title":"Dynamics-365-Workflow-Tools : Problemas en funcion \"Calculate Rollup Field\"","user":{"login":"faviocanossa","id":32936598,"avatar_url":"https://avatars3.githubusercontent.com/u/32936598?v=4","gravatar_id":"","url":"https://api.github.com/users/faviocanossa","html_url":"https://github.com/faviocanossa","followers_url":"https://api.github.com/users/faviocanossa/followers","following_url":"https://api.github.com/users/faviocanossa/following{/other_user}","gists_url":"https://api.github.com/users/faviocanossa/gists{/gist_id}","starred_url":"https://api.github.com/users/faviocanossa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faviocanossa/subscriptions","organizations_url":"https://api.github.com/users/faviocanossa/orgs","repos_url":"https://api.github.com/users/faviocanossa/repos","events_url":"https://api.github.com/users/faviocanossa/events{/privacy}","received_events_url":"https://api.github.com/users/faviocanossa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-21T17:47:10Z","updated_at":"2017-10-21T18:24:46Z","closed_at":null,"author_association":"NONE","body":"Hola Demian, estoy intentando utilizar esta función y me esta dando el siguiente error:\r\nUnhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: 'vta_pl_gruponet' entity doesn't contain attribute with Name = '$ 0,00'.Detail: \r\n<OrganizationServiceFault xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://schemas.microsoft.com/xrm/2011/Contracts\">\r\n  <ActivityId>9329d6c0-29d1-44e8-aaa9-198ab93d25d4</ActivityId>\r\n  <ErrorCode>-2147220891</ErrorCode>\r\n  <ErrorDetails xmlns:d2p1=\"http://schemas.datacontract.org/2004/07/System.Collections.Generic\">\r\n    <KeyValuePairOfstringanyType>\r\n      <d2p1:key>OperationStatus</d2p1:key>\r\n      <d2p1:value xmlns:d4p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d4p1:string\">0</d2p1:value>\r\n    </KeyValuePairOfstringanyType>\r\n    <KeyValuePairOfstringanyType>\r\n      <d2p1:key>SubErrorCode</d2p1:key>\r\n      <d2p1:value xmlns:d4p1=\"http://www.w3.org/2001/XMLSchema\" i:type=\"d4p1:string\">-2146233088</d2p1:value>\r\n    </KeyValuePairOfstringanyType>\r\n  </ErrorDetails>\r\n  <Message>'vta_pl_gruponet' entity doesn't contain attribute with Name = '$ 0,00'.</Message>\r\n  <Timestamp>2017-10-21T16:20:51.2827988Z</Timestamp>\r\n  <ExceptionRetriable>false</ExceptionRetriable>\r\n  <ExceptionSource i:nil=\"true\" />\r\n  <InnerFault i:nil=\"true\" />\r\n  <OriginalException i:nil=\"true\" />\r\n  <TraceText>\r\n\r\n[Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.SyncWorkflowExecutionPlugin]\r\n[542c4c03-1cb5-e711-8108-e0071b6eacf1: ]\r\nSync workflow 'Guponet - Calcular Campos P&amp;L' terminated with error ''vta_pl_gruponet' entity doesn't contain attribute with Name = '$ 0,00'.'\r\n\r\n</TraceText>\r\n</OrganizationServiceFault>\r\n\r\nHe instalado la ultima versión 1.0.42.0.1\r\nCree 1 entidad principal P&L donde tengo campos consolidados que hace a la otra Entidad hija llamada P&L-descripcion.\r\nCuando cargo datos en la entidad P&L-descripcion se deberian actualizar los campos consolidados de P&L.\r\nCree una relación 1:n jerarquica entre estas 2 entidades.\r\nArme un WF que se dispara cuando se modifica o se crea un registro en P&L-descripcion para utilizar la funcion \"Calculate Rollup Field\"\r\nTe paso la definicion de los parametros: \r\n![wf](https://user-images.githubusercontent.com/32936598/31854383-8153f1a8-b66e-11e7-96dd-385765fbab54.JPG)\r\n\r\nNo se cual cual puede ser el problema por el cual da error la Función.\r\n\r\nEspero tus comentarios.\r\nMuchas Gracias.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/demianrasko/Dynamics-365-Workflow-Tools/issues/comments/338422500","html_url":"https://github.com/demianrasko/Dynamics-365-Workflow-Tools/issues/21#issuecomment-338422500","issue_url":"https://api.github.com/repos/demianrasko/Dynamics-365-Workflow-Tools/issues/21","id":338422500,"user":{"login":"demianrasko","id":18124945,"avatar_url":"https://avatars1.githubusercontent.com/u/18124945?v=4","gravatar_id":"","url":"https://api.github.com/users/demianrasko","html_url":"https://github.com/demianrasko","followers_url":"https://api.github.com/users/demianrasko/followers","following_url":"https://api.github.com/users/demianrasko/following{/other_user}","gists_url":"https://api.github.com/users/demianrasko/gists{/gist_id}","starred_url":"https://api.github.com/users/demianrasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demianrasko/subscriptions","organizations_url":"https://api.github.com/users/demianrasko/orgs","repos_url":"https://api.github.com/users/demianrasko/repos","events_url":"https://api.github.com/users/demianrasko/events{/privacy}","received_events_url":"https://api.github.com/users/demianrasko/received_events","type":"User","site_admin":false},"created_at":"2017-10-21T18:24:46Z","updated_at":"2017-10-21T18:24:46Z","author_association":"OWNER","body":"Hola, Favio.\r\nya veo el error que tienes en la imagen que me envías. En el primer parámetro, tener que poner el nombre de esquema del campo consolidado de la entidad padre. En este caso tu estas poniendo el \"valor\" y no el nombre del campo. debes poner el texto del nombre del campo y no su valor por ejemplo: \"new_campoconsolidado\".\r\nmíralo en la ayuda: https://github.com/demianrasko/Dynamics-365-Workflow-Tools/blob/master/docs/Force%20Calculate%20Rollup%20Field.md\r\n\r\n\"FieldName: The Rollup field Name of the parent entity.\"\r\n\r\nel error, es correcto, ya que te dice que el valor \"'$ 0,00'.\" no existe como nombre de campo en la entidad padre.\r\n\r\nabrazo!\r\n\r\n"}}
{"actor":{"display_login":"demianrasko"}}