#include "products.h"
FUNCTION c_pg2struct (str, order)
char *str; struct ORDER *order;
A standing order string read from the product generation table in ADAPSTABLES.
A standing order structure to be filled with the information stored in str.
Given a string read from the product generation table, this function will extract the individual fields and store them in a standing order structure.
c_pg2struct() returns
E_SUCC --> Successful completion. E_FAIL --> Operation failed.