CompareItemBOMs Method
Compare the BOMs of two Versions of an Item.
Required Permissions
ItemReadSyntax
public ItemBOMAndDiff CompareItemBOMs(
System.long primaryItemID,
System.long secondaryItemID,
System.DateTime primaryDate,
System.DateTime secondaryDate,
BOMTyp primaryType,
BOMTyp secondaryType,
BOMViewEditOptions options,
System.long[] propertyDefIDs
)Public Function CompareItemBOMs( _
ByVal primaryItemID As System.Long, _
ByVal secondaryItemID As System.Long, _
ByVal primaryDate As System.Date, _
ByVal secondaryDate As System.Date, _
ByVal primaryType As BOMTyp, _
ByVal secondaryType As BOMTyp, _
ByVal options As BOMViewEditOptions, _
ByVal propertyDefIDs() As System.Long _
) As ItemBOMAndDiffParameters
| Name | Description |
|---|---|
| primaryItemID | Item containing the primary BOM. |
| secondaryItemID | Item containing the primary BOM. |
| primaryDate | The date that the primary BOM is effective. |
| secondaryDate | The date that the secondary BOM is effective. |
| primaryType | The type of the primary BOM. |
| secondaryType | The type of the secondary BOM. |
| options | Options for viewing the BOM. Multiple options can be joined together. |
| propertyDefIDs | The properties to compare. If no properties are specified, only BOM links are compared. See table below for a list of additional "reserved" properties to use for the compare. |
Return Value
The results of the compare.