EP Modify Line - Urgent!!!

borntobewildborntobewild Member Posts: 12
edited 2010-02-24 in Navision e-Commerce
Hi,

First sorry for my english, I've a problem modifying a line of Purchase Line. I've configured a webpart type "Header+Line" to introduce a Purchase Invoice since Employee Portal, where all fields are "Editable", and all fields but one runs ok.
The field don't run it's a new filed that I created to insert one date in the Purchase Line, I modified the codeunit "EP Modify Line" adding a new line code in the ModifyPurchaseLine function like us:

EncodeXML.AddFiledToValidationDoc(XMLDocValField,PurchaseLine.FIELDNO("Fecha Gasto"));

is a copy of other existing lines....

Someone can tell me because this field does not modify???

Thanks for your help....

Comments

  • AlexWileyAlexWiley Member Posts: 230
    AddFiledToValidationDoc

    Typo? Filed = Field?
  • borntobewildborntobewild Member Posts: 12
    The Field "Fecha Gasto" is type Date...
  • AlexWileyAlexWiley Member Posts: 230
    The Field "Fecha Gasto" is type Date...

    But if you copy-pasted the code, I think you have a typo.

    AddFiledToValidationDoc

    Shouldn't it be

    AddFieldToValidationDoc
  • borntobewildborntobewild Member Posts: 12
    Sorry Alex I don't understanding ok, I think that you ask me for the Field type... (My english :wink: ),
    I don't say that I no copy the code line from Navision, I've written directly in the post.
    In Navision I have AddFieldToValidationDoc
  • borntobewildborntobewild Member Posts: 12
    Anybody know any solution for this problem??? or the cause???
Sign In or Register to comment.