Hi,
I'm trying to publish a simple main account into AX and get two kinds of errors I'm hoping someone knows how to deal with:
| Invalid document schema. The following error was returned: The element 'MainAccount' in namespace 'schemas.microsoft.com/.../MainAccount' has invalid child element 'CurrencyCode' in namespace 'schemas.microsoft.com/.../MainAccount'. List of possible elements expected: 'Name' in namespace 'schemas.microsoft.com/.../MainAccount'. |
| MainAccount.createList Line=4, Pos=4, Xpath=/MainAccount/MainAccount[1] The value in field LedgerChartOfAccounts is invalid. Field 'Reference' must be filled in. Error found when validating record. Field 'Reference' must be filled in. Error found when validating record. Creation has been canceled. |
I've tried various kinds of formatting of the data I'm trying to publish. I'm only working with one table; MainAccount and there is no "Reference" field to find.
Thanks in advance,
Gugga