You always give your membership number to all airlines/hotels even if your company/client is paying the bill.
They will always credit your account except for government employees.
If you have previous Marriott stays, you should contact Marriott to get the credit.