XMLport Required attribute with MinOccurs = Zero

kanika
kanika Member Posts: 247
Busines Central

I don't understand why it is asking me for the attribute if MinOccurs = Zero

ykoyfc6xp8dg.png

Thanks for advance

Answers

  • ftornero
    ftornero Member Posts: 524
    Hello @kanika,

    Looks that in the XML file that you are importing there is a tag <leadTimeDate> and in this case the attribute "nil" must be present.

    Regards.