IeCommerceJsonReplEcommFullItem Method |
Replicate Item with full detailed data (supports Item distribution)
Namespace:
LSOmni.Service
Assembly:
LSOmni.Service (in LSOmni.Service.dll) Version: LS Omni 3.7.0
Syntax
Remarks
LS Nav/Central Main Table data: 27 - Item
FullItem replication includes all variants, unit of measures, attributes and prices for an item
NOTE: It is recommended to replicate item data separately using
ReplEcomm Item / Prices / ItemUnitOfMeasures / ItemVariantRegistrations / ExtendedVariants / Attribute / AttributeValue / AttributeOptionValue
Price Data for this function needs to be generated in LS Nav/Central by running either OMNI_XXXX Scheduler Jobs
All ReplEcommXX web methods work the same.
Item distribution is based on StoreId, and pulls all record related to Item include for distirbution to that store.
For full replication of all data, set FullReplication to true and lastkey and maxkey to 0.
For delta (or updated data) replication, set FullReplication to false and LastKey to the last value returned from previous call.
The BatchSize is how many records are to be returned in each batch.
NOTE: LastKey from each ReplEcommXX call needs to be stored between all calles to OMNI, both during full or delta replication.
To reset replication and get all data again, set LastKey to 0 and perform a full replication.
For update, actions for Item, Item html, Sales Price, Item Variant, Item Unit of Measure, Variants and Distirbution tables are used to find changes,
and it may return empty list of items while Records Remaining is still not 0. Keep on calling the function till Records Remaining become 0.
See Also