Hi,
We have added a field in inventdim table. So we have modified the macros related to inventdim accordingly. For example
InventdimExistsJoin Macro:
/* %1 InventDimId */
/* %2 InventDim */
/* %3 InventDimCriteria */
/* %4 InventDimParm */
/* %5 Index hint */
exists join tableId from %2
where (%2.InventDimId == %1) &&
(%2.ConfigId == %3.ConfigId || ! %4.ConfigIdFlag) &&
(%2.InventSizeId == %3.InventSizeId || ! %4.InventSizeIdFlag) &&
(%2.InventColorId == %3.InventColorId || ! %4.InventColorIdFlag) &&
(%2.InventStyleId == %3.InventStyleId || ! %4.InventStyleIdFlag) &&
(%2.InventSiteId == %3.InventSiteId || ! %4.InventSiteIdFlag) &&
(%2.InventLocationId == %3.InventLocationId || ! %4.InventLocationIdFlag) &&
(%2.InventBatchId == %3.InventBatchId || ! %4.InventBatchIdFlag) &&
(%2.WMSLocationId == %3.WMSLocationId || ! %4.WMSLocationIdFlag) &&
(%2.WMSPalletId == %3.WMSPalletId || ! %4.WMSPalletIdFlag) &&
// Added License Plate & Inventory Status
(%2.LicensePlateId == %3.LicensePlateId || ! %4.LicensePlateFlag) &&
(%2.InventStatusId == %3.InventStatusId || ! %4.InventStatusFlag) &&
(%2.InventSerialId == %3.InventSerialId || ! %4.InventSerialIdFlag) &&
//<GEERU>
(%2.InventGTDId_RU == %3.InventGTDId_RU || ! %4.InventGTDIdFlag_RU) &&
(%2.InventProfileId_RU == %3.InventProfileId_RU || ! %4.InventProfileIdFlag_RU) &&
(%2.InventOwnerId_RU == %3.InventOwnerId_RU || ! %4.InventOwnerIdFlag_RU)
//</GEERU>
//cs_sn
&& (%2.CsReqPlanningScopeId == %3.CsReqPlanningScopeId || ! %4.CsReqPlanningScopeIdFlag)
//cs_en
#InventDimDevelop
The highlighted line is the custom code. Now how to handle such macros during extensions?
Thank you very much in advance.
Regards,
Giridhar
*This post is locked for comments
I have the same question (0)