Databuild Land Integration - Reference
Return to Databuild Land Integration
Article Index
Integrated Fields
The integration of Databuild Land to Framework ECM is fully customisable via the integration mapping database.
Dbo.Jobs
Databuild Database Field Name | Databuild Field Label | Create | Update | Framework Database Field Name | Framework Field Label |
---|---|---|---|---|---|
AnyQuantities | Yes | Fixed Value: 0 | |||
GST | Yes | Fixed Value: 0 | |||
Job_No | Yes | Special #6: Framework Land (prefixed with an 'L') | |||
JobPostCode | Yes | Yes | Special #15: fwork s_job_postcode | ||
LiveOrders | Yes | Fixed Value: 0 | |||
LockBudgets | Yes | Fixed Value: 0 | |||
PreventBill | Yes | Fixed Value: 0 | |||
PreventPosting | Yes | Fixed Value: 0 | |||
Site_Address | Yes | Yes | Special #5: lot num, street num, street name suburbName, stateName |
Database Models
The following database model(s) displays the manner in which data is integrated between the third party application and Framework Integration.
Integration Process
The following information is a low level account of the integration process including criteria, decisions, and outcomes. This information is technical in nature and is provided "as-is" for a detailed analysis of the integration process for system administrators.
Get eligible Framework jobs using v_FWINT_Land where
land.s_link_accts <> ‘N/A’
and apply Criteria Method criteria where CriteriaMethod is
1 – Single Region Division
land.l_context_id = ‘CriteriaMethodID’
2 – Single Land
land.l_land_id = ‘CriteriaMethodID’
3 – Single Team
land.l_team_id = ‘CriteriaMethodID’
4 – All Land
land.l_land_id <> 0
5 – Accounts Entity
land.l_accounts_e_id = ‘CriteriaMethodID’
For each Framework Job search for the job in Databuild table jobs where
'L' land.l_land_id = Jobs.job_no else
Jobs.job_no = land.s_link_accts
If the land is found in databuild then
The matching land record is retrieved from land
If the records above are retrieved successfully we update the databuild job.
If the job is not found in databuild then
If the land.s_link_accts field is empty we create the job in databuild.
The framework land.l_land_id value is checked. It must be <= 6 characters for us to be able to create the record. This is because we add an L to the front of Land PKID.
We retrieve a link to the jobs table so we can add the new job
If the table is accessed successfully then we create the databuild job.