Options

The Two fields below must have the same type

rranjanerprranjanerp Member Posts: 70
hi,

I am getting an error while posting my Gate entry inward Form.

"The Two fields below must have the same type"
Field :Party Type<-- Party Code
Table : posted gate entry header<---gate entry header
Type : Option <--Code20.

Please suggest possible reason for this error..how to correct it..
party type is option with string vendor & customer.
party code is code of 20 displays party no.
the same is in posted gate entry header table..

thanks...

Comments

  • Options
    mohana_cse06mohana_cse06 Member Posts: 5,504
    I am not sure whether you are assigning the values while posting or using TRANSFERFIELDS..

    go through the code and check..

    if you are assigning then correct the code..

    if using TRABSFERFIELDS then change the ID of the both fields..
  • Options
    kinekine Member Posts: 12,562
    Field :Party Type<-- Party Code
    Table : posted gate entry header<---gate entry header
    Type : Option <--Code20.
    `

    You have same ID used for Party type field in table Posted Gate Entry Header and Party Code in table Gate Entry Header. If you want to use transferfield command, the fields must have same IDs in both tables.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    rranjanerprranjanerp Member Posts: 70
    Thanks a lot, Id was different..
Sign In or Register to comment.