PTC FlexPLM Fundamentals > Samples > Auto Populate Sample Due Date on Material Sample Type > Configuring FlexPLM to Use the Auto Populate Material Sample Due Date Functionality
  
Configuring FlexPLM to Use the Auto Populate Material Sample Due Date Functionality
To override the default configuration settings to use the auto populate functionality, add the properties described in the following table to the custom.lcs.properties file. Configure the properties as needed:
Property
Description
com.lcs.wc.sample.Material.autopopulate.duedate.enable
Enables the due date feature. Setting this value to true implies that the systems administrator has configured the attributes required for the feature to work. Valid value is true or false. The default value is false.
com.lcs.wc.sample.Sample\\Material.samplerequestduedate
Defines the attribute’s internal name of sample request due date for root material sample type on which the date should be populated.
com.lcs.wc.sample.Sample\\Material.samplerequestdays
Defines whether the due date should be populated based on ‘calendar’ or ‘business’ days on a sample request created for root material sample type. Valid value is calendar or business.
com.lcs.wc.sample.Sample\\Material.samplereqNumberOfDays
Defines the number of days to be considered for calculating sample due date for root material sample type. Valid value is any integer greater than zero (>0).
com.lcs.wc.sample.Sample\\Material.sampleduedate
Defines the attribute’s internal name of sample due date for root material sample type on which the date should be populated.
com.lcs.wc.sample.Sample\\Material.sampledays1
Defines whether the due date should be populated based on ‘calendar’ or ‘business’ days on first sample created for root material sample type. Valid value is calendar or business.
com.lcs.wc.sample.Sample\\Material.sampleNumberOfDays1
Defines the number of days to be considered for calculating the sample due date on first sample created for root material sample type. Valid value is any integer greater than zero (>0).
com.lcs.wc.sample.Sample\\Material.sampledays2
Defines if the due date should be populated based on ‘calendar’ or ‘business’ days on second sample created for root material sample type. Valid value is calendar or business.
com.lcs.wc.sample.Sample\\Material.sampleNumberOfDays2
Defines the number of days to be considered for calculating sample due date on second sample created for root material sample type. Valid value is any integer greater than zero (>0).
com.lcs.wc.sample.Sample\\Material.sampledays3
Defines if the due date should be populated based on ‘calendar’ or ‘business’ days on third sample created for root material sample type.
Valid Value is calendar or business.
com.lcs.wc.sample.Sample\\Material.sampleNumberOfDays3
Defines if the number of days to be considered for calculating sample due date on third sample created for root material sample type.
Valid value is any integer greater than zero (>0).
com.lcs.wc.sample.Sample\\Material.lastsampleDays
Defines whether the due date should be populated based on ‘calendar’ or ‘business’ days on last sample and beyond created for root material sample type. Valid value is calendar or business.
com.lcs.wc.sample.Sample\\Material.lastsampleNumberOfDays
Defines the number of days to be considered for calculating the sample due date on last sample and beyond created for root material sample type.
Valid value is any integer greater than zero (>0).
com.lcs.wc.sample.Sample.sampleReqIterativeNo
Enables to keep a track of the total number of times the new sample was created through updating quantity on sample request, or auto create of sample, based on status.
New entries can be added to each soft type of material sample or sample request by changing the type ‘Sample\Material’ to relevant a type name.
If a soft type entry is not available, then the system inherits its ancestor level configuration. For example, if soft type Material\Color Development\Accessories are created, then the new entries to be added to custom.lcs.properties are as follows.
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.samplerequestduedate
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.samplerequestdays
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories samplereqNumberOfDays
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.sampleduedate
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories sampledays1
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.sampleNumberOfDays1
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.sampledays2
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories. sampleNumberOfDays2
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.sampledays3
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.sampleNumberOfDays3
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.lastsampleDays
com.lcs.wc.sample.Sample\\Material\\Color\ Development\\Accessories.lastsampleNumberOfDays