use of de.metas.ui.web.pattribute.WebuiASIEditingInfo in project metasfresh-webui-api by metasfresh.
the class ShipmentCandidateRow method getWebuiASIEditingInfo.
@Override
public WebuiASIEditingInfo getWebuiASIEditingInfo(@NonNull final AttributeSetInstanceId asiId) {
final ProductId productId = product.getIdAs(ProductId::ofRepoIdOrNull);
final ASIEditingInfo info = ASIEditingInfo.builder().type(WindowType.Regular).productId(productId).attributeSetInstanceId(asiId).callerTableName(null).callerColumnId(-1).soTrx(SOTrx.SALES).build();
return WebuiASIEditingInfo.builder(info).build();
}
Aggregations