opened
crafter
username_0
Hi,

I'm trying to get Field35B from **MT549** message type but library **(7.9.3)** says there is not such field, i dont understand why becouse i looked up [swift.com](https://www2.swift.com/uhbonline/books/public/en_uk/us5mc_20170720/index.htm), **MT549** includes Field35B?  anyway i solved that problem of mine by creating diffrent message type like **MT5XX** wich includes Field35B then i get the value that i need but this way response time is dramatically increasing(70ms to 220ms) is there any other way to solve this problem? 

Best Regards
MT549 Tag35B
issue
created
zubri
username_1
Hi,

Indeed it should be present in MT549. It was a bug in the schemes we use for code generation. It has already been fixed and will be available in the next release.

As a workaround, you can always use the underlying structure. The MTnnn classes is a facade for the actual SwiftMessage object. You can, for instance, use the following code to retrieve fields 35B; despite the missing getter in the MT class:

```
MT549 mt = ...
for (Tag tag : mt.tags("35B")) {
	Field35B field = (Field35B) tag.asField();
}
```

Notice field 35B can be repeated in MT549 so you might need all instances.
comment
created
crafter
username_0
Structure worked perfetly, much appreciate it, and also thanks for your fast reply

Best Regards
comment
closed
crafter
username_0
issue