Applescript returning property's information

What would cause the

“copy authcode as string to cell “authCode” of current record of document
Mydoc” , in the following script,

to cuase the property’s code field to be sent instead of the property’s
enumerated string information to be sent to FileMaker? In other words, does
having more than 1 instance of the AuthPayX Client application cause this,
or could this be caused by using a beta version of the Script Suite?

Given the following script:


tell application "FileMaker Pro"
    set Mydoc to "MyAPEtest"
    
    copy cell "Action" of current record of document Mydoc to TAction
    copy cell "Account" of current record of document Mydoc to ccnum
    copy cell "Expdate" of current record of document Mydoc to expdate
    copy cell "Street" of current record of document Mydoc to stt
    copy cell "Zip" of current record of document Mydoc to zipcd
    copy cell "Amount" of current record of document Mydoc to amt
    
end tell

tell application "AuthPayX Client"
    
    make new sale
    
    if TAction = "normal" then
        set the type of sale 1 to normal
    else if TAction = "return" then
        set the type of sale 1 to refund
    else if TAction = "preauthorize" then
        set the type of sale 1 to preauthorize
        
    else if TAction = "force" then
        set the type of sale 1 to force
        
        tell application "FileMaker Pro"
            copy cell "AuthCode" of current record of document Mydoc ¬
                to retcode
        end tell
        
        set the approval code of sale 1 to retcode
    end if
    
    set the account number of sale 1 to ccnum
    set the expiration date of sale 1 to expdate
    set the street of sale 1 to stt
    set the zip of sale 1 to zipcd
    
    set the amount of sale 1 to amt
    
    tell sale 1
        submit transaction
    end tell
    set x to properties of sale 1
    delete sale 1
    
    set btch to batch of x
    set ttext to transaction text of x
    set tid to transaction identifier of x
    set avs to address verification status of x
    set iib to item in batch of x
    set retcode to return code of x
    set cvs to card verification status of x
    set authcode to authorization code of x
    
end tell

tell application "FileMaker Pro"
    
    copy authcode as string to cell "authCode" of current record ¬
        of document Mydoc
    copy retcode as string to cell "Return Code" of current record ¬
        of document Mydoc
    copy avs as string to cell ¬
        "Address Verification Status" of current record of document Mydoc
    copy cvs as string to cell "Card Verification Status" of ¬
        current record of document Mydoc
    copy ttext to cell "Text from Server" of current record of ¬
        document Mydoc
    copy btch to cell "Batch" of current record of document Mydoc
    copy iib to cell "Item in batch" of current record of document Mydoc
    
end tell