JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

Untitled Page | JustPaste.app
27 days ago4 views
⚖️Legal & Finance

#48 – Newborn in Home or Host country

CASE
    WHEN [Assignment Dependent (Custom Fields): Dependent Effective Start Date]
         = [Assignment Dependent: Birth Date]
         AND [Assignment Dependent: Country of Birth]
         = [Assignment: From Country]
    THEN 'Home Country'

    WHEN [Assignment Dependent (Custom Fields): Dependent Effective Start Date]
         = [Assignment Dependent: Birth Date]
         AND [Assignment Dependent: Country of Birth]
         = [Assignment: To Country]
    THEN 'Host Country'

    WHEN [Assignment Dependent (Custom Fields): Dependent Effective Start Date]
         = [Assignment Dependent: Birth Date]
    THEN 'Other Country'

    ELSE 'Not Newborn'
END


same way check #49 – Child born in Home Country and #53 – Child born in Host Company. They should use the newborn criterion, not the Family Size Effective Date.

#50 – Update Accompanying Status as Not Accompanying

CASE
    WHEN [Assignment Dependent (Custom Fields): Dependent Effective Start Date]
         = [Assignment Dependent: Birth Date]
         AND [Assignment Dependent: Country of Birth]
         = [Assignment: From Country]
         AND [Assignment Dependent: Status] <> 'Not Accompanying'
    THEN 'Yes'
    ELSE 'No'
END
← Back to timeline