Exporting XMLPort Boolean field needs to be integer

To start I am learning C/AL (by fire so to speak). I am a beginner at best.

I am trying to export through an XMLPort to a .csv file from the Sale Header table and I need the Completely Shipped Boolean to be converted to an integer so that the .csv file can be imported into another software. I can assign for other data types but I cannot figure out how to assign an integer to a Boolean field for this export.

Any and all help is appreciated.